Oni VelocitOni
f5c2031ea5
Merge branch 'beyond-the-relink' into 'master'
...
Use ChangePlayerReferences to relink kartitems
See merge request kart-krew-dev/ring-racers-internal!2622
2025-06-11 21:37:18 +00:00
James R
4e6c501888
Add Stone Shoe states
...
- Cvars
- stoneshoe
- Items enum
- KITEM_STONESHOE
- KDROP_STONESHOETRAP
- Player vars
- stonedrag (fixed_t)
- stoneShoe (mobj pointer)
- States
- S_STON
- Mobjs
- MT_STONESHOE
- MT_STONESHOE_CHAIN
- Sprites
- STON
2025-06-10 16:40:06 -07:00
James R
da991e5300
p_saveg: bump player mobj relink flags to UINT32
2025-06-10 16:39:28 -07:00
Antonio Martinez
878972fc7b
Use ChangePlayerReferences to relink kartitems
2025-06-07 19:30:59 -04:00
Antonio Martinez
12bc1b9cca
Fix relinkplayer being read in the wrong circumstances
2025-06-07 01:54:54 -04:00
eebrozgi
7157d80d00
More tripwire leniency after invinc + fixed regression in rocketsneaker boost type separation
...
What it says on the tin.
Shoutouts to Ashnal for figuring out the regression before anyone got hit by it!
2025-06-03 01:58:12 +03:00
Oni VelocitOni
c5366025c6
Merge branch 'relink-player' into 'master'
...
Relink player to kartitems
Closes #1537
See merge request kart-krew-dev/ring-racers-internal!2603
2025-06-02 20:48:48 +00:00
eebrozgi
6c790348b3
Rocket sneaker boost type separated from normal sneaker
...
monkey copypaste
2025-06-02 20:17:46 +03:00
Antonio Martinez
e8140ae388
Relink player to kartitems
2025-06-02 12:02:58 -04:00
Antonio Martinez
28f12acab1
Merge remote-tracking branch 'origin/master' into duel
2025-05-24 16:34:36 -04:00
Oni VelocitOni
146f427dc2
Merge branch 'display-exp-fix-3' into 'master'
...
Exp Fixes
See merge request kart-krew-dev/ring-racers-internal!2513
2025-05-18 18:52:48 +00:00
Ashnal
144e2be262
More renaming
2025-05-18 14:30:46 -04:00
Ashnal
5a42c99d0a
Rname stuff better
2025-05-18 14:30:45 -04:00
Antonio Martinez
457927a36a
Merge remote-tracking branch 'origin/master' into nerf-bumper-car-bots
2025-05-18 14:19:19 -04:00
Antonio Martinez
1a2f3b0d3b
Merge remote-tracking branch 'origin/master' into pick-me-up
2025-05-16 22:26:35 -04:00
Antonio Martinez
dcbbea4c4b
WIP: pick-me-up
2025-05-16 11:44:57 -04:00
Lach
03f6b1cc17
Merge remote-tracking branch 'origin/master' into stun
2025-05-14 19:10:53 +10:00
Antonio Martinez
eae8e1516b
Move bumpslow to botvars
2025-05-13 20:23:54 -04:00
Antonio Martinez
77167d1e32
Early item fade, fix gametypes / edge cases
2025-05-13 16:49:32 -04:00
Antonio Martinez
5129250e48
WIP: no early items
2025-05-13 12:39:16 -04:00
Lach
22817ac60b
Add stun mechanic & Flybot767
2025-05-14 01:39:42 +10:00
Antonio Martinez
3076e73c59
WIP: Nerf bumper car bots
2025-05-12 18:13:34 -04:00
AJ Martinez
4c689c5a37
Merge remote-tracking branch 'origin/master' into ringbox-rebalance
2025-05-09 19:56:37 -04:00
AJ Martinez
bc17a1dbb8
Power down straight-line wavedashes
2025-05-01 23:35:37 -04:00
Eidolon
cb7f437e60
Merge public master
2025-02-13 15:48:11 -06:00
Eidolon
804dab2a3f
Revert "Fix savegame taglist resizing"
...
This reverts commit 411cb468ae .
2024-11-10 10:56:14 -06:00
Eidolon
411cb468ae
Fix savegame taglist resizing
...
Fixes a crash when loading savegames because the save game code wasn't
expecting to need to use the LevelPool functions.
2024-11-09 18:16:08 -06: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
b4a44236b0
mobj->terrain archive imrpovements
...
- TERRAIN index is +1 (it can write terrainOverlay at the same time, so there is the possibility of needing to archive NULL terrain).
-TERRAIN lookup is done immediately instead of at P_RelinkPointers (dunno why I did this, TERRAIN doesn't do mobjnum crap).
2024-10-25 17:19:37 -04: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
Sally Coolatta
71ec8e3f4e
Archive line tag list
...
Sectors do this, so why don't lines? Are they stupid?
2024-10-13 01:43:48 -04:00
Sally Coolatta
c4cca8c8b7
Attempt to encode less for objects
...
- Don't encode radius, height, or scale if they are at mapobjectscale
- Don't encode watertop if it is INT32_MAX (its actual initial spawn value)
2024-10-13 01:29:18 -04:00
Sally Coolatta
aae9374b0a
Create doomednum lookup for loading mobjthinkers
...
Cuts off 10% of the time it takes to load mobj thinkers.
2024-10-12 23:02:31 -04:00
Sally Coolatta
4f77c9f228
Reload from spawnsectors/spawnlines/spawnsides
...
I do not trust memcpy due to the rendering bug even though it appeared to mostly work, so I did it manually. It's still order of magnitudes faster than reloading the level from scratch.
2024-10-12 22:24:12 -04:00
Sally Coolatta
e3ccc4f0ea
Fix UnArchiveSectors not actually adding tags
...
It was removing tags and then also removing the new ones, instead of removing tags and adding the new ones. Netsaves are so fucking scuffed.
2024-10-11 20:09:19 -04:00
Antonio Martinez
7d584c1f79
Fix mobjcache memory leak after reloading gamestate
...
Weird history splice from 711804be
2024-10-07 19:15:51 -05:00
Antonio Martinez
b3086d011d
Convert p_saveg to C++
2024-10-07 19:15:51 -05:00