Kart-Public/src/lua_hud.h

40 lines
1.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,
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,
hud_minirankings, // Rankings to the left
hud_battlebumpers, // mini rankings battle bumpers.
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,
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);