Commit graph

19569 commits

Author SHA1 Message Date
Sally Coolatta
867ddb143d Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag! 2022-02-14 14:26:04 +01:00
Sally Coolatta
c355537676 Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2022-02-14 14:25:38 +01:00
Sally Coolatta
6cc30005b3 Sync mobj->terrain
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2022-02-14 14:25:38 +01:00
Sally Coolatta
e4c04169d7 Implement the sector special-like effects
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2022-02-14 14:25:37 +01:00
Sally Coolatta
4d08194fc7 Liquid terrain functions 2022-02-14 14:25:35 +01:00
Sally Coolatta
595d568b53 You can now link terrain to textures 2022-02-14 14:24:21 +01:00
Sally Coolatta
f6c42f70a7 Friction value is used, implemented DefaultTerrain 2022-02-14 14:24:21 +01:00
Sally Coolatta
57fb65077a Add terrain pointer to mobj_t 2022-02-14 14:24:21 +01:00
Sally Coolatta
9d65e53d73 TERRAIN lump reading
Does not impact gameplay but hey pretty cool
2022-02-14 14:24:19 +01:00
Sally Coolatta
12acd6977b TERRAIN lump mockup 2022-02-14 14:23:43 +01:00
Sally Coolatta
4ff50fe438 Don't use damage hitlag effects on a person when they "win" a ring sting exchange
Only applies to ring sting collision (no other types of damage touching), only applies to the person not getting stung. The person who is getting stung & sting trades are unaffected.
2022-02-14 14:23:43 +01:00
Sally Coolatta
97a503d2c2 Don't do hitlag combo with items with threshold
Prevents instakill ballhog
2022-02-14 14:23:42 +01:00
James R
f0e33d9a36 Let objects receive damage while in hitlag 2022-02-14 14:23:42 +01:00
James R
5192c56d13 Check to sting player before removing one ring 2022-02-14 14:23:42 +01:00
Sally Coolatta
fc8a7a6ca5 Scale gravity with map scale instead of object scale 2022-02-14 14:23:42 +01:00
Sally Coolatta
14ee70624f Fix lap animation interp being reversed 2022-02-14 14:23:42 +01:00
Sally Coolatta
817e6f568a Only calculate string when we need it 2022-02-14 14:23:42 +01:00
Sally Coolatta
0e55de6dcc Interpolate music credits 2022-02-14 14:23:39 +01:00
Sally Coolatta
d959ce02be Purple spark electricity UNCAPPED 2022-02-14 14:22:30 +01:00
Sally Coolatta
0adea2279b Fully fix drop shadows
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2022-02-14 14:22:30 +01:00
Sally Coolatta
6b84557b78 Make drop shadows slightly better in uncapped
They still jitter uphill
2022-02-14 14:22:30 +01:00
Sally Coolatta
f04520f368 Apply the same fix for instashield overlay 2022-02-14 14:22:30 +01:00
Sally Coolatta
843f89cb76 Fix jawz reticule in uncapped 2022-02-14 14:22:30 +01:00
Sally Coolatta
74bac4028b Hack to fix drift spark explosion while keeping its interpolation 2022-02-14 14:22:29 +01:00
Sally Coolatta
b9cc482c53 Rename PitchRoll stuff back
I did a find+replace because I realized the functions I added were named too similar to other ones & to make the purpose more obvious ... but it ended up changing them too anyway! Gah!
2022-02-14 14:22:29 +01:00
Sally Coolatta
bfaefe4ee5 P_InitAngle, to fix angle interpolation on spawning objects 2022-02-14 14:22:29 +01:00
Sally Coolatta
bf2dc739da Add functions to handle interpolation
Much less code duplication
2022-02-14 14:22:29 +01:00
James R
5ed55aca3d Disable wad loading in TESTERS build 2022-02-14 14:22:29 +01:00
James R
7411484bf6 More TESTERS guard 2022-02-14 14:21:47 +01:00
toaster
87d797a45a Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into new-menus
# Conflicts:
#	src/Sourcefile
#	src/d_main.c
#	src/m_menu.c
#	src/v_video.c
#	src/v_video.h
2022-02-14 13:10:36 +00:00
toaster
006b6f00ac Rewrite the awayview reset for both Got_Teamchange and P_SpectatorJoinGame. 2022-02-11 12:09:00 +00:00
toaster
913610b1b7 Fixed P_RestoreMusic using displayplayers instead of local players (did not use any of the functions directly and so was missed). 2022-02-11 10:38:16 +00:00
toaster
03a47cfb5a Prevent using a grow while invincible resetting the invincible music timer, when that SHOULDN'T be touched and will be set to grow properly once that's over. 2022-02-11 01:13:38 +00:00
toaster
4567d9c57f Fix allowteamchange (although this code wasn't being run, it still SHOULD return early...) 2022-02-11 00:35:11 +00:00
toaster
93e4ef0ef1 Permit players to not bounce when colliding with ML_NOTBOUNCY walls (imperfect but better than the LITERALLY NO SUPPORT that was there beforehand) 2022-02-10 00:06:47 +00:00
toaster
8f4e8a4953 can't believe i messed up the brackets this bad, woops 2022-02-09 23:43:06 +00:00
toaster
c3e9eceda2 * Instead of checking for a player moving up, check for a player moving up that's only JUST been tumbled.
* Remove the DMG_WOMBO flag from PVP touch damage tumbles as that was restricting tumble combos in this branch, not allowing it.
2022-02-08 21:38:24 +00:00
toaster
c8517007c6 Only disable downloads in TESTER builds and -nodownload, not always. 2022-02-03 22:03:04 +00:00
toaster
ef7655d2e8 Fix a tables error with DMG_STEAL in Lua/SOC resolving to the wrong flag value. 2022-02-03 19:51:58 +00:00
toaster
766fce5857 Make some adjustments to the damage combo system for players.
* Prevent a player that is moving upwards from being DMG_TUMBLE'd again (resolves #212).
* Instead of having a special case for missiles there, make PIT_CheckThing toggle DMG_WOMBO instead.
* Allow hard hits (DMG_TUMBLE, DMG_EXPLODE, and DMG_KARMA) to have combos toggled off with DMG_WOMBO, too.
2022-02-03 19:51:17 +00:00
James R
0f4feb0161 Fix in game downloader confirmation 2022-01-28 04:43:18 -08:00
toaster
2e54e38607 Diagnose itemamount underflows easier (show the empty box and number if nonzero count but zero item type) 2022-01-25 17:02:19 +00:00
toaster
3f71251fd6 Fix a correctly timed Thunder Shield preventing you from using rings (resolves #220) 2022-01-24 23:19:35 +00:00
toaster
7508e0e198 P_IsLocalPlayer changes
This is the function that controls whether a bunch of music-related function (and also whether certain error messages get printed).

* P_IsLocalPlayer now supports party players (currently untested, but the code is pretty airtight).
* P_IsLocalPlayer now always returns false in replays.
* P_IsMachineLocalPlayer now exists for the one situation the game determines local players that actually has a net-related function (kicking illegal character changes).
* Invincibility/grow sfx now operates based on whether the player is NOT local (it used to be whether it was NOT a displayplayer).
* Refactored P_SpectatorJoinGame to make future team support easier, and also reset the relevant camera focus, rather than always the consoleplayer's.
* Fix viewpoints on non-local players having overlapping viewpoint text.
2022-01-24 22:03:40 +00:00
toaster
4b1cef0f20 Merge branch 'testers' into 'master'
Allow TESTERS builds to be made for any branch

See merge request KartKrew/Kart!529
2022-01-23 22:48:48 +00:00
toaster
2df53dd5a5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into votefree 2022-01-23 22:46:11 +00:00
toaster
f69f002d17 Merge branch 'speedometer-default' into 'master'
Turn on speedometer by default

Closes #218

See merge request KartKrew/Kart!539
2022-01-23 22:43:49 +00:00
toaster
3823feb7d6 Merge branch 'director-cam' into 'master'
Automatic spectator "director" cam

See merge request KartKrew/Kart!537
2022-01-23 22:43:25 +00:00
AJ Martinez
337f7ebd27 Merge remote-tracking branch 'origin/master' into director-cam 2022-01-23 15:38:25 -06:00
AJ Martinez
ef6ff846d3 Merge branch 'master' into 'director-cam'
# Conflicts:
#   src/d_netcmd.h
2022-01-23 15:38:14 -06:00