singe/video/SDL_ConsoleCommands.h
2019-11-11 14:53:02 -06:00

26 lines
497 B
C

#ifndef SDL_ConsoleCommands_H
#define SDL_ConsoleCommands_H
typedef struct CommandInfo_td
{
void (*CommandCallback)(char *Parameters);
char *CommandWord;
struct CommandInfo_td *NextCommand;
} CommandInfo;
#ifdef __cplusplus
extern "C" {
#endif
void CommandExecute(char *BackStrings);
void AddCommand(void (*CommandCallback)(char *Parameters),const char *CommandWord);
void TabCompletion(char* CommandLine, int *location);
void ListCommands();
#ifdef __cplusplus
};
#endif
#endif