Commit graph

996 commits

Author SHA1 Message Date
yamamama
72931e7713 Make balloons use UDMF arg 0, MTF_AMBUSH not being set turns on respawning 2026-04-24 02:17:16 -04:00
NepDisk
4ffc163c0d Rework ring sounds and ring burn visual change
caching only play player side now
ringburn adds an extra sound to ring usage
ringburn makes rings turn white
2026-04-12 16:49:06 -04:00
NepDisk
bdd64944dc Apply the same fix to shields that apply rings 2026-03-31 18:29:41 -04:00
NepDisk
fd1a75d059 Kill a bunch of dead code 2026-03-22 23:11:29 -04:00
NepDisk
1d1a4c83eb Use Reverb for ring burnout sound 2026-03-22 16:42:55 -04:00
NepDisk
057b46010f Disable EFX debug 2026-03-22 15:06:25 -04:00
NepDisk
3b7939347c Hacky System for efx reverb tail
Since theres no direct way of getting this lets hack around it :D
2026-03-22 15:03:20 -04:00
NepDisk
9317f753bc S_StartSoundAtVolumeEx: Allow applying EFX to individual sounds
S_StartSoundAtVolume has been expanded to allow you to pass EFX info to it.
Just set the effect and the vars for the effect and OpenAL will handle the rest. Can be used in the future for all sorts of things.
I_SoundIsPlaying still needs to be modified to account for sounds lasting longer audibly then they do as a source.
2026-03-22 11:09:23 -04:00
NepDisk
7d6784c4fa Don't attract red SPB rings in first 2026-03-20 16:23:51 -04:00
NepDisk
cd2d07b190 Change all gametyperules uses to gametypes[gametype]->rules 2026-03-10 21:14:23 -04:00
NepDisk
edcb7dbe69 Disallow picking up SPB rings in first 2026-03-08 18:15:09 -04:00
yamamama
d5ca5516de Split Classic and Alt. Invincibility
- It's what the people want, why bother to complain?
- Alt is now its own separate item titled the S-Monitor
- Several variables, macros, functions, and comments have been renamed to fit this change
2026-02-16 18:40:48 -05:00
GenericHeroGuy
d738ad5957 Alright, take it or leave it 2026-02-08 01:07:20 +01:00
NepDisk
f3767c5e77 Disable Ring drop for now
We can discuss its fate later.
2026-01-30 00:07:11 -05:00
GenericHeroGuy
95a3af6a1a Fix missing spinout animation on the fan sector in Diamond Square
Also, carry is not a bitfield lol
2025-12-28 23:32:19 +01:00
NepDisk
328aca3d28 Revert "Try to fix P_LookForPlayers lock up on empty servers"
I did a better fix and this does nothing but break player 32
This reverts commit d621a0f0c4.
2025-12-15 10:40:59 -05:00
NepDisk
7f8d64cb05 Actually fix dedi crash for P_LookForPlayers 2025-12-14 20:23:00 -05:00
NepDisk
d621a0f0c4 Try to fix P_LookForPlayers lock up on empty servers 2025-12-14 19:47:44 -05:00
minenice55
1f104c7ef5 create eggmine missiles closer to the player
final misc tweaks too, ready for PR
2025-12-09 15:39:57 -05:00
minenice55
82f4599275 make eggmine pop an action like the lua 2025-12-08 22:09:16 -05:00
GenericHeroGuy
fbc2087cc5 Update the death animation... again! Now with more bounce
Also make MF_SCENERY objects use P_SlideMove again on wall collisions, to
match v1... except if the object also has MF_BOUNCE, for the sake of
~~the tires~~ practicality
2025-11-26 22:28:38 +01:00
NepDisk
b337a9e69a Port Saturn's rumble and gamepad LED systems 2025-11-20 14:39:37 -05:00
NepDisk
a251d0b02d Adjust stuff for compile 2025-11-18 17:41:34 -05:00
Oni
f6914942e7 Merge branch 'dashrings' into 'master'
Hardcode MT_DASHRING & MT_RAINBOWDASHRING

See merge request KartKrew/Kart!1345
2025-11-18 17:35:20 -05:00
GenericHeroGuy
1385692e83 Cleanup itemroulette 2025-11-12 23:18:24 +01:00
GenericHeroGuy
96b766fb56 Merge branch 'blankart-dev' into itemstuff 2025-11-08 16:34:13 +01:00
NepDisk
d7ed03fab9 Remove M_Memcpy
Was quite literally a wrapper that did nothing.
2025-11-08 02:00:30 -05:00
NepDisk
2ce1cdb02f Make make RingBox Action use kart ring giver 2025-11-07 13:12:12 -05:00
GenericHeroGuy
efac1d27c2 Item refactor, part 1
Too much shit to explain, read the diff (you should anyway!)
Very sloppy, expect lots of fixes
TODO: SOC it all, separate "active odds" table, how to handle alt items
2025-11-06 22:59:02 +01:00
NepDisk
65cea70c05 Merge pull request 'Cherries™️ Part 2' (#175) from cherries into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/175
2025-10-24 20:20:57 +02:00
NepDisk
68597c87fb These should be fine as the original types 2025-10-24 07:39:43 -04:00
NepDisk
a8609d7204 Un-shitify function.acp1 pointers 2025-10-23 23:26:26 -04:00
toaster
2939f63418 Support alternate gameplay events during GP
- Implementation details:
    - grandprixinfo.eventmode is the reference point
    - All bots have spectator applied and removed at map start depending on eventmode, and I've done my best to guard against side effects of not removing them entirely
    - You shouldn't turn off grandprixinfo.gp when turning on things like specialStage.active or bossinfo.boss when pursuing eventmode behaviour
    - Probably needs to be integrated into XD_MAP for any future netplay support, is currently disabled.
    - You technically don't have to assign a Capsules map to be the bonus and a Special Stage to be the special. A Capsules map can be assigned to a Special Stage too, and a Boss can be assigned to either of them.
    - Special Stages are still just as incomplete as they were before.
- Break the Capsules has special behaviour.
   - Timelimit starts at 20 seconds.
   - Earn 10 seconds (plus a little extra cheaty time) every capsule you destroy.
   - WIN + extra life if you bust all the capsules, COOL if you get some but run out of time, LOSE if you lose your bumper or run out of time without breaking a single capsule.
   - Supposed to also give you rings, but ran into a LOT of difficulty with this and didn't want to commit half-baked stuff, so it'll be a later project.
Also:
- Fix a long standing bug where totalring was reset between maps, preventing the sum from adding up across GP rounds and depriving you of extra lives you were owed.
- Fix an issue where Break the Capsules record attack was KARTSPEED_HARD.
- Send timelimitintics in savegames, since it's handled seperately now.
2025-10-23 16:28:40 +02:00
GenericHeroGuy
27b22fee94 I have a better idea... 2025-10-17 21:50:08 +02:00
NepDisk
ff467c676c port over most fixes from srb2classics clang-tidy pr
Based on 939354f483
2025-10-17 10:32:21 -04:00
NepDisk
630b75a504 P_DoPlayerExit changes
12ecb1f7a4
2025-09-30 00:01:05 -04:00
GenericHeroGuy
7e810c6923 Fix item boxes inside bustable FOFs messing up collision (closes #100) 2025-09-30 00:26:27 +02:00
GenericHeroGuy
307001611e Make exploding dragged mines hit the player dragging it again (closes #133)
baby mine explosions lmao
2025-09-29 22:01:43 +02:00
NepDisk
1e1404162e Try making random item more accurate for battle (#135 point 1, still needs testing) 2025-09-28 11:13:49 -04:00
NepDisk
d56031e657 Make Airdrop feel better to use and tweak ring usage numbers 2025-09-27 23:46:32 -04:00
Anonimus
eade241d3b Add SPBs to battle mode
The ultimate means against camping
2025-09-26 00:05:06 -04:00
NepDisk
49c0b2c00e Make Airdrop drop lines only turn yellow when you have ringboost 2025-09-20 10:23:15 -04:00
NepDisk
ffa7850bb6 AirDrop Starting Commit
This introduces a new optional feature called Airdropping. When holding brake in the air you will start to fall faster. If you have rings active and have rings on you, you Ring Drop to fall even faster and with less delay. The ringboost output from this move is weaker then using rings normally making it so always using ring drop isn't the best play
2025-09-20 00:41:08 -04:00
Alug
693374c5c1 ensure deterministic order for P_Random stuff passed as arguments
the evaluation order of arguments passed to functions is undefined in C/C++, so its up to the compiler in which order to evaluate these

P_Random functions modify the randomseed each time theyre called, which can lead to different outcomes (thus desynchs) on different platforms, compilers,

compiler versions etc.

so match up with the most common which is last to first (seemingly the order gcc on nix and windows handle it)

common case are mine/eggbomb explosions hitting the smk ice blocks causing desynchs when either server or client were clang compiled
2025-09-17 18:08:06 +02:00
Wumbo
b0e25dcc9c Unify death animations and make more accurate to SRB2Kart 2025-09-07 19:06:37 -04:00
NepDisk
7b63ac3724 [PATCH} Allow min and max ringcap to be set via cvars and lua
Thanks minenice for the patch!
2025-08-31 23:49:32 -04:00
NepDisk
2871260bc3 Award rings from itemboxes in itembreaker 2025-08-29 12:59:43 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
Anonimus
27ea5021b4 Add Flipover damage, change Invincibility interactions 2025-06-29 01:30:00 -04:00
NepDisk
6a122b0600 Implement ring spam nerf
Less impactful in vanilla + rings. With Chaining and Stacking on however this makes a big difference since it prevents you from having a large stack count forever if you can keep chugging rings
2025-06-11 19:02:06 -04:00