Skip to content
Snippets Groups Projects
Select Git revision
  • 16569b4e9a2abd5ed8be0f8c293ea800b92b5ef6
  • next default protected
  • movie
  • movie-netcode-fixes
  • next-test
  • master protected
  • softcode-info
  • acs
  • 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
41 results

i_system.h

Blame
  • m_cheat.h 2.01 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 1993-1996 by id Software, Inc.
    // Copyright (C) 1998-2000 by DooM Legacy Team.
    // Copyright (C) 1999-2016 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_cheat.h
    /// \brief Cheat code checking
    
    #ifndef __M_CHEAT__
    #define __M_CHEAT__
    
    #include "d_event.h"
    #include "d_player.h"
    #include "p_mobj.h"
    #include "command.h"
    
    boolean cht_Responder(event_t *ev);
    void cht_Init(void);
    
    //
    // ObjectPlace
    //
    void Command_ObjectPlace_f(void);
    void Command_Writethings_f(void);
    
    extern consvar_t cv_opflags, cv_mapthingnum, cv_speed;
    //extern consvar_t cv_snapto, cv_grid;
    
    extern boolean objectplacing;
    extern mobjtype_t op_currentthing;
    extern UINT16 op_currentdoomednum;
    extern UINT32 op_displayflags;
    
    boolean OP_FreezeObjectplace(void);
    void OP_ResetObjectplace(void);
    void OP_NightsObjectplace(player_t *player);
    void OP_ObjectplaceMovement(player_t *player);
    
    //
    // Other cheats
    //
    void Command_CheatNoClip_f(void);
    void Command_CheatGod_f(void);
    void Command_CheatNoTarget_f(void);
    void Command_Savecheckpoint_f(void);
    void Command_Getallemeralds_f(void);
    void Command_Resetemeralds_f(void);
    void Command_Setrings_f(void);
    void Command_Setspheres_f(void);
    void Command_Setlives_f(void);
    void Command_Setcontinues_f(void);
    void Command_Devmode_f(void);
    void Command_Scale_f(void);
    void Command_Gravflip_f(void);
    void Command_Hurtme_f(void);
    void Command_JumpToAxis_f(void);
    void Command_Charability_f(void);
    void Command_Charspeed_f(void);
    void Command_Teleport_f(void);
    void Command_RTeleport_f(void);
    void Command_Skynum_f(void);
    void Command_Weather_f(void);
    #ifdef _DEBUG
    void Command_CauseCfail_f(void);
    #endif
    #if defined(HAVE_BLUA) && defined(LUA_ALLOW_BYTECODE)
    void Command_Dumplua_f(void);
    #endif
    
    #endif