lua_hud.h 1.24 KB
Newer Older
Alam Ed Arias committed
1 2
// SONIC ROBO BLAST 2
//-----------------------------------------------------------------------------
3
// Copyright (C) 2014-2016 by John "JTE" Muniz.
James R. committed
4
// Copyright (C) 2014-2020 by Sonic Team Junior.
Alam Ed Arias committed
5 6 7 8 9 10 11 12 13 14 15
//
// This program is free software distributed under the
// terms of the GNU General Public License, version 2.
// See the 'LICENSE' file for more details.
//-----------------------------------------------------------------------------
/// \file  lua_hud.h
/// \brief HUD enable/disable flags for Lua scripting

enum hud {
	hud_stagetitle = 0,
	hud_textspectator,
LJ Sonic committed
16
	hud_crosshair,
Alam Ed Arias committed
17 18 19 20 21
	// Singleplayer / Co-op
	hud_score,
	hud_time,
	hud_rings,
	hud_lives,
toaster committed
22
	// Match / CTF / Tag / Ringslinger
23 24
	hud_weaponrings,
	hud_powerstones,
25
	hud_teamscores,
Alam Ed Arias committed
26 27 28
	// NiGHTS mode
	hud_nightslink,
	hud_nightsdrill,
toaster committed
29
	hud_nightsspheres,
Alam Ed Arias committed
30 31 32 33 34 35 36 37
	hud_nightsscore,
	hud_nightstime,
	hud_nightsrecords,
	// TAB scores overlays
	hud_rankings,
	hud_coopemeralds,
	hud_tokens,
	hud_tabemblems,
38 39 40
	// Intermission
	hud_intermissiontally,
	hud_intermissionmessages,
Alam Ed Arias committed
41 42 43 44 45 46 47 48 49
	hud_MAX
};

extern boolean hud_running;

boolean LUA_HudEnabled(enum hud option);

void LUAh_GameHUD(player_t *stplyr);
void LUAh_ScoresHUD(void);
toaster committed
50
void LUAh_TitleHUD(void);
51 52
void LUAh_TitleCardHUD(player_t *stplayr);
void LUAh_IntermissionHUD(void);