dteviot
45b6538820
fixed MSVC 2013 warning C4800
...
forcing value to bool 'true' or 'false'
10 years ago
scrawl
f49fde3d5d
Add support for undeleting references ( Fixes #2193 )
...
Deleted references should be accessible via an explicit reference, and can be undeleted using "setdelete 0". Also the Resurrect function implicitely undeletes the given reference.
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
15b486e149
Don't trigger changed flag if a script with no locals is configured
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
Marc Zinnschlag
87ae03b5d4
fix for previous commit
11 years ago
Marc Zinnschlag
6bd3b3ee78
include local variable state in saved games
11 years ago
Marc Zinnschlag
c300cd9375
loading/saving of some player state (cell/coordinates and some other bits)
11 years ago
Marc Zinnschlag
537b2efe8e
first round of cleaning up world cleanup
11 years ago
Chris Robinson
ba3a67f84b
Don't store the player base node in MWRender::Player
12 years ago
Glorf
1e92ffc314
Added rotation layer
12 years ago
Tom Mason
c138e00aa2
objects scripts are now stopped when they are removed from a container
12 years ago
greye
7606ebafd6
resolving conflicts, minor update
12 years ago
Marc Zinnschlag
1cecab6e3d
fixed RefData::getHandle
13 years ago
Marc Zinnschlag
c85aaafac2
more include cleanup (most removing Ogre.h)
13 years ago
Marc Zinnschlag
76174098c7
Issue #107 : CellStore moved from ESMS to MWWorld
13 years ago
scrawl
2c90654401
fix a typo that caused a crash when trying to disable an already disabled object
13 years ago
Marc Zinnschlag
a4785ffc4f
minor fix
13 years ago
Marc Zinnschlag
c081160591
replaced container store in ref data with new custom data implementation
13 years ago
Marc Zinnschlag
b0256cea34
replaced movement settings in ref data with new custom data implementation
13 years ago
Marc Zinnschlag
aa87bd4030
replaced creature stats in ref data with new custom data implementation
13 years ago
Marc Zinnschlag
c6761e3470
replaced NPC stats in ref data with new custom data implementation
13 years ago
Marc Zinnschlag
baf9cff21d
added customdata base class (issue #185 )
13 years ago
Marc Zinnschlag
7439c83623
Added custom copy-constructor, assignment-operator and destructor for RefData
...
Prerequisite for the ContainerStore rewrite, which is a prerequisite for issue #117 .
13 years ago
Marc Zinnschlag
6a88133178
Split refdata.hpp in a hpp and a cpp file
...
Prerequisite for the ContainerStore rewrite, which is a prerequisite for issue #117 .
13 years ago