_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
CUnit::_seen_stuff_ Struct Reference

Unit visibility counts. More...

#include <unit.h>

Public Member Functions

 _seen_stuff_ ()
 

Public Attributes

const CConstructionFrameCFrame
 
int Frame
 Seen construction frame. More...
 
const CUnitTypeType
 last seen frame/stage of buildings More...
 
Vec2i tilePos
 Pointer to last seen unit-type. More...
 
signed char IX
 Last unit->tilePos Seen. More...
 
signed char IY
 Seen X image displacement to map position. More...
 
unsigned Constructed: 1
 seen Y image displacement to map position More...
 
unsigned State: 3
 Unit seen construction. More...
 
unsigned Destroyed: PlayerMax
 Unit seen build/upgrade state. More...
 
unsigned ByPlayer: PlayerMax
 Unit seen destroyed or not. More...
 

Detailed Description

Unit visibility counts.

Constructor & Destructor Documentation

◆ _seen_stuff_()

CUnit::_seen_stuff_::_seen_stuff_ ( )
inline

Member Data Documentation

◆ ByPlayer

unsigned CUnit::_seen_stuff_::ByPlayer

Unit seen destroyed or not.

◆ CFrame

const CConstructionFrame* CUnit::_seen_stuff_::CFrame

◆ Constructed

unsigned CUnit::_seen_stuff_::Constructed

seen Y image displacement to map position

◆ Destroyed

unsigned CUnit::_seen_stuff_::Destroyed

Unit seen build/upgrade state.

◆ Frame

int CUnit::_seen_stuff_::Frame

Seen construction frame.

◆ IX

signed char CUnit::_seen_stuff_::IX

Last unit->tilePos Seen.

◆ IY

signed char CUnit::_seen_stuff_::IY

Seen X image displacement to map position.

◆ State

unsigned CUnit::_seen_stuff_::State

Unit seen construction.

◆ tilePos

Vec2i CUnit::_seen_stuff_::tilePos

Pointer to last seen unit-type.

◆ Type

const CUnitType* CUnit::_seen_stuff_::Type

last seen frame/stage of buildings


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.