mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 05:30:45 +00:00
400-499
This commit is contained in:
@ -26,4 +26,20 @@ CVector
|
||||
CRouteNode::GetPointPosition(int16 point)
|
||||
{
|
||||
return gaRoutes[point].m_pos;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
CRouteNode::AddRoutePoint(int16 route, CVector pos)
|
||||
{
|
||||
uint16 point;
|
||||
for (point = 0; point < NUMPEDROUTES; point++) {
|
||||
if (gaRoutes[point].m_route == -1)
|
||||
break;
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
if (point == NUMPEDROUTES)
|
||||
return;
|
||||
#endif
|
||||
gaRoutes[point].m_route = route;
|
||||
gaRoutes[point].m_pos = pos;
|
||||
}
|
||||
|
@ -9,4 +9,5 @@ public:
|
||||
static int16 GetRouteThisPointIsOn(int16);
|
||||
static CVector GetPointPosition(int16);
|
||||
static int16 GetRouteStart(int16);
|
||||
static void AddRoutePoint(int16, CVector);
|
||||
};
|
Reference in New Issue
Block a user