29 #ifndef __CMDSYSTEM_H__
30 #define __CMDSYSTEM_H__
76 virtual void Init(
void ) = 0;
111 template<
int min,
int max>
113 template<const
char **
strings>
143 for (
int i = 0; strings[
i];
i++ ) {
virtual void SetupReloadEngine(const idCmdArgs &args)=0
static void ArgCompletion_MapName(const idCmdArgs &args, void(*callback)(const char *s))
void(* argCompletion_t)(const idCmdArgs &args, void(*callback)(const char *s))
static void ArgCompletion_String(const idCmdArgs &args, void(*callback)(const char *s))
static void ArgCompletion_ModelName(const idCmdArgs &args, void(*callback)(const char *s))
virtual ~idCmdSystem(void)
static void ArgCompletion_DemoName(const idCmdArgs &args, void(*callback)(const char *s))
static void ArgCompletion_Decl(const idCmdArgs &args, void(*callback)(const char *s))
virtual void ExecuteCommandBuffer(void)=0
virtual void RemoveCommand(const char *cmdName)=0
GLuint GLuint GLsizei GLenum type
virtual void ArgCompletion(const char *cmdString, void(*callback)(const char *s))=0
virtual void RemoveFlaggedCommands(int flags)=0
static void ArgCompletion_SaveGame(const idCmdArgs &args, void(*callback)(const char *s))
virtual void BufferCommandText(cmdExecution_t exec, const char *text)=0
virtual void ArgCompletion_FolderExtension(const idCmdArgs &args, void(*callback)(const char *s), const char *folder, bool stripFolder,...)=0
static void ArgCompletion_Boolean(const idCmdArgs &args, void(*callback)(const char *s))
virtual void ArgCompletion_DeclName(const idCmdArgs &args, void(*callback)(const char *s), int type)=0
virtual void CommandCompletion(void(*callback)(const char *s))=0
static void ArgCompletion_ImageName(const idCmdArgs &args, void(*callback)(const char *s))
static void ArgCompletion_SoundName(const idCmdArgs &args, void(*callback)(const char *s))
void(* cmdFunction_t)(const idCmdArgs &args)
static void ArgCompletion_Integer(const idCmdArgs &args, void(*callback)(const char *s))
static void ArgCompletion_FileName(const idCmdArgs &args, void(*callback)(const char *s))
virtual bool PostReloadEngine(void)=0
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
static void ArgCompletion_ConfigName(const idCmdArgs &args, void(*callback)(const char *s))
const char * Argv(int arg) const
char * va(const char *fmt,...)
static void ArgCompletion_VideoName(const idCmdArgs &args, void(*callback)(const char *s))
virtual void Shutdown(void)=0
virtual void Init(void)=0
virtual void AddCommand(const char *cmdName, cmdFunction_t function, int flags, const char *description, argCompletion_t argCompletion=NULL)=0
virtual void BufferCommandArgs(cmdExecution_t exec, const idCmdArgs &args)=0