scrawl
3e6cf17665
Warn about cellrefs with an empty refId (Bug #3238 )
9 years ago
scrawl
d0aba0d9ee
Catch exceptions thrown during reference loading (Bug #3238 )
9 years ago
scrawl
2821f46a18
Corpse clearing fix
9 years ago
scrawl
f2f601b958
Implement corpse clearing ( Fixes #2363 )
9 years ago
scrawl
c3ef387208
Vanilla-compatible creature/NPC respawning ( Fixes #2369 , Fixes #2467 )
9 years ago
scrawl
6f9ca0f68f
Add basic cell preloader class
...
Not properly in use yet, but seems to be working.
9 years ago
scrawl
69c2c4fcc1
updateMergedRefs before reading MVRF tags ( Fixes #3161 )
9 years ago
scrawl
1905f0bf2d
Add support for placing BodyParts in a cell (Bug #3118 )
9 years ago
scrawl
e5d9ee30f4
Add count argument to copyObjectToCell
...
Fixes the gold bug introduced in c9ca5bc946
9 years ago
scrawl
a344183247
Comment fix
9 years ago
scrawl
19d87c78f2
Add CellStore::forEachConst
9 years ago
scrawl
2fe2f53b02
Set the changed flag in CellStore::search ( Fixes #3089 )
9 years ago
scrawl
d6bcb7906d
Fix crash in a warning message
9 years ago
scrawl
359b0b3772
Rename for clarity
9 years ago
scrawl
bdae572264
Merge pull request #840 from scrawl/movedrefs
...
Object movement between cells
9 years ago
scrawl
07b064f616
Rename to lowerCaseInPlace
9 years ago
scrawl
621347b20f
Remove moved ref handling from listRefs()
...
Not needed since we now load cells when a reference is moved there.
9 years ago
scrawl
4b0ecaa0a0
Fix physics bug
9 years ago
scrawl
0af33b5abd
Throw exception if moveTo() is passed an object not part of *this
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
2219231230
Missing updateMergedRefs()
9 years ago
scrawl
138957c49a
Special case objects with no refnum
9 years ago
scrawl
5e99a3eda6
Rename CellStore Functor to Visitor
9 years ago
scrawl
2301080c63
Load CellStore when an object is moved there
9 years ago
scrawl
811df1e97b
Pass the ESM reader list to CellStore constructor
9 years ago
scrawl
3dcefd17fc
Fix CellStore::count()
9 years ago
scrawl
3aa53f3cb4
Object cell movement tracker works. Savegame handling is still missing and some game functionality is still stubbed out.
9 years ago
scrawl
64b4926127
Add reference moving logic - untested
9 years ago
scrawl
d0c6b407b4
Fix isUnderwater checks being off by one for exterior cells
9 years ago
Stanislav Bas
67c8f95c4e
Load/read methods (for ESM records) accept a deleted flag in OpenMW
10 years ago
Stanislav Bas
e8a9567be3
Move DELE handling to CellRef record
10 years ago
Alexander "Ace" Olofsson
3655ef16af
Explicitly instantiate ESM::StatState
10 years ago
scrawl
19988d5e45
Remove RefData::getHandle
10 years ago
scrawl
e3f1cb8305
Remove "loading cell" message
...
This spams the log too much, in particular when loading a savegame.
10 years ago
scrawl
d13335ba40
Ensure the item can be equipped in the given slot when loading inventory
10 years ago
scrawl
c65f9cb3c0
Revert "Change save format to store relative equipment index"
...
This reverts commit 89d9649b50
.
10 years ago
scrawl
89d9649b50
Change save format to store relative equipment index
...
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl
9014dc48ee
Don't require the object type id for reading references from savegames
...
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl
235683e449
Remove LightState from openmw save format to streamline inventory loading
10 years ago
dteviot
7aa0f887c0
Minor changes to ESM::RefNum
...
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
scrawl
0fe7500f74
Work around pathgrid record limitation ( Fixes #2195 )
10 years ago
scrawl
48d5789aeb
Use a separate flag for references deleted by a content file ( Fixes #2018 )
...
The flag must be separate so as to not contaminate the user's savegame.
Fixes the following use cases that were broken before:
- Content file edits a reference that was already deleted by a previously loaded content file -> reference must stay deleted
- Changed or new content file deletes a reference that is already present in the user's savegame -> reference must be deleted
- Said content file is disabled again - reference must be undeleted
10 years ago
scrawl
7afd2ca614
Consider moved references in CellStore::listRefs
11 years ago
scrawl
395f98e476
Fix triggering changed flag for all references when cell is visited
...
The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.
Also clean up RefData interface slightly.
11 years ago
scrawl
039398c8ae
Basic RefData and CellRef change tracking
...
Wrapped item charge handling in getItemHealth function
11 years ago
Emanuel Guevel
1e4a854433
Remove static method MWWorld::Class::get(&Ptr)
...
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
scrawl
ae66d28c87
Feature #32 : Implement respawn for containers, creatures and NPCs
11 years ago
scrawl
6de7e16550
Fix searchPtrViaActorId not skipping over deleted references
...
Fixes an issue when an actor has moved cell: searchPtrViaActorId would randomly return the deleted Ptr from the old cell.
11 years ago
scrawl
a76e391ad0
Savegame: store door movement state ( Closes #747 )
11 years ago