____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <unit.h>
Public Attributes | |
| unsigned | ByPlayer: PlayerMax |
| Track unit seen by player. | |
| int | Frame |
| last seen frame/stage of buildings | |
| CUnitType * | Type |
| Pointer to last seen unit-type. | |
| int | X |
| Last unit->X Seen. | |
| int | Y |
| Last unit->Y Seen. | |
| signed char | IX |
| Seen X image displacement to map position. | |
| signed char | IY |
| seen Y image displacement to map position | |
| unsigned | Constructed: 1 |
| Unit seen construction. | |
| unsigned | State: 3 |
| Unit seen build/upgrade state. | |
| unsigned | Destroyed: PlayerMax |
| Unit seen destroyed or not. | |
| CConstructionFrame * | CFrame |
| Seen construction frame. | |
Definition at line 596 of file unit.h.
| unsigned CUnit::_unit_seen_::ByPlayer |
Track unit seen by player.
Definition at line 597 of file unit.h.
Referenced by CclUnit(), DrawInformations(), CUnit::IsVisibleAsGoal(), CUnit::IsVisibleInViewport(), CUnit::IsVisibleOnMinimap(), SaveUnit(), and UnitGoesOutOfFog().
last seen frame/stage of buildings
Definition at line 598 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), CUnit::Init(), SaveUnit(), and UnitFillSeenValues().
Pointer to last seen unit-type.
Definition at line 599 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), DrawUnitOn(), SaveUnit(), and UnitFillSeenValues().
Last unit->X Seen.
Definition at line 600 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
Last unit->Y Seen.
Definition at line 601 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
| signed char CUnit::_unit_seen_::IX |
Seen X image displacement to map position.
Definition at line 602 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
| signed char CUnit::_unit_seen_::IY |
seen Y image displacement to map position
Definition at line 603 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
| unsigned CUnit::_unit_seen_::Constructed |
Unit seen construction.
Definition at line 604 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
| unsigned CUnit::_unit_seen_::State |
Unit seen build/upgrade state.
Definition at line 605 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), CUnit::IsVisibleOnMinimap(), SaveUnit(), and UnitFillSeenValues().
| unsigned CUnit::_unit_seen_::Destroyed |
Unit seen destroyed or not.
Definition at line 606 of file unit.h.
Referenced by CclUnit(), DrawInformations(), CUnit::IsVisibleAsGoal(), CUnit::IsVisibleInViewport(), CUnit::IsVisibleOnMinimap(), SaveUnit(), UnitGoesOutOfFog(), and UnitGoesUnderFog().
Seen construction frame.
Definition at line 607 of file unit.h.
Referenced by CclUnit(), CUnit::Draw(), SaveUnit(), and UnitFillSeenValues().
1.5.6