mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Allow Lua to disable the emeralds that appear in the Special Stage intermission.
This commit is contained in:
parent
d71b99a56b
commit
6c4e7e13e0
3 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,7 @@ enum hud {
|
|||
// Intermission
|
||||
hud_intermissiontally,
|
||||
hud_intermissionmessages,
|
||||
hud_intermissionemeralds,
|
||||
hud_MAX
|
||||
};
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ static const char *const hud_disable_options[] = {
|
|||
|
||||
"intermissiontally",
|
||||
"intermissionmessages",
|
||||
"intermissionemeralds",
|
||||
NULL};
|
||||
|
||||
enum hudinfo {
|
||||
|
|
|
@ -638,6 +638,7 @@ void Y_IntermissionDrawer(void)
|
|||
|
||||
// draw the emeralds
|
||||
//if (intertic & 1)
|
||||
if (LUA_HudEnabled(hud_intermissionemeralds))
|
||||
{
|
||||
boolean drawthistic = !(ALL7EMERALDS(emeralds) && (intertic & 1));
|
||||
INT32 emeraldx = 152 - 3*28;
|
||||
|
|
Loading…
Reference in a new issue