Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Global Game State

Game state is distributed across shared globals and larger arrays. It includes the current turn and year, active player, civilization finances and research, diplomatic relations, cities, units, wonders and map visibility.

src/GAME.C defines the main rule tables and civilization variables. Subsystem headers identify other shared globals. The save transfer sequence shows the serialized state and its ordering.