starfighter/code
Guus Sliepen 931d110692 Fix "random" behaviour of sound, music and fullscreen options.
The state of these options was not only stored in the global config
file, but also in each saved game. When loading a game or clicking on
"continue game" from the title screen, the state of these options would
also be loaded from the save game file. If this changed the state of
sound and music, this would only take effect when starting a mission or
going back to the title screen. If it changed the state of the
fullscreen option, it would never toggle the state, but would
desynchronise the actual state of the window and the fullscreen option.

This is now fixed by moving these options from the currentGame variable
to the engine variable, where they are not in danger of being
overwritten.
2011-08-26 22:48:52 +02:00
..
Starfighter.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
Starfighter.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
ai.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
ai.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
aliens.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
aliens.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
audio.cpp Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
audio.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
bullets.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
bullets.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
cargo.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
cargo.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
classes.h Don't blit unnecessarily. 2011-08-25 15:34:47 +02:00
collectable.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
collectable.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
comms.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
comms.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
debris.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
debris.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
defs.h Import of version 1.1 minus music, sound and graphics. 2011-08-24 14:14:44 +02:00
events.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
events.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
explosions.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
explosions.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
game.cpp Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
game.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
globals.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
globals.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
graphics.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
graphics.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
init.cpp Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
init.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
intermission.cpp Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
intermission.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
loadSave.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
loadSave.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
messages.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
messages.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
misc.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
misc.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
missions.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
missions.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
player.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
player.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
resources.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
resources.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
script.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
script.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
shop.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
shop.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
structs.h Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
title.cpp Fix "random" behaviour of sound, music and fullscreen options. 2011-08-26 22:48:52 +02:00
title.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
unpack.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
unpack.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
version.h Import of version 1.1 minus music, sound and graphics. 2011-08-24 14:14:44 +02:00
weapons.cpp Bring sanity to the header files. 2011-08-26 21:29:04 +02:00
weapons.h Bring sanity to the header files. 2011-08-26 21:29:04 +02:00