DarkflameServer/dScripts/ai
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
..
ACT Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
AG Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
FV Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
GENERAL Merge remote-tracking branch 'upstream/main' into more-cdclient-cleanup 2023-05-13 16:16:58 -07:00
GF Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
MINIGAME Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
NP breakout the component types into a scoped enum (#1002) 2023-03-04 01:16:37 -06:00
NS Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
PETS Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
PROPERTY Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
RACING Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
SPEC Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
WILD Move EntityManager to Game namespace (#1140) 2023-07-15 13:56:33 -07:00
CMakeLists.txt Organize dScripts (#814) 2022-11-03 12:57:54 -05:00