DarkflameServer/dScripts/02_server/Map/AG
David Markowitz 455f9470a5
Move EntityManager to Game namespace (#1140)
* Move EntityManager to Game namespace

* move initialization to later

Need to wait for dZoneManager to be initialized.

* Fix bugs

- Cannot delete from a RandomAccessIterator while in a range based for loop.

Touchup zone manager initialize

replace magic numbers with better named constants
replace magic zonecontrol id with a more readable hex alternative
condense stack variables
move initializers closer to their use
initialize entity manager with zone control

change initialize timings

If zone is not zero we expect to initialize the entity manager during zone manager initialization

Add constexpr for zone control LOT

* Add proper error handling

* revert vanity changes

* Update WorldServer.cpp

* Update dZoneManager.cpp
2023-07-15 13:56:33 -07:00
..
AgBugsprayer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
AgBugsprayer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
AgCagedBricksServer.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AgCagedBricksServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
AgLaserSensorServer.cpp refactor: removed hardcoded ag laser logic (#1079) 2023-05-13 18:21:17 -05:00
AgLaserSensorServer.h refactor: removed hardcoded ag laser logic (#1079) 2023-05-13 18:21:17 -05:00
AgMonumentBirds.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AgMonumentBirds.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
AgMonumentLaserServer.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AgMonumentLaserServer.h refactor: removed hardcoded ag laser logic (#1079) 2023-05-13 18:21:17 -05:00
AgMonumentRaceCancel.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AgMonumentRaceCancel.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
AgMonumentRaceGoal.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AgMonumentRaceGoal.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
CMakeLists.txt Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NpcAgCourseStarter.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
NpcAgCourseStarter.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NpcCowboyServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NpcCowboyServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NpcEpsilonServer.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NpcEpsilonServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NpcNjAssistantServer.cpp breakout the component types into a scoped enum (#1002) 2023-03-04 01:16:37 -06:00
NpcNjAssistantServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NpcPirateServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NpcPirateServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NpcWispServer.cpp Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
NpcWispServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
RemoveRentalGear.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
RemoveRentalGear.h Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00