FS#588 - Resizing game window alters fullscreen resolution

Attached to Project: OpenTTD
Opened by KeeperOfTheSoul (KeeperOfTheSoul) - Wednesday, 31 January 2007, 20:56 GMT
Last edited by Peter Nelson (peter1138) - Wednesday, 31 January 2007, 21:07 GMT
Type Patch
Category Interface
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Entering fullscreen uses the current window size. This causes problems if you resize the window on the desktop as you are now unable to enter fullscreen mode until you choose a valid resolution in the game options. This is even more frustraiting if the resolution you use isn't displayed in the list as you now have to quit the game.

The solution is to seperate the fullscreen resolution from the windowed size and change the resolution setting in the game options to affect the resolution used when entering fullscreen and not the windowed resolution (to change this the user can simply resize the window by dragging).
This task depends upon

Comment by KeeperOfTheSoul (KeeperOfTheSoul) - Wednesday, 14 February 2007, 21:16 GMT
Updated to resolve conflict in openttd.cpp