 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file. 1 #include "../console.h"
18 name =
"win32_dialog_test";
41 else if (dialog_result == -1)
43 std::string error_description = std::to_string(GetLastError());
45 std::string dialog_result_str = std::to_string(dialog_result);
47 MessageBoxA(NULL, dialog_result_str.c_str(), NULL, MB_OK);
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:57
@ Ok
The command was run without error.
Class for the win32_dialog_test command.
Definition: win32_dialog_test.hpp:13
Class used to represent a console command.
Definition: console.h:54
#define IDC_BUTTON2
Definition: resource.h:62
#define WSV_ERROR
Macro for 'Error' log seveirty. Original pre-enum value was 2.
Definition: logger.h:17
#define IDD_PROPPAGE_MEDIUM
Definition: resource.h:13
BLAM void LogEventForce(std::string message, BlamLogLevel severity)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:218
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: win32_dialog_test.hpp:29
std::string name
The name of the console command.
Definition: console.h:56
#define WSV_INFO
Macro for 'Info' log seveirty.
Definition: logger.h:27
~Win32DialogTestCommand()
Definition: win32_dialog_test.hpp:24
Win32DialogTestCommand()
Definition: win32_dialog_test.hpp:16
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:61
@ Builtin
A command that is hard-coded into the engine.
#define IDC_BUTTON1
Definition: resource.h:50
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
Namespace for things relating to the debug console.
Definition: abort.hpp:5