Commit Graph

  • 8ed9ee1ca2 Fix Graphics::map_option() not uppercasing selected text Misa 2020-06-22 18:29:52 -07:00
  • 8c4b48fbfd Fix toggling MMMMMM always playing Presenting VVVVVV Misa 2020-06-22 17:44:03 -07:00
  • caa4f0f5c9 Prevent turning on invincibility/slowdown in in-game options menu Misa 2020-06-22 17:37:53 -07:00
  • a476121432 Make pressing Esc in ingame_titlemode go back to pause menu Misa 2020-06-22 17:29:30 -07:00
  • aa40eb6327 Move returning to pause menu code to separate function Misa 2020-06-22 17:26:45 -07:00
  • 6582801dc9 Save current menu to temp variable when entering options from in-game Misa 2020-06-22 17:23:56 -07:00
  • 75326ca2ee Save BG vars to temp vars when entering menu and revert them upon exit Misa 2020-06-22 17:14:01 -07:00
  • 46d1e4053e Set map.scrolldir when going to options in-game Misa 2020-06-22 17:07:43 -07:00
  • a46dd32f12 Consolidate common case 32/33 code Misa 2020-06-22 16:52:40 -07:00
  • 6d7bff61b2 Make returning from game/graphic options return to MAPMODE Misa 2020-06-22 16:51:16 -07:00
  • 4c5b018f6c Fix delta rendering glitch when going to options from new Esc menu Misa 2020-06-22 16:41:07 -07:00
  • 06102e2db3 Make better Esc menu functional Misa 2020-06-22 15:47:25 -07:00
  • 4274843a4b Use game.inspecial() in mapmenuactionpress() Misa 2020-06-22 15:37:19 -07:00
  • 949e99c950 Use case-switch in mapmenuactionpress() Misa 2020-06-22 15:35:26 -07:00
  • 5717afaa37 Pull the game.press_action conditional out of all the if-statements Misa 2020-06-22 15:32:21 -07:00
  • 13cc7b2a4b Unindent mapmenuactionpress() Misa 2020-06-22 15:31:14 -07:00
  • 55d001b4f6 Move mapinput() ACTION press handling to separate function Misa 2020-06-22 15:30:10 -07:00
  • 92154f4be1 Add start of better Esc menu Misa 2020-06-22 15:24:18 -07:00
  • a402c990bf Add Graphics::map_option() Misa 2020-06-22 15:23:15 -07:00
  • b8403ffe1e Use game.inspecial() for special mode checks in maprender() Misa 2020-06-22 14:40:12 -07:00
  • 6648246662 Fix -playx/y/rx/ry/gc/music looking at wrong argument Misa 2020-06-21 18:37:44 -07:00
  • 33aed057ba Add note to README about "compiler quirks" only applying to 2.2 Misa 2020-06-18 13:26:45 -07:00
  • b66d303540 De-duplicate 'ed.numcrewmates() - game.crewmates()' Misa 2020-06-20 19:29:50 -07:00
  • 8a110ead34 De-duplicate 'ed.ListOfMetaData[game.playcustomlevel]' Misa 2020-06-20 19:27:32 -07:00
  • b480d5e5a9 De-duplicate Flip Mode code for custom levels' CREW page Misa 2020-06-20 19:14:40 -07:00
  • 9d20f754bc Add macro-like inline func FLIP() Misa 2020-06-20 19:12:27 -07:00
  • 6876dbf70c De-duplicate menu tab rendering Misa 2020-06-20 18:47:25 -07:00
  • aa3c1c8053 Add Graphics::map_tab() Misa 2020-06-20 18:33:55 -07:00
  • 8c9c3d3751 Add being able to press Esc to go to quit menu from teleporter menu Misa 2020-06-20 17:34:45 -07:00
  • afd16ebc73 Add puts() if FILESYSTEM_init() fails Misa 2020-06-21 16:24:51 -07:00
  • 9001a68833 De-duplicate and add safety checks to CLI args, fix brace style Misa 2020-06-21 16:15:28 -07:00
  • 93b13cadac Add -playassets command-line option Misa 2020-06-21 15:56:31 -07:00
  • d45ff4c269 Abstract assets mounting to FileSystemUtils.cpp Misa 2020-06-21 14:26:40 -07:00
  • 34e89bfcd3 Move endsWith() to UtilityClass.cpp and put it in header file Misa 2020-06-21 14:25:23 -07:00
  • ed527bc872 Remove unnecessary music.init() from asset mounting code Misa 2020-06-21 14:06:59 -07:00
  • c6e800db6f Add '#if !defined(NO_EDITOR)' guards around editorinput/render/logic Misa 2020-06-19 15:23:28 -07:00
  • 5c7e869ee7 Work around SDL2 bug where VSync hint only applies on renderer creation Misa 2020-06-19 14:12:56 -07:00
  • d898597c1e Don't extern gameScreen, use *graphics.screenbuffer instead Misa 2020-06-19 13:42:48 -07:00
  • 0cb21f407e Add inline directives to gameloop(), deltaloop(), fixedloop() Misa 2020-06-15 12:54:08 -07:00
  • 7640f8cc8f Add NO_CUSTOM_LEVELS guard around EDITORMODE in deltaloop() Misa 2020-06-14 12:03:40 -07:00
  • 867e7bc1e6 Move infocus and network updates to fixedloop() Misa 2020-06-14 11:58:27 -07:00
  • acf47bfeac Unindent fixedloop() Misa 2020-06-14 11:57:57 -07:00
  • a9f07ccc8f Move fixed loop to its own function Misa 2020-06-14 11:57:33 -07:00
  • 1fbec9c427 Unindent deltaloop() Misa 2020-06-14 11:55:19 -07:00
  • c9aea52385 Move delta loop to its own function Misa 2020-06-14 11:53:41 -07:00
  • e294b92785 Unindent gameloop() Misa 2020-06-14 11:49:23 -07:00
  • a8d2994223 Put the main game loop inside its own function Misa 2020-06-14 11:45:36 -07:00
  • 3d674a6550 Rename time to time_ Misa 2020-06-14 11:43:28 -07:00
  • f151cff34d Fix editor ghost colors updating too fast Misa 2020-06-12 17:34:19 -07:00
  • d1b1ed830b Fix ed.currentghosts updating way too fast Misa 2020-06-12 17:24:08 -07:00
  • 92ff6ac8fc Fix editor ghosts being added multiple times per frame Misa 2020-06-12 17:20:37 -07:00
  • 2f447fd794 Fix H/V warp BG not resetting when returning to editor (again) Misa 2020-05-09 14:44:51 -07:00
  • 057bdc9b68 Add 1 to fade-to-menu/lab delay Misa 2020-05-08 09:54:38 -07:00
  • 18ecc00d6d Set alpha to 1 in 30-FPS-only mode Misa 2020-05-08 09:52:14 -07:00
  • 694e8f42ab Add VSync graphics option, off by default Misa 2020-05-04 13:19:47 -07:00
  • 179315c889 Indent game loop yet again Misa 2020-05-04 12:59:35 -07:00
  • 7f526f3ef2 Add being able to toggle over/fixed-30-FPS, off by default Misa 2020-05-04 12:52:57 -07:00
  • eaf9eec3dc Fix animating entities' drawframes not being updated for 1 frame Misa 2020-05-04 11:13:41 -07:00
  • b5b958561c Move preloader update code to new function preloaderlogic() Misa 2020-05-04 10:06:07 -07:00
  • 97b8e062ff Move analogue mode filter update logic to fixed-timestep loop Misa 2020-05-02 20:27:47 -07:00
  • 995f0f126f Fix 1-frame glitch when entering a room with plats in finalmode Misa 2020-05-02 17:17:07 -07:00
  • d88b603019 Fix 1 frame where sad crewmates' drawframes weren't updated Misa 2020-05-02 16:48:43 -07:00
  • 2333087c27 Remove duplicate -renderer option Misa 2020-05-02 14:56:14 -07:00
  • 4be18ff9fe Add v-sync hint Misa 2020-05-02 14:53:43 -07:00
  • ad6adcb3c0 Refactor how "hidden names" work Misa 2020-05-02 14:10:22 -07:00
  • c009ab67d9 Make slowdown only apply in GAMEMODE/MAPMODE/TELEPORTERMODE Misa 2020-05-02 13:58:25 -07:00
  • 49fbe18d34 Make sure sprite colors in the editor don't update more than 30 FPS Misa 2020-05-02 13:53:19 -07:00
  • 98e033e5d0 Fix red pill/mannequins/transmittor/radar dish being offset for 1 frame Misa 2020-05-02 13:36:35 -07:00
  • 349702c92c Fix flickering when holding down ACTION in credits scroll Misa 2020-05-02 13:21:42 -07:00
  • 1e81aef58a Fix flickering on bottom/right of screen with H/V warp BGs Misa 2020-05-02 13:11:36 -07:00
  • 45fecf71b2 Fix overdraw bug in tower background Misa 2020-05-02 12:32:20 -07:00
  • 69b3a5dff2 Fix roomname being continuously drawn on top of itself Misa 2020-05-02 12:18:54 -07:00
  • c289128693 Fix overdraw at bottom/right screen edges with H/V warp BGs Misa 2020-05-02 12:15:52 -07:00
  • 93d8220388 Fix off-by-one in interpolation of extending gravity line Misa 2020-05-02 12:06:40 -07:00
  • df2d8e881e Make player not suddenly stop when screen transitioning Misa 2020-05-02 11:03:02 -07:00
  • 9256b4da56 Smoothly interpolate "[Press ENTER to return to editor]" fadeout Misa 2020-05-02 10:49:41 -07:00
  • 5daad95f1d Move "return to editor" alpha timer update to logic functions Misa 2020-05-02 10:45:35 -07:00
  • ca9f44c3b8 Smoothly interpolate editor notedelay Misa 2020-05-02 10:42:39 -07:00
  • 68fe5bd72d Move glitch roomname updating to logic functions Misa 2020-05-02 10:31:48 -07:00
  • 90280b0f92 Interpolate end picture reveal scroll Misa 2020-05-01 18:23:52 -07:00
  • 4641b53603 Interpolate gravitron top line extending Misa 2020-05-01 17:57:07 -07:00
  • 91468542a9 Fix ZZT centipedes (or ASCII snakes) zipping around Misa 2020-05-01 17:40:14 -07:00
  • 82a7ff0357 Fix off-by-one in "- Press ENTER to Teleport -" interpolation Misa 2020-05-01 16:53:50 -07:00
  • 52f4799405 Fix off-by-one in trophy text interpolation Misa 2020-05-01 16:51:50 -07:00
  • c3df1bcc3f Fix off-by-one in activity zone prompt fading interpolation Misa 2020-05-01 16:50:55 -07:00
  • a884bb1dc1 Fix off-by-one in menuoffrender interpolation Misa 2020-05-01 16:49:10 -07:00
  • 11803b0229 Fix colors updating too fast in TITLEMODE/MAPMODE/GAMECOMPLETEMODE Misa 2020-05-01 16:40:35 -07:00
  • 3699adec82 Fix, for in-GAMEMODE sprites, their colors updating too fast Misa 2020-04-30 17:34:37 -07:00
  • 4c2d219e45 Move big chunky pixel colors to separate function Misa 2020-04-30 14:57:21 -07:00
  • fce56fde09 Move setcol part of drawhuetile() to separate function Misa 2020-04-30 14:42:08 -07:00
  • 2e17e872e4 Interpolate spikeleveltop and spikelevelbottom Misa 2020-04-30 12:58:08 -07:00
  • 5ff4a09acc Reset spikeleveltop and spikelevelbottom in mapclass::loadlevel() Misa 2020-04-30 12:50:45 -07:00
  • 92c0f93a6f Move finalstretch animation code to gamelogic() Misa 2020-04-30 12:32:53 -07:00
  • 0e54aa2f51 Set map.ypos when entering tower Misa 2020-04-30 12:02:52 -07:00
  • fe1045b515 Interpolate tower scrolling Misa 2020-04-30 11:52:21 -07:00
  • 880465c2e5 Fix credits position being 1 frame off w/ BG when press/release ACTION Misa 2020-04-30 11:13:02 -07:00
  • e1fdfb7cdb Interpolate credits position Misa 2020-04-30 10:56:27 -07:00
  • b3f7c174ea Fix special text box images sometimes flashing Misa 2020-04-29 23:46:50 -07:00
  • 27fe7ff8f9 Fix crewmates facing wrong way or not being flipped for <1 frame Misa 2020-04-29 23:29:06 -07:00
  • b4142976f2 Move crewframedelay to titlelogic() and maplogic() Misa 2020-04-29 17:09:51 -07:00