Commit graph

22711 commits

Author SHA1 Message Date
toaster
0f16c61d04 filesearch.c: Always use system-specific path seperator
The directory functions this was built on are capable of converting Unix paths to Windows internally, but the paths generated by the search can sometimes be processed by the game afterwards, which relies on system-specific character comparison.

Notably fixes WADNAME failing via the console on Windows.
2023-04-24 20:53:58 +01:00
Sal
35728a00e3 Merge branch 'z-voting' into 'master'
Z Voting

Closes #265

See merge request KartKrew/Kart!1184
2023-04-23 05:12:47 +00:00
Sally Coolatta
a631376f1f Z Voting: Undo victim thing 2023-04-23 01:12:19 -04:00
Sally Coolatta
f86030fcda Z Voting: More voting conditions
- Attempt to make Z votes draw if spectator
- Don't show kick votes to the victim
- Fix required vote count when in 1P
2023-04-23 01:04:57 -04:00
Sally Coolatta
e112e1f0dc Reduce length & delay 2023-04-23 00:40:31 -04:00
Sal
81b1cc8492 Merge branch 'fix-combiring-bounds-error' into 'master'
K_DrawDraftCombiring: do not read outside of colors array

See merge request KartKrew/Kart!1189
2023-04-23 00:26:56 +00:00
Sal
344f51d384 Merge branch 'warn-invalid-texture-data' into 'master'
Single-patch textures: print an error if patch header is missing, cease memory errors

See merge request KartKrew/Kart!1190
2023-04-23 00:24:43 +00:00
James R
0da18745d9 K_DrawDraftCombiring: do not read outside of colors array 2023-04-22 15:22:38 -07:00
James R
47411735d0 Single-patch textures: print an error if patch header is missing, cease memory errors 2023-04-22 15:21:23 -07:00
James R
d9b406f4d0 Add TIMER_FONT, rename V_DrawKartString to V_DrawTimerString
Separates timer and FREE PLAY fonts.
2023-04-21 00:34:06 -07:00
Sal
5085bdfdd8 Merge branch 'defer-map-load-scripts' into 'master'
Move level load scripting to P_PostLoadLevel

See merge request KartKrew/Kart!1181
2023-04-21 01:12:56 +00:00
Sally Coolatta
68916559aa Z Voting: Kick handling improvements
- If a player being voted against leaves before it finishes, then properly activate their penalty.
    - This is handled with a special case for MVT_KICK (let's not even attempt to SendKick(self) during Got_Kick :p), but any possible future vote types that use a victim will simply call K_MidVoteSuccess.
- Actually define behavior for KICK_MSG_VOTE_KICK.
- Default kicktime is now 20 minutes instead of 10.
- Read custom reasons before possibly overriding msg type. Prevents a rare invalid read pointer.
2023-04-20 21:11:25 -04:00
Sally Coolatta
49b1ecddff Z Voting: Address toaster review 2023-04-20 20:49:39 -04:00
Sally Coolatta
65d6877283 Z Voting: Remove debug prints 2023-04-20 16:00:38 -04:00
Sally Coolatta
996ca9adad Z Voting 2023-04-20 15:55:38 -04:00
toaster
4b1de10627 Merge branch 'textures-split' into 'master'
Load split textures pk3s

See merge request KartKrew/Kart!1183
2023-04-19 10:52:12 +00:00
toaster
03f074a200 Missed typos 2023-04-19 11:39:32 +01:00
Sal
e7c9ac1937 Merge branch 'round-queue-print' into 'master'
Got_MapQueuecmd: Fix message handling

See merge request KartKrew/Kart!1182
2023-04-19 01:46:34 +00:00
Sally Coolatta
e86dd38e24 Load split textures pk3s 2023-04-18 14:02:01 +01:00
toaster
9c17ea0d28 Got_MapQueuecmd: Fix message handling
- Used Admin status of sender rather than local player to obstruct or hide
- Servers are not admins, they just sidestep many authoriative checks
- Server returned early before any chance of printing
- Slightly cleaner message
2023-04-18 12:32:58 +01:00
Sal
e0901ed7a7 Merge branch 'round-queue' into 'master'
roundqueue

See merge request KartKrew/Kart!1156
2023-04-18 09:31:26 +00:00
Sally Coolatta
77a0e77bf6 Move level load scripting to P_PostLoadLevel
Means these scripts get to have an accurate count of the number of players.
2023-04-18 05:29:58 -04:00
toaster
c48283bd24 Fix showing ROUND with invalid number for queueing a map during voting 2023-04-18 09:56:14 +01:00
Sal
563e2f2ffd Merge branch 'fix-2p-splitscreen-viewports' into 'master'
Fix 2P splitscreen viewports being out of order

See merge request KartKrew/Kart!1180
2023-04-18 08:49:04 +00:00
James R
d78b17170c get_screen_viewport: fix 2P splitscreen viewport order 2023-04-18 01:46:00 -07:00
AJ Martinez
d18bc306b6 Merge branch 'fix-tester-compile' into 'master'
Fix TESTERS build creation by not including GotOurIP, which is never called in those

See merge request KartKrew/Kart!1179
2023-04-18 08:44:48 +00:00
toaster
1d8b33833e Fix TESTERS build creation by not including GotOurIP, which is never called in those 2023-04-17 20:59:30 +01:00
toaster
9b0c82d5dc Got_MapQueuecmd: Add a success message for adding a map to the round queue (visible only to admins) 2023-04-17 20:16:30 +01:00
toaster
2d46112c58 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into round-queue
# Conflicts:
#	src/d_netcmd.h
2023-04-17 20:08:37 +01:00
Sal
eaf11a1d13 Merge branch 'ringshooter' into 'master'
Ring Shooter (Manual Respawn)

See merge request KartKrew/Kart!690
2023-04-17 04:34:29 +00:00
toaster
03ef0b4e75 No Ring Shooters before the start of the level in general, not just in Race/GTR_CIRCUIT 2023-04-17 00:23:14 -04:00
toaster
e7896a7118 Obj_RingShooterInput: Fix several issues with the to-spot teleport
- Fix undesired fastfall bounce
- Fix reverse gravity
2023-04-17 00:23:13 -04:00
toaster
5b348ee195 K_DoIngameRespawn: Ring Shooter-induced lightsnake always starts from the previous SPAWNPOINT waypoint, not the previous waypoint in general 2023-04-17 00:23:13 -04:00
Sally Coolatta
5917861d17 Ring Shooter: Ignore multiple uses from 1 player 2023-04-17 00:23:13 -04:00
Sally Coolatta
1c4137648b Ring Shooter: Fix sometimes invisible after use 2023-04-17 00:23:13 -04:00
toaster
c4a087790a Obj_UpdateRingShooterFace: Set threshold overlay flags (fixes scaling/alignment of face) 2023-04-17 00:23:12 -04:00
Sally Coolatta
3b7ac38d9f Ring Shooter: E-Brake + adjust distance
- Y is now additionally another macro for HOLD!
- Disable HOLD! drop from respawning when done with Ring Shooter.
- Immediate release Ring Shooter now goes back a waypoint, and does not have a minimum distance to go forward anymore.
2023-04-17 00:23:11 -04:00
Sally Coolatta
b123fd98a2 Ring Shooter: Disallow turning while in it 2023-04-17 00:23:11 -04:00
Sally Coolatta
3ea9b2d82d Ring Shooter: Force player mom to 0 2023-04-17 00:23:10 -04:00
Sally Coolatta
14d371f00f Basic Ring Shooter freeze implementation
It's probably too easy to break, but this should be enough for testing at least.
2023-04-17 00:23:10 -04:00
Sally Coolatta
92b8e38f11 Actual Ring Shooter functionality 2023-04-17 00:23:09 -04:00
Sally Coolatta
4e7b6f0cc3 Add ring shooter tire grabbers + more player logic 2023-04-17 00:23:08 -04:00
Sally Coolatta
d28601fd52 Use less confusing defines for ring shooter 2023-04-17 00:23:08 -04:00
Sally Coolatta
319cee4afa Move ring shooter to its own file 2023-04-17 00:23:07 -04:00
Sally Coolatta
668d832ca1 Delete respawn command, put Ring shooter on Y 2023-04-17 00:23:06 -04:00
Lach
f9317b265e Correct Ring Shooter countdown 2023-04-17 00:22:09 -04:00
lachablock
a458490639 Ring Shooter: countdown animation & experimental stretchy spawn 2023-04-17 00:22:08 -04:00
lachablock
c98ff9616b Start Ring Shooter respawn: while e-braking, enter the respawn command to spawn a Ring Shooter. Currently purely visual and does not despawn. Steals the player's face for funsies. 2023-04-17 00:22:07 -04:00
Sal
0f6ee942a1 Merge branch 'eggbox-strip-shield' into 'master'
Drop items when an eggbox is transferred to you (resolves #524)

Closes #524

See merge request KartKrew/Kart!1176
2023-04-17 04:18:19 +00:00
Sal
40e9fd9644 Merge branch 'revert-revert-ignore-os-repeats' into 'master'
Ignore OS Repeats

See merge request KartKrew/Kart!1137
2023-04-17 04:16:53 +00:00