1 // SONIC ROBO BLAST 2
2 //-----------------------------------------------------------------------------
3 // Copyright (C) 2014-2016 by John "JTE" Muniz.
4 // Copyright (C) 2014-2020 by Sonic Team Junior.
5 //
6 // This program is free software distributed under the
7 // terms of the GNU General Public License, version 2.
8 // See the 'LICENSE' file for more details.
9 //-----------------------------------------------------------------------------
10 /// \file  lua_hud.h
11 /// \brief HUD enable/disable flags for Lua scripting
12 
13 enum hud {
14 	hud_stagetitle = 0,
15 	hud_textspectator,
16 	hud_crosshair,
17 	// Singleplayer / Co-op
18 	hud_score,
19 	hud_time,
20 	hud_rings,
21 	hud_lives,
22 	// Match / CTF / Tag / Ringslinger
23 	hud_weaponrings,
24 	hud_powerstones,
25 	hud_teamscores,
26 	// NiGHTS mode
27 	hud_nightslink,
28 	hud_nightsdrill,
29 	hud_nightsspheres,
30 	hud_nightsscore,
31 	hud_nightstime,
32 	hud_nightsrecords,
33 	// TAB scores overlays
34 	hud_rankings,
35 	hud_coopemeralds,
36 	hud_tokens,
37 	hud_tabemblems,
38 	// Intermission
39 	hud_intermissiontally,
40 	hud_intermissionmessages,
41 	hud_MAX
42 };
43 
44 extern boolean hud_running;
45 
46 boolean LUA_HudEnabled(enum hud option);
47 
48 void LUAh_GameHUD(player_t *stplyr);
49 void LUAh_ScoresHUD(void);
50 void LUAh_TitleHUD(void);
51 void LUAh_TitleCardHUD(player_t *stplayr);
52 void LUAh_IntermissionHUD(void);
53