Commit graph

156 commits

Author SHA1 Message Date
NepDisk
d6c9eecd7f Use strlcpy instead of regular strcpy 2025-12-03 19:34:17 -05:00
toaster
6749b54968 readlevelheader: Support lowercase for ZoneTitle
Exposed by increased lowercase prevalence, fix before boarding that up.
2025-12-02 19:44:33 +01:00
GenericHeroGuy
58b4949c24 Completely retire the old skinsound system
Everything in Lua related to it is now locked behind compatmode
Also fixed SFX allocations eating into skinsounds
2025-12-01 21:42:06 +01:00
GenericHeroGuy
aebe13c2d6 Whole-diff garbage collection 2025-11-30 22:25:52 +01:00
yamamama
51a005a7de Refactor voices
* Tie all voices to skins, allocate voices during skin allocation and patching
* Bring back voice.name, kill voice.parent, add voice.id
* Lua compatibility for voices (again) soon (hopefully)
2025-11-29 20:51:25 -05:00
yamamama
22ff92ea43 Voice -> KartVoice (mostly)
Guest-starring: META_VOICE_ARRAY
2025-11-26 07:49:25 -05:00
yamamama
f2f6ba9a72 Remove redundant KVOICE_ check, automatically allocate KARTVOICE fields in SOCs 2025-11-26 07:49:24 -05:00
yamamama
fa47868240 Automatically allocate voice sounds should they not already exist in memory
No more stupid SFX freeslotting in SOCs
2025-11-26 07:49:24 -05:00
yamamama
e0d4a8e385 Consolidate voice allocation
Skin voices and freeslot voices are no longer separated, with all voices allocating as skin voices would prior.
Due to this, skin voice allocation has been refactored a bit:
- No longer relies on a name string, instead using Dehacked name info hashes and string offsets
- Name string checks now check the voice's Dehacked name; the skin 'tails' will allocate KVOICE_TAILS, and so on
- Overall refactors to fit this new system
2025-11-26 07:49:24 -05:00
yamamama
b7a60c2fea Voice dub freeslotting
Full transparency: the way I set up dub reading from an SOC is Yanderedev-tier garbage.
2025-11-26 07:46:37 -05:00
GenericHeroGuy
67dd2c875f Add altitem flags, fix alt shrink setting indirect cooldown 2025-11-16 15:47:05 +01:00
GenericHeroGuy
911c454fa8 Fix graphics replacements, fix altitem flag not being synced 2025-11-13 16:04:45 +01:00
GenericHeroGuy
f7c1c474e6 Clean up and consolidate all item cooldown code
* The "unique item" flag has moved to kartitem, and split to accomodate
  shields (item slot only, not paper items)
* "BGoneTime" renamed to "CooldownTime"
* indirectitemcooldown has been folded into the existing cooldown system,
  all results with the indirect flag share the highest cooldown time
* Added cooldown debugger to kartdebugdistribution
* Fixed Thunder Shield not resetting cooldown when killing an SPB
2025-11-09 22:00:48 +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
GenericHeroGuy
4986bde9ab Restore the item toggle menu back to working order 2025-11-08 02:15:47 +01:00
GenericHeroGuy
3c64f345fb SOC the items... finally! 2025-11-07 23:23:23 +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
a8609d7204 Un-shitify function.acp1 pointers 2025-10-23 23:26:26 -04:00
toaster
fe01c780fe Fix cup level list behaviour
- Frees existing string data
- Unbinds cup backreference here instead of in p_setup
2025-10-23 20:36:05 +02:00
GenericHeroGuy
96bf11c706 WIP: User-defined time attack presets 2025-10-17 22:00:57 +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
83bc2dc9fb Add support for parsing follower icons 2025-09-24 16:42:22 -04:00
NepDisk
9df538fe32 Merge branch 'blankart-dev' into AirDrop 2025-09-22 15:35:20 -04:00
Anonimus
fb5b72a600 Add bumpspark as a TA modifier
Also a bunch of other things in relation to that
Kart mode has bumpspark off, Blan mode uses "keep drift, lose charge", and Tech has bumpspark enabled
2025-09-22 02:04:03 -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
NepDisk
a171d5a61a Show Music credits across more places. 2025-08-21 16:50:20 -04:00
NepDisk
497fe4bcac Rename sfx->pitch to sfx->flags 2025-08-12 19:47:50 -04:00
NepDisk
6d6c0f54a5 Hardcode slopeboost
Ported and based on the slopeboost from booststack by indev
2025-07-21 21:12:02 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
f004b36dbb Revert 'Merge pull request 'File loading refactor' (#68) from wadstrbuf into blankart-dev'
This reverts commit f72475b557, reversing
changes made to 0c89c85aae.

Sorry Generic this branch is really cool but it needs more work. I shouldn't have merged it too early...
2025-06-30 01:45:01 -04:00
NepDisk
fd4e128641 Account for PRECIP_NONE 2025-06-29 16:48:21 -04:00
NepDisk
51e530f861 Fix weather not properly getting read from SOC 2025-06-29 16:37:10 -04:00
GenericHeroGuy
92c59ddbcb Merge branch 'blankart-dev' into wadstrbuf 2025-06-27 18:46:47 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
GenericHeroGuy
5aaa72e10a Sanitize bgname and ttname 2025-06-25 23:26:32 +02:00
GenericHeroGuy
e987c96651 Sanitize textprompts and cutscenes 2025-06-25 22:49:42 +02:00
NepDisk
02196b622c Allow reading and writing *time variables from SOC and Lua
This should also for simple edits such as extending hyudoro length without janky lua scripts
2025-06-24 10:44:48 -04:00
GenericHeroGuy
3a98364bf8 Use get_number for menu coordinates 2025-06-23 01:08:13 +02:00
GenericHeroGuy
e66cc9c5be Make sticker a style, use mapnames instead of numbers for thumbnail items 2025-06-22 22:44:59 +02:00
GenericHeroGuy
a87d76ed13 Fix scrolling, and uhhhh things related to switching to relative offsets 2025-06-22 22:12:11 +02:00
GenericHeroGuy
83cfe66219 Fix menuitem memory leaks 2025-06-22 01:02:23 +02:00
GenericHeroGuy
af4cb5573b Add drawfill item type and clean up item flags 2025-06-21 02:01:55 +02:00
NepDisk
1d600210fa softcode mapthumbnail drawing 2025-06-20 12:03:37 -04:00
NepDisk
875f1d44b2 More clean up and softcoding 2025-06-20 10:30:55 -04:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
GenericHeroGuy
666b9f4582 Softcode background/scroll/fade, clean up effects logic
Oh and the config save in M_ClearMenus actually works now lmao
2025-06-17 22:23:28 +02:00
GenericHeroGuy
205d1401f6 Start reviving menupres stuff
I may or may not regret this
2025-06-17 00:53:42 +02:00
GenericHeroGuy
11b9cd993d Expanded styles (ITF_THIN2 and IT_RIGHT), rename CvarSlider to Slider 2025-06-16 21:11:14 +02:00
GenericHeroGuy
955da518ca Replace TextHeader and TextWhite with styles 2025-06-15 18:06:52 +02:00