Commit Graph

  • 72ddd9bdb4 Fix <hardestroom> having atoi() called on it when loading quicksave Misa 2020-05-18 14:16:23 -07:00
  • 9b3853bf94 Fix indentation with ifdefs and FILESYSTEM_delete() Misa 2020-05-18 14:07:52 -07:00
  • bf21c13f80 Handle return values from fread() and fwrite() in PLATFORM_copyFile() Misa 2020-05-18 14:03:14 -07:00
  • 664bf8ca6c Remove now-unused function mapclass::fillareamap() Misa 2020-05-17 17:07:08 -07:00
  • e938bfdb57 Refactor areamap initialization to not use strings Misa 2020-05-17 17:05:07 -07:00
  • 86516bb284 Remove now-unused fillbackground/fillcontents/fillminitower from Tower Misa 2020-05-17 17:02:01 -07:00
  • aae07336eb Refactor Tower.cpp to no longer use strings for tilemaps Misa 2020-05-17 17:00:34 -07:00
  • aed7b220c7 Remove now-unused function mapclass::fillcontent() Misa 2020-05-17 16:45:57 -07:00
  • ec72031cfd Refactor Otherlevel.cpp to not use strings for tilemaps Misa 2020-05-17 16:43:32 -07:00
  • 8a573af273 Refactor Spacestation2.cpp to not use strings for tilemaps Misa 2020-05-17 15:55:20 -07:00
  • 781aa38e1f Refactor Finalclass.cpp to not use strings for tilemaps Misa 2020-05-17 14:42:38 -07:00
  • 5126c4dbc4 Refactor WarpClass.cpp to not use strings for tilemaps Misa 2020-05-17 14:21:52 -07:00
  • cc0d5d1d79 Refactor Labclass.cpp to not use strings for tilemaps Misa 2020-05-17 13:48:07 -07:00
  • f617b6d695 Fix FILESYSTEM_openDirectory command used on Haiku and *BSD Misa 2020-05-14 13:46:57 -07:00
  • e69cc964ab Don't duplicate activity zone handling code in playtesting Misa 2020-05-14 12:39:29 -07:00
  • 610768658e Remove graphics.drawgui() from maprender() Misa 2020-05-14 11:03:04 -07:00
  • be2d2e1e2a Fix 1x1 quicksand collision optimization not working Misa 2020-05-13 01:15:34 -07:00
  • 2d07090a6b Move returning to editor to end of frame Misa 2020-05-09 12:52:58 -07:00
  • 51971fa84c Abstract returning-to-editor code to Game::returntoeditor() Misa 2020-05-09 12:35:17 -07:00
  • 915100b370 Reset vvvvvvman size in mapclass::resetplayer() Misa 2020-05-09 12:04:07 -07:00
  • 269ad18b86 Call game.savestats() when setting new Super Gravitron record Misa 2020-05-09 11:53:41 -07:00
  • f585d53955 Fix flag 67 turning on too early Misa 2020-05-09 11:41:54 -07:00
  • 65341a8d1c Unindent block that previously had the fademode check Misa 2020-05-07 16:00:13 -07:00
  • c61025c172 Remove fademode check from quitting to menu Misa 2020-05-07 15:57:20 -07:00
  • 82d19145ae Only draw fading-in and fading-out animations in MAPMODE Misa 2020-05-07 15:53:12 -07:00
  • 3235b64d19 Remove reliance on fademode to return to menu Misa 2020-05-07 15:47:12 -07:00
  • 656680b49c Fix returning to editor when game is faded-out Misa 2020-05-07 15:40:17 -07:00
  • b83cab8577 Directly do returntolab code instead of relying on a script Misa 2020-05-07 15:36:38 -07:00
  • fc2f269548 Move returning to lab to separate variables Misa 2020-05-07 15:30:26 -07:00
  • 17e7c6983b Move fading to menu to separate variables Misa 2020-05-07 15:23:55 -07:00
  • 69aeac2410 Move return to lab code to Game::returntolab() Misa 2020-05-07 15:17:04 -07:00
  • b59e5a8346 Move script.hardreset() to after quit to menu Misa 2020-05-07 14:54:39 -07:00
  • 6ac41e112c Move quit to menu to Game::quittomenu() Misa 2020-05-07 14:38:19 -07:00
  • 0787475e63 Remove unused variable 'pause' from Game Misa 2020-05-07 14:27:27 -07:00
  • 38a25b985e Fix a copy-paste error in getLevelMetaData() Misa 2020-05-07 20:55:26 -07:00
  • 29ff773cc4 Rename "start" option to "new game" Misa 2020-05-06 12:37:50 -07:00
  • 80db2f1d15 Add out-of-bounds puts() to updateentitylogic and entitymapcollision Misa 2020-05-05 13:55:12 -07:00
  • ce1e212317 Prevent updating an entity if updateentities() removed it Misa 2020-05-05 13:49:12 -07:00
  • 3c80d136e4 Add towermode checks to minitowermode screen transitions Misa 2020-05-05 11:26:26 -07:00
  • 27a5d1fa4f Add puts()es to functions unlikely to receive OoB indices Misa 2020-05-05 10:37:52 -07:00
  • 8a78318990 Add bounds checks to functions taking in entity/blocks/linecross indices Misa 2020-05-04 16:41:30 -07:00
  • c8d50d3067 Re-draw tower background when dying in No Death Mode Misa 2020-05-04 18:44:06 -07:00
  • dc19a51d38 Fix copy-paste bug in command-line playtesting code Misa 2020-05-04 11:41:38 -07:00
  • f78603ef87 Fix menu that you land on when you complete game or custom level Misa 2020-05-02 20:38:06 -07:00
  • 85074c1402 Prevent spawning crewmates/activity zones in custommode Misa 2020-04-29 23:16:35 -07:00
  • 192b2f2dba Don't re-draw credits scroll background every frame Misa 2020-04-29 20:52:33 -07:00
  • 1fd20e5e99 Render screen effects in maprender() Misa 2020-04-29 16:02:17 -07:00
  • 28db7038fc Merge drawtowerbackgroundsolo() into drawtowerbackground() Misa 2020-04-29 14:28:11 -07:00
  • e9dd38ee35 Fix descending tower BG redraw Misa 2020-04-29 14:04:41 -07:00
  • b50ca5b9e6 Don't redraw tower background in descending towers Misa 2020-04-29 13:44:28 -07:00
  • f33cbfbe62 Fix editor menu being drawn on top of editor with BGs disabled Misa 2020-04-29 11:15:23 -07:00
  • e92a21cf8a Fix exiting No Death Mode being one menu too far back Misa 2020-04-27 12:27:12 -07:00
  • 585ff51ec6 Call hardreset() when returning to menu from editor Misa 2020-04-26 19:35:41 -07:00
  • edb930344a Reset screen effects timers in hardreset() Misa 2020-04-26 19:33:07 -07:00
  • 94edfcf87e Only render screen effects on the title screen and in-game Misa 2020-04-26 19:29:40 -07:00
  • 857937326e Put screen effects render handling inside a function Misa 2020-04-26 19:24:50 -07:00
  • 0e082551b1 De-duplicate screen effects timer decrementing Misa 2020-04-26 18:33:07 -07:00
  • b26e94b919 Simplify GAMEMODE loop Misa 2020-04-26 15:19:50 -07:00
  • 53bad3bcaf Merge towerrender() into gamerender() Misa 2020-04-26 15:16:35 -07:00
  • 660f752bae Merge drawtowerentities() into drawentities() Misa 2020-04-26 15:03:02 -07:00
  • b5e813dbbb Make Graphics::drawentities() use a case-switch instead of an else-if Misa 2020-04-26 12:30:58 -07:00
  • 02dc1084e7 Fix offscreen teleporter rendering Misa 2020-04-26 11:42:06 -07:00
  • 4c45a8ac47 Prevent double-rendering of warping sprites on left and top of screen Misa 2020-04-26 11:17:53 -07:00
  • 276daa11bb Invert entity invis check to reduce indentation level Misa 2020-04-26 11:13:47 -07:00
  • 3f46a0a2e9 Remove temporary indents from the last commit Misa 2020-04-25 19:50:09 -07:00
  • 8536185661 De-duplicate flip mode conditional code in Graphics::drawentities() Misa 2020-04-25 19:47:09 -07:00
  • c040ceda29 Merge towerlogic() into gamelogic() Misa 2020-04-24 21:19:41 -07:00
  • 841bfb7eae Fix music not being silent during trinket/crewmate collect Misa 2020-04-24 20:42:04 -07:00
  • 197c7caf08 Add and use Game::save_exists() Misa 2020-04-26 13:41:35 -07:00
  • 7df42242e7 Actually delete saves/unlock.vvv in deletestats() Misa 2020-04-26 13:38:24 -07:00
  • 2076898020 Fix deletequick() and deletetele() not deleting their files Misa 2020-04-26 13:22:26 -07:00
  • 842eb669b7 Make deletequick() and deletetele() error messages less vague Misa 2020-04-26 13:16:56 -07:00
  • 4f3df23e02 Don't clear telesummary/quicksummary if delete unsuccessful Misa 2020-04-26 13:15:38 -07:00
  • 047d71840b Remove unnecessary 'game.' qualifiers in Game.cpp Misa 2020-04-26 13:14:52 -07:00
  • 85f851bc17 Make "start game" goto play menu if any unlocks, even if saves deleted Misa 2020-04-26 13:09:56 -07:00
  • 833bbdbbef Add function Game::anything_unlocked() Misa 2020-04-26 12:43:30 -07:00
  • dc2adea8ee Improve ed_settings Esc press handling Misa 2020-04-25 19:37:33 -07:00
  • 98e33fca9e Fix editor menu options going back to editor not using returnmenu() Misa 2020-04-25 19:25:30 -07:00
  • 9fca3e111f Improve quit-to-menu menu handling Misa 2020-04-25 19:21:23 -07:00
  • 536184f394 Add function Game::returntomenu() Misa 2020-04-25 17:36:36 -07:00
  • a60cdb3ab7 Fix the 2nd to 4th tiles of moving plats rendering offset from 1st tile Misa 2020-04-25 14:57:05 -07:00
  • da612de1f4 De-duplicate size-type 2/8 drawing by putting them together Misa 2020-04-25 14:49:05 -07:00
  • 2f180bb6df De-duplicate repeated size-type 2/8 tile drawing with a for-loop Misa 2020-04-25 14:42:37 -07:00
  • a6c1d13603 De-duplicate map.custommode check when drawing size-type 2/8 entities Misa 2020-04-25 14:29:26 -07:00
  • 6e0b267aac Draw first-pass of H/V warp BGs 3 pixels to the left Misa 2020-04-25 11:48:02 -07:00
  • f444e74550 Mention the in-game credits for the Legal Stuff Ethan Lee 2020-04-24 12:52:11 -04:00
  • 7328508436 Fix build on DragonFlyBSD Pierre-Alain TORET 2020-04-20 15:41:11 +02:00
  • ac7ee0e959 Check for GCC7 for implicit-fallthrough support Ethan Lee 2020-04-23 15:32:34 -04:00
  • 58e512d001 Fix weird bracketing in game.gamestate switch-case Misa 2020-04-19 13:26:03 -07:00
  • 4bea40fc22 Pause all audio output when the game is unfocused Misa 2020-04-19 13:21:36 -07:00
  • 2016ee1b60 Use an 'else' instead of re-checking 'game.muted' again Misa 2020-04-19 13:19:44 -07:00
  • 9db96f004b Remove Game::globalsound Misa 2020-04-19 13:14:49 -07:00
  • c176127529 Remove useless attributes m_globalVol, set/getGlobalSound from Game Misa 2020-04-19 13:11:51 -07:00
  • aacd39f5c6 Add "Press N to mute music only" to "Game paused" screen Misa 2020-04-19 12:42:32 -07:00
  • 43b1b71da1 Add being able to mute the music by pressing N Misa 2020-04-19 12:40:59 -07:00
  • 68bb84f90b Bools are hard... Ethan Lee 2020-04-18 11:38:27 -04:00
  • 6f26443783 Pull openDirectoryEnabled out of the openDirectory ifdefness Ethan Lee 2020-04-18 11:37:28 -04:00
  • ca0e9ec963 Disable "open level folder" in Steam Big Picture mode Misa 2020-04-18 08:06:06 -07:00
  • bc9013c228 Add "open level folder" option to playerworlds menu Misa 2020-04-17 18:50:10 -07:00
  • 6847eb3a87 Add FILESYSTEM_openDirectory() and _openDirectoryEnabled() Misa 2020-04-17 18:48:55 -07:00