1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-25 18:24:59 +01:00

Commit graph

  • 35294df608 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
  • 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