[Ohrrpgce] SVN: teeemcee/7877 Remember the fullscreen setting for a game in gameconfig.ini as gfx.full

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sat Mar 26 09:01:57 PDT 2016


teeemcee
2016-03-26 09:01:57 -0700 (Sat, 26 Mar 2016)
563
Remember the fullscreen setting for a game in gameconfig.ini as gfx.fullscreen

It's only remembered if you either use the fullscreen/windowed menu options or
alt+enter (or other gfx backend-specific method) to change the setting.

The config setting is saved when you leave the game. Added exit_gracefully()
wrapper around exitprogram(), which calls save_game_config(). That wrapper
gets called if you press alt+F4, but not for things like fatal errors.

Added config_file global variable to refer to gameconfig.ini (it's
currently used in only one other place).
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/game.bas
U   wip/game.bi
U   wip/game_udts.bi
U   wip/gglobals.bi
U   wip/scripting.bas
U   wip/yetmore2.bas


More information about the Ohrrpgce mailing list