2014-03-15 16:59:03 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
2016-05-18 00:42:11 +00:00
|
|
|
// Copyright (C) 2014-2016 by John "JTE" Muniz.
|
2020-02-19 22:08:45 +00:00
|
|
|
// Copyright (C) 2014-2020 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
|
2016-08-18 23:06:12 +00:00
|
|
|
hud_weaponrings,
|
|
|
|
hud_powerstones,
|
2019-12-16 20:58:00 +00:00
|
|
|
hud_teamscores,
|
2014-03-15 16:59:03 +00:00
|
|
|
// NiGHTS mode
|
|
|
|
hud_nightslink,
|
|
|
|
hud_nightsdrill,
|
2018-06-03 21:41:54 +00:00
|
|
|
hud_nightsspheres,
|
2014-03-15 16:59:03 +00:00
|
|
|
hud_nightsscore,
|
|
|
|
hud_nightstime,
|
|
|
|
hud_nightsrecords,
|
|
|
|
// TAB scores overlays
|
|
|
|
hud_rankings,
|
|
|
|
hud_coopemeralds,
|
|
|
|
hud_tokens,
|
|
|
|
hud_tabemblems,
|
2019-12-18 21:09:56 +00:00
|
|
|
// Intermission
|
|
|
|
hud_intermissiontally,
|
|
|
|
hud_intermissionmessages,
|
2014-03-15 16:59:03 +00:00
|
|
|
hud_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
extern boolean hud_running;
|
|
|
|
|
|
|
|
boolean LUA_HudEnabled(enum hud option);
|
|
|
|
|
|
|
|
void LUAh_GameHUD(player_t *stplyr);
|
|
|
|
void LUAh_ScoresHUD(void);
|
2017-05-13 21:38:06 +00:00
|
|
|
void LUAh_TitleHUD(void);
|
2019-12-18 21:09:56 +00:00
|
|
|
void LUAh_TitleCardHUD(player_t *stplayr);
|
|
|
|
void LUAh_IntermissionHUD(void);
|