Ticket #118 (closed defect: fixed)
If full screen mode fails to open then game crashes
| Reported by: | stephen | Owned by: | stephen |
|---|---|---|---|
| Priority: | critical | Milestone: | 019 |
| Component: | knights | Version: | 018 |
| Keywords: | Cc: |
Description
Stugol reports that the game fails to run in full screen mode on his 1920x1080 display. (If he switches to 1024x768 then it works fine.) Apparently Knights is still running, and visible in Task Manager, but no game window appears.
Presumably the code is not checking for errors when opening the display, and just continuing to run regardless.
The simplest fix is probably:
(a) When first opening the game, if opening the display in full screen mode fails, then fall back to windowed mode.
(b) If user goes into Options and changes to Full Screen mode, but changing the display mode fails, then show an error message.
Change History
Note: See
TracTickets for help on using
tickets.

Have fixed by implementing (a) and (b) above.
A "proper" fix would be to have a GUI for selecting an appropriate display mode, but this is a bit too much work for me at the moment...