Commit graph

19525 commits

Author SHA1 Message Date
James R
3bbc4eee1e Cache TERRAIN on texture_t
- K_GetTerrainForTextureNum no longer performs a string
  lookup
2024-08-21 22:59:01 -04:00
Oni
ea08369fcd Merge branch 'boostpower-terrain-particles' into 'master'
Slowdown Terrain Particle repair

See merge request KartKrew/Kart!1166
2024-08-21 22:56:42 -04:00
James R
e2b3024e3e Reset TERRAIN when respawning
Fixes damage floor TERRAIN applying for the entire
duration of lightsnake.
2024-08-21 22:56:16 -04:00
James R
9c9868d96d Remove non TERRAIN offroad particles
Fixes spectators generating offroad particles when
touching the ground.
2024-08-21 22:54:33 -04:00
toaster
d8fb5f836a Update comment for K_TERRAINLumpParser 2024-08-21 22:54:09 -04:00
toaster
46e96599a0 K_InitBrightmapsPwad: Also use guaranteed null-terminated data copy ala K_InitTerrain 2024-08-21 22:54:01 -04:00
toaster
3a9f0a5171 K_InitTerrain: Do what ANIMDEFs parsing does and create a copy of the TERRAIN lump with a guaranteed null terminator 2024-08-21 22:53:48 -04:00
NepDisk
594a26ea5e Reapply Store terrain ID instead of terrain pointer, add new helpers and accomodate for this
This reverts commit cb3b95c0e1.
2024-08-21 22:53:16 -04:00
NepDisk
5c0d57a58a fixcompileyoubitch 2024-08-21 22:50:47 -04:00
NepDisk
cb3b95c0e1 Revert "Store terrain ID instead of terrain pointer, add new helpers and accomodate for this"
This reverts commit 9baae4cecb.
2024-08-21 22:49:45 -04:00
James R
711df9fb03 Merge branch 'fix-terrain-saveg' into 'master'
Save terrainOverlay in gamestate

See merge request KartKrew/Kart!735
2024-08-21 22:45:44 -04:00
NepDisk
ccfa90677c Merge branch 'v2dev3' into udmf-cherrypick-cherrypick 2024-08-21 22:13:53 -04:00
James R
9c8cde2737 Merge branch 'fix-perfstats-4' into 'master'
Fix perfstats 4 not working properly

See merge request KartKrew/Kart!932
2024-08-21 18:57:24 -04:00
NepDisk
2968a23c86 Add missing stuff
Ghosts still freeze will look into later
2024-08-21 17:43:22 -04:00
James R
8963f81576 Don't let death type damage kill respawning player
This includes death pits and instakill sectors. Does not
affect direct P_KillMobj calls.
2024-08-21 17:32:22 -04:00
toaster
9925d4c238 Move starting countdown sounds to p_tick.c
Fixes an issue where the starting countdown wouldn't play in spectator mode or hitlag
2024-08-21 17:30:56 -04:00
James R
fa1ac4efd3 Let Drop Targets collide with other items immediately after being thrown
see efc415e5
2024-08-21 17:21:52 -04:00
James R
35a181e0db Let Drop Targets collide with other players immediately after being thrown 2024-08-21 17:20:34 -04:00
James R
b8cc9020e9 Do not run ST_Ticker if dedicated 2024-08-21 17:08:32 -04:00
James R
5bc58aba59 Do not start dedicated server in GP if -warp is used 2024-08-21 17:08:23 -04:00
NepDisk
f3f1eecc62 Revert "Call K_TimerReset before spawning map things"
This reverts commit a60c683908.
2024-08-21 17:05:29 -04:00
James R
a60c683908 Call K_TimerReset before spawning map things
Fixes DUEL items spawning twice if DUEL mode remains on
between maps. Fixes DUEL items spawning the next map after
DUEL mode deactivates.
2024-08-21 17:04:39 -04:00
NepDisk
c7cad1c14a adjust to start at 0 instead of 3 2024-08-21 16:59:53 -04:00
James R
6c99bd2a9f lua_baselib.c: expose P_SpawnMobjFromMobjUnscaled 2024-08-21 16:56:43 -04:00
Sal
29cd2daee4 Merge branch 'no-lua' into 'master'
Add -nolua command line parameter

See merge request KartKrew/Kart!1117
2024-08-21 16:55:18 -04:00
NepDisk
9ba37ea8c3 Make this sonic death sound 2024-08-21 16:53:52 -04:00
James R
496fa40d0e Play a goofy sound when I_Erroring
Reorders shutdown in I_Error a little bit so the message
box displays before I_ShutdownSound and SDL_Quit (so the
sound can continue playing while the message box is open).
This should not have any other effects and
I_ShutdownGraphics is still done beforehand, which closes
the main game window.
2024-08-21 16:50:57 -04:00
James R
e1d642f751 Hardcode assist, part J (jartha)
- Add read-only `actionname` field to Lua states.
    - Resolves to function name definition of global Lua functions.
    - Resolves to all-uppercase name for C actions.
    - Resolves to "NULL" string if nil.
2024-08-21 16:49:29 -04:00
toaster
6d02aac210 Hardcode assist, part 1
- Add read-only `string` field to several info table metatables already available in Lua.
    - mobjinfo[i].name
    - states[i].name
    - sfxinfo[i].string
2024-08-21 16:48:52 -04:00
Oni
32119ae728 Merge branch 'optimize-clip-sprites' into 'master'
Optimize sprite sorting by excluding sprites that are completely obscured by geometry

See merge request KartKrew/Kart!1146
2024-08-21 16:45:23 -04:00
toaster
625b77a299 Got_KickCmd: Do not kick players with the server node from the server (this shut down the server previously !?) 2024-08-21 16:36:46 -04:00
Sally Coolatta
0a9f3b452a Make MAXRADIUS bigger
MAXRADIUS was previously an arbitrary value id Software set as whatever their biggest object would be (which they broke that rule anyway). It is now the radius of a blockmap block, which should be a large enough of a nudge value to handle all cases. (Still don't recommend making objects any bigger than a Spider Mastermind though.)
2024-08-21 16:30:33 -04:00
Oni
78f7cadd9b Merge branch 'cull-debugwaypoints' into 'master'
debugwaypoints: cull debug mobjs outside of drawdist

See merge request KartKrew/Kart!1201
2024-08-21 15:52:31 -04:00
James R
af2e1f1184 Quaketilt: fix jitter at certain momentum angles 2024-08-21 15:45:30 -04:00
James R
ec055e5e36 Fix quake tilt speed scaling varying by map scale 2024-08-21 15:45:30 -04:00
James R
e9024f4c91 Add FF_REVERSEANIM frame flag
- Animate from state frame backwards by var1
2024-08-21 15:45:30 -04:00
James R
25b32aa917 Expand textcmd size byte to 16-bit word
Raises hard limit from 255 to 65535
2024-08-21 15:44:10 -04:00
NepDisk
3f44a6bb06 Raise MAXTEXTCMD 2024-08-21 15:43:59 -04:00
James R
05ff2f9ce9 Expand textcmd size byte to 16-bit word
Raises hard limit from 255 to 65535
2024-08-21 15:43:03 -04:00
NepDisk
29c55acc65 Raise MAXTEXTCMD 2024-08-21 15:38:57 -04:00
James R
25a926b11d Quaketilt: fix jitter at certain momentum angles 2024-08-21 15:37:47 -04:00
James R
0c0d15c621 Fix quake tilt speed scaling varying by map scale 2024-08-21 15:37:39 -04:00
James R
f765534cb6 Add FF_REVERSEANIM frame flag
- Animate from state frame backwards by var1
2024-08-21 15:36:48 -04:00
NepDisk
8a1fc406a3 Use player angle for respawn 2024-08-21 14:09:51 -04:00
NepDisk
edeb827308 Use player angle for respawn 2024-08-21 14:08:37 -04:00
NepDisk
1809e74c5b Readd sector specials 2024-08-20 15:44:52 -04:00
toaster
77a10d7ef4 Merge branch 'fix-plane-offsets' into 'master'
R_FindPlane: fix offsets rotation overflow for non-sloped planes

Closes #676

See merge request KartKrew/Kart!1495
2024-08-20 14:26:25 -04:00
Sally Coolatta
d17ea77c0b OAdd equation slopes to writetextmap 2024-08-20 14:23:52 -04:00
Sally Coolatta
841b52eb98 Move camera Z slightly faster
RR has more & taller slopes than SRB2K, so the old values were a bit jarring (you go off-screen a LOT more often)
2024-08-20 14:20:17 -04:00
Sally Coolatta
467e014565 Update birdslopes to use args 2024-08-20 14:17:35 -04:00