Commit Graph

68 Commits (openmw-39)

Author SHA1 Message Date
scrawl 04b6571d7d Fix logic for scripting access of deleted objects 9 years ago
scrawl e564c26314 Fix deleted objects being accessible in the Cells cache 9 years ago
scrawl 176a3c16f4 Resolve moved references loaded from a save game 9 years ago
scrawl 671561ea37 Write moved references to the save game file (not resolved on loading yet) 9 years ago
scrawl 811df1e97b Pass the ESM reader list to CellStore constructor 9 years ago
Alexander "Ace" Olofsson b3b55a5842 Explicitly instantiate MWWorld::Store 10 years ago
scrawl fbb8998184 Account for not yet listed cells in getInteriorPtrs 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl f929004635 Search exterior cells in reverse (workaround for duplicate chargen_plank reference in Morrowind.esm and Bloodmoon.esm) 11 years ago
scrawl f6f6b5604a Fix loading a savegame when some of its content files were disabled
Fixes #1380
11 years ago
scrawl a4a9794417 Savegame: store fog of war (Closes #1177) 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
Marc Zinnschlag 9b18e01507 keep track of which cells have state that needs to be saved 11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 11 years ago
Marc Zinnschlag 79e723ad06 encapsulated mIds 11 years ago
Marc Zinnschlag 8ea686c6c8 encapsulated mState 11 years ago
Marc Zinnschlag 7693f712bc started making CellStore into a proper class; encapsulated mCell member 11 years ago
Marc Zinnschlag 29c3a288e3 load and save of reference in cells (without CustomData state) 11 years ago
scrawl 03cf383be7 Merge branch 'master' of https://github.com/zinnschlag/openmw into savedgame
Conflicts:
	apps/openmw/mwgui/referenceinterface.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwscript/cellextensions.cpp
	apps/openmw/mwworld/cells.cpp
	apps/openmw/mwworld/cells.hpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/store.cpp
	apps/openmw/mwworld/worldimp.cpp
11 years ago
Marc Zinnschlag 419e3a7d30 write references in cells to saved game file 11 years ago
Marc Zinnschlag 22cb4784b5 store cell state in saved game files (no references yet) 11 years ago
greye 15d946415e minor cleanup
Removed case folding via std::transform, excessive lowerCase()
replaced with ciEqual().
11 years ago
scrawl bf6d302fba Confiscate stolen items when caught 11 years ago
scrawl 03b6334ceb Get rid of a hack 11 years ago
scrawl 62774fcc4a Merge branch 'master' into HEAD
Conflicts:
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/loadtes3.cpp
11 years ago
scrawl ea3b88951a Implement divine/almsivi intervention magic effects 11 years ago
Marc Zinnschlag e818d43bc3 removed an outdated typedef and some dead code 11 years ago
Marc Zinnschlag e94fcce622 accessing references via their ID now also works for references in containers in active cells 12 years ago
scrawl 45006ea193 Fix inventory/container content loading so that it's done for dynamically spawned objects as well 12 years ago
scrawl aaa9aba999 Some fixes 12 years ago
scrawl c41f119ba6 Added new game button 12 years ago
scrawl 1acfd849a2 Fix a case folding bug 12 years ago
scrawl 48f46e505c Look in exterior cells first (chargen_crate_01_empty is in the prison ship but also outside of it, the one outside needs to be disabled) 12 years ago
scrawl 9e08497f02 Initial container content should inherit the owner of its container 12 years ago
scrawl 918cdcffc2 Split up components/esm/loadlocks 12 years ago
Michal Sciubidlo f2f4b6e2d5 Make MWWorld::getInterior case insensitive.
Interior cells names can use different mix of uppercase/lowercase in different places.
getInterior() should return same cell in all cases. Fixes bug #586.
12 years ago
Chris Robinson 5d5d28c06c Increase the ID cache to 40
Helps improve performance with Tribunal and Bloodmoon's scripts
12 years ago
Mark Siewert eefbdde6de - For pull request: remove all instances of maps used to track refnumbers.
- new file: apps/openmw/mwworld/store.cpp, had to move reference merging method out of the header file to prevent three-way recursion/unresolved forward references in custom compare operators.
12 years ago
Mark Siewert dca8dc4fdb Merge remote-tracking branch 'upstream/master' into multiple_esm_esp
Conflicts:
	apps/openmw/engine.cpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/store.hpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/esmreader.hpp

- Quick hack: OMW::Engine::prepareEngine only loads translation data for the first master file.
12 years ago
eduard 2dc0064cc2 more string lowercase 12 years ago
Mark Siewert 8ea9f00e6f Merge remote-tracking branch 'upstream/master' into multiple_esm_esp
Conflicts:
	apps/openmw/mwrender/terrain.cpp
	apps/openmw/mwworld/cells.cpp
	apps/openmw/mwworld/cells.hpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/cellstore.hpp
	apps/openmw/mwworld/containerstore.cpp
	apps/openmw/mwworld/localscripts.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm_store/reclists.hpp
	components/esm_store/store.cpp
	extern/shiny

- Re-implement some patches that were broken by the removal of reclists.hpp and store.cpp/.hpp.
- NOTE: Not everything works as before, I'll have to test some more stuff before we are back to where we were.
12 years ago
Mark Siewert 31fb715bd7 - Add support for moving existing references by plugin files. No cell changing yet.
- Change CellRefList::list from list<> to map<int,> so we can identify live references by their Refnumber.
- Introduce ContainerRefList, a clone of the original CellRefList. It is now used for containers, which do not track Refnumbers.
- Many small tweaks so that the new CellRefList does not conflict with existing code.
12 years ago
Mark Siewert 42eefaf36f - Add support for loading references from multiple esm/esp files. Full reference ID mangling coming soon (currently, moved references are simply cloned).
- Reference loader now (partially) supports MVRF tag.
12 years ago
greye 242a9b5a59 various interface fixes, commented unused code 12 years ago
greye ff8da265ed applying new interface vol.9, inconsistent 12 years ago
greye d205723a17 resolving m prefix/ESMStore movement 12 years ago
greye 2057f5619e move ESMStore to MWWorld 12 years ago
greye 3c2ce25f5f m prefix for mwworld/cellstore.hpp 12 years ago
greye 7606ebafd6 resolving conflicts, minor update 12 years ago