 |
Blamite Game Engine - blam!
00367.02.08.23.1815.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file. 1 #include "../console.h"
57 Blam::Logger::LogEvent(
"failed to retrieve console ui stack object (GetStackItem returned nullptr)", WSV_ERROR);
@ 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
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:57
BLAM BlamUIWidget_Group * GetUIRoot()
Definition: ui.cpp:70
BLAM BlamRenderingEngine GetCurrentRenderingEngine()
Retrieves the current rendering engine being used.
Definition: rendering_abstraction.cpp:104
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: cls.hpp:34
@ OGRE
Definition: rendering.h:35
Class used to represent a console command.
Definition: console.h:54
Class for the cls command.
Definition: cls.hpp:17
StackType type_label
The type of the object.
Definition: render_stack.h:372
Namespace containing things relating to the Render Stack.
Definition: drawing.h:14
ClearScreenCommand()
Definition: cls.hpp:20
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
@ Console
Special widget. Used for the in-game console.
~ClearScreenCommand()
Definition: cls.hpp:29
std::string name
The name of the console command.
Definition: console.h:56
#define STACKTYPE_CONSOLE
Definition: render_stack.h:26
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:61
@ DirectX11
Definition: rendering.h:33
void clearScrollback()
Definition: console.hpp:425
Base class for all render stack objects.
Definition: render_stack.h:194
std::vector< std::string > aliases
A list of aliases for the command. Executing any of these instead of the command name will behave the...
Definition: console.h:59
@ Ok
The command was run without error.
Namespace for things relating to the debug console.
Definition: abort.hpp:5
BLAM StackObjectBase * GetStackItem(std::string id)
Retrieves an item from the render stack.
Definition: render_stack.cpp:75
Definition: console.hpp:66