Commit graph

25334 commits

Author SHA1 Message Date
Oni
8a250e3237 Merge branch 'fix-crate-instawhip' into 'master'
Fix Metal Crate instawhip hitlag

Closes #800

See merge request KartKrew/Kart!1696
2023-12-23 22:41:02 +00:00
Oni
710e561981 Merge branch 'cmd-const' into 'master'
Enforce const in bot ticcmds

See merge request KartKrew/Kart!1705
2023-12-23 22:40:52 +00:00
Oni
5c3d645ff1 Merge branch 'bot-continue-nerfnerf' into 'master'
Gamespeed-dependent difficulty nerf on GP round fail

See merge request KartKrew/Kart!1712
2023-12-23 22:40:33 +00:00
James R
e91ce8ba7a debugwaypoints: sort minimap dots drawing order
Revised order, back to front:

- normal waypoints
- shortcuts
- deactivated waypoints
- ego orbs
- player's next waypoint
2023-12-23 14:38:51 -08:00
James R
93c38c9754 Convert k_hud.c -> k_hud.cpp 2023-12-23 14:36:30 -08:00
toaster
64922460ac Handle Podium unlocks during mapload, not when finishing the ceremony
Solves mid-podium crashes not granting second page material
2023-12-23 22:12:00 +00:00
toaster
d3af5db874 readcondition: Fix AllChaos/AllSuper/AllEmeralds difficulty restriction 2023-12-23 21:38:23 +00:00
James R
a2abbdefde Master volume: alter both music/sound volume without changing balance 2023-12-23 13:38:15 -08:00
James R
f7accbb275 Sound options: add restart audio button 2023-12-23 13:17:04 -08:00
James R
b9d571e14b Sound options: disable and hide Z button during Goner, until profile is set 2023-12-23 13:17:04 -08:00
James R
0f6feae000 Sound options: move stereo reverse to bottom group 2023-12-23 13:17:04 -08:00
James R
79012d00e8 Sound options: merge playmusicifunfocused/playsoundifunfocused into one cvar 2023-12-23 13:17:04 -08:00
James R
0c251ee643 Sound options: add master volume slider
- Updates music and sound volumes simultaneously
- Changing music/sound volumes separately sets master
  volume to highest of the two
- Visually distinct slider
2023-12-23 13:17:04 -08:00
James R
8780edda6d Sound options: merge volume slider with toggle via Z button prompt 2023-12-23 13:17:04 -08:00
James R
375d87255e Re-enable music/sounds when volume cvars are changed 2023-12-23 13:17:04 -08:00
James R
c11c7bcbbd Sound options: draw custom sliders
- Greyed out when music/sounds are disabled.
2023-12-23 13:17:04 -08:00
James R
164e97cff4 menus/options-sound.c -> menus/options-sound.cpp 2023-12-23 13:17:04 -08:00
James R
2d450b05f8 TuneManager: clear current song if music is disabled, so music can resume later 2023-12-23 13:17:03 -08:00
Sal
1932f9df96 Merge branch 'fix-lightning-shield-ufo-crash' into 'master'
MT_EMERALD: fix type mutation from PIT_AttractRings

Closes #806

See merge request KartKrew/Kart!1716
2023-12-23 20:15:56 +00:00
James R
0c991e8434 Fix Z calculation for FOF activators
Boundsec needs to be the target sector, not the control
sector.
2023-12-23 12:15:28 -08:00
James R.
87c3a009c5 Merge branch 'hud-bullshucks' into 'master'
v_draw.cpp Chain::fill: Ensure flags are passed to V_DrawFill

See merge request KartKrew/Kart!1717
2023-12-23 19:07:05 +00:00
James R
380eff30ee MT_EMERALD: fix type mutation from PIT_AttractRings 2023-12-23 10:21:39 -08:00
James R
166391531d Fix SPB not properly damaging special UFO 2023-12-23 09:57:28 -08:00
James R
d1739feda9 Only let items and player hit special UFO 2023-12-23 09:43:23 -08:00
James R
244cb1759d Obj_SneakerPanelSetup: call P_CheckPosition directly and manually set standingslope
- P_TryMove may fail for STEP UP (ooooh, scary) reasons
2023-12-23 09:36:28 -08:00
toaster
676a1e3602 v_draw.cpp Chain::fill: Ensure flags are passed to V_DrawFill
Fixes non-green resolution for tutorial dialogue
2023-12-23 17:30:08 +00:00
James R
20d9c781c8 P_DemoCameraMovement: limit vertical camera aiming if software shearing 2023-12-23 09:05:08 -08:00
Sal
7744a2823e Merge branch 'cmake-git-set' into 'master'
cmake: Set GIT_EXECUTABLE before add_subdirectory(src)

See merge request KartKrew/Kart!1706
2023-12-23 17:01:21 +00:00
James R
8f9c383188 Partial revert 89c503135a: fix aiming range for downward slope camera 2023-12-23 08:55:47 -08:00
James R
e4eb42dd36 MF_PAIN: remove sound effect functionality
There is a Nova Shore enemy that switches between
MF_SPRING and MF_ENEMY, and the upper bits of the mass
field are conflicting.

We don't use this functionality aside from some SRB2
holdovers, but who cares about those? ;)
2023-12-23 08:49:30 -08:00
toaster
5ce27ee799 GP bots: Difficulty nerf on GP level restart is now gamespeed-dependent, not a constant, per VC request
Easy, Normal: -3
Hard: -2
(Master continues to be -0)
2023-12-23 16:45:43 +00:00
Oni
8dc35c0fe3 Merge branch 'bot-continue-nerf' into 'master'
Continues reduce bot level by 2

See merge request KartKrew/Kart!1704
2023-12-23 12:59:57 +00:00
Oni
308c97c84c Merge branch 'fix-broly-crash' into 'master'
Fix dereferncing Broly null pointer

See merge request KartKrew/Kart!1708
2023-12-23 12:58:31 +00:00
James R
f3208ac8ef TuneManager: clear current song if music is disabled, so music can resume later 2023-12-23 03:18:03 -08:00
James R
e6019446cb Do not punt SPB explosion (eggmark) 2023-12-23 01:45:01 -08:00
James R
98c4b34530 Fix dereferncing Broly null pointer 2023-12-23 00:26:40 -08:00
James R.
c8827c18a2 Merge branch 'no-remap-terrain' into 'master'
TERRAIN 'remap' property, for ENCOREMAP/TWEAKMAP

Closes #756

See merge request KartKrew/Kart!1698
2023-12-23 06:10:26 +00:00
SteelT
578d038b1a cmake: Set GIT_EXECUTABLE before add_subdirectory(src)
This fixes the build info not being set for my own builds.
2023-12-23 00:26:42 -05:00
Sally Coolatta
abde576c58 Enforce const in bot ticcmds
There were a few remaining cases of bot ticcmd generation editing player structures directly. Fix all of this and make as much of it pass const player pointers so this physically can't be allowed to happen ever again. Appears to improve bot sync in netgames & demos bot support, but I have not tested extensively.
2023-12-22 23:28:08 -05:00
James R
8a54edf204 Obj_TryCrateDamage: return bool 2023-12-22 19:05:12 -08:00
James R
5d91834c60 K_InstaWhipCollide: check P_DamageMobj succeeds before applying hitlag to attacker 2023-12-22 19:04:58 -08:00
James R
dae4454055 Use untranslated texture for checking R_TextureCanRemap
- Handles animated textures correctly
2023-12-22 19:02:07 -08:00
James R
9bcdc9094b K_GetTerrainForTextureName: use case insensitive search 2023-12-22 19:02:07 -08:00
James R
a589b4961e R_NoEncore: remove hardcoded condition for trick panels, sneaker panels, speed pads 2023-12-22 19:02:07 -08:00
James R
73e032573d TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP
- Software* + OpenGL support
- *Not supported: R_DrawColumnShadowed_8
  - This has something to do with walls and FOF lights.
    However, I don't see an easy code solution and I don't
    know how to even test this.
2023-12-22 19:02:06 -08:00
James R
03deb45c67 Cache TERRAIN on texture_t
- K_GetTerrainForTextureNum no longer performs a string
  lookup
2023-12-22 19:02:06 -08:00
Sally Coolatta
1df1e841d2 Continues reduce bot level by 2 2023-12-22 20:54:11 -05:00
Oni
2d4cc49101 Merge branch 'goner-accelerate' into 'master'
Press down on Goner Setup to complete existing text line early

See merge request KartKrew/Kart!1703
2023-12-22 21:51:01 +00:00
Oni
f328d303f2 Merge branch 'fix-crate-angle' into 'master'
Crates: fix bottom splat angle

See merge request KartKrew/Kart!1700
2023-12-22 21:22:22 +00:00
Oni
62a4c59aa0 Merge branch 'fix-splat-remap' into 'master'
R_RasterizeFloorSplat: fix encore remap

See merge request KartKrew/Kart!1699
2023-12-22 21:22:06 +00:00