UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
place_s Struct Reference

A 'place' is a part of a grid column where an actor can exist Unlike for a grid-cell, floor and ceiling are absolute values. More...

Public Member Functions

bool isUsable (void) const
 

Data Fields

pos3_t cell
 
int floor
 
int ceiling
 
int floorZ
 
bool usable
 

Detailed Description

A 'place' is a part of a grid column where an actor can exist Unlike for a grid-cell, floor and ceiling are absolute values.

Definition at line 113 of file routing.cpp.

Member Function Documentation

bool place_s::isUsable ( void  ) const
inline

Definition at line 120 of file routing.cpp.

References usable.

Referenced by RT_PlaceIsShifted(), and RT_TracePassage().

Field Documentation

int place_s::ceiling

The ceiling of it, given in absolute QUANTs.

Definition at line 116 of file routing.cpp.

Referenced by RT_FindOpening(), RT_PlaceDoesIntersectEnough(), RT_PlaceInit(), RT_PlaceIsShifted(), RT_TraceOnePassage(), and RT_TracePassage().

pos3_t place_s::cell

coordinates of the grid-cell this was derived from.

Definition at line 114 of file routing.cpp.

Referenced by RT_FindOpening(), RT_MicroTrace(), RT_PlaceInit(), and RT_TraceOnePassage().

int place_s::floor

The floor of the place, given in absolute QUANTs

Definition at line 115 of file routing.cpp.

Referenced by RT_MicroTrace(), RT_PlaceDoesIntersectEnough(), RT_PlaceInit(), RT_PlaceIsShifted(), RT_TraceOnePassage(), and RT_TracePassage().

int place_s::floorZ

The level (0-7) of the floor.

Definition at line 117 of file routing.cpp.

Referenced by RT_PlaceInit(), and RT_TraceOnePassage().

bool place_s::usable

does an actor fit in here ?

Definition at line 118 of file routing.cpp.

Referenced by isUsable(), and RT_PlaceInit().


The documentation for this struct was generated from the following file: