Skip to content
Snippets Groups Projects
Select Git revision
  • c879c58cada6bccb4433cbcff8277db9677622e5
  • next default protected
  • fix-1247
  • extra-textures
  • clipmidtex
  • lessthan3emeraldshards
  • acs
  • softcode-info
  • lua-gfx-2
  • better-player-states
  • lua-debug-library
  • fix-equation-slopes-near-edges
  • fix-1215
  • quick-intro
  • any-resolution
  • gametype-refactor-player-spawns
  • custom-teams
  • gametype-refactor-1
  • custom-map-names
  • action-args
  • master
  • 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
  • SRB2_release_2.1.20
41 results

depcomp

  • Forked from STJr / SRB2
    Source project has a limited visibility.
    lua_libs.h 2.46 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 2012-2016 by John "JTE" Muniz.
    // Copyright (C) 2012-2020 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_libs.h
    /// \brief libraries for Lua scripting
    
    extern lua_State *gL;
    
    #define LREG_VALID "VALID_USERDATA"
    #define LREG_EXTVARS "LUA_VARS"
    #define LREG_STATEACTION "STATE_ACTION"
    #define LREG_ACTIONS "MOBJ_ACTION"
    
    #define META_STATE "STATE_T*"
    #define META_MOBJINFO "MOBJINFO_T*"
    #define META_SFXINFO "SFXINFO_T*"
    #define META_SPRITEINFO "SPRITEINFO_T*"
    #define META_PIVOTLIST "SPRITEFRAMEPIVOT_T[]"
    #define META_FRAMEPIVOT "SPRITEFRAMEPIVOT_T*"
    
    #define META_MOBJ "MOBJ_T*"
    #define META_MAPTHING "MAPTHING_T*"
    
    #define META_PLAYER "PLAYER_T*"
    #define META_TICCMD "TICCMD_T*"
    #define META_SKIN "SKIN_T*"
    #define META_POWERS "PLAYER_T*POWERS"
    #define META_SOUNDSID "SKIN_T*SOUNDSID"
    
    #define META_VERTEX "VERTEX_T*"
    #define META_LINE "LINE_T*"
    #define META_SIDE "SIDE_T*"
    #define META_SUBSECTOR "SUBSECTOR_T*"
    #define META_SECTOR "SECTOR_T*"
    #define META_FFLOOR "FFLOOR_T*"
    #ifdef HAVE_LUA_SEGS
    #define META_SEG "SEG_T*"
    #define META_NODE "NODE_T*"
    #endif
    #ifdef ESLOPE
    #define META_SLOPE "PSLOPE_T*"
    #define META_VECTOR2 "VECTOR2_T"
    #define META_VECTOR3 "VECTOR3_T"
    #endif
    #define META_MAPHEADER "MAPHEADER_T*"
    
    #define META_CVAR "CONSVAR_T*"
    
    #define META_SECTORLINES "SECTOR_T*LINES"
    #define META_SIDENUM "LINE_T*SIDENUM"
    #ifdef HAVE_LUA_SEGS
    #define META_NODEBBOX "NODE_T*BBOX"
    #define META_NODECHILDREN "NODE_T*CHILDREN"
    #endif
    
    #define META_BBOX "BOUNDING_BOX"
    
    #define META_HUDINFO "HUDINFO_T*"
    #define META_PATCH "PATCH_T*"
    #define META_COLORMAP "COLORMAP"
    #define META_CAMERA "CAMERA_T*"
    
    #define META_ACTION "ACTIONF_T*"
    
    #define META_LUABANKS "LUABANKS[]*"
    
    boolean luaL_checkboolean(lua_State *L, int narg);
    
    int LUA_EnumLib(lua_State *L);
    int LUA_SOCLib(lua_State *L);
    int LUA_BaseLib(lua_State *L);
    int LUA_MathLib(lua_State *L);
    int LUA_HookLib(lua_State *L);
    int LUA_ConsoleLib(lua_State *L);
    int LUA_InfoLib(lua_State *L);
    int LUA_MobjLib(lua_State *L);
    int LUA_PlayerLib(lua_State *L);
    int LUA_SkinLib(lua_State *L);
    int LUA_ThinkerLib(lua_State *L);
    int LUA_MapLib(lua_State *L);
    int LUA_BlockmapLib(lua_State *L);
    int LUA_HudLib(lua_State *L);