toaster
9af71ebfaa
Merge branch 'fix-stretchy-vertical-scale-again' into 'master'
...
Fix V_DrawStretchyFixedPatch vertical scaling AGAIN
See merge request KartKrew/Kart!1206
2023-04-26 15:07:50 +00:00
James R
4944b605d4
V_DrawStretchyFixedPatch: round bottom y value to nearest integer
...
Fixes 1px overshoot at some scales.
2023-04-26 07:35:54 -07:00
James R
520e2f796b
Revert "V_DrawStretchyFixedPatch: multiply vertical scale in fixed-point"
...
This reverts commit 7d90e8f8f8 .
2023-04-26 07:34:22 -07:00
Sal
5109e3bdf9
Merge branch 'respawnat' into 'master'
...
Add respawnat command, lightsnake to a specific waypoint
See merge request KartKrew/Kart!1200
2023-04-25 14:57:52 +00:00
Sal
7554943f02
Merge branch 'wadname-tidy' into 'master'
...
WADNAME Zone Builder temporary file detection made stricter
See merge request KartKrew/Kart!1199
2023-04-25 01:51:14 +00:00
Sal
62ae3409ec
Merge branch 'small-video-errors' into 'master'
...
Fix small errors with scaled patch and aligned string drawing
See merge request KartKrew/Kart!1195
2023-04-25 01:51:03 +00:00
Sal
0fb691022b
Merge branch 'fix-reset-interpolation' into 'master'
...
P_Ticker: update view interpolation at the start of a tic
See merge request KartKrew/Kart!1192
2023-04-25 01:50:51 +00:00
Sal
76c275424e
Merge branch 'fix-respawn-turning' into 'master'
...
Don't apply handling boost if you're not alive
See merge request KartKrew/Kart!1187
2023-04-25 01:50:38 +00:00
Sal
559a36fdd7
Merge branch 'cmake-asan' into 'master'
...
cmake: add SRB2_CONFIG_ASAN, enable AddressSanitizer
See merge request KartKrew/Kart!1191
2023-04-25 01:50:30 +00:00
Sal
d3ecb719c9
Merge branch 'fix-reverse-gravity-respawn' into 'master'
...
Fix flipped waypoint respawning w/r/t sector gravity
Closes #535
See merge request KartKrew/Kart!1202
2023-04-25 01:49:31 +00:00
Sal
26adf6df82
Merge branch 'filesearch-furore' into 'master'
...
filesearch.c: Always use system-specific path seperator
See merge request KartKrew/Kart!1198
2023-04-25 01:46:51 +00:00
James R
efcdfbe665
Fix some instances of boolean not being set to true exactly
2023-04-24 18:14:37 -07:00
James R
56dcfaedf8
Respawning: set MF2_OBJECTFLIP directly in P_GetMobjGravity
...
K_RespawnOffset is called before the player is actually at
the waypoint's position, so even if P_GetMobjGravity is
called there to check, it reflects the player's current
sector, which may not necessarily be the waypoint's
sector.
2023-04-24 18:13:37 -07:00
toaster
b0cb804fe4
Merge branch 'faster-cam-z' into 'master'
...
Improve camera Z following
See merge request KartKrew/Kart!1197
2023-04-24 22:35:09 +00:00
James R
94e3a6450b
Add respawnat command, lightsnake to a specific waypoint
2023-04-24 15:04:14 -07:00
toaster
3d0abdd74a
Merge branch 'follower-audience' into 'master'
...
Follower Audience
Closes #498 and #325
See merge request KartKrew/Kart!1185
2023-04-24 21:49:34 +00:00
toaster
f5f8456979
WADNAME Zone Builder temporary file detection made stricter
...
- Only apply if the format is \Temp\8\8.3
- Only apply if there's a previous loaded file with WADNAME
- Use that filename
- Add a DBG_SETUP print
Fixes \Temp\SLADE\(actual filename) files popped out from maps.pk3
2023-04-24 22:38:05 +01:00
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
Sally Coolatta
85eaf2eeea
Make camera follow platform momentum
2023-04-23 14:51:29 -04:00
Sally Coolatta
57022fafe5
Move camera Z slightly faster
...
RR has more & taller slopes than SRB2K, so the old values were a bit jarring (you go off-screen a LOT more often)
2023-04-23 14:47:47 -04:00
James R
d7448bd597
V_StringScaledWidth: always return full width of bunched fonts
2023-04-23 08:25:50 -07:00
James R
7d90e8f8f8
V_DrawStretchyFixedPatch: multiply vertical scale in fixed-point
...
Fixes 1px overshoot at some scales.
2023-04-23 08:19:47 -07:00
Sal
1e22a8f4c0
Merge branch 'fix-teleport-interpolation' into 'fix-reset-interpolation'
...
412 teleport: correctly update interpolation state
See merge request KartKrew/Kart!1193
2023-04-23 13:56:52 +00: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
James R
11242527ed
412 teleport: correctly update interpolation state
...
- Fixes relative teleport not updating floorz/ceilingz,
causing camera to potentially get clipped by old
position
- Fixes absolute teleport not resetting viewpoint
interpolation
2023-04-22 20:49:19 -07:00
James R
e8a8064da9
P_Ticker: update view interpolation at the start of a tic
...
This lets R_ResetViewInterpolation only need to be called
once from game logic.
2023-04-22 20:40:35 -07:00
James R
9e59bd6d67
cmake: add SRB2_CONFIG_ASAN, enable AddressSanitizer
2023-04-22 18:35:22 -07: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
AJ Martinez
4b9b10c096
Don't apply handling boost if you're not alive
2023-04-21 17:27:31 -07:00
toaster
3dd44961a0
Obj_AudienceInit: Improve follower name processing
...
- Convert underscores to spaces for string comparison
- Report typoes to the user
2023-04-21 21:07:14 +01:00
toaster
c7cc730c35
Obj_AudienceInit: Improve color handling
...
- Catch all invalid colors with default randomisation
- Catch invalid colors more thoroughly
- Report typos to the user
2023-04-21 21:06:21 +01:00
toaster
2f8b8cf532
Follower lists: Fix typing
...
Should consistently be signed INT16, not unsigned UINT16
2023-04-21 20:52:13 +01:00
toaster
98288fd289
Obj_AudienceInit: Incorporate follower scale into multipliciation
2023-04-21 20:20:51 +01:00
toaster
a4a5752df0
Obj_AudienceThink: Ease the angle change
2023-04-21 18:24:51 +01:00
toaster
91f4169212
Follower-mimicing emblems: Permit them to just sit there if their defined bobamp is 0
...
This is unlike audience members, which have a minimum jump height
2023-04-21 17:42:44 +01:00
toaster
af288571bd
P_SetupEmblem: Correct flags *before* Obj_AudienceInit
2023-04-21 17:37:26 +01:00
toaster
945a00df6e
Permit emblem pickups that take on the visage of a Follower
...
- If Global-type map emblem has GE_FOLLOWER, attempt to take on the appearance of the follower specified by var2.
- Unlike MT_RANDOMAUDIENCE, this picks whether the object should be floating or hopping based on the specified mode of the source Follower.
- Always chooses to face the nearest player.
- Rearrange some properties affected by Obj_Audience/audience.c to not conflict with MT_EMBLEM
2023-04-21 15:17:43 +01:00
toaster
8878bf8465
P_SetupEmblem: Only call Tag_FGet once, and store the result for loop iteration/error messages
2023-04-21 15:12:06 +01:00
toaster
66d8d8757e
emblem_t: Add var2/stringVar2
2023-04-21 15:09:49 +01:00
toaster
1e5fadc901
Audience-related functions: Rename + adjust
...
- Since they're not necessarily going to be randomised, make the prefix Obj_Audience instead of Obj_RandomAudience.
- Externalise some properties that we may not want affecting all hypothetical uses.
- Flag auto-application should be done externally, since this won't be general.
- Focusing on player should be controlled by the function call, not an ambiguous flag.
2023-04-21 15:09:07 +01: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