Commit graph

22277 commits

Author SHA1 Message Date
James R
1c9ccab159 Use foflayer when spawning mapthings
- foflayer offsets the thing from an FOF in its sector.
  - foflayer 0 uses the base sector heights.
  - foflayer 1 uses the lowest FOF top height, or highest
    FOF bottom height when the thing is flipped.
  - foflayer 2 uses the second lowest / second highest and
    so on.
2023-03-29 22:23:56 -07:00
James R
881f8d8407 UDMF: add foflayer field to things TEXTMAP 2023-03-29 22:23:02 -07:00
James R
75d5c5b68f Move P_GetMobjSpawnHeight to p_mapthing.cpp 2023-03-29 20:21:57 -07:00
James R
0f5370efbb Merge branch 'palette-reload-fix' into 'master'
Reload palette even if rewinding a replay or reloading the gamestate (Resolves #443)

Closes #443

See merge request KartKrew/Kart!1118
2023-03-30 01:28:34 +00:00
James R
4e149d04cf Merge branch 'fix-skybox-change-after-finish' into 'master'
Do not change skybox for players after they finish the race

See merge request KartKrew/Kart!1115
2023-03-30 01:23:57 +00:00
James R
9aacbf6472 Merge branch 'improve-devmode-visibility' into 'master'
Improve devmode visibility and usability

See merge request KartKrew/Kart!1113
2023-03-30 01:23:40 +00:00
James R
43949031ac Merge branch 'fix-tripwire-lighting' into 'master'
Force Trip Wires to render at maximum brightness

Closes #318

See merge request KartKrew/Kart!1112
2023-03-30 01:23:04 +00:00
Sal
1e06209659 Merge branch 'no-lua' into 'master'
Add -nolua command line parameter

See merge request KartKrew/Kart!1117
2023-03-29 21:42:42 +00:00
SteelT
4e8bc36521 Reload palette even if rewinding a replay or reloading the gamestate 2023-03-29 14:29:00 -04:00
James R
542e5b1cdf Add -nolua command line parameter
Disables loading Lua scripts entirely.
2023-03-29 09:03:37 -07:00
James R
eda16cacb5 line 448: do not change skybox after player finishes the race 2023-03-29 03:54:11 -07:00
James R
77e5bb4d19 line 448: fix skybox mobj reference leak
Calling P_SetTarget on the temporary skybox_t is
pointless. P_SwitchSkybox calls P_SetTarget when copying
to the player struct.
2023-03-29 03:54:11 -07:00
James R
b65eaf1a51 devmode music: reorder volume to the top and add empty space for readability 2023-03-29 00:37:45 -07:00
James R
411b960e1c devmode music: use half size font 2023-03-29 00:33:28 -07:00
James R
31ee3577fd devmode: draw over literally everything else
Draws over ping and FPS counters.
2023-03-29 00:11:01 -07:00
James R
78df6ec488 devmode: add devmode_screen cvar, select which splitscreen to display info for
Old behavior was just use the last splitscreen.

This does not the position devmode draws on the screen.
2023-03-29 00:09:50 -07:00
James R
c53ae816c1 Renderer: force Trip Wires to maximum brightness, ignore colormaps
Fixes sector light level and colormaps darkening Trip
Wires, especially in OpenGL.
2023-03-28 21:08:11 -07:00
Sal
4588a20a95 Merge branch 'ufo-script' into 'master'
Add "UFO" script type

See merge request KartKrew/Kart!1111
2023-03-29 00:39:34 +00:00
Sal
fe34e04abe Merge branch 'encore-fixies' into 'master'
Fix random Encore vote, error if ENCORE/TWEAKMAP lump is invalid, add debugencorevote command

Closes #333

See merge request KartKrew/Kart!1101
2023-03-29 00:32:00 +00:00
Sal
83b5b26a12 Merge branch 'packet-hack' into 'master'
Experimental: Improve level load processing

See merge request KartKrew/Kart!1077
2023-03-28 23:41:33 +00:00
Sally Coolatta
e7128baef0 Add UFO script type 2023-03-28 18:07:22 -04:00
James R
000c505444 Merge branch 'rhi-depth-stencil' into 'master'
RHI Depth Stencil and Texture Wrap Mode

See merge request KartKrew/Kart!1095
2023-03-28 11:38:25 +00:00
James R
bda765f61e Merge branch 'fix-pvp-wipeout-friction' into 'master'
Fix wipeout friction for PvP damage

See merge request KartKrew/Kart!1107
2023-03-28 09:41:28 +00:00
James R
3ad4bb36d2 Merge branch 'respawn-noclipthing' into 'master'
Do not run any thing collision for respawning players whatsoever

Closes #302

See merge request KartKrew/Kart!1105
2023-03-28 09:41:19 +00:00
James R
c702e37ae2 Merge branch 'double-drawdist-flag' into 'master'
Double drawdist flag

See merge request KartKrew/Kart!1106
2023-03-28 09:41:07 +00:00
James R
cdd9ae2644 Merge branch 'refactor-k-collide' into 'master'
Refactor K_PvPTouchDamage

See merge request KartKrew/Kart!1108
2023-03-28 00:03:10 +00:00
Oni
3463f0e5be Merge branch 'bubble-invincibility-clash' into 'refactor-k-collide'
Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup

See merge request KartKrew/Kart!1109
2023-03-27 22:10:03 +00:00
James R
7f0cb6aa94 Merge branch 'respawn-line-debug' into 'master'
Add perspective to debugfinishline; highlight Respawn Lines

See merge request KartKrew/Kart!1089
2023-03-27 12:12:39 +00:00
James R
06f58486a5 Merge branch 'emerald-timer' into 'master'
Add fuse to Emeralds in Battle

Closes #126

See merge request KartKrew/Kart!1091
2023-03-27 12:12:17 +00:00
James R
0cad27d7fe Merge branch 'pad-diagnostics' into 'master'
Gamepad GUID and Name logging, gamecontrollerdb.txt

See merge request KartKrew/Kart!1092
2023-03-27 12:10:58 +00:00
James R
2547ba6d6b Merge branch 'fix-faulty-references-false-positive' into 'master'
Fix false positive P_RemoveThinkerDelayed warning

See merge request KartKrew/Kart!1087
2023-03-27 12:07:40 +00:00
James R
9e25472a97 Merge branch 'bot-replay-camera' into 'master'
Use bot mo angle in demo chasecam (fixes #494)

Closes #494

See merge request KartKrew/Kart!1103
2023-03-27 12:07:15 +00:00
James R
2966db2dcc Merge branch 'P_SpawnMobjFromMobjUnscaled-lua' into 'master'
Expose P_SpawnMobjFromMobjUnscaled to Lua

See merge request KartKrew/Kart!1104
2023-03-27 12:06:06 +00:00
James R
78c0926e20 Always set wipeoutslow when bouncing
This fixes PvP wipeout damage not getting wipeout friction
because of the order of operations: K_KartBouncing first,
then K_SpinPlayer.
2023-03-27 04:58:45 -07:00
James R
cb963fe81e Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup
- K_BubbleShieldCollide now calls K_KartBouncing and
  K_PvPTouchDamage
  - Lets players get knocked around by Bubble blowup
  - Lets all clash conditions apply to Bubble blowup too
- Bubble blowup now does wipeout damage
2023-03-27 04:54:37 -07:00
James R
b1f0cca519 k_collide.cpp: refactor K_PvPTouchDamage to deduplicate code 2023-03-27 04:43:20 -07:00
James R
022e6ed5fa player_t: change pflags type to UINT32
Avoids invalid conversion compiler errors when using
bitwise operators on pflags from C++ code.
2023-03-27 04:43:20 -07:00
James R
70310eaed6 Rename k_collide.c to k_collide.cpp 2023-03-27 04:43:20 -07:00
James R
61abb7a82e Add MF_DRAWFROMFARAWAY flag, renders objects up to 2x drawdist 2023-03-26 22:01:25 -07:00
James R
629614710c Free MF_AMBIENT 2023-03-26 21:52:31 -07:00
James R
6b02836c22 Do not run any thing collision for respawning players whatsoever
Adds MF_NOCLIPTHING to players while respawning.
2023-03-26 20:45:18 -07:00
James R
2dd29dd15f lua_baselib.c: expose P_SpawnMobjFromMobjUnscaled 2023-03-26 20:44:43 -07:00
AJ Martinez
fa60a3a20c Use bot mo angle in demo chasecam 2023-03-26 15:28:09 -07:00
James R
28c9c3cc7d Tie Battle fuse for item drops and Emeralds to GTR_CLOSERPLAYERS instead of GTR_BUMPERS 2023-03-26 07:01:19 -07:00
James R
6d5cb50755 cv_debugencorevote: force an encore scramble
Useful for debugging the random chance encore vote.
2023-03-26 06:55:22 -07:00
James R
a5aefa5b29 Fix vote encore scramble getting overridden by cvar 2023-03-26 06:55:22 -07:00
James R
6bc785c099 I_Error if ENCORE/TWEAKMAP has an incorrect size
Prevent memory errors if the lump is too large.
2023-03-26 06:55:22 -07:00
toaster
954127d533 Merge branch 'fix-addfile-double-error' into 'master'
Fix networked addfile command erroring twice for already added files

See merge request KartKrew/Kart!1100
2023-03-26 13:30:35 +00:00
toaster
8b02b7efd4 Merge branch 'skip-skybox-precip' into 'master'
software: Skip precip mobjs in sky portal renders

See merge request KartKrew/Kart!1096
2023-03-26 13:28:23 +00:00
toaster
34eb1110a3 Merge branch 'net-update-less' into 'master'
Only call NetUpdate once in D_SRB2Loop

See merge request KartKrew/Kart!1069
2023-03-26 13:14:08 +00:00