Commit Graph

490 Commits (deque)

Author SHA1 Message Date
scrawl d4ff17f1c5 Remove unused FLTV and NAM0 from CellRef 11 years ago
scrawl 4e0c133fb3 Add comment to Cell NAM0 (it's a RefId counter) 11 years ago
scrawl 75366b2e37 Implement CellRef's faction rank (rank requirement to use item) 11 years ago
scrawl 2b57c7fa67 Use CellRef's global variable to disable owner (Fixes #1677) 11 years ago
scrawl 876af8f529 Fix not saved Attacked flag (Fixes #1657) 11 years ago
Marc Zinnschlag e9377ad5c4 include targeted script data in saved games 11 years ago
scrawl 1c41ce9b9d Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX) 11 years ago
scrawl ad90d20ad8 Don't silently skip unknown NPC subrecords 11 years ago
Marc Zinnschlag d96ed38d49 added body part table 11 years ago
Marc Zinnschlag e97fd35ae6 added enchantments table 11 years ago
scrawl 8a8ecce1e5 Fix some uninitialized data written to savegames 11 years ago
scrawl 218f916d6d Savegame: Don't write stat modifiers that are zero 11 years ago
scrawl 4e71db7081 Savegame: Don't load/save deleted container items. This is currently pointless, and also causes new garbage being added on each load/save cycle: Container stores are first filled from ESM records, then cleared and filled from the savegame. The items from ESM records remain as deleted refs. 11 years ago
scrawl 2477456f99 Implement Murder crimes and OnMurder instruction (Fixes #1315) 11 years ago
scrawl d5b97005ab Make ESM::Faction skills optional (Fixes #1508)
Also increased size of mSkills array to 7. Some factions with 7 skills can be found in the vanilla CS. The previously "mUnknown" int appears to be the 7th element of the skills array.
11 years ago
scrawl ee2b81763e Savegame: Store AiSettings and summoned creatures
CreatureStats state is now completely stored (Closes #1174)

Also play VFX_Summon_Start and VFX_Summon_End visual effects.
11 years ago
scrawl 4f742fd468 Allow INFO records with no subrecords following DATA (Fixes #1486) 11 years ago
scrawl e458cf1df2 Savegame: Store death counter (Fixes #1477) 11 years ago
scrawl a54ac579a5 Savegame: Store AiSequence 11 years ago
scrawl 73be457805 Merge ESM::Cell fields by subrecord
Fixes an issue with the Morrowind Patched mod where cell ambient values would become black due to the new cell records not including an AMBI subrecord.

Also fixes a bug where mLeasedRefs was incorrectly cleared when overwriting a cell (*oldcell = *cell;)
11 years ago
scrawl 98d7b6672a Make MODL subrecord optional for potions (Fixes #1419) 11 years ago
scrawl 823ccb1b3d Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386) 11 years ago
scrawl 7376cb9b61 Fix loading ESX files cleaned with testool (Fixes #1382) 11 years ago
scrawl ce14a6413b Small optimization to ESM::Variant 11 years ago
scrawl 16ac6e7aac Merge DialInfo objects by subrecord instead of overwriting the object
Fixes #1360
11 years ago
Marc Zinnschlag f5e587f566 Merge remote-tracking branch 'puppykevin/master' 11 years ago
Marc Zinnschlag be7f344eca Merge branch 'refs'
Conflicts:
	apps/opencs/model/doc/savingstate.cpp
	components/esm/cellref.hpp
11 years ago
scrawl 50a72ed710 Fix ghosts in Cavern Of The Incarnate having -1 health 11 years ago
Kevin Poitra 18314b1707 We use spaces, not tabs. 11 years ago
Kevin Poitra 8e55eb8009 Fix some formatting. 11 years ago
Kevin Poitra 545c3c312c Remove a superfluous clear. 11 years ago
scrawl e266c39c5d Implement modFactionReaction instruction (Closes #1347) 11 years ago
scrawl 0966755a0c Store death animation index in CreatureStats 11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
Marc Zinnschlag d8440e1fdc implemented reference record merging 11 years ago
scrawl 3dceb7ee4f Fix overwriting DialInfo 11 years ago
scrawl 0aa1042fd7 Optimized dialogue merging with a lookup map 11 years ago
scrawl 1677fcf324 Dialogue merging 11 years ago
scrawl 5b76c0893a Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	components/esm/inventorystate.hpp
11 years ago
scrawl a872c9f83a Feature #1323: handle restocking levelled items 11 years ago
cc9cii b36bb58e8c Bug #1324: Artem's solution 11 years ago
Marc Zinnschlag f7c89015f9 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl ae66d28c87 Feature #32: Implement respawn for containers, creatures and NPCs 11 years ago
scrawl e266aff561 Savegame: store projectiles 11 years ago
Marc Zinnschlag 3b2ba4f6cd Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl a76e391ad0 Savegame: store door movement state (Closes #747) 11 years ago
scrawl 471bbd0021 Savegame: store levelled creature state and move to actorIds
(Closes #1332)
11 years ago
Marc Zinnschlag d08869a25d Merge remote-tracking branch 'slothlife/msvc_warning_cleanup'
Conflicts:
	apps/openmw/mwrender/localmap.cpp
11 years ago
slothlife f33559fead Fixes for MSVC warnings, less overall changes
Kept some fixes from the first round of review. Found out that several
targets weren't being built with the same basic warnings disabled.
Disabled a few warnings for external libraries specifically, rather than
applying them to all targets.
11 years ago
scrawl 9b67fcc4d7 Merge branch 'master' of https://github.com/OpenMW/openmw 11 years ago
scrawl 9052cc4a57 Savegame: store ActiveSpells 11 years ago
scrawl 61187c2fef Savegame: store actorIds 11 years ago
scrawl 51020fdb5f Fix a bug for NpcStats::mUsedIds in savegames, and added a compile-time guard to prevent similar errors in the future. 11 years ago
Thomas cbcf0f6039 Changed AiEScort to use new PathTo function 11 years ago
slothlife c160a04ede Revert "Fixes for warnings when building with MSVC"
This reverts commit 46eb20b98c.
11 years ago
Thomas 77d365e196 Forced some function arguments to take in a specific array size 11 years ago
Thomas 9dbe53c722 Merge remote-tracking branch 'upstream/master' 11 years ago
Thomas 2c74ea381e Moved pathfinding code to aiPackage, implemented it's use with aiFollow and aiPursue 11 years ago
scrawl 6cc691115b Savegame: store most of CreatureStats 11 years ago
scrawl a4a9794417 Savegame: store fog of war (Closes #1177) 11 years ago
scrawl 041319c43e Fixes #1234: Store dynamic record counter in savegame to prevent name clashes 11 years ago
slothlife 46eb20b98c Fixes for warnings when building with MSVC
Most warnings are innocuous (wrong type-specifier for forward
declarations, conversion of literals into unsigned integers, warnings
about methods optimized out), but I believe actual bugs were revealed in
vartypedelegate.cpp and combat.cpp.
11 years ago
scrawl 7bddfc0025 Fix some spelling mistakes. 11 years ago
scrawl 122e606e30 Crime: improvement to arrest on sight for large bounties
iCrimeThreshold controls the needed bounty to have guards run to the player and force dialogue. In vanilla, the greeting dialogue is scripted to either arrest the player (< 5000 bounty) or present a death sentence and attack (>= 5000 bounty).
11 years ago
scrawl 8560b43464 Move to esm component 11 years ago
scrawl 17bb8d7f9a Fixes #1252: Add item/magic keybindings to savegame 11 years ago
scrawl 27a05027f4 Fixes #1172: Added basic loading/saving progress bar
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
scrawl 30666f2cce Fixes #1297: Store global map markers in savegame 11 years ago
Thomas f6deca7c80 Fixed various issues caused by late-night coding. Also added "unlock" message to unlocked doors 11 years ago
Thomas 61341d4206 Removed mLocked, kept it as "Negative lock level means unlocked" 11 years ago
Thomas 420163d35f Small changes to lock command (If no valid lockLevel exists, defaults to 100) 11 years ago
scrawl 2cb9f38a45 Changed crime IDs for legacy savegames. Not an issue, but it was inconsistent. 11 years ago
scrawl d3d0b7362f Fix older savegame compatibility regarding new crime feature. 11 years ago
Marc Zinnschlag 86e65944b8 Merge remote-tracking branch 'jeffreyhaines/master'
Conflicts:
	apps/openmw/CMakeLists.txt
11 years ago
Marc Zinnschlag 300eb6f444 make FNAM sub-record optional for all record types 11 years ago
Jeffrey Haines a274b48f2f States are saved. Crime is reacted to.
Issues where some crime is ignored. Needs a lot more work
11 years ago
Marc Zinnschlag 2c2106205d Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl d7df9cae21 Bug #1224: Changed fix to potentially allow for language independent saves 11 years ago
scrawl 53ba23e303 Fixes #1224: Store class name instead of id in savegame header 11 years ago
slothlife 00eac7d53a Fixed header include guard to match filename 11 years ago
slothlife 6eab9c5179 Move weather state save/load to a new class 11 years ago
slothlife 1acd1bd913 Feature #1173: Saved Game: include weather state
Removed some unused state in and changed Ogre::String to std::string in
WeatherManager.
11 years ago
Marc Zinnschlag f1353dc84f Merge branch 'scene' 11 years ago
Bret Curtis ab224f93c9 remove our stdint.h version that uses boost and force usage of system stdint.h 11 years ago
Marc Zinnschlag f9d2fde783 Merge branch 'openmw-29'
Conflicts:
	apps/openmw/mwmechanics/aicombat.cpp
11 years ago
Marc Zinnschlag 6e8b9c88b2 changed name of default worldspace (should reduce chance of a name conflict) 11 years ago
Marc Zinnschlag bfcd768078 various bits of cleanup 11 years ago
Marc Zinnschlag d780364842 fixed record size type 11 years ago
cc9cii c241405d91 Fix Windows save & load. 11 years ago
Marc Zinnschlag 9788bbcab9 partially store creature state in saved game files (only attributes and dynamics for now) 11 years ago
Marc Zinnschlag b0532e0c85 store NPC state in saved game files 11 years ago
Marc Zinnschlag 9f721fd144 store list of known topics in saved game files 11 years ago
scrawl f89b3cac02 Feature #764: Store the actor that gave the dialog response 11 years ago
Marc Zinnschlag 1b5301eec0 Merge branch 'savedgame'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwbase/soundmanager.hpp
	apps/openmw/mwgui/mapwindow.hpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwsound/soundmanagerimp.hpp
	components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag 5b04c10e1d added creature/NPC state to saved games (only container/inventory for now) 11 years ago
Marc Zinnschlag dd674566a2 store content of containers in saved game files 11 years ago
Marc Zinnschlag 900532a6ca store additional state of lights in saved game files 11 years ago
Marc Zinnschlag e0537a3253 made object state polymorphic 11 years ago
Marc Zinnschlag a623f03850 reduced object state for objects in containers 11 years ago
mrcheko e50e94af0b remove CreatureStats::mAttackType, set/getAttackType() 11 years ago