Commit Graph

  • 12e3c579ed Don't set music.usingmmmmmm to true when (un)loading custom assets Misa 2020-11-12 16:02:54 -08:00
  • 98ef7a8675 Don't reset entire musicclass when mounting and unmounting assets Misa 2020-11-12 15:55:58 -08:00
  • f93ce4ea4a Fix Prize for the Reckless moving platform losing its block when... Misa 2020-11-12 13:57:11 -08:00
  • 434a672ac4 Fix edentities not rendering at all in the editor Misa 2020-11-07 17:12:54 -08:00
  • 7687440273 Use SDL_abs() instead of libc abs() in ApplyFilter() Misa 2020-11-07 16:23:48 -08:00
  • 1a2dd787f3 Interpolate scrolling in Analogue Mode filter Misa 2020-11-07 16:21:30 -08:00
  • 65a5dbe3a3 De-duplicate titleupdatetextcol() in gamecompletelogic() Misa 2020-11-07 14:46:49 -08:00
  • bf29c48640 Remove unneeded titlebg assignments when going to in-game settings Misa 2020-11-07 13:33:39 -08:00
  • 6f4e89e336 Remove unneeded tdrawback/backgrounddrawn assigns in returntopausemenu Misa 2020-11-07 13:20:09 -08:00
  • 5759408ded Remove Game::shouldreturntopausemenu Misa 2020-11-07 13:17:32 -08:00
  • d997fae27a Use SDL_fmodf() instead of libc fmodf() Misa 2020-11-06 15:11:24 -08:00
  • 5faa86baae Add x-room = 13 check to entity 1 behave 13 Misa 2020-11-06 11:58:18 -08:00
  • 05b7a38f76 Clean up don't-quick-fade signaling Misa 2020-11-06 00:51:04 -08:00
  • 87af9bba04 Merge fadeoutqueuesong into nicechange Misa 2020-11-06 00:36:25 -08:00
  • 410d80b731 Fix song 0/7 check using num_pppppp_tracks instead of num_mmmmmm_tracks Misa 2020-11-06 00:34:53 -08:00
  • 9698b42432 Initialize nicechange to -1 for consistency Misa 2020-11-06 00:23:39 -08:00
  • c1ca57e096 Change nicefade to bool instead of int Misa 2020-11-06 00:20:58 -08:00
  • f0b9bdc007 Fix niceplay() check having hardcoded number of MMMMMM tracks Misa 2020-11-06 00:04:57 -08:00
  • 93775ecde2 Fix ACTION press processing on same frame as fade ticks to 0 Misa 2020-11-06 01:03:47 -08:00
  • 5aa8b99113 Move all settings to settings.vvv Misa 2020-11-03 23:11:21 -08:00
  • 9e1ba97f63 Fix style of showmousecursor boolean check Misa 2020-11-03 22:12:58 -08:00
  • 27b28ca55e Fix oldreadytotele not being set in gotoroom() Misa 2020-11-04 00:53:43 -08:00
  • 3ce442459e Fix conveyor check in collisioncheck() always being true Misa 2020-11-04 00:42:42 -08:00
  • 3434ad8777 Fix variables shadowing other variables Misa 2020-11-04 00:37:46 -08:00
  • 6de14d95ee Don't unset Flip Mode when deleting all data in M&P Misa 2020-11-03 21:56:18 -08:00
  • 4ebf89e844 Add error message if quicksave fails Dav999-v 2020-11-04 03:45:33 +01:00
  • 5dbb90c7fd Add error message if telesave fails Dav999-v 2020-11-04 02:58:38 +01:00
  • 4570140a6a Fix teleporter sprites sometimes being solid colors Misa 2020-11-03 15:51:17 -08:00
  • 25d00b9ba6 Fix crewmates being drawn behind other entities Misa 2020-10-31 23:23:40 -07:00
  • 733d0dad80 Add entclass::ishumanoid() Misa 2020-10-19 23:10:18 -07:00
  • d05fbe8687 Unindent drawentity() from previous commit Misa 2020-10-31 21:39:19 -07:00
  • e809cc0615 Factor out entity drawing to separate function Misa 2020-10-31 21:38:15 -07:00
  • fd53278163 Add bounds check to drawgravityline() Misa 2020-10-31 21:23:59 -07:00
  • 081030fb2f Make some variables const in drawentities() Misa 2020-10-19 23:57:23 -07:00
  • 688b23b85d Standardize on using reference to tilesvec/spritesvec instead of pointer Misa 2020-10-19 23:55:49 -07:00
  • 5eab074e4d Remember loaded custom level and read from it when saving Misa 2020-11-03 09:55:26 -08:00
  • 3f954a169a Add XML forwards compatibility to custom level files Misa 2020-09-25 09:31:03 -07:00
  • ab446790e8 Axe BoolToString() in favor of int casts Misa 2020-09-25 09:11:52 -07:00
  • 58795a1381 Add XML forwards compatibility to custom level quicksaves Misa 2020-09-25 09:11:03 -07:00
  • 0eb39644c1 Add XML forwards compatibility to tsave.vvv and qsave.vvv Misa 2020-09-25 09:10:48 -07:00
  • 17b8d0308e Add XML forwards compatibility to unlock.vvv Misa 2020-09-25 09:10:10 -07:00
  • 43e57f5483 Add XML forwards compatibility to levelstats.vvv Misa 2020-09-25 09:09:21 -07:00
  • cb2f72fd8e Add XMLUtils.cpp and XMLUtils.h Misa 2020-09-25 09:08:20 -07:00
  • a1957fa518 Remove kludge_to_bg() and bg_to_kludge() Misa 2020-11-02 16:55:15 -08:00
  • bda92ad0bd Move horizontal/vertical warp backgrounds to separate buffers Misa 2020-11-02 16:54:17 -08:00
  • 70f3d457dd Move title usages of towerbg to titlebg Misa 2020-11-02 15:23:53 -08:00
  • 72c048d71e Refactor tower background to use a separate object instead Misa 2020-11-02 15:05:24 -08:00
  • 20207e2098 Remove unused attributes author/description/title from editorclass Misa 2020-11-03 08:56:53 -08:00
  • d9e3e523b7 Move check/cmode temporary vars off of mapclass Misa 2020-11-02 16:27:03 -08:00
  • 8d8a5d8f57 Fix copy-paste error with SetSurfaceBlendMode of towerbuffer_lerp Misa 2020-11-02 13:11:37 -08:00
  • 20e02f014b Move temporary bcol/bcol2 off of Graphics Misa 2020-11-02 13:02:51 -08:00
  • 25ae117f6a Remove unused attribute Graphics::tl Misa 2020-11-02 12:33:25 -08:00
  • 06103cc4ca Remove now-unused function mapclass::RGB() Misa 2020-11-02 12:16:36 -08:00
  • 9a9f3f57d5 Remove unused variable mapclass::towercol Misa 2020-11-02 12:14:56 -08:00
  • f847ec7c59 Fix tower background interpolation when scrolling from top Misa 2020-11-02 10:49:54 -08:00
  • b98c99fd7a Add 8 pixels of padding above and left of towerbuffer[_lerp] Misa 2020-11-02 10:44:53 -08:00
  • 39c88a3c1c Clean up bounds checks and style for customifflag/flag/ifflag/ifcrewlost Misa 2020-11-02 10:09:13 -08:00
  • 61fc06bc3b Disable hardcoded (10,5) no-follow rule in custom levels Misa 2020-11-01 20:04:54 -08:00
  • c590c4b436 Reload window icon when mounting and unmounting assets Misa 2020-10-31 20:30:24 -07:00
  • 6d8b8d08b9 Factor out icon loading to Screen::LoadIcon() Misa 2020-10-31 20:25:27 -07:00
  • c371d30509 Re-add original oldxp/oldyp assignments in gotoroom() Misa 2020-10-31 21:57:08 -07:00
  • 3a8b381dbc Fix lerpoldxp/yp not being updated in setenemy and setenemyroom Misa 2020-10-31 21:54:21 -07:00
  • f95dbd8426 Disable nocollisionat() for conveyors Misa 2020-10-31 13:44:37 -07:00
  • 942217f871 Fix glitchy y-position when colliding with a conveyor Misa 2020-10-31 11:52:06 -07:00
  • 70e82dfe12 Fix "name lookup of ‘i’ changed" warning in editor.cpp Dav999-v 2020-10-11 22:56:17 +02:00
  • b8a4b4dfe7 Restore previous oldxp/oldyp variables in favor of lerpoldxp/lerpoldyp Misa 2020-10-09 20:58:58 -07:00
  • e8084fe699 Remove now-unused entityclass::hormovingplatformfix() Misa 2020-10-09 17:09:32 -07:00
  • 99297659ee Restore platform evaluation order to 2.2 Misa 2020-10-09 17:09:11 -07:00
  • c83132f4fa Add entityclass::moveblockto() Misa 2020-10-09 17:04:03 -07:00
  • d8cee4866e Add entityclass::nocollisionat() Misa 2020-10-09 15:35:50 -07:00
  • b3b1a0696b Unindent entity update loops from previous commit Misa 2020-10-06 16:16:48 -07:00
  • 7e04908cd4 Collapse and invert if-statements in entity logic loops Misa 2020-10-06 16:15:44 -07:00
  • c56cf009e7 Use SDL_abs() instead of libc abs() in Logic.cpp Misa 2020-10-05 23:30:10 -07:00
  • 71c8c54313 Clean up music handling to one place Misa 2020-10-10 23:42:02 -07:00
  • d0b3cfa08c Don't hardcode MIX_MAX_VOLUME value of 128 Misa 2020-10-10 23:36:18 -07:00
  • ba04c361c6 Revert "Fix #400" Misa 2020-10-10 23:32:28 -07:00
  • 7b7c7b2dc7 Fix inconsistencies with y-positions of spawns Misa 2020-10-05 23:13:07 -07:00
  • dfdad165f5 Fix spawning from an exotic checkpoint setting invalid gravitycontrol Misa 2020-10-05 23:04:58 -07:00
  • b4a0acc01d Fix onground/onroof taking 1 frame after landing on vertical plat Misa 2020-10-05 22:53:10 -07:00
  • 77a636509b Remove duplicate onroof/onground assignment for vertical moving plats Misa 2020-09-28 12:07:08 -07:00
  • 733cad723b Remove unused attributes from entclass Misa 2020-09-28 11:13:02 -07:00
  • cbceeccf78 Clean up and prevent unnecessary qualifiers to self Misa 2020-09-27 19:15:06 -07:00
  • 571ad1f7d8 Move all temporary variables off of entityclass Misa 2020-09-26 12:38:57 -07:00
  • 695e720c1c Prevent typing pipes in the script editor Misa 2020-09-27 15:14:42 -07:00
  • 25f27d502a Prevent undefined behavior with integer under/overflow with help.Int() Misa 2020-09-27 13:41:07 -07:00
  • 605b8a427c Make 'custom_' check more readable Misa 2020-09-27 13:21:47 -07:00
  • fe56764fbc Don't use bounds check for checktrigger() in twoframedelayfix() Misa 2020-09-25 15:05:50 -07:00
  • c8f000af02 Don't use bounds check for result of checktrigger(), it's a gamestate Misa 2020-09-25 14:57:59 -07:00
  • a38faad156 Add bounds checks to indexing of global "temporary" variable k Misa 2020-09-25 14:08:34 -07:00
  • 990ee63a6e Fix brace style in Graphics::Makebfont() and Graphics::bfontlen() Misa 2020-09-25 12:55:12 -07:00
  • 2e78eab92f Clear font_positions if there is no font.txt Misa 2020-09-25 12:52:34 -07:00
  • 96be0fc7a9 Fix unwinnable save from rescuing Violet out of order Misa 2020-08-08 16:09:55 -07:00
  • 3ffe1b2e3b Add bounds-check to entcolours in editor rendering Misa 2020-09-15 15:21:34 -07:00
  • c325085ddb Fix up trinket and coin ID bounds checks Misa 2020-09-09 22:40:15 -07:00
  • 140861a79d Add bounds checks to both versions of Graphics::drawsprite() Misa 2020-09-09 22:35:35 -07:00
  • 76d6a3536b Bounds check all entity getters that can return 0 Misa 2020-09-09 22:31:09 -07:00
  • 19a8352775 Don't hardcode 400 in editorclass::save() Misa 2020-09-09 22:13:59 -07:00
  • f02dcbfdad Don't manually write out INBOUNDS_ARR() checks Misa 2020-09-09 22:12:10 -07:00
  • 7b20d90446 Don't manually write out INBOUNDS_VEC() checks Misa 2020-09-09 21:58:59 -07:00
  • 32b6de729d Use SDL_arraysize() instead of writing out array length Misa 2020-09-09 21:48:45 -07:00