Commit Graph

  • 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
  • ec3f937f93 Handle errors from PHYSFS_readBytes() Misa 2020-04-17 15:33:37 -07:00
  • 9c4c76f609 Optimize editorclass::getLevelMetaData() Misa 2020-04-17 15:31:02 -07:00
  • 9aeb9ad739 Add tag finder functions Misa 2020-04-17 15:06:42 -07:00
  • b4f56d39d7 Add find_tag() Misa 2020-04-17 14:56:38 -07:00
  • 9b4975e396 Add is_positive_num() to UtilityClass.cpp Misa 2020-04-17 14:52:09 -07:00
  • a28f68968c Add replace_all() Misa 2020-04-17 14:19:56 -07:00
  • ae6c4223e2 Don't add -Werror=implicit-fallthrough for MSVC Misa 2020-04-17 12:34:09 -07:00
  • 57f027e478 Add -Werror=implicit-fallthrough to CMakeLists.txt Misa 2020-04-17 12:22:43 -07:00
  • 8796f2c9e0 Fix Menu::quickloadlevel not using returnmenu() Misa 2020-04-17 12:10:07 -07:00
  • b02c4aac78 Fix going to wrong menu upon quit Misa 2020-04-17 12:06:37 -07:00
  • 995dc3940a Add a "previous page" option to the credits menu Misa 2020-04-16 23:37:49 -07:00
  • 85b16b969a Add a "previous page" option to the levels list Misa 2020-04-16 23:05:49 -07:00
  • e909515f3d Don't go to main menu when exiting to menu Misa 2020-04-16 21:25:30 -07:00
  • 4d9c834a13 Change gamestate ints to their enum names Misa 2020-04-16 20:15:53 -07:00
  • 637a9d5665 Remove now-unused variable Game::previousmenuname Misa 2020-04-16 20:09:22 -07:00
  • 2bb64198fe Use game.returnmenu() for all "return" menu options Misa 2020-04-16 20:05:01 -07:00
  • 224585d774 Fix being able to mismatch summary and menu color Misa 2020-04-16 19:52:39 -07:00
  • 250be2dbb7 Mark same menus in levels list, credits, and unlock menus Misa 2020-04-16 19:26:49 -07:00
  • 80ae625585 Remove unnecessary createmenu(Menu::graphicoptions) calls Misa 2020-04-16 19:23:19 -07:00
  • bf4427c75a Add function Game::returnmenu() Misa 2020-04-16 19:16:40 -07:00
  • de0205e09b Push a stack frame when Game::createmenu() is called Misa 2020-04-16 19:04:36 -07:00