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.
|
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,
|
2018-10-30 17:24:03 +00:00
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
hud_time,
|
2018-10-30 17:24:03 +00:00
|
|
|
hud_gametypeinfo,
|
|
|
|
hud_minimap,
|
|
|
|
hud_item,
|
|
|
|
hud_position,
|
2020-04-28 15:24:33 +00:00
|
|
|
hud_check, // "CHECK" f-zero indicator
|
2018-10-31 14:18:05 +00:00
|
|
|
hud_minirankings, // Rankings to the left
|
2019-01-13 13:40:48 +00:00
|
|
|
hud_battlebumpers, // mini rankings battle bumpers.
|
2019-02-17 22:39:00 +00:00
|
|
|
hud_battlefullscreen, // battle huge text (WAIT, WIN, LOSE ...) + karma comeback time
|
|
|
|
hud_battlecomebacktimer, // comeback timer in battlefullscreen. separated for ease of use.
|
2018-10-30 17:24:03 +00:00
|
|
|
hud_wanted,
|
|
|
|
hud_speedometer,
|
2019-01-13 13:40:48 +00:00
|
|
|
hud_freeplay,
|
2018-10-30 17:24:03 +00:00
|
|
|
hud_rankings, // Tab rankings
|
|
|
|
|
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);
|