Commit Graph

  • 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
  • b34be3f1ac Use explicit INBOUNDS_VEC() instead of checking sentinel -1 Misa 2020-09-09 04:15:14 -07:00
  • b925352864 Reduce scope of 'j' in screen transition companion logic Misa 2020-09-08 14:59:23 -07:00
  • a098448e89 Remove unused variable from gamestate 115 Misa 2020-09-08 00:57:29 -07:00
  • fad0071966 Reduce scope of temporary variables in Game::updatestate() Misa 2020-09-08 00:56:00 -07:00
  • 7ed495c373 Rename INBOUNDS() macro to INBOUNDS_VEC() Misa 2020-09-08 00:31:44 -07:00
  • fae14f4e98 De-duplicate stuck prevention for the player/SCM Misa 2020-09-05 17:38:38 -07:00
  • 5e29d676e9 Use case-switch for entityclass::collisioncheck() Misa 2020-09-05 17:37:57 -07:00
  • b5806c8bb0 De-duplicate entity collision checks for player/SCM Misa 2020-09-05 17:35:44 -07:00
  • ceaee392e5 De-duplicate vertical moving platform fix for player/SCM Misa 2020-09-05 17:25:49 -07:00
  • 1c5b72410a De-duplicate spike hitbox checks for player/SCM Misa 2020-09-05 17:23:09 -07:00
  • 46049705f4 Fix entities in the Warp Zone's gray tileset not being gray in the editor (#480) Ally 2020-09-25 14:35:03 -03:00
  • 7fcc1c8cdc De-duplicate reading/writing main game telesave/quicksave Misa 2020-09-13 16:31:02 -07:00
  • e01efbec89 Remove tzann's trailing whitespace from Graphics.cpp Misa 2020-09-09 22:37:14 -07:00
  • 1a3577e196 Add kludge to fix rendering of gravity lines in a gotoroom Misa 2020-09-25 10:13:00 -07:00
  • d1fd910bdb Fix flipgravity() rule conversion being inverted Misa 2020-09-23 23:40:16 -07:00
  • 5b9a8e5f08 Allow calling flipgravity() on duplicate player entities Misa 2020-09-17 20:02:29 -07:00
  • 42010f8f42 Fix default Graphics::setcol() value having no alpha Misa 2020-09-17 03:38:56 -07:00
  • 03abe10f67 Add space after lines terminated by a colon in scripts (#479) MAO3J1m0Op 2020-09-14 20:34:12 -04:00
  • dcf1a81e80 Fix duplicate levels in levelstats if you don't have a higher score Misa 2020-09-12 21:55:26 -07:00
  • 1d40bbdbc7 Restore pre-2.1 warp bypass glitch in glitchrunner mode Misa 2020-09-09 16:10:16 -07:00
  • 23434f0842 Fix misleading indentation in obj.customwarpmode block Misa 2020-09-09 15:45:03 -07:00