Commit graph

202 commits

Author SHA1 Message Date
NepDisk
dcdbd049e7 Split votescreen stuff into its own file 2026-03-28 02:18:11 -04:00
NepDisk
31d8e671cb Comment out cases of "comparison is always true" 2026-03-27 23:54:58 -04:00
NepDisk
045e6170c1 Create and use mapnum enumtype 2026-03-27 13:37:36 -04:00
NepDisk
820db79d18 Raise most map numbers to UINT16
I've probably missed a few...
2026-03-26 14:55:20 -04:00
NepDisk
18064a5fab v1 extension backcompat: rotated patch caching 2026-03-24 10:00:50 -04:00
NepDisk
dce648a641 Colormap lib fixes from newer SRB2 and revert 25->255 expansion 2026-03-23 01:35:27 -04:00
yamamama
eaaf63f466 Are you fucking kidding me 2026-03-17 15:55:32 -04:00
NepDisk
d38b88fbb9 Warning cleanup 2026-03-07 22:07:15 -05:00
NepDisk
e96b1bfdce Make flags field of timers act like a bitfield and add new flags 2026-02-13 23:15:42 -05:00
Indev
cf1ac5f864 Expose item timers to lua 2026-02-13 22:29:26 -05:00
NepDisk
14bf52af43 Combine vid.dupx and vid.dupy 2026-02-08 11:25:09 -05:00
NepDisk
fb9f0dc0de Merge branch 'next' into heavyairdrop 2026-02-06 14:28:07 -05:00
yamamama
ac280f78f3 Refactor v.getDrawInfo
Pushes draw info as a Lua table instead of a set of integers, and also includes the new datafields
2026-02-04 10:38:06 -05:00
yamamama
d880abe8ea Clean up and make safe some hudcode
* Un-shadowed the two hudtrans variables
* Zero-initialized the trackingResult_t in K_getRoulettePositionForTrackingPlayer
* Zero-initialized the drawinfo_t and rouletteinfo_t in libd_getDrawInfo
* Removed really gross trailing whitespaces from ported RadioRacers code
2026-02-04 10:34:14 -05:00
yamamama
305ef7b9a5 Refactor v.getDrawInfo
Pushes draw info as a Lua table instead of a set of integers, and also includes the new datafields
2026-02-03 21:43:08 -05:00
yamamama
ed5b67c399 RadioRacers' player-tracking roulette
Original commit: f79b5cc51a
2026-02-03 16:40:53 -05:00
GenericHeroGuy
bcef031c85 WIP affine patch drawing
will probably invert the matrix
2025-12-31 15:40:35 +01:00
Indev
7af70c581a Add itemtimers and lapsplits into list of lua-togglable hud items 2025-12-24 01:41:07 +03:00
GenericHeroGuy
bcb0eb95cc More fastcmp cleanup 2025-12-11 21:58:37 +01:00
Indev
ad58341eb2 Add 'time per frame' argument for hud.setVoteBackground 2025-12-03 12:39:12 -05:00
Indev
83db0b1025 Expose cameras to lua outside of hud hooks 2025-12-01 13:51:21 -05:00
Anonimus
8f4c710fd6 Make the multi-item ALT indicator use separate patches
Minimize hardcode offsets
2025-11-09 00:31:22 -05:00
Anonimus
d10b01e4a3 Display the ALT indicator more consistently in roulettes and item toggles
Doesn't account for unique alt item patches... yet
2025-11-08 20:54:44 -05:00
GenericHeroGuy
2546729b0c Custom item papersprites 2025-11-08 23:46:16 +01:00
NepDisk
bad8786629 Show Stats on the HUD 2025-10-22 17:46:04 -04:00
NepDisk
74973764e2 Update Draft and Timers to support offsets and use stplyrnum more 2025-09-26 21:31:44 -04:00
NepDisk
1edc6b736d Fix Colormap compat 2025-09-11 10:33:13 -04:00
NepDisk
1a9dfea86d Compat for Kart v1 TC modes 2025-09-11 09:46:18 -04:00
NepDisk
07b49c5f9a Don't SHORT() stuff that doesn't need it for HUD code 2025-09-02 15:40:15 -04:00
NepDisk
e052cca8b7 Readd static assert 2025-08-24 11:03:44 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
8e94a8c9fd Vote screen visual refactor port from saturn
Thanks to Alug as per usual
2025-06-26 12:07:22 -04:00
NepDisk
9d864729db Port v.cachePatch second parameter for rotation from Classic
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2662
2025-06-02 11:23:51 -04:00
NepDisk
d8e1083429 Refactor some HUD elements and bring colorized hud support 2025-05-05 17:51:39 -04:00
NepDisk
15deb55e96 Acutally fix this. 2025-04-13 11:20:05 -04:00
NepDisk
f2bb124ab7 Fix TSR in compatmode 2025-04-13 10:50:36 -04:00
NepDisk
56d1ebb490 HUD drawing code clean up and add rings and lives hud toggles for lua 2025-03-14 22:22:25 -04:00
GenericHeroGuy
3928a98d72 Properly fix runaway cliprects so they don't interfere with other hooks 2025-02-22 19:38:35 +01:00
hayaunderscore
3e1e1245ce Expose V_SetClipRect and V_ClearClipRect to lua
Via the `v.setClipRect` and `v.clearClipRect` functions respectively.
2025-02-22 01:49:28 +01:00
NepDisk
0fcf7c7dbd Port small minimap icons and minimap nametags from saturn/snowy, add minimap angle reticle toggle 2025-02-20 20:32:18 -05:00
GenericHeroGuy
0838417ebd Fix v.drawOnMinimap 2025-02-19 01:11:13 +01:00
GenericHeroGuy
e9795f5271 Expose map thumbnails and minimaps to Lua
...

LET'S FUCKING GOOOOOOOOOOOOOOOOOOOOOOOOO
2025-02-12 03:24:11 +01:00
GenericHeroGuy
034d9df183 Fix Lua HUD interpolation 2025-02-09 20:47:49 -05:00
NepDisk
74eb7643fd Animated vote screens support 2025-02-09 18:45:53 -05:00
hayaunderscore
e694b38878 Add lua hud interpolation
by GenericHeroGuy. https://github.com/Indev450/SRB2Kart-Saturn/pull/130
2025-02-09 18:45:53 -05:00
SteelT
14e5796cf2 Support reading PICTURE/MINIMAP/ENCORE/TWEAKMAP lumps from a map resource
This supersedes the header-based method of fetching those lumps.

(G: a LOT of creative liberties... but i'd rather this thing compiles)
2025-02-07 02:41:06 +01:00
GenericHeroGuy
390fa8c30f Assorted Lua fixes, part 1 2025-01-28 02:29:43 +01:00
GenericHeroGuy
f3176ed7d0 Do palette remapping for drawFill and fadeScreen 2025-01-24 18:25:32 +01:00
NepDisk
b56b79db15 Fix lua offset for hud drawables 2024-10-09 11:50:59 -04:00
Sal
1d8475a958 Merge branch 'hooklib-port' into 'master'
Hooklib refactor ported and (mostly) squashed

See merge request KartKrew/Kart!662
2024-07-31 02:30:20 -04:00