adding new resolutions (linux)
Tue, 2010-06-22 08:48
hello,
i know hedgewars can only use resolutions that sdl offers/lists but has anyone succeeded in adding a new non-fullscreen resolution via xrandr addmode/newmode? i tried adding 642x482 (only to test) but hedgewars still does not list it.
thanks,
jose
It's more like a SDL question so I'd suggest asking at their page. Essentially you just have to get your resolution to show up for SDL so it reports it and you're able to select and use it.
http://hedgewars.org/faq.html#n1304
This question might help?
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
not really, the resolutions of separate displays are included. the goal is to get arbitrary resolution so i can make a game-window of specific size. tried with xrandr, metamodes but failed. *me* shrugs
Right, that's the point of that FAQ entry, to allow specifying arbitrary resolutions.
Now, what we probably should do is allow specifying arbitrary resolutions for the game window, separate from the fullscreen size (which would have to be monitor-based)
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev