SFTtech/openage

CLI parameters for window settings

heinezen opened this issue · 2 comments

Required Skills: Python, some C++

Difficulty: Easy

Several window parameters could be set via the CLI on startup. Examples for these parameters include:

  • window size (height x width)
  • vsync
  • fullscreen/borderless/windowed

Most of the parameters are already supported by the renderer::Window class. All we have to do is pass them through from the Python CLI.

Tasks:

  • Start parameters have to be defined in Python for start modes main and game
  • Pass parameters to C++ invocation main_arguments struct
  • in C++, pass relevant parameters to presenter/renderer subsystem

Further Reading

Hi! I would like to work on this issue. Can you please assign it to me?

@stoyanov-kaloyan Great :) I've assigned you just now.