1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 14:38:30 +02:00
VVVVVV/desktop_version/src
Info Teddy f9525020bb Call nexttowercolour() when exiting to menu
This fixes a bug where you could get mismatched text and background
colors on the menu screen by being in the Tower and exiting at a certain
time. The background when mismatched will always be red, which seems to
have something to do with the fact that when you enter the Tower the
game always sets the background to be red. I could get a quick repro
setup going by starting in the checkpoint in Teleporter Divot, then
quickly entering the Tower, exiting, then re-entering, then pressing Esc
and quitting - all done very quickly.

The important thing about this mismatch is that it's only temporary, and
will be corrected when you press ACTION and the color of the text and
background in the menu both change at the same time, which is what
map.nexttowercolour() does. So all I do is simply call that function
when exiting to the menu, and it will fix the color mismatch.
2020-01-22 20:26:54 -05:00
..
BinaryBlob.cpp Fix warnings raised by GCC 8 2020-01-11 08:53:32 -05:00
BinaryBlob.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
BlockV.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
BlockV.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
editor.cpp Fix out-of-bounds array access in findstartpoint() 2020-01-22 07:46:46 -05:00
editor.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Ent.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Ent.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Entity.cpp Merge pull request #89 from InfoTeddy/typo-fixes 2020-01-16 14:38:31 +01:00
Entity.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Enums.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
FileSystemUtils.cpp Load gamecontrollerdb.txt if available 2020-01-17 12:43:42 -05:00
FileSystemUtils.h Replace TiXmlDocument load and save functions by PHYSFS 2020-01-12 10:44:11 -05:00
Finalclass.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Finalclass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Game.cpp Add text outline as an accessibility option 2020-01-17 12:37:53 -05:00
Game.h Integrate dynamic list sizes for credited patrons, add CONTRIBUTORS to credits 2020-01-16 20:14:56 -05:00
GOGNetwork.c Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Graphics.cpp Fix bug with displaying translucent pixels incorrectly 2020-01-21 23:33:33 -05:00
Graphics.h Add text outline as an accessibility option 2020-01-17 12:37:53 -05:00
GraphicsResources.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
GraphicsResources.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
GraphicsUtil.cpp Fix warnings raised by GCC 8 2020-01-11 08:53:32 -05:00
GraphicsUtil.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Input.cpp Call nexttowercolour() when exiting to menu 2020-01-22 20:26:54 -05:00
Input.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
KeyPoll.cpp Fix frame-ordering backspacing empty line bug in script editor 2020-01-19 08:37:14 -05:00
KeyPoll.h Fix frame-ordering backspacing empty line bug in script editor 2020-01-19 08:37:14 -05:00
Labclass.cpp Fix "Exausted?" typo in roomname 2020-01-15 04:23:17 -08:00
Labclass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Logic.cpp Found another dumb comment, removed 2020-01-17 13:47:34 +01:00
Logic.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
main.cpp Fix frame-ordering backspacing empty line bug in script editor 2020-01-19 08:37:14 -05:00
MakeAndPlay.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Map.cpp Correct Warp Zone's area name from "Warpzone" to "Warp Zone" 2020-01-15 20:29:30 -05:00
Map.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Maths.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Music.cpp Don't quick fade when using niceplay() 2020-01-22 20:26:16 -05:00
Music.h Stop the game from freezing if we play a song during a fadeout (#61) 2020-01-12 22:33:58 -05:00
Network.c int32_t > int 2020-01-13 11:27:16 -05:00
Network.h Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Otherlevel.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Otherlevel.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
preloader.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
preloader.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Screen.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Screen.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Script.cpp Reset game.pausescript in hardreset() 2020-01-22 20:25:54 -05:00
Script.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Scripts.cpp fix Victoria typo "scentists" in the Secret Lab 2020-01-10 22:41:15 -05:00
SoundSystem.cpp add myself to the contributors file, fix formatting 2020-01-10 15:07:29 -07:00
SoundSystem.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Spacestation2.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Spacestation2.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
SteamNetwork.c Untested Haiku port? 2020-01-13 23:31:14 -05:00
TerminalScripts.cpp Correct capitalization of song names 2020-01-15 22:05:37 -08:00
Textbox.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Textbox.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
titlerender.cpp Copy the backBuffer to the tempBuffer in towerrender() 2020-01-22 09:56:19 -05:00
titlerender.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Tower.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Tower.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
UtilityClass.cpp Use SDL_HasIntersection for UtilityClass::intersects 2020-01-12 10:25:22 -05:00
UtilityClass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
WarpClass.cpp Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
WarpClass.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00