SRB2/src/lua_hud.h

45 lines
1 KiB
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
// SONIC ROBO BLAST 2
//-----------------------------------------------------------------------------
// Copyright (C) 2014-2016 by John "JTE" Muniz.
2018-11-25 12:35:38 +00:00
// Copyright (C) 2014-2018 by Sonic Team Junior.
2014-03-15 16:59:03 +00:00
//
// 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,
// Singleplayer / Co-op
hud_score,
hud_time,
hud_rings,
hud_lives,
2016-08-18 23:07:32 +00:00
// Match / CTF / Tag / Ringslinger
hud_weaponrings,
hud_powerstones,
2014-03-15 16:59:03 +00:00
// NiGHTS mode
hud_nightslink,
hud_nightsdrill,
hud_nightsrings,
hud_nightsscore,
hud_nightstime,
hud_nightsrecords,
// TAB scores overlays
hud_rankings,
hud_coopemeralds,
hud_tokens,
hud_tabemblems,
hud_MAX
};
extern boolean hud_running;
boolean LUA_HudEnabled(enum hud option);
void LUAh_GameHUD(player_t *stplyr);
void LUAh_ScoresHUD(void);