Commit graph

2198 commits

Author SHA1 Message Date
Oni
dbb548d8ad Merge branch 'ironman' into 'master'
HOSTCODE 'ironman'

See merge request KartKrew/Kart!745
2022-11-26 11:56:11 +00:00
Sal
90e3d01395 Merge branch 'waterstep-2' into 'master'
Waterstep 2

Closes #329 and #327

See merge request KartKrew/Kart!774
2022-11-25 22:42:19 +00:00
Sally Coolatta
8f5e0f63e9 Evict the wall gremlin
Gremlins happened whenever P_TryMove and P_SlideMove/P_BounceMove disagreed on what an object collided with. When TryMove said you collided with a line, but P_BounceMove said that you didn't, then you'd get gremlin'd.

To fix this, P_TryMove now can edit a struct to contain information on what it collides with. P_SlideMove and P_BounceMove no longer try to detect walls on their own and now requires this result from P_TryMove. If a slide/bounce is needed without moving the object, then you'd want to use P_CheckMove to get the result.

Lua is not supported right now.
2022-11-21 16:12:53 -05:00
Sally Coolatta
11a6287c80 Reference count tm.floorthing and tm.hitthing 2022-11-21 15:41:24 -05:00
toaster
e65d17cd4d Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into ironman
# Conflicts:
#	src/g_demo.c
2022-11-21 15:49:29 +00:00
Sally Coolatta
b31aa1bbb0 Put tm* variables into a struct
This makes it significantly easier to save/restore the state of these variables, whenever we need to do so for calling movement functions in the middle of other movement functions. This will also make it easier to move it out of global variable hell if desired later.
2022-11-20 19:27:34 -05:00
toaster
f06d4b4369 Only return early for floordiff if under-water surface is SLOPED 2022-11-19 22:37:16 +00:00
Oni
c331958ef4 Merge branch 'waterstep' into 'master'
Waterstep fixes (resolves #319)

Closes #319

See merge request KartKrew/Kart!771
2022-11-19 00:54:46 +00:00
Sally Coolatta
d0b86ee7ed Add banana death particles 2022-11-18 15:55:47 -05:00
toaster
a558c4f5c0 Waterskiing stepdown improvement
Only prohibits when there's a valid stepdown if the object is on a sloping surface.
Fixes Mega Aqua Lake without breaking Water Palace or a modified Nova Shore (after addition of an extra downward slope)
2022-11-18 19:39:56 +00:00
toaster
3422efb2fd Reduce restriction for water skiing slope differences
Only prohibit if slope surface is TOO different along the direction of movement, rather than even slightly different across any axis.
Fixes MK's indev Mirage Saloon
2022-11-18 19:36:01 +00:00
Sally Coolatta
32c477e619 Bananas use proper death frame 2022-11-18 01:56:45 -05:00
Sally Coolatta
1688325c67 Banana angle crazy mode
- Randomize banana angles when thrown
- Spin bananas when mid-air
- Add MF_SLOPE flag to control whenever or not pitch/roll are set for an object (replaces MF_BOXICON)
2022-11-18 01:05:01 -05:00
Sally Coolatta
9a009cab18 Overlays use dispoffset instead of position hack 2022-11-06 15:23:18 -05:00
Oni
ff6f7b62c8 Merge branch 'paperitem-backdrop' into 'master'
Add backdrop for paper items

See merge request KartKrew/Kart!755
2022-11-06 08:00:06 +00:00
SteelT
84a5e28302 Don't match slope pitch and roll for MT_FLOATINGITEM (per VC discussion) 2022-11-04 11:19:27 -04:00
AJ Martinez
1410b6c0e0 Ironman: visibility/hyudoro behavior cleanup 2022-11-03 15:44:49 -07:00
AJ Martinez
7c839e841a Ironman: use P_SetTarget helper where appropriate 2022-11-03 15:05:43 -07:00
Ashnal
1e9b844e88 Unlink non-mobj and non-precip thinkers when loading and freeing
Move globalweather to before P_SpawnSpecials so that specials can properly change weather and have it communicated in savegames

# Conflicts:
#	src/p_saveg.c
#	src/p_setup.c
2022-11-03 13:23:13 +00:00
Ashnal
fb4cf4c3ba Remove usage of currentthinker from direct removal
It's designed to be referenced from P_RunTHinkers, whjich we aren't doing
2022-11-03 13:13:07 +00:00
Ashnal
16300bee84 Attempt to fix use after free bug
with precipitation mobjs on netgame load

# Conflicts:
#	src/p_saveg.c
2022-11-03 13:11:03 +00:00
AJ Martinez
216bad4712 Ironman: Don't do 5 angle conversions for no reason 2022-11-03 03:57:43 -07:00
AJ Martinez
770378eea0 Ironman: move transform VFX into function for reuse 2022-11-03 03:38:56 -07:00
AJ Martinez
8d2d6bfc78 Ironman: return to base character when exiting 2022-11-03 03:38:56 -07:00
AJ Martinez
02bf3bc695 Ironman: splat top/bottom WIP 2022-11-03 03:38:56 -07:00
AJ Martinez
dd93f322cc Ironman: fix weird particle angles 2022-11-03 03:38:55 -07:00
AJ Martinez
2a46af5a44 Ironman: animation fixes, don't transform in POSITION 2022-11-03 03:38:55 -07:00
AJ Martinez
8fe89c3dcd Ironman: papersprite box hell 2022-11-03 03:38:55 -07:00
Oni
ac46849ddf Merge branch 'fix-spectator-spawn-mid-game' into 'master'
Fix players sometimes spawning at 0, 0

See merge request KartKrew/Kart!737
2022-10-29 06:57:13 +00:00
James R
58bb648b0a Merge branch 'udmf-cherrypick' into 'master'
Update our UDMF

Closes STJr/SRB2#862

See merge request KartKrew/Kart!727
2022-10-29 06:54:48 +00:00
James R
20bfbca029 Fix spectators spawning at 0, 0 when joining mid game 2022-10-23 16:03:16 -07:00
toaster
a7a2956b89 Add extra minimap icons
- Battle Capsules for Break The Targets, to improve conveyability
- No Contest players have a special X icon
Also fixes a few issues with minimap rendering
- obviously written before netsplits and bots
- mixing up array indices and loop iteration for local players
- mixing up SPB object and target
- old version of hyudoro with double time in Race
- using explicit gametype comparisons instead of gametype rules
- SPBs with hitlag disappeared from the minimap
2022-10-16 13:21:12 +01:00
Sally Coolatta
6b9f29adc4 Fix item capsules not getting to be blue 2022-10-10 10:54:29 -04:00
Sally Coolatta
779aade139 Bot Hints use args 2022-10-10 10:50:14 -04:00
Sally Coolatta
0614a8739c Duel items use args 2022-10-10 10:48:44 -04:00
Sally Coolatta
688b4fb9a9 MT_PETSMOKER uses args 2022-10-10 10:43:30 -04:00
Sally Coolatta
983304f361 Update birdslopes to use args 2022-10-10 10:16:40 -04:00
Sally Coolatta
77ec64497c Item Capsules use args 2022-10-10 07:58:28 -04:00
Sally Coolatta
c1581d0f75 Egg Capsules use args + optimized tube waypoints 2022-10-10 07:48:55 -04:00
Sally Coolatta
436c763a02 Make MT_WAYPOINT fully use args
All of its special flags are contained on args[2] now.
2022-10-10 07:22:42 -04:00
MascaraSnake
3b971835ee Add Lua backwards compatibility for FOF flags 2022-10-09 01:56:50 -04:00
MascaraSnake
12717c7a6c Fix copypaste error in P_GetMobjGravity 2022-10-09 01:24:09 -04:00
Nev3r
5c9599f0a9 "UDMF: The whole thing" merged
See merge request STJr/SRB2!1714

Barely any RR features reimplemented
2022-10-09 01:13:37 -04:00
James R
f3545a6e6f Merge remote-tracking branch 'origin/duel-stuff' 2022-10-02 19:10:22 -07:00
Sally Coolatta
7b7cbbbf26 Fix oddities with duel items not always spawning 2022-10-01 22:58:58 -04:00
Sally Coolatta
d19924d96d Merge branch 'master' into duel-stuff 2022-10-01 21:46:02 -04:00
James R
05dd7d7871 Merge remote-tracking branch 'origin/master' into HEAD 2022-10-01 14:45:39 -07:00
James R
1bfccebbe6 Merge remote-tracking branch 'origin/devmode-online' 2022-09-30 15:57:52 -07:00
James R
ee2302d6ee Merge branch 'noclip-online' into 'master'
Cheat/Debug Commands ...ONLINE

See merge request KartKrew/Kart!717
2022-09-30 22:51:42 +00:00
James R
aeda564145 Fix typo
FUCK

blame cf02646229
2022-09-29 12:35:02 -07:00