CLI parameter for engine start mode
Closed this issue · 0 comments
heinezen commented
Required Skills: Python, some C++
Difficulty: Easy
The engine start mode should be configurable via the CLI. There are only 2 relevant start mode right now:
- full: starts game simulation with graphics
- headless: starts game simulation without graphics (mainly for MP servers)
The parameters should be defined in the Python CLI and then passed through to the engine instantiation.
Tasks:
- Define parameters in Python for submodules
main
andgame
- Pass engine mode to C++ invocation
main_arguments
struct - In C++, pass engine mode to
Engine
constructor