1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00
VVVVVV/desktop_version/src
Misa 6c04f56099 Don't savestats() every frame of New Record animation
Otherwise, this would cause immense slowdown during the New Record
animation that plays when you die, as the game would be writing
unlock.vvv every frame.

To fix this, I just put it under the same if-guard as the
music.playef(), since the sound effect also only plays once. But I have
to watch out for frame ordering and make sure the record is actually set
before I call game.savestats(), and then of course I have to move
game.swnmessage = 1 over because that's the variable being checked in
the conditional.
2020-07-27 19:21:18 -04:00
..
BinaryBlob.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
BinaryBlob.h Add binaryBlob::getExtra() 2020-06-30 21:07:05 -04:00
BlockV.cpp Remove unnecessary string initializations from constructors 2020-07-08 19:14:21 -04:00
BlockV.h Consistently use angle brackets for SDL.h includes 2020-07-19 21:37:40 -04:00
Credits.h Turn (super)patrons/githubfriends into arrays & move them to new file 2020-07-06 11:19:24 -04:00
editor.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
editor.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Ent.cpp Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Ent.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Entity.cpp Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Entity.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Enums.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
FileSystemUtils.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
FileSystemUtils.h Only re-color one-ways if assets are not mounted 2020-06-30 18:06:14 -04:00
Finalclass.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Finalclass.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Game.cpp Set oldxp/oldyp when being teleported around during teleport 2020-07-21 18:06:41 -04:00
Game.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
GOGNetwork.c Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Graphics.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Graphics.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
GraphicsResources.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
GraphicsResources.h Consistently use angle brackets for SDL.h includes 2020-07-19 21:37:40 -04:00
GraphicsUtil.cpp Add BlitSurfaceTinted() 2020-06-29 19:07:45 -04:00
GraphicsUtil.h Consistently use angle brackets for SDL.h includes 2020-07-19 21:37:40 -04:00
Input.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Input.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
KeyPoll.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
KeyPoll.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Labclass.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Labclass.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Logic.cpp Don't savestats() every frame of New Record animation 2020-07-27 19:21:18 -04:00
Logic.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
main.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
MakeAndPlay.h Re-comment out #define MAKEANDPLAY 2020-02-09 10:42:03 -05:00
Map.cpp Set oldxp/oldyp when player teleports through warp token 2020-07-21 18:13:50 -04:00
Map.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Maths.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Music.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Music.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Network.c Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Network.h Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Otherlevel.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Otherlevel.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
preloader.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
preloader.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Render.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Render.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Screen.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Screen.h Refactor startup to load config before calling Screen::init 2020-07-08 14:30:57 -04:00
Script.cpp Set oldxp/oldyp when being teleported around during teleport 2020-07-21 18:06:41 -04:00
Script.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
Scripts.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
SoundSystem.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
SoundSystem.h Revert "Add destructor for SoundTrack/MusicTrack (and explicitly define move constructor to prevent double-free)" 2020-06-07 22:40:03 -04:00
Spacestation2.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Spacestation2.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00
SteamNetwork.c Fix build on DragonFlyBSD 2020-04-23 23:35:33 -04:00
TerminalScripts.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Textbox.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Textbox.h Consistently use angle brackets for SDL.h includes 2020-07-19 21:37:40 -04:00
Tower.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
Tower.h Change all tilemaps to be short[1200] instead of int[1200] 2020-07-19 16:25:53 -04:00
UtilityClass.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
UtilityClass.h Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
WarpClass.cpp Separate includes into sections and alphabetize them 2020-07-19 21:37:40 -04:00
WarpClass.h Remove unnecessary includes from header files 2020-07-19 21:37:40 -04:00