Commit Graph

  • df96b2a594 Fix softlock using tele while in its hitbox post-rescue/intermission Misa 2020-07-17 13:29:22 -07:00
  • af89c52813 Wrap around enemy type when switching enemy types Misa 2020-07-17 13:25:23 -07:00
  • fb8cb705da Fix softlock if exiting Super Grav and bringing up map in glitchrunner Misa 2020-07-16 15:11:54 -07:00
  • ecf43d05dc Fix undeffing ARG_IS instead of ARG Misa 2020-07-15 18:27:54 -07:00
  • 78faea87ba Fix brace style and spacing in custom loadlevel() Misa 2020-07-09 03:29:53 -07:00
  • ccb3d6e974 Use case-switch for warpdir checking Misa 2020-07-09 03:21:18 -07:00
  • 2938db057b Unindent case labels in room tileset case-switch Misa 2020-07-09 03:18:21 -07:00
  • 01f6a97ed0 Fix and update comments for edentities Misa 2020-07-09 03:16:52 -07:00
  • f8e23119bf Use case-switch for warp line creation Misa 2020-07-09 03:14:17 -07:00
  • c7ea684c08 Use enum names instead of raw values in createblock() calls Misa 2020-07-09 03:10:08 -07:00
  • a2f20e7e49 De-duplicate enemy/platform bounding box logic Misa 2020-07-09 03:06:20 -07:00
  • 0ec38ad0f8 Get rid of unnecessary roomname logic Misa 2020-07-09 03:00:48 -07:00
  • 2558cccd40 Fix 'break' statements in other cases not being inside braces Misa 2020-07-09 02:59:42 -07:00
  • 2646642664 Add braces to case 12 custom level loading Misa 2020-07-09 02:58:16 -07:00
  • 71a989707e De-duplicate and add safety check to ed.level reference Misa 2020-07-09 02:54:23 -07:00
  • 729f24d732 De-duplicate reference to edentity Misa 2020-07-09 02:40:18 -07:00
  • 4b6406d08e Unindent case labels in entity creation Misa 2020-07-09 02:32:52 -07:00
  • fd2ee96c49 Clean up tsx/tsy initialization Misa 2020-07-09 02:32:00 -07:00
  • d591c77088 De-duplicate expressions of actual coordinates for edentities Misa 2020-07-09 02:28:53 -07:00
  • 34b0e2c812 Unindent ending for-loop brace Misa 2020-07-09 02:12:31 -07:00
  • 8b8f9b3389 Negate edentity room check and use a continue Misa 2020-07-09 02:11:56 -07:00
  • 264279d17a Warning fix for uninitialized prefix Ethan Lee 2020-07-15 12:11:23 -04:00
  • b302e4dbbb Valgrind warning fix Ethan Lee 2020-07-15 12:09:24 -04:00
  • 5ff5ae7294 mmmmmm is initialized earlier in init() Ethan Lee 2020-07-15 11:58:00 -04:00
  • f8190439a9 Reset ed.roomnamehide to 0 when exiting playtesting Misa 2020-07-11 00:39:09 -07:00
  • def540d184 Reset ed.notedelay when exiting playtesting Misa 2020-07-11 00:27:00 -07:00
  • 22d556f4be Disable "Game Saved" text box in custommode Misa 2020-07-11 00:23:31 -07:00
  • 13e260bf50 Fix pressing Esc in teleporter menu going to quit screen Misa 2020-07-11 00:21:23 -07:00
  • 5f131b426b Allow pressing Enter on teleporters during playtesting Misa 2020-07-11 00:15:06 -07:00
  • 846c6f61d4 Use .clear() when removing text boxes in reset functions Misa 2020-07-11 00:10:06 -07:00
  • 7fada0548b Set ed.settingskey to true when returning to editor Misa 2020-07-11 00:09:02 -07:00
  • 6c52b79ddf Set ed.keydelay to 6 when returning to editor Misa 2020-07-11 00:04:54 -07:00
  • 1caabe374b Fix return to editor via crewmate rescue not using shouldreturntoeditor Misa 2020-07-11 00:00:42 -07:00
  • 2506127a17 Directly execute scripts if script boxes have a non-empty script field Misa 2020-07-09 23:20:03 -07:00
  • ca9e4c8f6e Only set game.customscript if index is inbounds Misa 2020-07-09 23:03:16 -07:00
  • 8c42f82317 Set script attribute of custom level script boxes Misa 2020-07-09 23:01:13 -07:00
  • 5e94239967 Optimize 30-mode FPS loop to use SDL_Delay() Misa 2020-07-13 21:17:20 -07:00
  • 11312976fc Fall back to default settings when screenbuffer is not present Ethan Lee 2020-07-13 16:09:44 -04:00
  • 47eba09edb Fix missing newline on printf for customsavequick() failure Misa 2020-07-11 14:12:17 -07:00
  • 582aaa587e Don't remove non-player entities in scriptclass::hardreset() Misa 2020-07-11 12:21:24 -07:00
  • 199a8f45d6 Fix -playmusic command line option not working Misa 2020-07-11 11:55:26 -07:00
  • 15319b9ed0 Fix being able to circumvent not-in-Flip-Mode detection Misa 2020-07-10 16:30:28 -07:00
  • 90929d80ea Fix wrong Tower music when toggling Flip Mode from in-game options Misa 2020-07-10 16:55:56 -07:00
  • b419601b41 De-duplicate gamestates 300..336 Misa 2020-07-09 18:14:18 -07:00
  • 82666a1875 Set both filter and vsync hints with override priority Ethan Lee 2020-07-08 21:42:57 -04:00
  • 3932c75acc Remove unnecessary stub destructors Misa 2020-07-06 15:02:55 -07:00
  • 307cdefb8e Remove duplicate advancetext/fullScreenEffect_badSignal initializations Misa 2020-07-06 14:42:07 -07:00
  • 6b0b86d434 Remove unused attribute advanced_mode from Game Misa 2020-07-06 14:18:21 -07:00
  • 7128e9c3ac Remove unnecessary string initializations from constructors Misa 2020-07-06 13:11:05 -07:00
  • 7703b2c1c2 Ensure that all member attributes are initialized Misa 2020-07-06 13:04:34 -07:00
  • 3b6867243b Remove useless attribute rcol from finalclass Misa 2020-07-06 12:46:46 -07:00
  • 876c120ed8 Remove unused coin attributes from finalclass and warpclass Misa 2020-07-06 12:44:29 -07:00
  • 63f6784cfe Remove unused <vector> include from Otherlevel.h Misa 2020-07-06 12:38:17 -07:00
  • 420bc38dff Move Roomtext struct to Map.h Misa 2020-07-06 12:37:04 -07:00
  • 5e8ca20d02 Remove block type enum from Otherlevel.h Misa 2020-07-06 12:36:09 -07:00
  • ec960b0f95 Remove roomtext from otherlevelclass Misa 2020-07-06 12:33:50 -07:00
  • a698d3a6f8 Remove unused vars relating to esc/keybuffer from KeyPoll Misa 2020-07-06 12:16:05 -07:00
  • 5eab43a655 Initialize saveDir and levelDir in FileSystemUtils.cpp Misa 2020-07-06 11:13:30 -07:00
  • 2716296a10 Haiku: Keep the option visible, but note the bug Ethan Lee 2020-07-08 14:43:04 -04:00
  • 86fde7bf99 More VSync Haiku hackery Ethan Lee 2020-07-08 14:38:55 -04:00
  • d3f9a36941 Refactor startup to load config before calling Screen::init Ethan Lee 2020-07-08 14:30:57 -04:00
  • f8bb8cde32 HACK: Disable VSync option for Haiku Ethan Lee 2020-07-08 14:06:45 -04:00
  • 09e15db878 Fix Vitellary looking left for one frame in "Now Stay Close To Me..." Misa 2020-07-08 03:16:05 -07:00
  • 5ce2c04ea4 Fix 'Prize for the Reckless' spikes when switching game modes Matt Penny 2020-07-06 21:10:28 -04:00
  • e6f3dab2e1 Make std::string-using script funcs pass around const references Misa 2020-07-04 16:01:35 -07:00
  • d480c1011c Make scriptclass::load(other) rely less on std::string Misa 2020-07-04 15:59:21 -07:00
  • 9398e9f1f0 Remove duplicate talkgreen_2 script and alarmon/alarmoff commands Misa 2020-07-04 15:18:29 -07:00
  • fd0dafc16c De-duplicate Graphics::drawmenu() and Graphics::drawlevelmenu() Misa 2020-07-04 14:53:05 -07:00
  • fbfeeaccd1 Use SDL_tolower() instead of libc tolower() in compare_nocase() Misa 2020-07-03 21:48:07 -07:00
  • 8366e08fbe Remove usage of std::string from MenuOption Misa 2020-07-03 21:30:31 -07:00
  • 5fb0b4396a Remove use of std::transform(), use SDL_toupper/lower Misa 2020-07-03 14:54:23 -07:00
  • 36e38027d8 Simplify m_headers init, hardcode 128 less Misa 2020-07-03 03:23:54 -07:00
  • fc03fca838 Turn (super)patrons/githubfriends into arrays & move them to new file Misa 2020-07-03 03:13:15 -07:00
  • a80502bdc9 Turn ed.contents/vmult into arrays Misa 2020-07-03 02:54:31 -07:00
  • 067fbc75f0 Turn fadebars into an array Misa 2020-07-03 02:40:57 -07:00
  • 78181bc676 Statically allocate strings in UtilityClass::number() Misa 2020-07-03 02:37:53 -07:00
  • 5f91bdd073 Turn splitseconds into an array Misa 2020-07-03 02:37:15 -07:00
  • 00cb033594 Turn map.specialnames into an array instead of a vector Misa 2020-07-03 02:33:33 -07:00
  • 450cf1a31e Turn star and backbox vectors into arrays Misa 2020-07-03 02:31:13 -07:00
  • 4c6ab6e6b7 Remove unused vars from Graphics/GraphicsResources Misa 2020-07-03 02:20:07 -07:00
  • adca6a122a Turn tower vectors into plain arrays Misa 2020-07-03 02:16:18 -07:00
  • 9dcda17978 Turn map.contents into a plain array Misa 2020-07-03 02:06:46 -07:00
  • a1d4523177 Turn areamap into plain array Misa 2020-07-02 21:13:23 -07:00
  • cb3afa295a Turn map.explored, map.roomdeaths(final) into plain arrays Misa 2020-07-02 21:01:09 -07:00
  • 118008d824 Move temp/temp2 off of UtilityClass, remove globaltemp Misa 2020-07-02 19:35:21 -07:00
  • 6b23244366 Move temp variable off of editorclass Misa 2020-07-02 19:28:35 -07:00
  • 524a535c62 Move temp and temp2 off of mapclass Misa 2020-07-02 19:20:22 -07:00
  • 0664eac7fc Turn obj.collect and obj.customcollect into plain arrays Misa 2020-07-02 19:17:32 -07:00
  • 62203efb2c Turn obj.flags into an array instead of a vector Misa 2020-07-02 18:22:19 -07:00
  • 1258eb7bf4 Turn crew rescued/mood vectors into arrays Misa 2020-07-02 18:10:52 -07:00
  • cd3869f974 Turn time trial stat vectors into plain arrays Misa 2020-07-02 17:09:30 -07:00
  • 56f06bd853 De-duplicate and use a macro for loading things into plain arrays Misa 2020-07-02 16:58:58 -07:00
  • 3f448ce439 Turn unlock/unlocknotify into plain arrays Misa 2020-07-02 16:45:22 -07:00
  • c3e7ddca9c Add bounds checks to scriptclass::tokenize() Misa 2020-07-02 16:09:55 -07:00
  • c7774a3eb9 Turn words into an array instead of an std::vector Misa 2020-07-02 16:07:35 -07:00
  • 689af99220 Make currentletter a char instead of an std::string Misa 2020-07-02 16:04:51 -07:00
  • 56b2f43ff8 Move tempword and currentletter off of scriptclass Misa 2020-07-02 16:03:40 -07:00
  • f28fcd78e8 Fix softlock from interrupted completestop Misa 2020-07-04 22:55:21 -07:00
  • d06fadadf2 Fix Map.cpp relying on editor.h to include Script.h Misa 2020-07-04 22:23:13 -07:00
  • 1dfc536b0f Fix infinite loop pressing left/right in tele menu w/ no teles unlocked Misa 2020-07-04 18:58:13 -07:00