Commit graph

2811 commits

Author SHA1 Message Date
Eidolon
eeb1ac347c Merge branch 'slope-stepup-fix' into 'master'
Slope stepup fix

See merge request kart-krew-dev/ring-racers-internal!2496
2025-02-13 17:14:33 +00:00
Ashnal
1978b91677 Slope stepup fix 2025-02-13 17:14:33 +00:00
Eidolon
1a8467fdaf Merge public master 2025-02-12 19:02:38 -06:00
Craftyawesome
a481878a61 Fix end sign rng off-by-one 2025-01-02 02:30:43 -05:00
Eidolon
a816b93541 Merge branch 'netsave-mem-stuff' into 'master'
Minor & misc netsave fixes

See merge request KartKrew/Kart!2485
2024-11-02 18:01:25 +00:00
Eidolon
cdd3bad813 Add level pool allocator and use it for mobj, precip, thinkers
This should substantially reduce the number of malloc/free calls made to
create and destroy mobjs, especially during level load and net
save/load.

memory_resource standard header is not available on the OSX deployment
target we are using, so I had to write my own fixed size pool allocator.
2024-10-30 09:08:04 -05:00
Sally Coolatta
0dbe217979 Properly handle stringarg memory during netsaves
- spawnsectors/lines copy over stringargs properly.
- Object thing args/stringargs aren't overwritten if there aren't any script args set.
- StringArgsEqual functions handle NULL properly.
2024-10-25 17:15:00 -04:00
Sal
dd45f3cd61 Merge branch 'user-defined-death-kart-frame' into 'master'
SPR2_DKRT: A new SPR2 which allows character WADs to define a unique kart explosion husk

See merge request KartKrew/RingRacers!55
2024-10-21 23:59:21 +00:00
Antonio Martinez
7d584c1f79 Fix mobjcache memory leak after reloading gamestate
Weird history splice from 711804be
2024-10-07 19:15:51 -05:00
Oni
71588f490f Merge branch 'queue-skin' into 'master'
Queued skin/color changes

See merge request KartKrew/Kart!2452
2024-09-28 17:46:42 +00:00
Sally Coolatta
a2ddd5079e Thing_StartTracking: Make it do something
Instead of using a linedef executor tag as an argument, apply an action special to the angle manager object that you had to place anyways.

There is no UDMF version check because the old behavior was practically unusable.
2024-09-21 03:58:33 -04:00
Sal
653766010d FRIENDCODE (aka, Teamplay) 2024-09-17 01:41:26 +00:00
Antonio Martinez
d4c0603808 Wall transfer buffs 2024-09-15 21:05:30 -07:00
Ashnal
88c77cfff3 Clean up debug messages left from slope adjustments branch 2024-09-15 21:53:44 -04:00
Ashnal
33a1ca5831 Slope launch physiscs adjustments 2024-09-16 00:47:45 +00:00
Ashnal
59b346675b Can cross checkpoints when respawning and in NOCLIP state now 2024-09-15 20:48:33 +00:00
Jack
af16e3f993 Implemented SPR2_DKRT and integrated it into the state system 2024-09-07 14:40:12 +01:00
Sally Coolatta
d33b123e32 Implement reticule gfx, fix FOFs/walls/scale 2024-08-28 01:26:54 -04:00
Sally Coolatta
03874c3374 New Ballhog design
Taking the old charge idea, but instead of missiles, it's bananas that explode on the floor and can only be lobbed forward. Charging creates more projectiles in a circle pattern around it.
2024-08-28 01:26:53 -04:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
Ashnal
70ad221aa0 Sneaker Lift 2024-08-25 23:50:10 +00:00
Sally Coolatta
87a223d5e2 New ice slope physics
Make them stronger by the same factor as acceleration is weakened. This feels a lot more natural, since your top speed tends to be higher on ice, which was making them feel strangely easier to climb ... even though driving on ice is hard mode (even in real life)

Also fixes an oversight where P_SpawnFriction was using the outdated movefactor constants from SRB2 instead of the ones from SRB2Kart that the rest of the codebase was using, by unifying it into one function.
2024-08-24 22:19:08 -04:00
AJ Martinez
3670695df6 Merge remote-tracking branch 'origin/race-checkpoint' 2024-08-22 22:49:49 -07:00
Sally Coolatta
9c2144c340 Give Battle mode item spawners their own RNG class
PR_ITEM_ROULETTE is explicitly meant only for K_FillItemRouletteData, and nothing else is ever meant to use it.

May possibly be the cause of the dedicated overtime desync, but I am not convinced it is.
2024-08-18 18:49:47 -04:00
toaster
1e502da748 Merge branch 'master' of https://git.do.srb2.org/KartKrew/RingRacers 2024-08-17 20:16:27 +01:00
Ashnal
df4e99b050 WIP Race Checkpoints
MobjList count

WIP: Checkpoints grant lap bonus

help?

can't allocate vector

 fixed tagged line iteration and collision detection

Multiplayer animations and map retart fixes

Clear between maps
2024-08-13 20:20:21 -04:00
Oni
4bf99e7f16 Merge branch 'amps' into 'master'
Overdrive!

See merge request KartKrew/Kart!2414
2024-08-13 02:46:56 +00:00
Gunla
e120a4fecf Merge branch 'snapshot-maps' into 'master'
"snapshotmaps" command

See merge request KartKrew/Kart!2410
2024-08-13 02:46:28 +00:00
Antonio Martinez
4d202fbd67 WIP: Overdrive VFX refactor 2024-07-23 17:00:17 -07:00
Antonio Martinez
199a92ebb2 WIP: Overdrive 2024-07-22 02:14:11 -07:00
Sally Coolatta
6b87b586d2 "snapshotmaps" command
Takes two screenshots for a list of maps that have an "Alternate View Point" thing with tag 0 -- one intended for level select pictures and another for Discord Rich Presence. If no view point exists, the map is skipped.
2024-07-21 08:54:49 -04:00
AJ Martinez
326d6ff058 Item pickup leniency window 2024-05-29 18:18:52 -07:00
JugadorXEI
4c7ec4bae0 Fix shield objects not being properly flipped 2024-05-22 21:54:45 +02:00
JugadorXEI
4439ce8940 Fix soft landing mobj not being properly flipped 2024-05-22 21:54:45 +02:00
Sally Coolatta
5fb54a1044 Fix thing TID scrambling, optimize usage slightly 2024-05-12 18:01:17 -04:00
James R
5f2a38475b Ballhog is destroyed on contact with walls 2024-04-28 15:43:00 -07:00
Oni
0652843383 Merge branch 'reverse-gravibee' into 'master'
Fix Poh-Bee behaviour for flipped waypoints

See merge request KartKrew/Kart!2249
2024-04-10 05:26:57 +00:00
Lach
4bc678e07a Don't apply sector-based gravity flips to Shrink objects 2024-04-10 08:20:43 +10:00
toaster
bc0c4ad5f2 UDMF scaling of Item Capsules in GS_SPECIAL
Can be expanded to all gametypes when we accept invalidating replays
2024-04-09 18:28:32 +01:00
Lach
f274d24560 Fix Poh-Bee behaviour for flipped waypoints 2024-04-09 23:34:18 +10:00
James R
551a101f7b Hardcode SA2 Pulley (ipullup.lua)
Differences from Lua version:

- Does not set cusval
- Does not have individual states for pulley, hook
  - Simply sets sprite on S_INVISIBLE
- Does not do P_CheckPosition, sets Z directly
- Does not spawn chain visual every tic
  - Spawns a single object and vertically stretches it to
    the correct length
- MT_IPULLUP has MF_SCENERY and a short-circuiting
  thinker, also MF_NOBLOCKMAP so there is never any
  collision against it (it is a controller)
- MT_PULLUPHOOK has MF_NOCLIP to avoid extra collisions
  while moving
2024-04-03 04:37:44 -07:00
James R
c591087ac4 Audience: shadow, auomatically becomes white on fullbright frames 2024-04-02 18:06:26 -07:00
toaster
7f6de407f1 Copyright update: Add Kart Krew (2024) in general for high-traffic inherited sourcefiles 2024-04-02 17:42:38 +01:00
James R
bf0041644a Add destroyed kart effects
- Removed hitlag sparks and extra quakes from player death
- Removed dontdraw flag from NO CONTESTED player
- Moved most dead kart code to objects/destroyed-kart.cpp
2024-03-31 00:58:14 -07:00
toaster
894870295a Spray Can spawning rule cleanup
- You can spawn in Tutorial Challenge, but only if a single can has been picked up already
- Don't print a (DEVELOP-only, but still annoying) error when it doesn't spawn in Tutorial Challenge
2024-03-26 16:41:44 +00:00
James R
7e17a71f13 Fix flame shield offset in reverse gravity 2024-03-24 22:47:35 -07:00
AJ Martinez
0e88da0f6e 1x flame/lightning shield 2024-03-24 22:47:35 -07:00
toaster
9601290dd7 Emblem system collectibles: Spawn sparkles if pick-up-able, to match Prison Egg CDs 2024-03-19 19:30:17 +00:00
toaster
74c6e1a0fd Spray Cans: Don't spawn in Attack modes 2024-03-19 19:30:16 +00:00
toaster
80adabc553 GS_TUTORIAL: No player should ever do lightsnake respawn, especially not thinkerless bots
Fixes a handful of rings drifting across the floor of the HVR room in the Rings tutorial
2024-03-17 16:53:31 +00:00