Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
definitionclassids.h File Reference
#include "always.h"
#include "bittype.h"

Go to the source code of this file.

Macros

#define __DEFINITION_CLASS_ID_H
 
#define NEXT_SUPER_CLASSID(n)
 

Enumerations

enum  {
  CLASSID_TERRAIN = NEXT_SUPER_CLASSID(0) , CLASSID_TILE = NEXT_SUPER_CLASSID(1) , CLASSID_GAME_OBJECTS = NEXT_SUPER_CLASSID(2) , CLASSID_LIGHT = NEXT_SUPER_CLASSID(3) ,
  CLASSID_SOUND = NEXT_SUPER_CLASSID(4) , CLASSID_WAYPATH = NEXT_SUPER_CLASSID(5) , CLASSID_ZONE = NEXT_SUPER_CLASSID(6) , CLASSID_TRANSITION = NEXT_SUPER_CLASSID(7) ,
  CLASSID_PHYSICS = NEXT_SUPER_CLASSID(8) , CLASSID_EDITOR_OBJECTS = NEXT_SUPER_CLASSID(9) , CLASSID_MUNITIONS = NEXT_SUPER_CLASSID(10) , CLASSID_DUMMY_OBJECTS = NEXT_SUPER_CLASSID(11) ,
  CLASSID_BUILDINGS = NEXT_SUPER_CLASSID(12) , CLASSID_TWIDDLERS = NEXT_SUPER_CLASSID(13) , CLASSID_GLOBAL_SETTINGS = NEXT_SUPER_CLASSID(14)
}
 

Functions

uint32 SuperClassID_From_ClassID (uint32 class_id)
 

Variables

const int DEF_CLASSID_START = 0x00001000
 
const int DEF_CLASSID_RANGE = 0x00001000
 

Macro Definition Documentation

◆ __DEFINITION_CLASS_ID_H

#define __DEFINITION_CLASS_ID_H

Definition at line 43 of file definitionclassids.h.

◆ NEXT_SUPER_CLASSID

#define NEXT_SUPER_CLASSID ( n)
Value:
const int DEF_CLASSID_RANGE
const int DEF_CLASSID_START

Definition at line 55 of file definitionclassids.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CLASSID_TERRAIN 
CLASSID_TILE 
CLASSID_GAME_OBJECTS 
CLASSID_LIGHT 
CLASSID_SOUND 
CLASSID_WAYPATH 
CLASSID_ZONE 
CLASSID_TRANSITION 
CLASSID_PHYSICS 
CLASSID_EDITOR_OBJECTS 
CLASSID_MUNITIONS 
CLASSID_DUMMY_OBJECTS 
CLASSID_BUILDINGS 
CLASSID_TWIDDLERS 
CLASSID_GLOBAL_SETTINGS 

Definition at line 69 of file definitionclassids.h.

Function Documentation

◆ SuperClassID_From_ClassID()

uint32 SuperClassID_From_ClassID ( uint32 class_id)
inline

Definition at line 95 of file definitionclassids.h.

Variable Documentation

◆ DEF_CLASSID_RANGE

const int DEF_CLASSID_RANGE = 0x00001000

Definition at line 54 of file definitionclassids.h.

◆ DEF_CLASSID_START

const int DEF_CLASSID_START = 0x00001000

Definition at line 53 of file definitionclassids.h.