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

A list of locations that cannot be moved to. More...

#include <grid.h>

Public Member Functions

 forbiddenList_s ()
 
void add (pos3_t pos, byte *entSize)
 
void reset ()
 
pos_t ** getNext (pos_t **prev)
 
actorSizeEnum_t getEntSize (pos_t **current)
 

Private Attributes

pos_tfbList [MAX_FORBIDDENLIST]
 
int fbListLength
 

Detailed Description

A list of locations that cannot be moved to.

Note
Pointer to le->pos or edict->pos followed by pointer to le->fieldSize or edict->fieldSize
See also
CL_BuildForbiddenList

Definition at line 35 of file grid.h.

Constructor & Destructor Documentation

forbiddenList_s::forbiddenList_s ( )
inline

Definition at line 41 of file grid.h.

References reset().

Member Function Documentation

void forbiddenList_s::add ( pos3_t  pos,
byte entSize 
)
inline

Definition at line 44 of file grid.h.

References MAX_FORBIDDENLIST, and Sys_Error().

Referenced by CL_BuildForbiddenList(), G_BuildForbiddenList(), and TEST_F().

actorSizeEnum_t forbiddenList_s::getEntSize ( pos_t **  current)
inline

Definition at line 64 of file grid.h.

Referenced by Grid_CheckForbidden().

pos_t** forbiddenList_s::getNext ( pos_t **  prev)
inline

Definition at line 54 of file grid.h.

References fbList.

Referenced by Grid_CheckForbidden().

void forbiddenList_s::reset ( )
inline

Definition at line 51 of file grid.h.

Referenced by CL_BuildForbiddenList(), forbiddenList_s(), G_BuildForbiddenList(), and TEST_F().

Field Documentation

pos_t* forbiddenList_s::fbList[MAX_FORBIDDENLIST]
private

Definition at line 37 of file grid.h.

Referenced by getNext().

int forbiddenList_s::fbListLength
private

Current length of fbList.

Definition at line 38 of file grid.h.


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