Commit graph

14 commits

Author SHA1 Message Date
yamamama
d417033fb6 Year update attempt 2 2026-01-01 14:45:23 -05:00
yamamama
a8b47436dd We've made a full rotation around the sun
I'm sure I've missed things; this was me just grepping instances of "2025" and adding the necessary changes
2026-01-01 13:32:38 -05:00
GenericHeroGuy
51fbf12903 Start by clearing out a bunch of warnings 2025-12-28 02:00:47 +01:00
GenericHeroGuy
bcb0eb95cc More fastcmp cleanup 2025-12-11 21:58:37 +01:00
GenericHeroGuy
241030e080 You're supposed to do it like this actually 2025-12-01 22:54:41 +01:00
GenericHeroGuy
797b0adecd Whoops, forgot about voices still being writable from kartvoice_t
which means kartvoice_t no longer has any writable fields, so gut the setter
2025-12-01 22:46:26 +01:00
GenericHeroGuy
891459b53b Change all voice arrays to be exposed as arrays in Lua
For the sake of consistency and future expansion!
Also expose mobj->voice (read-only for now, hopefully), and fix missing
NOSET for player->voice_id
2025-12-01 22:29:34 +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
GenericHeroGuy
f47e123c8b Declaration following a label is a C23 extension
No newline at EOF is UB
2025-11-26 07:49:25 -05:00
yamamama
46c7ae33ee Introduce voice arrays
Better than relying on pushing and pulling a bunch of fucking Lua table structs; what am I doing here?
2025-11-26 07:49:25 -05:00
yamamama
fbbb5c9343 Lua voice allocation and setters
Idiot proofed these as much as I could; setting arrays in this language is hell
2025-11-26 07:49:24 -05:00
yamamama
27c2c68a99 Lua kartvoice_t now routes to the relevant skin and sfxinfo structs 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
69c50c94d5 Lua support + compat for voices 2025-11-26 07:49:18 -05:00