Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
debug_menu.h File Reference
#include <string>
#include <vector>
+ Include dependency graph for debug_menu.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BlamDebugMenuItem
 Class used to store data and functions relating to an item within the engine's debug menu. More...
 
struct  BlamDebugMenu
 Structure containing data for the root of the debug menu. More...
 

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::Resources
 
 Blam::Resources::DebugMenu
 Namespace containing data for the engine's debug menu.
 

Macros

#define DEBUG_MENU_FILE   "debug_menu_init"
 The file name to load the debug menu contents from - without the extension. More...
 
#define BLAM
 

Enumerations

enum  BlamDebugMenuItemType {
  BlamDebugMenuItemType::Command, BlamDebugMenuItemType::CommandSequence, BlamDebugMenuItemType::Global, BlamDebugMenuItemType::Submenu,
  BlamDebugMenuItemType::Unknown
}
 Menu item type enumerator. More...
 

Functions

BLAM void Blam::Resources::DebugMenu::InitializeDebugMenu ()
 Initializes the debug menu. More...
 
BLAM void Blam::Resources::DebugMenu::ReleaseDebugMenu ()
 Releases all debug menu contents. More...
 
BLAM void Blam::Resources::DebugMenu::ReloadDebugMenu ()
 Clears all existing data for the debug menu and reloads it from the file. More...
 
BLAM BlamDebugMenuBlam::Resources::DebugMenu::GetDebugMenu ()
 Retrieves the debug menu data. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM

◆ DEBUG_MENU_FILE

#define DEBUG_MENU_FILE   "debug_menu_init"

The file name to load the debug menu contents from - without the extension.

Enumeration Type Documentation

◆ BlamDebugMenuItemType

enum BlamDebugMenuItemType
strong

Menu item type enumerator.

Enumerator
Command 

Runs a console command upon activation.

CommandSequence 

Runs a sequence of console commands upon activation.

One command is run per activation. After initial activation, the second activation will run the second command in the sequence. Upon reaching the end of the sequence, the next activation will run the command at the start of the sequence.

Global 

Modifies an engine global upon activation.

Submenu 

Enters into a submenu/subscreen upon activation.

Unknown 

Fallback in the event that debug_menu_init contained an invalid option.