How kjkit/kolejarz works
Kolejarz is a desktop railway-station simulation game: the player runs the simulation and manages trains using station, timetable, track, and locomotive controls. The README only describes downloading and unpacking the game, so it does not document the detailed gameplay sequence. The graph reflects the sampled UI calls and source-index references; links involving unsampled orchestration or simulation internals are omitted or marked unverified.
Main entry points: Stacja.cpp Station simulation · FKolejarz.cpp Main game window · Poczatek.cpp Startup screen · OBocznica.cpp Siding view
Components 19
Game interface
- Main game window
FKolejarz.cpp - Startup screen
Poczatek.cpp - Timetable view
ORozklad.cpp - Siding view
OBocznica.cpp - Passing-loop view
OMijanka.cpp - Locomotive depot view
OLokom.cpp - Game options
Opcje.cpp - Arrival and departure view
WjazdWyjazd.cpp
Railway simulation
- Station simulation
Stacja.cpp - Timetable model
Rozklad.cpp - Moving trains
Obiekt.cpp - Locomotive management
Lokom.cpp - Simulation clock
Inne.cpp - Track selection
Stacja.h
Game support
- About dialog
OProgramie.cpp - Notices
Uwagi.cpp - Help materials
help - Downloadable game
Kolejarz.zip
Other components
- Player
Connections 17
- Player → Downloadable game: downloads
README.md - Player → Main game window: plays
- Startup screen → Main game window: opens
Poczatek.cpp - Startup screen → Notices: references
Poczatek.cpp - Timetable view → Station simulation: reads train state
ORozklad.cpp - Siding view → Station simulation: reads siding state
OBocznica.cpp - Siding view → Track selection: selects route
OBocznica.cpp - Passing-loop view → Station simulation: reads passing-loop state
OMijanka.cpp - Locomotive depot view → Station simulation: requests depot data
OLokom.cpp - Main game window → Station simulation: drives simulation
- Station simulation → Timetable model: uses timetable
- Station simulation → Moving trains: moves trains
- Station simulation → Locomotive management: manages locomotives
- Station simulation → Simulation clock: advances time
- Main game window → Game options: opens options
- Main game window → Arrival and departure view: opens view
- Main game window → About dialog: opens dialog