Skip to content
Snippets Groups Projects
Select Git revision
  • e3cbdf8fabd34ff8c5cf7fc98fde2d377c6eedff
  • next default protected
  • master
  • acs
  • spriteinfo-refactor
  • 1392-2-2-15-attempting-to-draw-a-hud-graphic-with-the-same-lump-name-as-a-lua-script-crashes-the
  • 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
  • optimize-storewallrange
  • increase-maxconditionsets
  • 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
41 results

lua_libs.h

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    m_argv.h 1.11 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 1993-1996 by id Software, Inc.
    // Copyright (C) 1998-2000 by DooM Legacy Team.
    // Copyright (C) 1999-2014 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  m_argv.h
    /// \brief Command line arguments
    
    #ifndef __M_ARGV__
    #define __M_ARGV__
    
    //
    // MISC
    //
    extern INT32 myargc;
    extern char **myargv;
    
    // Returns the position of the given parameter in the arg list (0 if not found).
    INT32 M_CheckParm(const char *check);
    
    // Pushes all parameters beginning with a +, ex: +map map01
    void M_PushSpecialParameters(void);
    
    // Returns true if there are available parameters.
    boolean M_IsNextParm(void);
    
    // Returns the next parameter after a M_CheckParm, NULL if not found.
    const char *M_GetNextParm(void);
    
    // Finds and loads a response file (@moreargs.txt)
    void M_FindResponseFile(void);
    
    #endif //__M_ARGV__