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
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