From c05d229b2e2d0bbefec2d86e9802287fb1ab4324 Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 16 Aug 2023 17:02:55 -0400 Subject: [PATCH] fix(console): remove duplicate CATEGORY --- src/console/Command.hpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/console/Command.hpp b/src/console/Command.hpp index b97589e..74a75db 100644 --- a/src/console/Command.hpp +++ b/src/console/Command.hpp @@ -1,6 +1,8 @@ #ifndef CONSOLE_COMMAND_HPP #define CONSOLE_COMMAND_HPP +#include "console/Types.hpp" + #include #include @@ -12,20 +14,6 @@ #define CONSOLE_HISTORY_DEPTH 32 #define CONSOLE_NOHELP nullptr -enum CATEGORY { - DEBUG, - GRAPHICS, - CONSOLE, - COMBAT, - GAME, - DEFAULT, - NET, - SOUND, - GM, - NONE, - LAST -}; - typedef int32_t (*COMMANDHANDLER)(const char*, const char*); class CONSOLECOMMAND : public TSHashObject {