diff --git a/doc/unit.html b/doc/unit.html index 6af8606e2..6c0532ea8 100644 --- a/doc/unit.html +++ b/doc/unit.html @@ -106,24 +106,33 @@ Unit::SeenFrame seen. If -1 the player haven't seen this unit. +Unit::Direction +--------------- + Contains the binary angle (0-255) in which the direction the unit looks. + 0,32,64,128,160,192,224,256 corresponds to 0�,45�,90�,135�,180�,225�,270�, + 315�,360� or north, north-east, east, south-east, south, south-west, west, + north-west, north. Currently only 8 directions are used, this is more + for the future. + +Unit::Attacked +-------------- + If Attacked is non-zero, the unit is attacked. This member is counted down. + +Unit::Burning +------------- + If Burning is non-zero, the unit is burning. + +Unit::Visible +------------- + Currently unused. Planned for submarines. If Visible is non-zero, the + unit could be seen on the map. + +Unit::Destroyed +--------------- FIXME: If you need more informations, please send me an email or write it self. -Unit::Direction ---------------- - -Unit::Attacked --------------- - -Unit::Burning -------------- - -Unit::Visible -------------- - -Unit::Destroyed ---------------- Unit::Removed -------------