UFO: Alien Invasion
Loading...
Searching...
No Matches
place_t 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...

Collaboration diagram for place_t:
Collaboration graph

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

◆ isUsable()

bool place_t::isUsable ( void ) const
inline

Definition at line 120 of file routing.cpp.

References usable.

Referenced by RT_PlaceIsShifted(), and RT_TracePassage().

Field Documentation

◆ ceiling

int place_t::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().

◆ cell

pos3_t place_t::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().

◆ floor

int place_t::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().

◆ floorZ

int place_t::floorZ

The level (0-7) of the floor.

Definition at line 117 of file routing.cpp.

Referenced by RT_PlaceInit(), and RT_TraceOnePassage().

◆ usable

bool place_t::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: