 |
Blamite Game Engine - blam!
00398.09.22.23.2015.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);
@ Builtin
A command that is hard-coded into the engine.
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:59
Class for the win32_dialog_test command.
Definition: win32_dialog_test.hpp:13
Class used to represent a console command.
Definition: console.h:56
#define IDC_BUTTON2
Definition: resource.h:62
#define IDD_PROPPAGE_MEDIUM
Definition: resource.h:13
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
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:58
~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:63
#define IDC_BUTTON1
Definition: resource.h:50
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:274
@ Ok
The command was run without error.
Namespace for things relating to the debug console.
Definition: abort.hpp:5