Now setting resolution is implemented in
* Stratagus engine (passing by command line with arg -v):
stratagus/src/stratagus/stratagus.cpp:887
* In game extractor (wartool):
wargus/wartool.c:679
* In Lua option script:
wargus/scripts/menus/options.lua:157
These patches does not solve problems in other game then Wargus.
Better soulution would be Creating function in Stratagus for getting all supported resolution by system and export this function to Lua. Then in game (Wargus, Stargus, ...) will can this function and render checkboxes of supported resolutions.
Now setting resolution is implemented in src/stratagus/ stratagus. cpp:887 wartool. c:679 scripts/ menus/options. lua:157
* Stratagus engine (passing by command line with arg -v):
stratagus/
* In game extractor (wartool):
wargus/
* In Lua option script:
wargus/
These patches does not solve problems in other game then Wargus.
Better soulution would be Creating function in Stratagus for getting all supported resolution by system and export this function to Lua. Then in game (Wargus, Stargus, ...) will can this function and render checkboxes of supported resolutions.
Any other suggestion for my solution?