Object Types
From WinBolo
(Difference between revisions)
(initial creation) |
Current revision (04:46, 8 May 2009) (view source) (→Object Data Types) |
||
Line 1: | Line 1: | ||
= Object Data Types = | = Object Data Types = | ||
+ | |||
+ | == allience.h == | ||
+ | |||
+ | === allienceObj === | ||
+ | <pre> | ||
+ | typedef struct allienceObj *allience; | ||
+ | struct allienceObj { | ||
+ | allience next; /* Next item */ | ||
+ | BYTE playerNum; /* The player this person is allied to */ | ||
+ | }; | ||
+ | </pre> | ||
== netmt.h == | == netmt.h == |
Current revision
Contents |
Object Data Types
allience.h
allienceObj
typedef struct allienceObj *allience; struct allienceObj { allience next; /* Next item */ BYTE playerNum; /* The player this person is allied to */ };
netmt.h
netMNTObj
typedef struct netMNTObj *netMnt; struct netMNTObj { netMnt next; /* Next item */ BYTE item; /* Value of this item */ BYTE owner; /* Who owns this anyway */ BYTE id; /* Item ID */ BYTE x; /* Item location */ BYTE y; };
netMntContextObj
typedef struct netMntContextObj *netMntContext; struct netMntContextObj { netMnt nmt; BYTE netMntUpto; };
netpnb.h
netPNBObj
typedef struct netPNBObj *netPnb; struct netPNBObj { netPnb next; /* Next item */ BYTE item; /* Value of this item */ BYTE owner; /* Owner of this event */ BYTE id; /* Item Id */ BYTE x; /* Item X & Y Co-ordinates */ BYTE y; BYTE opt; };
netPnbContextObj
typedef struct netPnbContextObj *netPnbContext; struct netPnbContextObj { netPnb pnb; BYTE netPnbUpto; };