Commit graph

93 commits

Author SHA1 Message Date
minenice55
772ad54efc fix swapping skins mid-game removing restat 2026-01-24 15:44:33 -05:00
NepDisk
ab9368a15b Revert "Fix grow and invin color sticking with previous commit"
This reverts commit a8a5392304.
2025-12-25 18:24:14 -05:00
NepDisk
a8a5392304 Fix grow and invin color sticking with previous commit 2025-12-20 09:32:31 -05:00
NepDisk
3028839f2f Port most of SECRET_SKIN and player->availabilities changes from RR
based on 6d0637d39d
2025-12-11 20:47:52 -05:00
NepDisk
6d6cb09280 Convert most strcmp/stricmp to fastcmp/fasticmp 2025-12-11 13:00:32 -05:00
GenericHeroGuy
e5434e3f14 Update voice definition syntax
* The "default" voice is now only created when a skin uses legacy skinsounds
  so you can use any name you wish for the first voice of a new skin
* Made the syntax stricter; a voice name must be specified, and you cannot
  mix legacy skinsound syntax with voice syntax
* Changed all the DBG_SETUP prints to CONS_WARNING (who even uses DBG_SETUP)
2025-12-03 17:00:56 +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
yamamama
7838c2311f Fix up some bugs introduced 2025-11-30 19:57:55 -05:00
GenericHeroGuy
32cb39b6c8 Cleanup, curbing the paranoia 2025-11-30 23:25:46 +01:00
GenericHeroGuy
aebe13c2d6 Whole-diff garbage collection 2025-11-30 22:25:52 +01:00
yamamama
cd6b73f84f More r_skins cleanup 2025-11-29 21:59:13 -05:00
yamamama
500ccd40bb Remove readkartvoice 2025-11-29 21:57:48 -05: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
3f23e3b00d Use srtlcpy for voice name conversions 2025-11-26 07:49:25 -05:00
yamamama
f48317a045 Fix up dehacked, adjust voice allocation printouts 2025-11-26 07:49:25 -05:00
yamamama
22ff92ea43 Voice -> KartVoice (mostly)
Guest-starring: META_VOICE_ARRAY
2025-11-26 07:49:25 -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
69c50c94d5 Lua support + compat for voices 2025-11-26 07:49:18 -05:00
yamamama
2cbad13f25 Clang the voice assign functions, preserve voice IDs even if objects don't exist 2025-11-26 07:46:37 -05:00
yamamama
32e4080a70 [DEMOVERSION INCREASE] Save/Load voices in replays
Probably should have been a frame-1 thing, but my brain doesn't work that way
2025-11-26 07:46:37 -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
yamamama
69cb50b379 Voice cvars 2025-11-26 07:46:37 -05:00
Anonimus
4b9f9999cd Kartvoice_t
Supercedes the soundsid array and may allow for a dubbing system later on
2025-11-26 07:46:37 -05:00
GenericHeroGuy
13d4c71b74 Fix compiling without DISCORDRPC 2025-11-17 15:53:54 +01:00
NepDisk
d7ed03fab9 Remove M_Memcpy
Was quite literally a wrapper that did nothing.
2025-11-08 02:00:30 -05:00
NepDisk
ff467c676c port over most fixes from srb2classics clang-tidy pr
Based on 939354f483
2025-10-17 10:32:21 -04:00
NepDisk
0ffe70f313 Update Discord RPC
Based on some of the changes from RR.
Accounts for the fact discord does not have tags anymore and makes skin code easier to manage
2025-10-17 09:15:34 -04:00
NepDisk
76257fed20 Prevent rival name code from overflowing 2025-10-16 11:17:07 -04:00
NepDisk
1d6ad4415a Move rival insertion to R_ProcessPatchableFields 2025-10-16 11:02:34 -04:00
GenericHeroGuy
3ac73cf9c7 Fix MK64 chars displaying incorrect sprite frames 2025-10-09 22:07:02 +02:00
NepDisk
9c361fe3ff Add qs22j header to r_skins 2025-09-11 10:38:43 -04:00
NepDisk
e4ef793be4 Use qs22j instead of qsort 2025-09-11 16:00:50 +02:00
minenice55
7c4d9f7dc8 Merge branch 'blankart-dev' into mine-grid-css-2021 2025-09-10 14:54:21 -04:00
minenice55
c82557529e hide bar-style stat backer in grid mode 2025-09-09 14:04:00 -04:00
minenice55
5b18297c68 prefcolor sorting 2025-09-08 13:21:10 -04:00
minenice55
7f12437c76 implement sorting for grid CSS 2025-09-08 13:15:33 -04:00
Wumbo
b0e25dcc9c Unify death animations and make more accurate to SRB2Kart 2025-09-07 19:06:37 -04:00
GenericHeroGuy
75296f00fd Fix compat skins crashing if the sprites are at the end of the WAD 2025-08-20 17:34:30 +02:00
NepDisk
497fe4bcac Rename sfx->pitch to sfx->flags 2025-08-12 19:47:50 -04:00
GenericHeroGuy
60abb9f010 Deduplicate frame2spr2 2025-08-02 21:54:50 +02:00
GenericHeroGuy
bf7abee652 Properly set lastlump when loading skins from compatmode files 2025-07-28 23:48:12 +02:00
NepDisk
1118b67932 Mention in console if skin is loaded in compat mode and add 3d model print as well 2025-07-21 17:56:56 -04:00
GenericHeroGuy
06f5f8cb86 Add support for Kart player models
With just a little offcamera dearrowing
2025-07-21 22:24:15 +02:00
GenericHeroGuy
76614086c6 Fix that one wadnum check I forgot about 2025-07-14 16:12:09 +02: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
GenericHeroGuy
be35926843 Add W_CheckNumForMarkers, clean up lump validation
Fixes many cases of invalid startlumps, so validation is now actually done
only when PARANOIA is defined
The W_CheckNumFor* functions allow startlump == numlumps, to make iteration
less frustrating
2025-06-27 17:44:34 +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
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00