1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00
VVVVVV/desktop_version/src
Misa aa873ce172 Use proper do-while for teleporter searching loop
A do-while is just a while-loop, but the inner block will always run
once before the conditional is checked.

It looks like in order to achieve this desired behavior (always run the
block once before checking the conditional), instead of using a do-while
loop, Terry just used a normal while-loop and copy-pasted the inner
block on the outside.

So I'm de-duplicating the code.
2020-07-04 22:48:16 -04:00
..
BinaryBlob.cpp If invalid valid value, set valid to false 2020-06-30 21:07:05 -04:00
BinaryBlob.h Add binaryBlob::getExtra() 2020-06-30 21:07:05 -04:00
BlockV.cpp Remove blockclass::clear(), simplify blockclass initializations 2020-04-03 23:28:47 -04:00
BlockV.h Remove blockclass::clear(), simplify blockclass initializations 2020-04-03 23:28:47 -04:00
editor.cpp Add G keybind to go to room 2020-07-02 01:06:50 -04:00
editor.h Add G keybind to go to room 2020-07-02 01:06:50 -04:00
Ent.cpp Fix red pill/mannequins/transmittor/radar dish being offset for 1 frame 2020-06-19 09:05:48 -04:00
Ent.h Fix, for in-GAMEMODE sprites, their colors updating too fast 2020-06-19 09:05:48 -04:00
Entity.cpp Fix deltaframe render glitch when spawning animated double-size entities 2020-07-01 17:54:52 -04:00
Entity.h Interpolate trophy text 2020-06-19 09:05:48 -04:00
Enums.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
FileSystemUtils.cpp Separate mkdirs from path string generation 2020-07-02 15:57: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 Statically allocate level arrays 2020-05-29 10:21:25 -04:00
Finalclass.h Refactor Finalclass.cpp to not use strings for tilemaps 2020-05-17 22:03:29 -04:00
Game.cpp Fix still being able to unlock things in custommode 2020-07-02 23:59:42 -04:00
Game.h Read and write best time trial frames 2020-06-30 22:42:29 -04:00
GOGNetwork.c Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Graphics.cpp Fix wrong function being used to set color of coins 2020-07-02 15:33:27 -04:00
Graphics.h Move the VSync work to Screen. 2020-07-02 00:19:40 -04:00
GraphicsResources.cpp Fix some leaks 2020-06-07 22:40:03 -04:00
GraphicsResources.h Fix some leaks 2020-06-07 22:40:03 -04:00
GraphicsUtil.cpp Add BlitSurfaceTinted() 2020-06-29 19:07:45 -04:00
GraphicsUtil.h Add BlitSurfaceTinted() 2020-06-29 19:07:45 -04:00
Input.cpp Use proper do-while for teleporter searching loop 2020-07-04 22:48:16 -04:00
Input.h Remove global args from Input.cpp 2020-04-03 10:40:50 -04:00
KeyPoll.cpp Add being able to disable unfocus pause 2020-06-29 22:59:16 -04:00
KeyPoll.h Fix resumemusic/musicfadein not working 2020-06-27 17:23:07 -04:00
Labclass.cpp Statically allocate level arrays 2020-05-29 10:21:25 -04:00
Labclass.h Refactor Labclass.cpp to not use strings for tilemaps 2020-05-17 22:03:29 -04:00
Logic.cpp Fix the two-frame-delay when entering a room with an "init" script 2020-06-29 15:42:51 -04:00
Logic.h Fix delta rendering glitch when going to options from new Esc menu 2020-06-23 15:23:57 -04:00
main.cpp Move the VSync work to Screen. 2020-07-02 00:19:40 -04:00
MakeAndPlay.h Re-comment out #define MAKEANDPLAY 2020-02-09 10:42:03 -05:00
Map.cpp Allow edentity terminals to use any sprite they want 2020-07-02 01:06:50 -04:00
Map.h Scan for trinkets and put them into shinytrinkets in customs 2020-06-30 16:30:09 -04:00
Maths.h Hello WWWWWWorld! 2020-01-08 10:37:50 -05:00
Music.cpp Add bounds check to musicclass::play() 2020-06-30 21:07:05 -04:00
Music.h Account for extra tracks in musicclass::play() 2020-06-30 21:07:05 -04:00
Network.c Allow for conditional building of Steam and GOG APIs 2020-06-01 14:21:06 -04:00
Network.h Add support for multiple Network backends, stub in GOGNetwork 2020-01-13 11:15:22 -05:00
Otherlevel.cpp Statically allocate level arrays 2020-05-29 10:21:25 -04:00
Otherlevel.h Remove i/j/k attributes from classes that don't need them 2020-06-14 14:37:29 -04:00
preloader.cpp Move preloader update code to new function preloaderlogic() 2020-06-19 09:05:48 -04:00
preloader.h Move preloader update code to new function preloaderlogic() 2020-06-19 09:05:48 -04:00
Render.cpp Move the VSync work to Screen. 2020-07-02 00:19:40 -04:00
Render.h Merge towerrender() into gamerender() 2020-04-26 19:07:40 -04:00
Screen.cpp Move the VSync work to Screen. 2020-07-02 00:19:40 -04:00
Screen.h Move the VSync work to Screen. 2020-07-02 00:19:40 -04:00
Script.cpp Fix still being able to unlock things in custommode 2020-07-02 23:59:42 -04:00
Script.h Fix the two-frame-delay when entering a room with an "init" script 2020-06-29 15:42:51 -04:00
Scripts.cpp Remove include guards from Scripts.cpp and TerminalScripts.cpp 2020-06-11 22:13:52 -04:00
SoundSystem.cpp Remove extraneous semicolon from MusicTrack::MusicTrack() 2020-06-30 21:07:05 -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 Statically allocate Prize for the Reckless tilemap 2020-05-29 19:39:05 -04:00
Spacestation2.h Refactor Spacestation2.cpp to not use strings for tilemaps 2020-05-17 22:03:29 -04:00
SteamNetwork.c Fix build on DragonFlyBSD 2020-04-23 23:35:33 -04:00
TerminalScripts.cpp Remove include guards from Scripts.cpp and TerminalScripts.cpp 2020-06-11 22:13:52 -04:00
Textbox.cpp Fix special text box images sometimes flashing 2020-06-19 09:05:48 -04:00
Textbox.h Fix special text box images sometimes flashing 2020-06-19 09:05:48 -04:00
Tower.cpp Remove now-unused fillbackground/fillcontents/fillminitower from Tower 2020-05-17 22:03:29 -04:00
Tower.h Remove i/j/k attributes from classes that don't need them 2020-06-14 14:37:29 -04:00
UtilityClass.cpp Move endsWith() to UtilityClass.cpp and put it in header file 2020-06-21 20:25:22 -04:00
UtilityClass.h Add one-time OoB logs to tile-drawing functions 2020-06-30 18:06:14 -04:00
WarpClass.cpp Statically allocate level arrays 2020-05-29 10:21:25 -04:00
WarpClass.h Refactor WarpClass.cpp to not use strings for tilemaps 2020-05-17 22:03:29 -04:00