openage icon indicating copy to clipboard operation
openage copied to clipboard

CLI parameters for window settings

Open heinezen opened this issue 2 years ago • 4 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

heinezen avatar Sep 17 '23 17:09 heinezen

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

stoyanov-kaloyan avatar Oct 02 '23 18:10 stoyanov-kaloyan

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

heinezen avatar Oct 02 '23 19:10 heinezen