21 lines
327 B
C
21 lines
327 B
C
#ifndef COMMANDS_H
|
|
#define COMMANDS_H
|
|
|
|
|
|
typedef void (*nomi_command_func)(void* ptr);
|
|
|
|
|
|
struct nomi_command {
|
|
nomi_command_func func;
|
|
const char* command;
|
|
};
|
|
|
|
void InitCommands();
|
|
|
|
|
|
void AddCommand(nomi_command_func func, const char* command);
|
|
unsigned char CommandRun(char* command, int size);
|
|
|
|
|
|
#endif // !COMMANDS_H
|