remove these

This commit is contained in:
quaK 2022-05-20 22:06:11 +03:00
parent 1bdcdba1a2
commit a04e8479e3
2 changed files with 0 additions and 8 deletions

View File

@ -240,12 +240,6 @@ namespace command
game::Cmd_AddCommandInternal(name, callback, utils::memory::get_allocator()->allocate<game::cmd_function_s>()); game::Cmd_AddCommandInternal(name, callback, utils::memory::get_allocator()->allocate<game::cmd_function_s>());
} }
void add_test(const char* name, void (*callback)())
{
static game::cmd_function_s cmd_test;
return game::Cmd_AddCommandInternal(name, callback, &cmd_test);
}
void add(const char* name, const std::function<void(const params&)>& callback) void add(const char* name, const std::function<void(const params&)>& callback)
{ {
const auto command = utils::string::to_lower(name); const auto command = utils::string::to_lower(name);

View File

@ -3,9 +3,7 @@
#include "loader/component_loader.hpp" #include "loader/component_loader.hpp"
#include "game/game.hpp" #include "game/game.hpp"
#include <utils/hook.hpp>
#include <utils/string.hpp> #include <utils/string.hpp>
#include <utils/flags.hpp>
#include <utils/io.hpp> #include <utils/io.hpp>
DECLSPEC_NORETURN void WINAPI exit_hook(const int code) DECLSPEC_NORETURN void WINAPI exit_hook(const int code)