Console.h
237 void Init(); void InitAfter(); void RunBefore(); void RunAfter(); void DrawBefore(); void DrawAfter();
A debugging utility used to view output from the Engine and interpret text commands from the user...
Definition: Console.h:95
A severe error.
The interpreter provides a means to execute dynamic runtime behavior through text. This is most conventionally useful via the Console.
Definition: Interpreter.h:48
Definition: AssetID.h:37
MessageType
Message classifications. For now, just determines the color of the message.
Definition: Console.h:57
static MessageMode GetOverlayMessageMode()
Returns the current message mode. MessageMode::Standard is the default.
static void OverlayMessageMode(MessageMode)
Sets the mode by which to display incoming Console messages.
Streams output to the console. Normally not directly needed.
Definition: Console.h:52
Console output is only added to the console log.
A fatal warning.
static std::string GetLine(uint32_t i)
Returns the i'th most recent message, where 0 is the earliest line and GetNumLines()-1 is the most re...
static void AddCommand(const std::string &name, Interpreter::Command *command)
Adds an additional command to be recognized by the interactive interpreter.
static uint32_t GetNumLines()
Returns the number of lines of output currently held by the console.
An aspect that can express basic 2D objects, such as images and shapes.
Definition: Shape2D.h:46
Every console line added results in a message that briefly appears on screen. This is the default...
A normal message.
static void SetCommandCallback(DynacoeEvent((*)))
Sets a callback to be run for all user-entered commands, regardless of command issued. Whether to process the command normally is returned.