From 7a9e81828ae4b9ab8e0f5059e8d8ded369397b1c Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 4 Dec 2025 15:41:20 +0100 Subject: [PATCH 1/2] forgot to remove this oops --- src/r_bsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_bsp.cpp b/src/r_bsp.cpp index a256f69b2..55a475c9d 100644 --- a/src/r_bsp.cpp +++ b/src/r_bsp.cpp @@ -515,7 +515,7 @@ const INT32 checkcoord[12][4] = static boolean R_CheckBBox(const fixed_t *bspcoord) { angle_t angle1, angle2; - INT32 sx1, sx2, boxpos; + INT32 sx1, sx2; const INT32* check; // Find the corners of the box From ad096ccd42ed54df75fa8038bfe71f8b573899d1 Mon Sep 17 00:00:00 2001 From: Indev Date: Thu, 4 Dec 2025 19:21:25 +0300 Subject: [PATCH 2/2] Update LUASTUFF.md --- LUASTUFF.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/LUASTUFF.md b/LUASTUFF.md index 28e77bed8..fcc9f313a 100644 --- a/LUASTUFF.md +++ b/LUASTUFF.md @@ -13,10 +13,12 @@ Mainly for use in visual-only addons like secondcolor. **Not netsafe**. Returns player's current sliptide roll angle, taking sliptideroll cvar value into account. -## hud.setVoteBackground(name) +## hud.setVoteBackground(name[, time\_per\_frame]) Changes vote background texture prefix (game looks for PREFIX + "W" or "C" (depends on resolution) + FRAME\_NUMBER). +If time\_per\_frame is set, each frame will last this amount of tics, default value is 2 + ## hud.add(fn, "vote") and hud.add(fn, "intermission") Hud hooks for vote screen and intermission screen. They only get drawer (`v`) as argument. @@ -120,6 +122,11 @@ v.interpLatch(false) ``` When using a custom string drawer, enable this mode to avoid interpolation artifacting when the string changes. +## cameras[] global array + +Local player cameras that can be accessed outside of hud hooks. +`#cameras` will return amount of available cameras. (0 on dedicated server, 1 with 1 player, 4 with 4p splitscreen, etc) + ## mobj.spritexscale, mobj.spriteyscale, mobj.spritexoffset, mobj.spriteyoffset, mobj.rollangle, mobj.sloperoll, mobj.rollmodel fields Same fields as in SRB2 2.2