Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Debug command interface helper macros

Macros

#define DEBUG_CREATE_COMMAND_GROUP(groupname, type)
 

Detailed Description

These macros can be used if a command interface instance should be available right after starting the program (which is usually the case).

Macro Definition Documentation

◆ DEBUG_CREATE_COMMAND_GROUP

#define DEBUG_CREATE_COMMAND_GROUP ( groupname,
type )
Value:
static bool __RegisterDebugCmdGroup_##type=Debug::AddCommands(#groupname,new type);
static bool AddCommands(const char *cmdgroup, DebugCmdInterface *cmdif)
Adds a new command group.

Definition at line 124 of file debug_cmd.h.