 |
Blamite Game Engine - blam!
00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file. 1 #include "../console.h"
18 description =
"Aborts the engine using abort() function. Requires CONFIRM argument to execute.";
30 if (arguments.size() > 1)
35 if (arguments.size() == 0)
43 if (arguments[0] ==
"CONFIRM")
AbortCommand()
Definition: abort.hpp:15
@ Builtin
A command that is hard-coded into the engine.
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
#define CMD_ERR_INVALID_ARGS
Macro for Invalid Args command status. See #Blam::Resources::Console::InvalidArguments for more detai...
Definition: console.h:9
BLAM BlamCommandResult BooleanHandler(bool *value, std::vector< std::string > arguments, BlamConsoleCommand *command)
Handler for boolean commands.
Definition: command_handlers.cpp:11
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:59
~AbortCommand()
Definition: abort.hpp:23
Class used to represent a console command.
Definition: console.h:56
BLAM ConfigFile * GetConfig()
Retrieves the engine configuration file.
Definition: compat.cpp:5
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
Class for the abort command.
Definition: abort.hpp:12
#define CMD_OK
Macro for OK command status. See #Blam::Resources::Console::Ok for more details.
Definition: console.h:8
std::string name
The name of the console command.
Definition: console.h:58
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: abort.hpp:28
Offset font vertically by altering the io Font DisplayOffset value
Definition: README.txt:67
#define CMD_ERR_WRONG_ARGS_COUNT
Macro for Wrong Arg Count command status. See #Blam::Resources::Console::WrongArgumentCount for more ...
Definition: console.h:10
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:63
#define ENGINE_TEXT(string_id)
Definition: engine_text.h:7
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:274
@ WrongArgumentCount
Too few or too many arguments were provided.
@ Ok
The command was run without error.
Namespace for things relating to the debug console.
Definition: abort.hpp:5