How maurycyliebner/ezeus works
eZeus is a playable city-building strategy game implementing Zeus: Master of Olympus and its Poseidon expansion. The player starts and manages an adventure, develops a city through buildings, workers, and resource movement, and responds to events, military threats, and divine or heroic activity; the game also supports building two cities at once. The map reflects the runtime areas evident in the tree and the README’s major capabilities. Source excerpts are limited, so links between unsampled subsystems are omitted rather than inferred as a detailed call sequence.
Main entry points: emainwindow.cpp Main Window · egameboard.cpp Game Board · main.cpp Game Entry · echaracter.cpp Characters
Components 23
Game Interface
- Game Entry
main.cpp - Main Window
emainwindow.cpp - Settings
esettings.cpp - Building Controls
widgets/infowidgets/estorageinfowidget.cpp - City Data View
widgets/datawidgets/estoragedatawidget.cpp
World Simulation
- Campaigns
engine/ecampaign.cpp - Game Board
engine/egameboard.cpp - World Map
engine/eworldboard.cpp - Game Events
engine/egameevents.cpp
City Development
- Buildings
buildings/ebuilding.cpp - Resource Storage
buildings/estoragebuilding.cpp - City Finances
engine/boardData/ecityfinances.cpp
People And Forces
- Characters
characters/echaracter.cpp - Character Actions
characters/actions/echaracteraction.cpp - Pathfinding
engine/epathfinder.cpp - Gods And Heroes
characters/gods/egod.cpp - Invasions
einvasionhandler.cpp
Game Presentation
- Building Rendering
buildings/ebuildingrenderer.cpp - Terrain And Tiles
engine/eterrain.cpp - Music And Sound
audio/emusic.cpp
Other components
- Player
- Original Game Files
- SDL Runtime
Connections 24
- Player → Main Window: plays
- Game Entry → Main Window: initializes
- Game Entry → Settings: reads
- Game Entry → Music And Sound: initializes
- Game Entry → SDL Runtime: initializes
- Game Entry → Original Game Files: checks files
- Main Window → Campaigns: starts adventures
- Campaigns → Game Board: configures play
- Game Board → Buildings: simulates
- Game Board → Characters: simulates
- Game Board → Game Events: handles events
- Game Board → World Map: tracks cities
- Characters → Character Actions: performs
- Character Actions → Pathfinding: uses paths
- Buildings → Resource Storage: stores resources
- Main Window → Building Controls: shows controls
- Building Controls → Resource Storage: sets orders
- Main Window → City Data View: shows data
- City Data View → Game Board: reads resources
- Game Events → Invasions: handles threats
- Characters → Gods And Heroes: includes
- Main Window → Building Rendering: presents city
- Main Window → Terrain And Tiles: presents map
- Main Window → Music And Sound: plays audio