Back to the Vavoom Forum Archives


Forum

[Fixed] [1.26]SetResolution not working for 1680x1050

Mon, 04 Feb 2008 10:12:44

Comreak

When I try to change the resolution to 1680x1050 (a common resolution for widescreen monitors) using the 'SetResolution' command, I get the following: [list:28m5dqrb] SetResolution 1680 1050 16 Failed to set resolution 1600x1050x16 Restoring to previous resolution 640x480x16 [/list:u:28m5dqrb] Note that is says "1600" instead of 1680 for some reason. Out of the two other 16:10 resolutions I tried, 1280x800 didn't work but 1440x900 did. All the 4:3 resolutions I tried worked fine.
Tue, 05 Feb 2008 00:15:20

Firebrand

My guess is that the engine only has support for 4:3 resolutions, but I'm not sure <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.
Tue, 05 Feb 2008 00:37:37

Comreak

Well, 1440x900 (which is 16:10) seems to be working fine.
Tue, 05 Feb 2008 10:35:14

Crimson Wizard

Simple! screen.h:
// Maximal resolution. Needed for some arrays
#define MAXSCREENWIDTH			1600
#define MAXSCREENHEIGHT			1200
Wed, 02 Apr 2008 16:57:29

Janis Legzdinsh

Fixed.

Back to the Vavoom Forum Archives