Wartbed:Data structures
From Dark Omen Wiki
WARTBED Data Structures
Atm I'm (Mikademus) is using this article to jot down structures and ideas about the internal functioning of (OMG-)WARTBED. Please feel free to partake and discuss.
wartbed namespace
enum FLOCKING_BEHAVIOUR { FLOCK_none = 0, FLOCK_mill = 1, FLOCK_formate = 2, };
This enum will determine which algorithm that controls the immediate movement behaviour of an unit.
enum TARGET_MODE { TARGET_position, TARGET_unit, };
Control enum for all targeting, which is relevant for orders.
orders namespace
blah blah
enum MOVE_ORDER { MOVE_no_order = 0, MOVE_to = 1, MOVE_approach = 2, MOVE_avoid = 3, MOVE_keep_distance = 4, MOVE_face = 5, MOVE_continuous = 0xF0000000, };
enum ATTACK_ORDER { ATTACK_no_order = 0, ATTACK_await_charge = 1, ATTACK_at_will = 2, ATTACK_charge = 3, ATTACK_missile = 4, ATTACK_continuous = 0xF0000000, }