Various work towards a basic game implementation

Get rid of some virtual functions that weren't needed.
Fix some functions to work during static init if need be.
Units now have unique incremental IDs
This commit is contained in:
Marc Di Luzio 2014-12-16 13:13:00 +00:00
parent a6e1319fad
commit 008739dee6
6 changed files with 135 additions and 40 deletions

View file

@ -62,6 +62,9 @@ private:
// Verify any order
int VerifyOrder( player_id_t player, const COrder& order );
// Verify any order
int VerifyUnit( const CUnit& unit );
// Vector to store points to all units
sharedUnitVector_t m_allUnits;