clean up api related functions, and change version to 1.3

This commit is contained in:
INSANEMODE
2020-11-19 10:00:24 -06:00
parent 8834f75f63
commit 4d1f8fe244
9 changed files with 459 additions and 141 deletions

View File

@ -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);
}