Commit graph

26383 commits

Author SHA1 Message Date
Oni
dc561c8737 Merge branch 'shut-the-fuck-up-bufo' into 'master'
Suppress bufo spawn, bufo sound, and hud messages when exiting

Closes #1057

See merge request KartKrew/Kart!1937
2024-02-25 07:24:05 +00:00
Oni
74bfac57e4 Merge branch 'time-attack-annoyances' into 'master'
Time attack annoyances

Closes #1062 and #1064

See merge request KartKrew/Kart!1947
2024-02-25 07:23:49 +00:00
Oni
9636be99e2 Merge branch 'respawn-fuck' into 'master'
Order-of-operations bugs for finish line / respawning

Closes #954

See merge request KartKrew/Kart!1946
2024-02-25 07:19:59 +00:00
Oni
0a9b143053 Merge branch 'input-display' into 'master'
Input Display

See merge request KartKrew/Kart!1951
2024-02-25 07:19:36 +00:00
James R
bc479321d0 Replace in-map input display with new graphics 2024-02-24 22:01:07 -08:00
James R
b452232974 Add PF_ANALOGSTICK, tells if this player has bound analog stick to d-pad 2024-02-24 21:29:19 -08:00
James R
abaa237b08 Add G_LocalSplitscreenPartyPosition 2024-02-24 21:29:19 -08:00
James R
8f262aa390 Move input display code to K_DrawInputDisplay 2024-02-24 21:29:18 -08:00
James R
5e37aa12a5 Replace memcpy to gamecontrol with G_ApplyControlScheme 2024-02-24 21:29:18 -08:00
Eidolon
9d6a03d7af Merge branch 'fault-starts' into 'master'
Add fault start things

Closes #187 and #1063

See merge request KartKrew/Kart!1949
2024-02-25 05:05:11 +00:00
James R
a2d22c730f Remove PF_LITESTEER
It doesn't do anything
2024-02-24 21:03:49 -08:00
Eidolon
ad75389225 Add respawn to fault start if available
Fixes KartKrew/Kart#187
2024-02-24 22:02:23 -06:00
SteelT
292aa10275 cmake: Add FindOgg find module
On some system, its libogg package may not have a cmake module for libogg, so let's add one for finding where libogg is located at.
2024-02-24 21:28:47 -05:00
James R
a198330357 srb2::Draw::patch: accept std::string argument 2024-02-24 17:35:02 -08:00
Eidolon
f4f7c5b1eb Add fault start mapthing 36 and prefer it for TA
Fixes KartKrew/Kart#1063
2024-02-24 19:15:00 -06:00
Eidolon
217f19158f Play and don't reset nonsynced level music in TA
Fixes KartKrew/Kart#1064
2024-02-24 18:07:57 -06:00
Eidolon
3c63b84299 Skip titlecard for modeattacking except VERSUS
Fixes KartKrew/Kart#1062
2024-02-24 17:38:28 -06:00
James R.
db49975d67 Merge branch 'add-generic-sfx' into 'master'
Add generic SFX (and use two of 'em for virtual keyboard)

See merge request KartKrew/Kart!1930
2024-02-24 07:21:45 +00:00
James R.
5a38b4238f Merge branch 'fix-drop-target-crusher-crash' into 'master'
Check for removed target of MT_DROPTARGET_SHIELD

See merge request KartKrew/Kart!1939
2024-02-24 07:12:54 +00:00
James R.
819f05787b Merge branch 'eggbox-conveyance' into 'master'
Add persistent audio for nearby eggbox

See merge request KartKrew/Kart!1943
2024-02-24 07:11:51 +00:00
James R.
989305fb20 Merge branch 'move-up-menu-credit' into 'master'
Menus: move up music credit slightly

See merge request KartKrew/Kart!1941
2024-02-24 07:08:14 +00:00
James R
0dd359ba5a Respawn: don't let Ring Shooter send you behind the finish line
Because lap decrement does not happen when respawning,
this would you skip a lap.
2024-02-23 22:54:34 -08:00
James R
a03cc5489c Respawn: move lastsafelap check to K_UpdateDistanceFromFinishLine
- Order of operations; it is possible in specific
  circumstances to respawn (K_DoIngameRespawn) before the
  lap increments
- In this case, the lap would be reset to lastsafelap and
  then incremented afterward
- This would allow someone to skip the first lap
- It was possible to do this in many maps where the finish
  line intersects a respawn line, by driving into the
  corner where the lines meet
2024-02-23 22:54:05 -08:00
James R
1919471ae4 Update waypoints on same tic as crossing finish line
Fix 1 tic delay between crossing finish line and next
waypoint updating. May influence respawn behavior.
2024-02-23 22:44:36 -08:00
Gunla
8063866479 Merge branch 'talk-point' into 'master'
Talk Point visual (for dialogue)

See merge request KartKrew/Kart!1944
2024-02-24 02:37:20 +00:00
James R
cc89c743c0 debugwaypoints: HUD tracking shows waypoint ID of nearby waypoints 2024-02-23 17:28:09 -08:00
James R
5d97ced652 K_DrawTargetTracking: refactor slightly 2024-02-23 17:21:54 -08:00
James R
f944161d82 debugwaypoints: show Last Safe Lap and Last Safe Cheat Check 2024-02-23 17:20:39 -08:00
James R
d63b89e585 debugwaypoints: replace console font with compact view 2024-02-23 17:20:11 -08:00
James R
78e7bcf643 Talk Point: plays sound effect for player who touches it (unless set to invisible) 2024-02-23 17:15:09 -08:00
James R
720cbab51e Talk Point: thing arg3 makes it invisible 2024-02-23 06:19:12 -08:00
James R
6df73670dd Talk Point visual (for dialogue)
- Spinning question mark surrounded by multi-colored orbs,
  representing the radius of the dialogue activator
- Collect animation
2024-02-23 06:15:31 -08:00
James R
1a916a7d16 Move MT_SCRIPT_THING code into objects/talk-point.cpp 2024-02-23 06:13:29 -08:00
Oni
9491c54e9d Merge branch 'separate-spb-attack-records' into 'master'
Separate/Encoreize SPB Attack records from normal Time Attack records

Closes #836

See merge request KartKrew/Kart!1875
2024-02-23 06:44:38 +00:00
Oni
081f1f7fec Merge branch 'lives-bonus' into 'master'
Continues "penalty" starts positive now + detailed podium screen

See merge request KartKrew/Kart!1934
2024-02-23 06:44:24 +00:00
Sally Coolatta
96037f17d3 Sight check improvements
- Divline crossed check is its own function.
- Remove the weird P_InterceptVector duplicate, so we can take advantage of the precise version from the earlier commit
- P_CrossBSPNode uses R_PointOnSide instead of P_DivlineSide; this function is more optimized and designed for BSP traversal.

Some of these are additionally also from DSDA-Doom / PrBoom+ / LxDoom
2024-02-22 22:09:36 -08:00
Sally Coolatta
5022e2090b P_PathTraverse improvements
Many improvements that were in the raycast-physics branch, backported since that branch is probably dead, and if I ever revive it then it will be with a new approach. Many are sourced from PRBoom +ZDoom + Eternity Engine.
- Some line / divline comparison functions use const.
- P_PointOnLineSide and P_BoxOnLineSize use PrBoom's version.
- P_InterceptVector is more resistant to overflow.
- PIT_AddThingIntercepts checks against actual bounding box, instead of a corner-to-corner cross-section.
- P_TraverseIntercepts doesn't run the callback function on NULL intercepts.
- P_PathTraverse handles traces that go through blockmap corners properly.
- Removed unused earlyout flag to simplify logic.
- Added g_ prefix to trace.
2024-02-22 22:09:36 -08:00
AJ Martinez
704766f54e Add persistent audio for nearby eggbox 2024-02-22 22:38:44 -07:00
AJ Martinez
ecefb96229 Merge branch 'profiles-polish' into 'master'
Controls menu POLISH (and some Profiles options polish); menu deadzone tweak

Closes #520

See merge request KartKrew/Kart!1940
2024-02-23 04:29:07 +00:00
Eidolon
10d8ca0bac Fix cup placement saving 2024-02-22 20:39:36 -06:00
James R
6bc6d0901c Menus: move up music credit slightly
This is so it doesn't obscure the Grand Prix cup trophies
(1 row).
2024-02-22 18:07:24 -08:00
toaster
7e217b74f5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records
# Conflicts:
#	src/g_game.c
2024-02-23 00:57:40 +00:00
Sally Coolatta
0ea4f8c98a Add fill backing to podium 2024-02-22 10:58:51 -05:00
Sally Coolatta
b4a8249b68 Display grading points on podium 2024-02-22 10:03:57 -05:00
AJ Martinez
ce4c69100d Add input test sounds 2024-02-22 05:08:16 -07:00
AJ Martinez
a10cea56dc Require analog magnitude for menu inputs 2024-02-22 02:40:40 -08:00
James R
c2eda6903a Menus/Controls: left align tooltip, clear button legend on right
- "BKSP Clear" (Goner)
- "C / -> Clear" (after profile setup)
2024-02-22 02:40:40 -08:00
James R
ae5a20756e Menus/Controls: overhaul multiple bindings input
- Replace the old method of adding each binding one at
  a time
- Hold up to 4 inputs at once, then release to bind those
  inputs to the control
- Changing the bindings overwrites the old bindings,
  instead of adding to them
2024-02-22 02:40:40 -08:00
James R
9523fd8652 Menus/Controls: add Bind Ben
- Hold right to scroll binding text into Bind Ben
  - Release right to cancel
  - When the text is done scrolling, Bind Ben begins
    chewing
    - Release right to have Bind Ben swallow
      - After Bind Ben swallows the binding text, he does
        a cute pose and the control is cleared
    - Press up or down to skip the swallow and pose
      animations and clear the control immediately
- Press C to have Bind Ben quickly eat the binding text
  and clear the control
2024-02-22 02:40:40 -08:00
James R
0766e8823b Menus/Controls: C (clear) plays chomp sound 2024-02-22 02:40:40 -08:00