player.h
changeset 1576 cbe6fd677ef4
parent 998 c90459c24842
child 1767 cda2e9ac430a
equal deleted inserted replaced
1575:1f403d3c354f 1576:cbe6fd677ef4
    25 } AiBuildRec;
    25 } AiBuildRec;
    26 
    26 
    27 typedef struct PlayerAI {
    27 typedef struct PlayerAI {
    28 	byte state;
    28 	byte state;
    29 	byte tick; // Used to determine how often to move
    29 	byte tick; // Used to determine how often to move
    30 	uint16 state_counter;
    30 	uint32 state_counter; // Can hold tile index!
    31 	uint16 timeout_counter;
    31 	uint16 timeout_counter;
    32 
    32 
    33 	byte state_mode;
    33 	byte state_mode;
    34 	byte banned_tile_count;
    34 	byte banned_tile_count;
    35 	byte railtype_to_use;
    35 	byte railtype_to_use;