ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

ICB::_floor_world Class Reference

#include <floors.h>

Collaboration diagram for ICB::_floor_world:

List of all members.

Public Member Functions

 _floor_world ()
 ~_floor_world ()
void ___init ()
uint32 Locate_floor_rect (PXreal x, PXreal z, PXreal y, _floor **rct)
uint32 Return_floor_rect (PXreal x, PXreal z, PXreal y, uint32 rubber)
bool8 Point_on_rubber_floor (PXreal x, PXreal z, PXreal y, uint32 rubber, uint32 rect_num)
void Set_floor_rect_flag (_logic *log)
uint32 Return_non_rubber_floor_no (_logic *log, uint32 cur_rubber_floor)
void Pick_floor_route (uint32 start, uint32 dest)
void Find_shortest_floor_route (uint32 start, uint32 dest, uint32 x, uint32 z)
void Recurse_to_shortest (uint32 adjoining_floor, uint32 level, uint32 dest)
uint32 Calculate_floor_route_length (uint32 total_floors)
PXreal Fetch_height (uint32 height)
int32 Fetch_total_heights ()
uint32 Fetch_total_floors ()
PXreal Gravitise_y (PXreal y)
PXreal Floor_safe_gravitise_y (PXreal fY)
void Allign_with_floor (_mega *mega)
PXreal Return_true_y (PXreal y)
bool8 On_a_floor (_mega *mega)
_floorFetch_named_floor (const char *name)
_floorFetch_floor_number (uint32 num)
PXreal Fetch_floors_volume_height (uint32 num)
uint32 Fetch_floor_number_by_name (const char *name)
uint32 Fetch_number_of_floors () const
int32 Project_point_down_through_floors (int32 nX, int32 nY, int32 nZ)

Public Attributes


Private Attributes

uint32 total_floors
uint32 total_heights
PXreal heights [MAX_heights]
PXreal floor_y_volume [MAX_floors]

Detailed Description

Definition at line 40 of file floors.h.

Constructor & Destructor Documentation

ICB::_floor_world::_floor_world (  ) 

Definition at line 43 of file floors.cpp.

ICB::_floor_world::~_floor_world (  ) 

Definition at line 201 of file floors.cpp.

Member Function Documentation

void ICB::_floor_world::___init (  ) 

Definition at line 45 of file floors.cpp.

void ICB::_floor_world::Allign_with_floor ( _mega mega  ) 

Definition at line 163 of file floors.cpp.

uint32 ICB::_floor_world::Calculate_floor_route_length ( uint32  total_floors  ) 
_floor * ICB::_floor_world::Fetch_floor_number ( uint32  num  )  [inline]

Definition at line 111 of file floors.h.

uint32 ICB::_floor_world::Fetch_floor_number_by_name ( const char *  name  ) 

Definition at line 206 of file floors.cpp.

PXreal ICB::_floor_world::Fetch_floors_volume_height ( uint32  num  )  [inline]

Definition at line 92 of file floors.h.

PXreal ICB::_floor_world::Fetch_height ( uint32  height  )  [inline]

Definition at line 94 of file floors.h.

_floor * ICB::_floor_world::Fetch_named_floor ( const char *  name  )  [inline]

Definition at line 106 of file floors.h.

uint32 ICB::_floor_world::Fetch_number_of_floors (  )  const [inline]

Definition at line 77 of file floors.h.

uint32 ICB::_floor_world::Fetch_total_floors (  )  [inline]

Definition at line 104 of file floors.h.

int32 ICB::_floor_world::Fetch_total_heights (  )  [inline]

Definition at line 102 of file floors.h.

void ICB::_floor_world::Find_shortest_floor_route ( uint32  start,
uint32  dest,
uint32  x,
uint32  z 
PXreal ICB::_floor_world::Floor_safe_gravitise_y ( PXreal  fY  ) 

Definition at line 389 of file floors.cpp.

PXreal ICB::_floor_world::Gravitise_y ( PXreal  y  ) 

Definition at line 368 of file floors.cpp.

uint32 ICB::_floor_world::Locate_floor_rect ( PXreal  x,
PXreal  z,
PXreal  y,
_floor **  rct 

Definition at line 255 of file floors.cpp.

bool8 ICB::_floor_world::On_a_floor ( _mega mega  ) 

Definition at line 151 of file floors.cpp.

void ICB::_floor_world::Pick_floor_route ( uint32  start,
uint32  dest 
bool8 ICB::_floor_world::Point_on_rubber_floor ( PXreal  x,
PXreal  z,
PXreal  y,
uint32  rubber,
uint32  rect_num 

Definition at line 239 of file floors.cpp.

int32 ICB::_floor_world::Project_point_down_through_floors ( int32  nX,
int32  nY,
int32  nZ 

Definition at line 405 of file floors.cpp.

void ICB::_floor_world::Recurse_to_shortest ( uint32  adjoining_floor,
uint32  level,
uint32  dest 
uint32 ICB::_floor_world::Return_floor_rect ( PXreal  x,
PXreal  z,
PXreal  y,
uint32  rubber 

Definition at line 211 of file floors.cpp.

uint32 ICB::_floor_world::Return_non_rubber_floor_no ( _logic log,
uint32  cur_rubber_floor 

Definition at line 333 of file floors.cpp.

PXreal ICB::_floor_world::Return_true_y ( PXreal  y  ) 

Definition at line 181 of file floors.cpp.

void ICB::_floor_world::Set_floor_rect_flag ( _logic log  ) 

Definition at line 285 of file floors.cpp.

Member Data Documentation

Definition at line 89 of file floors.h.

PXreal ICB::_floor_world::heights[MAX_heights] [private]

Definition at line 87 of file floors.h.

Definition at line 84 of file floors.h.

Definition at line 86 of file floors.h.

The documentation for this class was generated from the following files:

Generated on Sat Sep 19 2020 05:05:34 for ResidualVM by doxygen 1.7.1
curved edge   curved edge