Skip to content
Snippets Groups Projects
Select Git revision
  • next default protected
  • better-distance-math
  • master protected
  • movie
  • softcode-info
  • acs
  • spriteinfo-refactor
  • clipmidtex
  • custom-map-names
  • nogravity-trampolines
  • 2214-pre4
  • 2214-pre3
  • just-in-case
  • fix-opengl-parameter-crash
  • 2214-pre2
  • 2214-pre1
  • delfile2
  • cleanupmusic
  • gametype-refactor-1
  • extra-textures
  • SRB2_release_2.2.15
  • SRB2_release_2.2.13
  • SRB2_release_2.2.12
  • SRB2_release_2.2.11
  • SRB2_release_2.2.10
  • SRB2_release_2.2.9
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
40 results

lua_hud.h

Blame
  • spherallic's avatar
    sphere authored
    14295ac7
    History
    lua_hud.h 1.17 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 2014-2016 by John "JTE" Muniz.
    // Copyright (C) 2014-2022 by Sonic Team Junior.
    //
    // 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,
    	hud_crosshair,
    	// Singleplayer / Co-op
    	hud_score,
    	hud_time,
    	hud_rings,
    	hud_lives,
    	// Match / CTF / Tag / Ringslinger
    	hud_weaponrings,
    	hud_powerstones,
    	hud_teamscores,
    	// NiGHTS mode
    	hud_nightslink,
    	hud_nightsdrill,
    	hud_nightsspheres,
    	hud_nightsscore,
    	hud_nightstime,
    	hud_nightsrecords,
    	// TAB scores overlays
    	hud_rankings,
    	hud_coopemeralds,
    	hud_tokens,
    	hud_tabemblems,
    	// Intermission
    	hud_intermissiontally,
    	hud_intermissiontitletext,
    	hud_intermissionmessages,
    	hud_intermissionemeralds,
    	hud_MAX
    };
    
    extern boolean hud_running;
    
    boolean LUA_HudEnabled(enum hud option);
    
    void LUA_SetHudHook(int hook);