Commit Graph

  • 1d669dffeb Interpolate "- Press ENTER to Teleport -" prompt Misa 2020-04-29 17:04:25 -07:00
  • dcc9520d8f Interpolate trophy text Misa 2020-04-29 16:54:36 -07:00
  • a69bb84eaf Interpolate all-sides warp BG Misa 2020-04-29 15:44:07 -07:00
  • 66ac035576 Move all-sides warp background update code to logic functions Misa 2020-04-29 15:37:39 -07:00
  • 8184a392eb Interpolate tower background Misa 2020-04-29 15:28:06 -07:00
  • 118401f17e Move tower background update code to logic functions Misa 2020-04-29 15:25:01 -07:00
  • 7810e99507 Interpolate vertical warp background Misa 2020-04-29 11:09:07 -07:00
  • 921960d23a Move vertical warp background updating to Graphics::updatebackground() Misa 2020-04-29 11:06:03 -07:00
  • c7d3a684ea Interpolate horizontal warp BG Misa 2020-04-29 11:03:17 -07:00
  • c9c55d0c8b Move horizontal warp background to Graphics::updatebackground() Misa 2020-04-29 10:37:56 -07:00
  • 9d104b68ee Simplify "else if" braces and indentation in activity prompt rendering Misa 2020-04-28 22:00:16 -07:00
  • f53ed222d3 Interpolate activity zone prompt fading in and out Misa 2020-04-28 21:58:19 -07:00
  • c56df48d75 Interpolate text box alpha Misa 2020-04-28 21:49:15 -07:00
  • 4ba9954eb8 Move cursor delay update logic to maplogic() Misa 2020-04-28 21:32:53 -07:00
  • 837ccfc735 Move gravity line color updating to gamelogic() Misa 2020-04-28 21:17:16 -07:00
  • 40cedc8c94 Move general oldxp/oldyp updating to just before gameinput() Misa 2020-04-28 21:06:56 -07:00
  • 3b41721563 Interpolate bringing up and down quit/pause/teleporter screen Misa 2020-04-28 20:46:33 -07:00
  • 45c7292096 Simplify menu-off rendering/logic code Misa 2020-04-28 20:31:29 -07:00
  • a22a872886 Move menu offset logic to maplogic() Misa 2020-04-28 20:28:41 -07:00
  • 9ea5734abb Move backboxrect off of Graphics Misa 2020-04-28 19:54:53 -07:00
  • 4e533c65a5 Interpolate upwards-moving star BG Misa 2020-04-28 19:52:59 -07:00
  • 3b09bb36e8 Move upwards-moving star BG to Graphics::updatebackground() Misa 2020-04-28 19:50:03 -07:00
  • 61d2526669 Put rainbow BG timer in Graphics::updatebackground() Misa 2020-04-28 19:47:37 -07:00
  • 684aa38ff2 Interpolate Lab backboxes Misa 2020-04-28 19:45:18 -07:00
  • 1c38b63a37 Move Lab backbox updates to Graphics::updatebackground() Misa 2020-04-28 19:33:33 -07:00
  • 92cd695859 Interpolate left-moving star background Misa 2020-04-28 19:30:37 -07:00
  • 55ae3c73a9 Update left-moving star BG in fixed timestep loop Misa 2020-04-28 19:28:16 -07:00
  • 495bea2e87 Update text boxes in the inner fixed-timestep loop Misa 2020-04-28 18:38:43 -07:00
  • 4e3406d5aa Remove useless function Graphics::textboxcleanup() Misa 2020-04-28 18:19:33 -07:00
  • 905696c263 Update trophy text timer in fixed-timestep gamelogic() Misa 2020-04-28 18:15:56 -07:00
  • 92ee33043d Update activity prompt fade in fixed-timestep gamelogic() Misa 2020-04-28 18:15:26 -07:00
  • e897543383 Interpolate fade amount Misa 2020-04-28 18:10:40 -07:00
  • 8fde6f28a3 Update screenshake position in fixed-timestep loop Misa 2020-04-28 17:29:59 -07:00
  • 57f87dc820 Reduce indentation of "else if" in Graphics::cutscenebars() Misa 2020-04-28 17:17:13 -07:00
  • 2510d3a6ba Interpolate cutscene bars position Misa 2020-04-28 17:16:24 -07:00
  • 6655ae418c Update cutscene bars in fixed-timestep loop Misa 2020-04-28 17:11:02 -07:00
  • a479c61141 Simplify "else if" indentation for right-side tower screen wrapping Misa 2020-04-28 16:45:53 -07:00
  • a7b62d1098 Update oldxp/oldyp when screen wrapping Misa 2020-04-28 16:44:31 -07:00
  • f06ca9172a Set drawframe to tile when creating an entity Misa 2020-04-28 16:37:55 -07:00
  • 298aa95259 Move onground/onroof/animateentities logic to start of gamelogic() Misa 2020-04-28 16:25:03 -07:00
  • 57b643d22a Use case-switch for para-check in entclass::setenemy() Misa 2020-04-28 16:20:59 -07:00
  • c6659ef656 Initialize oldxp/oldyp in createentity() Misa 2020-04-28 16:17:10 -07:00
  • 4f4d400ce0 Add linear interpolation of rendered entities Misa 2020-04-28 16:02:55 -07:00
  • fd44098f38 Move render functions to outer deltatime loop Misa 2020-04-28 15:02:37 -07:00
  • c63036fcd3 Indent timestep loop Misa 2020-04-28 14:44:53 -07:00
  • e2fe2d4c2b Replace SDL_Delay() with an accumulator Misa 2020-04-28 14:37:58 -07:00
  • 62441edbc9 Account for hours when calculating time trial result time Misa 2020-06-17 22:58:44 -07:00
  • 0ee5c07f4a Add #define _POSIX_SOURCE Misa 2020-06-17 16:06:15 -07:00
  • 3428d962b3 Add #define __STDC_FORMAT_MACROS Misa 2020-06-17 15:49:40 -07:00
  • 5e43a44d9a Add 7x7, 9x9, full horizontal and vertical brush sizes AllyTally 2020-06-17 18:49:57 -03:00
  • d7dac6b9be Allow using Warp Zone gray tileset in editor AllyTally 2020-06-17 17:40:58 -03:00
  • fc265e3c75 Fix unmounting assets exiting to menu resulting in silence Misa 2020-06-17 00:56:07 -07:00
  • 44bd4ec0b7 Fix custom assets not being unmounted when exiting from editor/credits Misa 2020-06-17 00:48:10 -07:00
  • f9dfae0144 Hardcode fix for next-line </edentity> Misa 2020-06-16 16:19:33 -07:00
  • bc9f21d7f8 Revert "Fix loading levels saved with 2.2 or earlier" Misa 2020-06-16 15:45:01 -07:00
  • 9a8dc4b6ff Only remove duplicate player entities in scriptclass::hardreset() Misa 2020-06-15 16:19:25 -07:00
  • a8cedd2f91 Prevent out-of-bounds indexing with trinket/crewmate IDs Misa 2020-06-15 14:20:37 -07:00
  • 9de61c5b76 Merge pull request #293 from InfoTeddy/general-improvements Terry Cavanagh 2020-06-16 11:15:08 +10:30
  • 798268f8a8 Merge pull request #295 from v6cord/hex-entities Terry Cavanagh 2020-06-16 11:11:55 +10:30
  • a99e976402 Support hex entities in metadata leo60228 2020-06-15 20:31:54 -04:00
  • 529c7bae23 Make elephant not be flashy if screen effects are disabled Misa 2020-06-15 15:13:18 -07:00
  • f0ec627628 Sigh. Ethan Lee 2020-06-15 07:37:05 -04:00
  • 3323b7e3cf Maybe check the right size m8 Ethan Lee 2020-06-14 22:44:34 -04:00
  • bd71fb8a68 Disallow negative size values in BinaryBlob Ethan Lee 2020-06-14 22:43:58 -04:00
  • 4894639b3a valid needs to have either exactly 1 or 0 Ethan Lee 2020-06-14 22:40:57 -04:00
  • 06a71bab18 Some sanity checks for BinaryBlob header data Ethan Lee 2020-06-14 22:39:06 -04:00
  • 33fd589616 Fix time trial result displaying 00:60 instead of 01:00 Misa 2020-06-14 17:51:39 -07:00
  • b53d2ae53f Remove i/j/k attributes from classes that don't need them Misa 2020-06-14 11:21:32 -07:00
  • 1f360620cf Add inspecial() checks to savetele() and savequick() Misa 2020-06-13 20:08:39 -07:00
  • 93a67bd357 Add Game::inspecial() Misa 2020-06-13 20:07:52 -07:00
  • da1b58d771 Override custommode if in finalmode when drawing tilesvec Misa 2020-06-13 19:24:59 -07:00
  • 2d49988f5d Fix indexing out-of-bounds with font printing functions Misa 2020-06-13 18:56:59 -07:00
  • 3b0ec54164 De-duplicate flip mode code with font printing functions Misa 2020-06-13 18:46:32 -07:00
  • 031402e4bb Fix indexing out-of-bounds with miscellaneous images Misa 2020-06-13 18:37:53 -07:00
  • d03d8afedf Fix indexing out-of-bounds via tile numbers Misa 2020-06-13 18:37:18 -07:00
  • 5195299e65 Fix indexing out-of-bounds via an entity's drawframe Misa 2020-06-13 18:35:12 -07:00
  • 6900553f57 Add INBOUNDS macro Misa 2020-06-13 18:22:05 -07:00
  • a922420066 De-duplicate flipmode check in entityclass::entitycollisioncheck() Misa 2020-06-13 18:13:04 -07:00
  • 4f50883d58 Prevent removing the player entity Misa 2020-06-13 12:00:04 -07:00
  • 51d852601d Remove passing around pointer to gameScreen from KeyPoll::Poll() Misa 2020-06-13 11:44:22 -07:00
  • 30bcc08bec Move gameScreen off of the stack and onto the heap Misa 2020-06-13 11:44:01 -07:00
  • 60a2e100fc Fix 'if (key.resetWindow)' indentation Misa 2020-06-13 11:38:07 -07:00
  • a15d01ad80 Fix fullscreen focus behavior Ethan Lee 2020-06-13 10:35:05 -04:00
  • 506628cef1 Revert "Fix unfocusing the game while in fullscreen mode" Ethan Lee 2020-06-13 10:23:52 -04:00
  • 884035fd2e Add unsigned char static_cast to argument of std::isdigit() Misa 2020-06-12 10:48:41 -07:00
  • fdb44cc209 Add <cctype> include Misa 2020-06-12 10:46:11 -07:00
  • 14afae1a40 Add bounds checks to script commands that didn't have them Misa 2020-06-12 21:55:41 -07:00
  • fdce412680 Guard all cases obj.getcompanion() is used unchecked Misa 2020-06-12 20:43:19 -07:00
  • beab344267 Guard all cases obj.getplayer() is used unchecked Misa 2020-06-12 20:36:08 -07:00
  • 08e47e839f Guard all cases obj.getteleporter() is used unchecked Misa 2020-06-12 19:31:08 -07:00
  • 3b76713441 Only add editor ghosts if the editor exists AllyTally 2020-06-12 19:30:17 -03:00
  • 5c80a4c25e Remove another header initialization AllyTally 2020-06-12 19:27:21 -03:00
  • d740205138 Don't initialize game.gametimer in the header file AllyTally 2020-06-12 19:23:16 -03:00
  • 805992a1e1 Fix mixed indentation AllyTally 2020-06-12 19:20:39 -03:00
  • 1b0b1d32e8 Remove accidental whitespace AllyTally 2020-06-12 19:11:21 -03:00
  • eb52657c23 Add a player trail to the editor (ghosts) AllyTally 2020-06-12 19:04:35 -03:00
  • b2f842376b Avoid calling music.init on startup, reloadresources does this Ethan Lee 2020-06-12 16:24:21 -04:00
  • 8d652dc256 Like the thing I did but the opposite Ethan Lee 2020-06-12 16:21:45 -04:00
  • f815b1ee62 Replace mkdir with PHYSFS_mkdir Ethan Lee 2020-06-12 16:20:18 -04:00
  • c2c0644453 Fix loading levels saved with 2.2 or earlier Misa 2020-06-12 12:55:02 -07:00