Game state
From VCMI Project Wiki
All information about game mechanics is stored in CGameState located in CGameState.h file and objects accessible from it:
- Player state handled by CPlayerState class
- Team state - a group of allied allied players who can cooperate in certain ways
- Battle state
- Adventure map state and scenario information stored in map.cpp as well as initial conditions (starting info)
- Campaign state