Helper Macros in Guiliani More...
#include "eC_Types.h"#include <limits.h>Go to the source code of this file.
Macros | |
| #define | COMMAND_TABLE |
| CommandClassIDs. More... | |
| #define | ENTRY(cmd, cmdclass) -1 |
| Helper Macros in Guiliani | |
| #define | ENTRY(cmd_id, cmd_classname) cmd_id, |
| Helper Macros in Guiliani | |
| #define | ENTRY_ENUM(a) -1 |
| Helper Macros in Guiliani | |
| #define | ENTRY_ENUM(a) a, |
| Helper Macros in Guiliani | |
Typedefs | |
| typedef int | static_assert_something[(DUMMY_COMMAND==0) ? 1 :-1] |
| Will throw compile error negative subscript if DUMMY_COMMAND is NOT 0! | |
Enumerations | |
| enum | CommandClassID_t { COMMAND_START_TAG = ciCalculatedCmdStartTag - 1 , CMD_SETDATAPOOL , CMD_STOP_ANIMATIONCHAIN , CMD_CALLAPI , CMD_DELAY , CMD_SETOBJECTVISUALS , CMD_SWITCH_RESOURCESETS , CMD_START_ANIMATIONCHAIN , CMD_LOAD_ANIMATIONS , CMD_SETOBJECTSTATE , CMD_DIALOG_TRANSITION , CMD_PLAYBACK_SOUND , CMD_LOAD_DIALOG , CMD_QUIT , DUMMY_COMMAND , NOF_COMMANDCLASSES , GUILIANI_INTERNAL_CMD = INT_MAX } |
| List of command class ids. | |
Variables | |
| const int | ciCalculatedCmdStartTag = -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 |
| preprocessor generates for all entries of SOUND_TABLE: -1 -1 -1..., resulting in a mathematical expression, that will be evaluated to -1*(Number of entries of IMAGE_TABLE | |
| const eC_UInt | cuiNOFCommandClasses |
| Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);. | |
| #define COMMAND_TABLE |
CommandClassIDs.