first
This commit is contained in:
20
source/commands.h
Normal file
20
source/commands.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user