Skip to content
Snippets Groups Projects
Select Git revision
  • b93cb1b65ab4a27b57c951b8c3e5af5ce8f80426
  • next default protected
  • escape-chars-in-tokenizer
  • remap-fixes
  • hub-gametype
  • legacy-drawmasked-port
  • floorsprite-clipping
  • custom-map-names
  • zip-dir-refactor
  • r-draw8-cpp-squashed
  • hwportals
  • master
  • fix-slope-plane-distortion
  • fixes-for-2190
  • text-prompt-features
  • wipeloop-rebased
  • secondcolor-merged
  • i_video-refactor-port
  • rotation2
  • fading-callback-thread-fix-master
  • tc
21 results

sdlmain.h

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    lua_hud.h 1.11 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 2014-2016 by John "JTE" Muniz.
    // Copyright (C) 2014-2018 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,
    	// Singleplayer / Co-op
    	hud_score,
    	hud_time,
    	hud_rings,
    	hud_lives,
    	// Match / CTF / Tag / Ringslinger
    	hud_weaponrings,
    	hud_powerstones,
    	// 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,
    	hud_MAX
    };
    
    extern boolean hud_running;
    
    boolean LUA_HudEnabled(enum hud option);
    
    void LUAh_GameHUD(player_t *stplyr);
    void LUAh_ScoresHUD(void);
    void LUAh_TitleHUD(void);
    void LUAh_TitleCardHUD(player_t *stplyr);