Commit graph

18058 commits

Author SHA1 Message Date
SteelT
ce8ace610f Merge branch 'no-apng-compile-fix' into 'next'
Fix unused variable warning when USE_APNG is not defined

See merge request STJr/SRB2!1343
2021-03-25 14:02:23 -04:00
lachablock
c3caa55f22 Revise spinheight/gap entry conditions (again), let's keep things WAY simpler:
- PF_NOJUMPDAMAGE no longer affects height at all (you're welcome katsy).
- Characters with SF_NOJUMPSPIN will only use spinheight when panim is PA_ROLL. They cannot enter gaps when jumping with spinheight, unless also spinning or gliding.
- All other characters use spinheight when panim is PA_JUMP or PA_ROLL. They can enter gaps when jumping with spinheight.
2021-03-25 21:42:25 +11:00
lachablock
b5c61a8a2a Add PlayerHeight and PlayerCanEnterSpinGaps Lua hooks 2021-03-25 21:41:09 +11:00
lachablock
fdd02e35c8 Fix P_PlayerCanEnterGaps issues with polyobject collision 2021-03-25 15:58:52 +11:00
lachablock
cd72594d0e Revise conditions under which players use spinheight and enter gaps:
- players with SF_NOJUMPDAMAGE but *not* SF_NOJUMPSPIN now always use spinheight while jumping (i.e. even with PF_NOJUMPDAMAGE), as long as their panim is PA_JUMP or PA_ROLL
- players with SF_NOJUMPSPIN no longer use spinheight while jumping (but,)
- PA_ROLL is now an acceptable condition for using spinheight (but not for entering gaps, e.g. S3K shields will shrink the hitbox but not allow gap entry on their own)
- flying players now only use spinheight if they do not have SF_NOJUMPSPIN (you're welcome, EggpackRE)
- players with neither SF_NOJUMPSPIN nor SF_NOJUMPDAMAGE use the same conditions as in 2.2.9 prerelease, i.e. use spinheight and can enter gaps unless they have PF_NOJUMPDAMAGE
2021-03-25 15:57:35 +11:00
Monster Iestyn
b49eeac270 Merge branch 'custom3dcrash' into 'next'
Fix sigsegv caused by bad target check in A_Custom3DRotate

See merge request STJr/SRB2!1430
2021-03-24 14:24:21 -04:00
Monster Iestyn
5b746a4853 Merge branch 'fix-opengl-drawcroppedpatch' into 'next'
Fix OpenGL V_DrawCroppedPatch (Fixes #452)

Closes #452

See merge request STJr/SRB2!1412
2021-03-24 11:34:58 -04:00
lachablock
35cecad868 Do not let nonspin characters enter sectors they could not enter if standing at full height 2021-03-23 15:09:04 +11:00
katsy
959a60d858 fix sigsegv in A_Custom3DRotate 2021-03-21 16:09:11 -05:00
Monster Iestyn
0073f25170 Fix clobbering error in hw_md2.c by adding "volatile" to png_FILE.
(Apparently Kart made this exact fix 2 years ago and it was never backported?)
2021-03-21 19:49:32 +00:00
Monster Iestyn
ea58717772 Merge branch 'print-backtrace-ii' into 'next'
Fix compile warning on Windows

See merge request STJr/SRB2!1426
2021-03-21 12:55:44 -04:00
toaster
5e70789cda Prevent hitlag from eating death events (resolves #112).
I could've used the existing `boolean force` here to skip over the check, but I think the MF_SHOOTABLE check is appropriate, and the DMG_CANTHURTSELF flag will be respected this way too.

Also, clean up a ridiculously long statement.
* `k_spinouttype` will never have the value of 2. This might've been a check for KSPIN_IFRAMES, but
    * that already controls `pw_flashing` earlier in the check
    * completely unlabeled, so it's nonsense that needs to be stripped
* `k_squishedtimer` wa mou shinderu.
2021-03-17 18:39:19 +00:00
sphere
3a0be379d3 Avoid savemoddata being set in W_InitFile to fix addons with gamedata. 2021-03-15 18:11:02 +01:00
lachablock
f0e5b721ad Disallow write_backtrace on Windows entirely 2021-03-15 15:17:55 +11:00
Lach
7878e50218 Merge branch 'final-tweaks' into 'next'
More final tweaks for 2.2.9 I guess

See merge request STJr/SRB2!1417
2021-03-14 20:52:47 -04:00
Lach
14a2f60b4a Merge branch 'dropdropSHAdow' into 'next'
Papersprite dropshadows no longer askance

Closes #409

See merge request STJr/SRB2!1408
2021-03-14 20:52:25 -04:00
Lach
9a71a1b01e Merge branch 'opengl-renderflags-fix' into 'next'
Fix a few renderflags oversights in OpenGL

See merge request STJr/SRB2!1422
2021-03-14 20:51:57 -04:00
Lach
cde974e27c Merge branch 'ogl-blend-var-fix' into 'next'
Fix for #422

Closes #422

See merge request STJr/SRB2!1425
2021-03-14 20:51:40 -04:00
Hannu Hanhi
ff29b6d9b7 Fix wrong color on player models' first frame by updating variable after loading blend texture 2021-03-13 23:07:51 +02:00
LJ Sonic
2b576eade2 Remove misleading comment 2021-03-12 19:54:01 +01:00
Sally Coolatta
8ebfb656cc Fuck the gamma shortcut, replace it with a fullscreen toggle 2021-03-11 15:03:30 -05:00
Sally Coolatta
f2aaf1c6d8 Other way around 2021-03-10 09:16:59 -05:00
Sally Coolatta
029c36d59a Allow players to turn when they're in the air at 0 speed
Minor weird thing I noticed long ago
2021-03-09 17:30:41 -05:00
Sally Coolatta
0a10396c84 Spindash shortcut button 2021-03-09 17:28:20 -05:00
Sal
3ebedeaa08 Merge branch 'udmf-scale-by-mobjscale' into 'master'
Multiply thing scale by mobjscale

See merge request KartKrew/Kart!402
2021-03-09 16:51:23 -05:00
Sal
731f0af25f Merge branch 'bot-alt-turning' into 'master'
New bot swerving system

See merge request KartKrew/Kart!400
2021-03-09 16:12:30 -05:00
Sal
e0da1d7a7d Merge branch 'no-turn-easing' into 'master'
Remove turn easing code

See merge request KartKrew/Kart!401
2021-03-09 16:12:11 -05:00
Lachlan Wright
f42bf71f9a Merge branch 'ogl-compileshaders-bug' into 'next'
Remove misplaced SetShader call in CompileShaders (Fixes #402)

Closes #402

See merge request STJr/SRB2!1423
2021-03-09 00:14:17 -05:00
Lachlan Wright
0b689368e3 Merge branch 'sw-culling-inaccuracy' into 'next'
Use double precision in R_StoreWallRange sloped seg culling calculations (Fixes #434)

Closes #434

See merge request STJr/SRB2!1424
2021-03-09 00:13:53 -05:00
LJ Sonic
46103ff375 Merge branch 'print-backtrace' into 'next'
Print a backtrace when SRB2 crashes in a Unix-like environment.

See merge request STJr/SRB2!1288
2021-03-07 08:26:44 -05:00
Hannu Hanhi
c08012fe8a Use double precision in R_StoreWallRange sloped seg culling calculations
Fixes culling issues in CEZ2 skybox
2021-03-06 19:56:25 +02:00
Hannu Hanhi
f39eb1ec10 Remove misplaced SetShader call in CompileShaders 2021-03-06 19:38:17 +02:00
Sryder
8344ac3489 Actually just get rid of seenplayer and NAMECHECK altogether. 2021-03-03 18:03:41 +00:00
Sryder
48d46c19e0 MT_NAMECHECK was missing from Lua MOBJTYPE_LIST array. 2021-03-03 17:51:10 +00:00
James R
e18a3a1be0 Multiply thing scale by mobjscale 2021-03-01 22:04:13 -08:00
Jaime Ita Passos
06bad96b03 Fix a few renderflags oversights in OpenGL 2021-03-02 02:27:14 -03:00
James R
017c5a363f Fix casing 2021-03-01 19:49:44 -08:00
Lachlan Wright
e24ed9bd75 Merge branch 'nogmever' into 'next'
Check if GME_VERSION is defined.

See merge request STJr/SRB2!1372
2021-03-01 17:50:48 -05:00
Lachlan Wright
5ede909a1f Merge branch 'fix-flipped-bounce' into 'next'
Fix CA_BOUNCE height when flipped (Fixes #428)

Closes #428

See merge request STJr/SRB2!1373
2021-03-01 17:49:54 -05:00
Steel Titanium
85bd18eeec Merge branch 'master' into next 2021-03-01 16:55:48 -05:00
Lachlan Wright
8ea7e3498d Merge branch 'marathon-pause-fix' into 'next'
Disable pausing during score screens in marathon mode

See merge request STJr/SRB2!1416
2021-03-01 16:51:28 -05:00
Lachlan Wright
4c4b4b1f68 Merge branch 'skincolor-modif-fix' into 'next'
Fix translation colormap cache rebuilding using the old translation enumerations (fixes #443, #449, #459)

Closes #443, #449, and #459

See merge request STJr/SRB2!1421
2021-03-01 16:49:20 -05:00
Lachlan Wright
b71a9478da Merge branch 'linkdraw-scale-fix' into 'next'
Fix thing scale mismatch in R_DrawVisSprite. (Fixes #458)

Closes #458

See merge request STJr/SRB2!1420
2021-03-01 16:49:10 -05:00
Lachlan Wright
032c40863d Merge branch 'revert-e305de03' into 'next'
Revert "Merge branch 'player-speed' into 'next'"

Closes #466 and #471

See merge request STJr/SRB2!1418
2021-03-01 16:49:00 -05:00
Sally Coolatta
0be122189f Remove turn easing code
Vanilla holdover lots of people complain about & tbh just doesn't need to exist
2021-03-01 12:39:42 -05:00
Sally Coolatta
d165e723be Make it through Lua 2021-03-01 01:49:05 -05:00
Sally Coolatta
a93acd1958 Make it through OGL 2021-03-01 01:48:31 -05:00
Sally Coolatta
1619efec82 Make it past kart & mixer files 2021-03-01 01:13:03 -05:00
Sally Coolatta
885b7673eb Makes it to kart files 2021-03-01 01:02:23 -05:00
James R
ec00710396 Use 2.2's version of the -warp parameter 2021-02-28 21:51:44 -08:00