scrawl
c50b18b3bb
Move PathgridGraph out of CellStore
...
By definition this is not 'Mutable state of a cell' and does not belong in CellStore.
This change should improve startup times (graph is now loaded on demand) and edits to 'pathgrid.hpp' no longer cause the entirety of OpenMW to be rebuilt.
7 years ago
Andrei Kortunov
9943bd4d74
AiWander fast forwarding improvements (bug #3638 )
7 years ago
Bret Curtis
d785344fad
purge all instances of <boost/shared_ptr.hpp>, clean up unused headers
8 years ago
scrawl
a7d4928593
Properly handle moved references in respawning code ( Fixes #3600 )
8 years ago
MiroslavR
4a3529488b
Fix possible reference duplication when the refID is modified by a plugin (Bug #3471 )
9 years ago
scrawl
d96e49c04a
Do not set change flag when running forEach on an empty cell
9 years ago
scrawl
6f9ca0f68f
Add basic cell preloader class
...
Not properly in use yet, but seems to be working.
9 years ago
scrawl
c9a67ab423
Do not add scripts from levelled creatures twice (Bug #2806 )
...
Do not insert objects from within a CellStore visitor
9 years ago
scrawl
1905f0bf2d
Add support for placing BodyParts in a cell (Bug #3118 )
9 years ago
scrawl
bc50587e71
Remove comment
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
04b6571d7d
Fix logic for scripting access of deleted objects
9 years ago
Chris Robinson
a47bdecac7
Add missing include
...
Since Ptr is used directly in the header, a forward declaration isn't good
enough.
9 years ago
scrawl
51b892195b
Restore getReadOnlyDoors()
9 years ago
scrawl
a517f4f9ba
Add CellStore::forEachType to help with porting over game logic to the new interfaces
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
5e99a3eda6
Rename CellStore Functor to Visitor
9 years ago
scrawl
811df1e97b
Pass the ESM reader list to CellStore constructor
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
7a983340bf
Add comment
9 years ago
scrawl
fc449233be
Restore support for inserting objects into a cell
9 years ago
scrawl
0975f60d59
Stub out CellStore::get<T> accessors in preparation of reference movement between cells
9 years ago
scrawl
278076e609
Include cleanup
10 years ago
scrawl
4f6e5345cc
Include cleanup
10 years ago
scrawl
22f01b1232
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/launcher/graphicspage.cpp
apps/opencs/editor.cpp
apps/opencs/model/doc/document.cpp
apps/opencs/view/render/cell.cpp
apps/opencs/view/render/mousestate.cpp
apps/opencs/view/render/textoverlay.cpp
apps/opencs/view/render/worldspacewidget.cpp
apps/openmw/mwclass/creature.cpp
apps/openmw/mwclass/npc.cpp
apps/openmw/mwgui/inventorywindow.cpp
apps/openmw/mwgui/loadingscreen.cpp
apps/openmw/mwgui/mapwindow.cpp
apps/openmw/mwgui/pickpocketitemmodel.cpp
apps/openmw/mwgui/waitdialog.cpp
apps/openmw/mwmechanics/combat.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwrender/globalmap.cpp
apps/openmw/mwworld/physicssystem.cpp
apps/openmw/mwworld/refdata.cpp
apps/openmw/mwworld/scene.cpp
apps/openmw/mwworld/worldimp.cpp
components/sdlutil/sdlinputwrapper.cpp
extern/shiny/Main/Factory.cpp
extern/shiny/Main/MaterialInstance.cpp
extern/shiny/Main/Platform.cpp
extern/shiny/Main/ShaderSet.cpp
10 years ago
scrawl
19988d5e45
Remove RefData::getHandle
10 years ago
scrawl
eef8f71797
Add a comment
10 years ago
Jordan Ayers
5edafc2a4c
Cleanup: Add const to read-only CellRefList access.
...
OMW Bug #1533
10 years ago
Jordan Ayers
399259a95c
Improve CellStore exception messages.
10 years ago
Jordan Ayers
c21b59ecff
Teleportation: Avoid marking searched cells as changed.
...
OMW Bug #1533
Only mark cells with the target marker / evidence chest as 'changed'.
10 years ago
Alexander "Ace" Olofsson
0af5c7b379
Starting to clean up some heavy includes
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
MiroslavR
ed3a3f717f
Handle getdistance on objects inside a container ( Fixes #2046 )
10 years ago
scrawl
ae66d28c87
Feature #32 : Implement respawn for containers, creatures and NPCs
11 years ago
scrawl
3cdbcf3c28
Merge branch 'actorid' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwmechanics/creaturestats.cpp
11 years ago
scrawl
a4a9794417
Savegame: store fog of war ( Closes #1177 )
11 years ago
Marc Zinnschlag
f6a876bc3d
added actor ID
11 years ago
cc9cii
3dfd08cf2d
Cleanup and little tweaking.
11 years ago
cc9cii
f59226265a
Remove redundant parameter from aStarSearch. Also update some comments.
11 years ago
cc9cii
040d4f8fc4
Move PathgridGraph into separate files.
11 years ago
cc9cii
98f77714ce
Per-cell pathgrid data and calculation moved off PathFinder. Now the edge cost calculations and strongly connected component searches are done only once per cell. Per-actor data and methods still remain with PathFinder.
...
This version still has debugging statements and needs cleaning up.
11 years ago
Marc Zinnschlag
9b18e01507
keep track of which cells have state that needs to be saved
11 years ago
Marc Zinnschlag
bfcd768078
various bits of cleanup
11 years ago
Marc Zinnschlag
83ded18af0
encapsulated reference collections
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
Marc Zinnschlag
b72c1c2c58
encapsulated water level
11 years ago