mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(console): move CATEGORY enum to types header
This commit is contained in:
parent
32413a37da
commit
9ed50a0eed
@ -1,6 +1,7 @@
|
||||
#ifndef CONSOLE_COMMAND_HPP
|
||||
#define CONSOLE_COMMAND_HPP
|
||||
|
||||
#include "console/Types.hpp"
|
||||
#include <storm/Hash.hpp>
|
||||
#include <cstdint>
|
||||
|
||||
@ -10,20 +11,6 @@
|
||||
#define HISTORY_DEPTH 32
|
||||
#define NOHELP nullptr
|
||||
|
||||
enum CATEGORY {
|
||||
DEBUG,
|
||||
GRAPHICS,
|
||||
CONSOLE,
|
||||
COMBAT,
|
||||
GAME,
|
||||
DEFAULT,
|
||||
NET,
|
||||
SOUND,
|
||||
GM,
|
||||
NONE,
|
||||
LAST
|
||||
};
|
||||
|
||||
struct CONSOLECOMMAND : TSHashObject<CONSOLECOMMAND, HASHKEY_STRI> {
|
||||
const char* command;
|
||||
int32_t (*handler)(const char*, const char*);
|
||||
|
||||
@ -1,6 +1,20 @@
|
||||
#ifndef CONSOLE_TYPES_HPP
|
||||
#define CONSOLE_TYPES_HPP
|
||||
|
||||
enum CATEGORY {
|
||||
DEBUG,
|
||||
GRAPHICS,
|
||||
CONSOLE,
|
||||
COMBAT,
|
||||
GAME,
|
||||
DEFAULT,
|
||||
NET,
|
||||
SOUND,
|
||||
GM,
|
||||
NONE,
|
||||
LAST
|
||||
};
|
||||
|
||||
enum COLOR_T {
|
||||
DEFAULT_COLOR,
|
||||
INPUT_COLOR,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user