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

#include <prim_route_builder.h>

Collaboration diagram for ICB::_prim_route_builder:

List of all members.

Public Member Functions

void Reset_barrier_list ()
void Add_barrier (_route_barrier *new_barrier)
_route_stat Calc_route (PXreal startx, PXreal startz, PXreal endx, PXreal endz)
void Give_route (_route_description *route)
void Give_barrier_list (_route_description *route)
int32 Get_intersect (PXreal x0, PXreal y0, PXreal x1, PXreal y1, PXreal x2, PXreal y2, PXreal x3, PXreal y3)
bool8 LineIntersectsRect (DXrect oRect, int32 nX1, int32 nY1, int32 nX2, int32 nY2) const

Public Attributes

uint32 final_points
_point final_route [MAX_final_route]
PXreal final_len
uint32 extrap_size

Private Member Functions

void Find_connects (uint32 point, PXreal cur_len, uint32 level)
uint32 ExtrapolateLine (_point *pSrc0, _point *pSrc1, _point *pDst0, _point *pDst1, int32 d)
PXfloat m_fabs (PXfloat val)

Private Attributes

_point barrier_list [MAX_barriers]
uint32 total_points
uint8 hitsBits [MAX_barriers][(MAX_barriers+7)/8]
uint8 gohitsBits [MAX_barriers][(MAX_barriers+7)/8]
uint8 temp_route [MAX_final_route]
uint8 exclude [MAX_barriers]
uint8 temp_exclude [MAX_barriers]

Detailed Description

Definition at line 47 of file prim_route_builder.h.

Member Function Documentation

void ICB::_prim_route_builder::Add_barrier ( _route_barrier new_barrier  ) 

Definition at line 57 of file prim_route_builder.cpp.

_route_stat ICB::_prim_route_builder::Calc_route ( PXreal  startx,
PXreal  startz,
PXreal  endx,
PXreal  endz 

Definition at line 126 of file prim_route_builder.cpp.

uint32 ICB::_prim_route_builder::ExtrapolateLine ( _point pSrc0,
_point pSrc1,
_point pDst0,
_point pDst1,
int32  d 
) [private]

Definition at line 370 of file prim_route_builder.cpp.

void ICB::_prim_route_builder::Find_connects ( uint32  point,
PXreal  cur_len,
uint32  level 
) [private]

Definition at line 310 of file prim_route_builder.cpp.

int32 ICB::_prim_route_builder::Get_intersect ( PXreal  x0,
PXreal  y0,
PXreal  x1,
PXreal  y1,
PXreal  x2,
PXreal  y2,
PXreal  x3,
PXreal  y3 

Definition at line 446 of file prim_route_builder.cpp.

void ICB::_prim_route_builder::Give_barrier_list ( _route_description route  ) 

Definition at line 69 of file prim_route_builder.cpp.

void ICB::_prim_route_builder::Give_route ( _route_description route  ) 

Definition at line 99 of file prim_route_builder.cpp.

bool8 ICB::_prim_route_builder::LineIntersectsRect ( DXrect  oRect,
int32  nX1,
int32  nY1,
int32  nX2,
int32  nY2 
) const

Definition at line 527 of file prim_route_builder.cpp.

PXfloat ICB::_prim_route_builder::m_fabs ( PXfloat  val  )  [private]

Definition at line 439 of file prim_route_builder.cpp.

void ICB::_prim_route_builder::Reset_barrier_list (  ) 

Definition at line 53 of file prim_route_builder.cpp.

Member Data Documentation

Definition at line 72 of file prim_route_builder.h.

uint8 ICB::_prim_route_builder::exclude[MAX_barriers] [private]

Definition at line 85 of file prim_route_builder.h.

Definition at line 59 of file prim_route_builder.h.

uint8 ICB::_prim_route_builder::gohitsBits[MAX_barriers][(MAX_barriers+7)/8] [private]

Definition at line 78 of file prim_route_builder.h.

uint8 ICB::_prim_route_builder::hitsBits[MAX_barriers][(MAX_barriers+7)/8] [private]

Definition at line 77 of file prim_route_builder.h.

Definition at line 86 of file prim_route_builder.h.

uint8 ICB::_prim_route_builder::temp_route[MAX_final_route] [private]

Definition at line 81 of file prim_route_builder.h.

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

Generated on Sat Sep 26 2020 05:03:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge