Direction documentation added.
This commit is contained in:
parent
2fec04eec4
commit
c18b4c9f8d
1 changed files with 23 additions and 14 deletions
|
@ -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
|
||||
-------------
|
||||
|
|
Loading…
Add table
Reference in a new issue