|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T o
Length: 1335 (0x537)
Types: TextFile
Names: »ogre.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Ogre/ogre.h«
typedef struct {
char type;
char attack;
char range;
char defend;
char movement;
char range_to_ogre;
char fired;
char moves_left;
char status;
char l_hex;
char r_hex;
} UNIT;
typedef struct {
char missiles;
char main_bats;
char sec_bats;
char ap;
char treads;
char movement;
char moves_left;
char l_hex;
char r_hex;
char init_treads;
} OGRE;
/* unit types */
#define CP 'C'
#define HVYTANK 'T'
#define MSLTANK 'M'
#define GEV 'G'
#define HOWITZER 'H'
#define INFANTRY 'I'
/* unit statuses */
#define OK 1
#define DISABLED 2
#define DESTROYED 3
/* directions */
#define RIGHT 'd'
#define UPRIGHT 'e'
#define DOWNRIGHT 'x'
#define LEFT 'a'
#define UPLEFT 'w'
#define DOWNLEFT 'z'
#define SIT 's'
#define TRUE 1
#define FALSE 0
#define N_UNITS 30
#define DEF_MISSILES 3
#define DEF_MAIN 4
#define DEF_SECONDARY 3
#define DEF_AP 1
#define ATK_MISSILES 6
#define ATK_MAIN 4
#define ATK_SECONDARY 3
#define ATK_AP 1
#define RANGE_MISSILES 5
#define RANGE_MAIN 3
#define RANGE_SECONDARY 2
#define RANGE_AP 1