mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Cleanup LUAh_NetArchiveHook prototype mess.
This commit is contained in:
parent
0bdc976d50
commit
9d6e75ae4f
3 changed files with 1 additions and 4 deletions
|
@ -24,8 +24,6 @@
|
||||||
#include "lua_hook.h"
|
#include "lua_hook.h"
|
||||||
#include "lua_hud.h" // hud_running errors
|
#include "lua_hud.h" // hud_running errors
|
||||||
|
|
||||||
void LUAh_NetArchiveHook(lua_CFunction archFunc);
|
|
||||||
|
|
||||||
static UINT8 hooksAvailable[(hook_MAX/8)+1];
|
static UINT8 hooksAvailable[(hook_MAX/8)+1];
|
||||||
|
|
||||||
const char *const hookNames[hook_MAX+1] = {
|
const char *const hookNames[hook_MAX+1] = {
|
||||||
|
|
|
@ -915,8 +915,6 @@ static void UnArchiveTables(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LUAh_NetArchiveHook(lua_CFunction archFunc);
|
|
||||||
|
|
||||||
void LUA_Step(void)
|
void LUA_Step(void)
|
||||||
{
|
{
|
||||||
if (!gL)
|
if (!gL)
|
||||||
|
|
|
@ -55,6 +55,7 @@ void Got_Luacmd(UINT8 **cp, INT32 playernum); // lua_consolelib.c
|
||||||
void LUA_CVarChanged(const char *name); // lua_consolelib.c
|
void LUA_CVarChanged(const char *name); // lua_consolelib.c
|
||||||
int Lua_optoption(lua_State *L, int narg,
|
int Lua_optoption(lua_State *L, int narg,
|
||||||
const char *def, const char *const lst[]);
|
const char *def, const char *const lst[]);
|
||||||
|
void LUAh_NetArchiveHook(lua_CFunction archFunc);
|
||||||
|
|
||||||
// Console wrapper
|
// Console wrapper
|
||||||
void COM_Lua_f(void);
|
void COM_Lua_f(void);
|
||||||
|
|
Loading…
Reference in a new issue