Some more intermission features for Lua
totally not using this to create something
- Allows Lua to disable the emeralds in the Special Stage intermission from rendering.
- Allows Lua to disable the title card font text that renders in Co-op and Special Stage intermissions.,
- Sends
IntermissionThinker
andintermission
hud hooks thestagefailed
variable (always false outside of Special Stages) - This kinda stretches the definition of "intermission" feature, but I also added level title font drawing capabilities too, with a height and width function to boot.
Edited by Golden
Merge request reports
Activity
Filter activity
added Lua label
added 1 commit
- d89e895f - Allow Lua to stop the intermission level title strings from drawing
added 1 commit
- d6b1df58 - Send IntermissionThinker and intermission hud hooks `stagefailed`.
Before anyone asks why a
lua_gettop(gL) == 1
check isn't in theIntermissionThinker
hook, if I had the check it'd push the hooked function on the first and third calls.As it is setup right now there are no apparent issues with how
stagefailed
is read from theIntermissionThinker
hook; I've tested it and it always seems to return the correct boolean without issue.Yes, I also tested with multiple hooks.
Edited by Goldenadded 1 commit
- 82238447 - Allow Lua to draw level title strings, and get the width and height of what would be drawn
added Feature label
added 258 commits
-
82238447...d71b99a5 - 254 commits from branch
STJr:next
- 6c4e7e13 - Allow Lua to disable the emeralds that appear in the Special Stage intermission.
- aa54a04c - Allow Lua to stop the intermission level title strings from drawing
- 43c21edc - Send IntermissionThinker and intermission hud hooks `stagefailed`.
- e7156db7 - Allow Lua to draw level title strings, and get the width and height of what would be drawn
Toggle commit list-
82238447...d71b99a5 - 254 commits from branch
mentioned in commit 5a91f332
changed milestone to %2.2.10
mentioned in merge request !1532 (merged)
Please register or sign in to reply