Commit graph

24370 commits

Author SHA1 Message Date
James R.
fa86512a4b ACS music functions: add optional bool to only affect player activator 2023-09-25 02:06:16 -07:00
Oni
9d54dbf9a9 Merge branch 'clamp-sprite-column' into 'master'
Always clamp texturecolumn in sprite draw

See merge request KartKrew/Kart!1527
2023-09-25 00:16:52 +00:00
Eidolon
2bad8126ac Delete outdated memcpy optimization
The libc memcpy is faster
2023-09-24 18:32:22 -05:00
Eidolon
b7715d9186 Ensure Z_Malloc provides same alignment as libc 2023-09-24 18:08:28 -05:00
James R.
bd9cadbe8d K_CalculateTrackComplexity: format using fmt::format, to account for differences in size_t platform type 2023-09-24 15:52:00 -07:00
James R.
c743af4d77 P_SpawnMapThing, P_RaiseTaggedThingsToFakeFloor: save raised Z position for respawning later
P_RespawnSpecials just calls P_SpawnMapThing again, so
this works.
2023-09-24 15:36:46 -07:00
Gustaf Alhäll
2fa73d45d7 Clean up and simplify zone memory allocation 2023-09-24 17:03:55 -05:00
Eidolon
0f3ede7fed Always clamp texturecolumn in sprite draw 2023-09-24 14:39:12 -05:00
Eidolon
1ffc7d7c82 r_things.c -> r_things.cpp 2023-09-24 14:30:41 -05:00
Sal
7dafacaf7d Merge branch 'just-sound-code-things' into 'master'
Consolidate sound/music volume functions; kill HW3SOUND off the face of the game code

See merge request KartKrew/Kart!1518
2023-09-24 19:00:14 +00:00
Lach
7a8bb8ec40 Hardcode Chaos Chute objects 2023-09-24 22:29:52 +10:00
toaster
36f8a64d65 Stereo Mode: Add "shf" (Shuffle) option
This basically came to me in a dream, who am I to look the horse in its mouth

- Press to start a shuffled sequence, losing your current position in the autosequence.
    - Press again to disable, but keep your current track.
- Adjust horizontal offset of Stereo buttons slightly.
- More judiciously comment Sound Test functionality, to assist future maintainers.
2023-09-24 10:46:32 +01:00
Sal
e331c57a32 Merge branch 'waypoint-clang' into 'master'
Fix k_waypoint.cpp compile errors on clang

See merge request KartKrew/Kart!1525
2023-09-24 07:51:47 +00:00
Lach
56f549676a Fix k_waypoint.cpp compile errors on clang 2023-09-24 12:39:33 +10:00
Sal
ad6ba119d4 Merge branch 'more-small-acs' into 'master'
Small ACS additions

See merge request KartKrew/Kart!1502
2023-09-23 20:02:47 +00:00
Sally Coolatta
d3ee4d631a Add "Freeze" ACS function 2023-09-23 15:54:01 -04:00
Sally Coolatta
0211dc4f34 Reset freeze on level load 2023-09-23 15:51:33 -04:00
Sally Coolatta
6c9a253ebf Polish ring spill
More circular by using pitch, takes gravity into account, actually has a code path for ring loss that's more than 5 rings
2023-09-23 14:52:04 -04:00
Sally Coolatta
c6897688d0 Delay ring burst after damage 2023-09-23 10:42:00 -04:00
Sally Coolatta
8e62117596 Damage hitlag sounds 2023-09-23 09:57:16 -04:00
Sal
c35b7d2f4f Merge branch 'prompt-tidy' into 'master'
Intermission button prompt: Fix slide-out for non-roundqueue contexts

See merge request KartKrew/Kart!1516
2023-09-23 11:59:49 +00:00
Sally Coolatta
91955b1383 Broly screen shake is done on the source object
Screen shake was being done from the Broly vfx, which does scaling shenanigans so it caused Proximity Mine explosions to make the camera go apeshit.

I'm also pretty sure the hitlag calcs Proximity Mine did for the broly effect was wrong, not sure though? I'm trying something else and I think it's better.
2023-09-23 07:57:55 -04:00
Sally Coolatta
ca0b5902ba Fix use of easing functions, add distance buffer 2023-09-23 07:57:54 -04:00
Sally Coolatta
e6a19362fc Center mobj quake on the z axis 2023-09-23 07:57:54 -04:00
Sally Coolatta
2230c855ae Some quake improvements
- Use easing functions for quake intensity
- Camera distance takes Z height into account
2023-09-23 07:57:54 -04:00
Oni
d0b16f2025 Merge branch 'bot-nerfs' into 'master'
Track-based bot difficulty

See merge request KartKrew/Kart!1482
2023-09-23 03:28:43 +00:00
Sal
bb8499b43d Track-based bot difficulty 2023-09-23 03:28:43 +00:00
Oni
d3224dad31 Merge branch 'no-suicide-popoff' into 'master'
Don't kill-confirm suicide (resolves #691)

Closes #691

See merge request KartKrew/Kart!1519
2023-09-23 03:27:51 +00:00
Oni
1caea27f82 Merge branch 'speedy-lightsnake' into 'master'
Lightsnake back to track in consistent time

See merge request KartKrew/Kart!1522
2023-09-23 03:24:00 +00:00
Oni
24333edeb9 Merge branch 'better-water-sliptide' into 'master'
Stronger underwater sliptiding

See merge request KartKrew/Kart!1521
2023-09-23 03:23:03 +00:00
AJ Martinez
346f6c4ab0 Don't slow down fast respawns from loss-of-control etc 2023-09-22 20:17:28 -07:00
Oni
1173adc950 Merge branch 'global-taunts' into 'master'
Play horns at full volume for targeted players (resolves #654, lazily)

Closes #654

See merge request KartKrew/Kart!1520
2023-09-23 03:05:52 +00:00
AJ Martinez
cb5f3f5b69 When respawning, return to first waypoint with consistent time 2023-09-22 19:54:22 -07:00
AJ Martinez
958aa6bccb Stronger underwater sliptiding 2023-09-22 18:58:34 -07:00
AJ Martinez
687c26e219 Play horns at full volume for targeted players 2023-09-22 18:27:44 -07:00
AJ Martinez
629e9d39ba Don't kill-confirm suicide 2023-09-22 18:20:14 -07:00
James R.
acbe0b270c s_sound.c: consolidate music volume related functions, always use cvars internally 2023-09-22 02:00:50 -07:00
James R.
472f7d060c Kill HW3SOUND related code (in files that are actually used) 2023-09-22 02:00:42 -07:00
toaster
59da86e88e Intermission button prompt: Fix slide-out for non-roundqueue contexts 2023-09-21 16:12:21 +01:00
Oni
83cbdb4601 Merge branch 'charsel-colorfix-2' into 'master'
Tiny charsel colour fix

See merge request KartKrew/Kart!1512
2023-09-20 06:15:17 +00:00
Oni
198640c4aa Merge branch 'podium-fade' into 'master'
GS_CEREMONY: Fix fade-in keeping screen blank

See merge request KartKrew/Kart!1513
2023-09-20 06:13:15 +00:00
toaster
49595a621c GS_CEREMONY: Fix fade-in keeping screen blank 2023-09-20 00:43:29 +01:00
toaster
58d5e19d72 Merge branch 'minigen-green' into 'master'
minigen: Use index 98 for finish lines per desired spec

See merge request KartKrew/Kart!1511
2023-09-19 23:29:42 +00:00
toaster
0e9997f2cd Character Select: If your profile's color/followercolor have not been unlocked, correct the visible colour to Default when selecting your Profile, instead of on Level start 2023-09-20 00:25:29 +01:00
Oni
24100dab20 Merge branch 'sign-l' into 'master'
Sign L

See merge request KartKrew/Kart!1507
2023-09-19 23:22:18 +00:00
toaster
6ec7456cd2 VC requests for L Sign
- Permit KARTSPEED_NORMAL, so it's not TOO obnoxious
- However, check for whether you're fighting a sufficient opponent
    - A human player is considered sufficient, because if you've dominated another it's fun to style on them
    - If all other players are bots, make sure they're at least half the difficulty range
2023-09-19 23:38:48 +01:00
toaster
a6fc60a5a3 level_tally_t::UseBonuses: Swap order of checks so the less expensive grandprixinfo comparison is done first 2023-09-19 22:40:13 +01:00
toaster
9574d7a040 Further revision
- Only show SPR2_SIGL for SF_IRONMAN. You've gotta work for that stuff!
- Instead of duplicating some of the behaviour the tally code does manually, simply use tally state directly
2023-09-19 22:40:13 +01:00
toaster
3a0d6fd2fb Minor fixes for K_RaceLapCount
- Fix comment in k_race.c
- Use numlaps for level_tally_t::Init instead, as this is the cache'd form and permits us to remove k_race.h from the dependencies
2023-09-19 22:40:12 +01:00
toaster
e438ef0a97 SPR2_SIGL
If you achieve a perfect race (OK hand for every lap) on Hard speed (or better), use a special taunting signpost frame.
2023-09-19 22:40:12 +01:00