toaster
66c415ea41
Emblem system, Spray Cans: prevent Exiting players from grabbing them
...
Fixes an issue that as far as the author of this commit is aware was only reported on Discord
2023-10-06 19:16:31 +01:00
toaster
14b6c0f275
M_GetConditionString: Do not add a suffix for UC_MAPENCORE - that condition already has a guaranteed prefix saying the same thing.
2023-10-06 18:50:20 +01:00
toaster
8f1bea71de
G_UpdateRecords: Do not destroy existing record data if you experience other types of modeattacking on the same map
...
Should not have been possible to trigger with current menu setup, but was a hypothetical danger
2023-10-06 18:47:55 +01:00
toaster
e96bae393c
Ancient Shrine implementation beginning
...
- Players will glance at Ancient Shrines near/behind them.
- Look back at these Shrines to activate your follower's horn!
- Currently, this even works if horns are turned off, as a sort of tutorial.
- TODO: A special horn will be able to activate them...
2023-10-05 23:07:46 +01:00
toaster
0b1be76442
K_FollowerHornTaunt: fix mistaken port priority on horns
...
Incorrect behaviour sometimes prevented you from hearing somebody else's horn based on player slot order
2023-10-05 23:00:32 +01:00
toaster
21a4e7ae43
Remove last vestiges of Emerald Hunt behaviour from vanilla SRB2
...
Was in places the author of this commit needed to look
2023-10-05 22:57:39 +01:00
toaster
8bb41b787b
Fix SECRET_SKIN locks preventing Rivals from showing up
...
Previously, there was a permanent exception for Eggrobo (the default bot skin).
Now that exception is generalised for the specific skin the bot is being assigned, which we assume is intentful and correct.
In addition, the randomclass PR_BOTS now controls K_RetireBots as well, matching the other two random calls done for bot skins.
2023-10-05 18:12:32 +01:00
toaster
b937b1a7bc
Add UCRP_MAKERETIRE
...
- `Condition1 = MakeRetire Eggrobo`
- Fires when:
- Not a cooperative context
- You've finished in good standing
- Another player has both
- PF_NOCONTEST
- The skin specified in the condition
Also makes rivalname-handling for K_InitGrandPrixBots `const char *`, since the author of this commit had to reference that code.
2023-10-05 14:36:00 +01:00
toaster
764141946d
M_GetConditionString cleanup
...
- Remove pointless "BUILDCONDITIONTITLE" macro for M_BuildConditionTitle
- Replace simple R_SkinUsable checks with M_GetConditionCharacter
- Supports knowing a character's name via them being the Rival for a currently unlocked character, if that Challenge doesn't require them unlocked to interact
2023-10-05 14:23:46 +01:00
toaster
caa8d66035
G_DoCompleted: Refactor in anticipation of new Challenge conditions
...
- Stop sounds first, as before.
- Do most player updates before M_UpdateUnlockablesAndExtraEmblems is called
- Allows us to make Challenges dependent on end-of-round Standings
- Then Challenges and gamedata...
- Then, group all important game state updates together.
- THEN, finally assign PF_NOCONTEST when exitlevel occours.
- Prevents No Contest-based Challenges from firing cheesily
- Finally, Intermission-related material (also as before).
2023-10-05 14:19:46 +01:00
James R
5415674034
debugfinishline: highlight deathpits and instakill planes
2023-10-04 20:17:31 -07:00
James R
e4fde7735e
Revert "HUD: slide in position numbers if race starts immediately"
...
This reverts commit a8d0bad4b0 .
2023-10-04 00:06:21 -07:00
Oni
985f93d95f
Merge branch 'fix-splitscreen-hud-tracking-bleed' into 'master'
...
K_drawKartNameTags: crop HUD tracking to splitscreen viewports
See merge request KartKrew/Kart!1542
2023-10-04 05:28:45 +00:00
Oni
26973e6539
Merge branch 'splitscreen-fixes' into 'master'
...
Some major cleanup to splitscreen HUD and spectator support; starting bumpers fix + ring sting indicator
Closes #692
See merge request KartKrew/Kart!1539
2023-10-04 05:15:12 +00:00
James R
dc4c66322f
K_drawKartNameTags: crop HUD tracking to splitscreen viewports
2023-10-03 22:05:48 -07:00
James R
0019e74604
HUD: fix nametag position for P2 in 2P splitscreen
2023-10-03 21:51:35 -07:00
James R
35cb0e4c5c
HUD: do not show position number in splitscreen FREE PLAY
2023-10-03 21:28:35 -07:00
James R
8284aff4f1
HUD: realign 1P ping counter and FPS counter positions
2023-10-03 21:28:35 -07:00
James R.
62503b244a
Add give2, give3, give4 commands
2023-10-03 21:28:35 -07:00
James R.
ff11166f30
setviews command: let outside of replays
2023-10-03 21:28:34 -07:00
James R.
0b7a6ed7f5
P_DemoCameraMovement: use splitscreen ticcmd
2023-10-03 21:28:34 -07:00
James R.
989ee48ef8
SCR_DisplayLocalPing: show, even in splitscreen, in gamestates where player HUD is not drawn or when menu is opened
2023-10-03 21:28:34 -07:00
James R.
dd1b0255f8
SCR_DisplayTicRate: do not say "FPS"
...
Obscurs less of the position number in splitscreen.
2023-10-03 21:28:34 -07:00
James R.
a11e8d793a
finish_legacy_ogl_update: merge with temp_legacy_finishupdate_draws, draw avrecorder stats in opengl
2023-10-03 21:28:34 -07:00
James R.
56775e721f
HUD: fix FREE PLAY 4P position
...
Centered at bottom of each screen.
2023-10-03 21:28:34 -07:00
James R.
1935fdcdc3
HUD: remove fade in from ping counters
2023-10-03 21:28:34 -07:00
James R.
54f2882bc9
HUD: fix 4P negative ring counter alignment
2023-10-03 21:28:34 -07:00
James R.
a8d0bad4b0
HUD: slide in position numbers if race starts immediately
2023-10-03 21:28:34 -07:00
James R.
f426a136d5
HUD: fix 4P position numbers
2023-10-03 21:28:34 -07:00
James R.
bf20db1e5e
HUD: draw item box over everything else
2023-10-03 21:28:34 -07:00
James R.
4631af55c4
HUD: do not include starting Battle Bumper count, "x/y" -> "x"
...
- 1P/2P:
- Resize sticker with number of digits
- 3P/4P:
- Pad to 2 digits
- Use larger font
2023-10-03 21:28:34 -07:00
James R.
da2f083e2c
HUD: fit bumpers, prisons, spheres, speedometer, rankings, item box HUD without overlapping
2023-10-03 21:28:34 -07:00
James R.
36bbf08ab0
HUD: fix alignment of 2P level timer and power-ups
2023-10-03 21:28:34 -07:00
James R.
454850d349
ST_CalculateFadeIn: do not interpolate at very beginning or end of fade
2023-10-03 21:28:34 -07:00
James R.
90d8a9643f
G_CanView: unconditionally let view a player already viewed on a different splitscreen
2023-10-03 21:28:33 -07:00
James R.
8b79689d81
Add K_DirectorIsAvailable
...
Fixes director not working correctly if there are
duplicates in displayplayers.
2023-10-03 21:28:33 -07:00
James R.
d020c9faaa
Add G_FixCamera, reset camera, angle and view interpolation
2023-10-03 21:28:33 -07:00
James R.
f2cc5ce36a
R_ResetViewInterpolation: wait an extra tic if R_UpdateViewInterpolation has not run yet, do not add extra time for subsequent calls
2023-10-03 21:28:33 -07:00
James R.
7b3010c93d
Fix many instances of splitscreen view number if there are duplicate displayplayers
...
- Avoid iterating displayplayers to find view number and
prefer R_GetViewNumber.
- Iterate over all matching displayplayers if necessary,
instead of stopping at the first match.
2023-10-03 21:28:33 -07:00
James R.
d5bac57409
Ring sting indicator: show for owner player as well
2023-10-03 21:28:33 -07:00
James R.
bcd4963f2e
Always set starting bumpers in P_SpawnPlayer
2023-10-03 21:28:33 -07:00
Oni
f195b9742a
Merge branch 'hardcode-chaos-chute' into 'master'
...
Hardcode Chaos Chute objects
See merge request KartKrew/Kart!1526
2023-10-04 03:50:56 +00:00
James R
035b6cca8f
Merge branch 'reduce-tester-build-cope' into 'master'
...
Make making TESTERS builds simpler
See merge request KartKrew/Kart!1535
2023-10-04 03:40:15 +00:00
James R
6b18563549
Merge branch 'precip-height-random-crash' into 'master'
...
Conditionally randomize precip height
Closes #528
See merge request KartKrew/Kart!1536
2023-10-04 00:12:10 +00:00
Eidolon
f13871ddbf
Conditionally randomize precip height
2023-10-03 19:07:25 -05:00
James R
99f816f34b
Merge branch 'window-resolution-fixes' into 'master'
...
Fixes to HWR2 window, framebuffer resizing; scr_scale, scr_x, scr_y cvars for my personal use
See merge request KartKrew/Kart!1537
2023-10-03 23:43:20 +00:00
Eidolon
f364bfb565
Merge branch 'hanicef-branchless' into 'master'
...
Avoid branch prediction slowdowns in R_PointOnSide
See merge request KartKrew/Kart!1540
2023-10-03 22:57:15 +00:00
Gustaf Alhäll
2f01c6fa16
Avoid branch prediction slowdowns in R_PointOnSide
...
# Conflicts:
# src/r_main.c
2023-10-02 19:35:53 -05:00
Oni
bcc8fc6438
Merge branch 'freeze' into 'master'
...
Mobj thinker freeze condition rework
Closes #690
See merge request KartKrew/Kart!1505
2023-10-02 05:42:19 +00:00
Oni
1387fa81a8
Merge branch 'ballz-activation' into 'master'
...
Ball Switch
See merge request KartKrew/Kart!1534
2023-10-02 05:41:46 +00:00