about summary refs log tree commit diff
path: root/src/game/client/clienthooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/clienthooks.cpp')
-rw-r--r--src/game/client/clienthooks.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/game/client/clienthooks.cpp b/src/game/client/clienthooks.cpp
deleted file mode 100644
index 76fa8dcd..00000000
--- a/src/game/client/clienthooks.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <string.h>
-#include <engine/e_client_interface.h>
-#include <game/version.hpp>
-
-#include "gameclient.hpp"
-#include "components/console.hpp"
-
-
-
-// clean hooks
-void modc_entergame() {}
-void modc_shutdown() {}
-void modc_console_init() { gameclient.on_console_init(); }
-void modc_save_config() { gameclient.on_save(); }
-void modc_init() { gameclient.on_init(); }
-void modc_connected() { gameclient.on_connected(); }
-void modc_predict() { gameclient.on_predict(); }
-void modc_newsnapshot() { gameclient.on_snapshot(); }
-int modc_snap_input(int *data) { return gameclient.on_snapinput(data); }
-void modc_statechange(int state, int old) { gameclient.on_statechange(state, old); }
-void modc_render() { gameclient.on_render(); }
-void modc_message(int msgtype) { gameclient.on_message(msgtype); }
-void modc_rcon_line(const char *line) { gameclient.console->print_line(1, line); }
-
-const char *modc_net_version() { return GAME_NETVERSION; }
-const char *modc_getitemname(int type) { return netobj_get_name(type); }
-