mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-07-04 16:49:21 +03:00
fix(console): remove duplicate CATEGORY
This commit is contained in:
parent
3c7300a614
commit
c05d229b2e
@ -1,6 +1,8 @@
|
|||||||
#ifndef CONSOLE_COMMAND_HPP
|
#ifndef CONSOLE_COMMAND_HPP
|
||||||
#define CONSOLE_COMMAND_HPP
|
#define CONSOLE_COMMAND_HPP
|
||||||
|
|
||||||
|
#include "console/Types.hpp"
|
||||||
|
|
||||||
#include <storm/Hash.hpp>
|
#include <storm/Hash.hpp>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
@ -12,20 +14,6 @@
|
|||||||
#define CONSOLE_HISTORY_DEPTH 32
|
#define CONSOLE_HISTORY_DEPTH 32
|
||||||
#define CONSOLE_NOHELP nullptr
|
#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*);
|
typedef int32_t (*COMMANDHANDLER)(const char*, const char*);
|
||||||
|
|
||||||
class CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_STRI> {
|
class CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_STRI> {
|
||||||
|
Loading…
Reference in New Issue
Block a user