scrawl
f99cd15f00
Vanilla-compatible activate / onActivate ( Fixes #1629 )
...
See https://forum.openmw.org/viewtopic.php?f=6&t=3074&p=34618#p34635
9 years ago
scrawl
a72af4a1a3
cout that should be cerr
9 years ago
scrawl
cc3563359e
Refactor local script iteration ( Fixes #2806 , Fixes #3108 )
...
This should be much safer. Don't use recursion. Don't fail if mIgnore happens to be in the list twice. Don't rely on preconditions / assertions.
9 years ago
scrawl
187d2bccda
Warn about adding a local script twice (Bug #2806 )
9 years ago
scrawl
6fde02ea42
LocalScripts: initialize mIter
9 years ago
scrawl
8f9fc87565
Accept a ConstPtr in LocalScripts::setIgnore
9 years ago
scrawl
9ea475d00c
Port LocalScripts::addCell to new CellStore interfaces
9 years ago
scrawl
0975f60d59
Stub out CellStore::get<T> accessors in preparation of reference movement between cells
9 years ago
Marc Zinnschlag
b6878c2e0c
improved error handling in LocalScripts::add
10 years ago
scrawl
9d3f0b2ed5
Remove some unused code, include cleanup
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
Marc Zinnschlag
e4b6f135b6
catch exceptions from adding local scripts
10 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
Marc Zinnschlag
83ded18af0
encapsulated reference collections
11 years ago
Marc Zinnschlag
e818d43bc3
removed an outdated typedef and some dead code
11 years ago
Tom Mason
6fc64e8a4e
scripts run for items added to containers, and scripted items in player inv handled correctly
12 years ago
Tom Mason
c138e00aa2
objects scripts are now stopped when they are removed from a container
12 years ago
Tom Mason
d4ca954d47
scripts on items in containers added to script list on cell change
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
Marc Zinnschlag
7fcd41c69d
Issue #107 : Detemplateised CellStore; some include cleanup
13 years ago
Marc Zinnschlag
76174098c7
Issue #107 : CellStore moved from ESMS to MWWorld
13 years ago
Marc Zinnschlag
8bebae17aa
Issue #19 : More local script related cleanup
13 years ago
Marc Zinnschlag
10778d8c3e
Issue #19 : factored out local script handling into a separate class
...
This also fixes a bug related to self-destructing references (introduced during the cell handling improvements)
13 years ago