clean up api related functions, and change version to 1.3
This commit is contained in:
24
functions.h
24
functions.h
@ -1,10 +1,26 @@
|
||||
#pragma once
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
HMODULE LogHandle;
|
||||
|
||||
namespace Game
|
||||
{
|
||||
//void Testprint();
|
||||
void clanTagThread();
|
||||
std::string configfile();
|
||||
|
||||
void addCommands();
|
||||
|
||||
struct cmd_function_t
|
||||
{
|
||||
cmd_function_t* next;
|
||||
const char* name;
|
||||
const char* autoCompleteDir;
|
||||
const char* autoCompleteExt;
|
||||
void(__cdecl* function)();
|
||||
int flags;
|
||||
};
|
||||
|
||||
|
||||
typedef void (*Cmd_AddCommand_t)(const char* cmdName, void (*function)(), cmd_function_t* allocedCmd);
|
||||
extern Cmd_AddCommand_t Cmd_AddCommand;
|
||||
|
||||
typedef char* (*Cmd_Argv_t)(int arg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user