#include "list.h"
#include "unittype.h"
#include "pump.h"
#include "ccfile.h"
Go to the source code of this file.
Classes | |
struct | UnitFlagsType |
class | Unit |
Encapsulates units within Camelot. All units (i.e. default and user-defined ones) are an instance of this class. Each document has its own list of units controlled by an instance of DocUnitList within the Document class. Therefore you should get hold of the DocUnitList within the current doc when you want to add/delete/edit/find a unit. More... | |
class | DocUnitList |
Encapsulates units within Camelot. All units (i.e. default and user-defined ones) are an instance of this class. Each document has its own list of units controlled by an instance of DocUnitList within the Document class. Therefore you should get hold of the DocUnitList within the current doc when you want to add/delete/edit/find a unit. More... | |
class | UnitMsg |
This message is sent whenever something happens to a unit. More... | |
Defines | |
#define | MM_MP_VAL 2834.652715 |
#define | CM_MP_VAL (MM_MP_VAL*10) |
#define | M_MP_VAL (CM_MP_VAL*100) |
#define | KM_MP_VAL ( M_MP_VAL*1000) |
#define | MP_MP_VAL 1.0 |
#define | PT_MP_VAL (MP_MP_VAL*1000) |
#define | PI_MP_VAL (PT_MP_VAL*12) |
#define | IN_MP_VAL (PI_MP_VAL*6) |
#define | FT_MP_VAL (IN_MP_VAL*12) |
#define | YD_MP_VAL (FT_MP_VAL*3) |
#define | MI_MP_VAL (YD_MP_VAL*1760) |
#define | PX_MP_VAL 750.0 |
Enumerations | |
enum | UnitReason { UNITREASON_OK, UNITREASON_HASDESCENDENTS, UNITREASON_BEINGUSED } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 144 of file units.h. 00145 { 00146 UNITREASON_OK, 00147 UNITREASON_HASDESCENDENTS, 00148 UNITREASON_BEINGUSED 00149 } UnitReason;
|