mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- moved MAP_DATA to leadai.c
This commit is contained in:
parent
973729f117
commit
8dea78101d
@ -33,6 +33,18 @@ static int pathParams[5] = {
|
||||
int road_s = 0;
|
||||
int road_c = 0;
|
||||
|
||||
struct MAP_DATA
|
||||
{
|
||||
CAR_DATA* cp;
|
||||
VECTOR* base;
|
||||
VECTOR* pos;
|
||||
VECTOR* vel;
|
||||
VECTOR* size;
|
||||
int intention;
|
||||
int* map;
|
||||
int* local;
|
||||
};
|
||||
|
||||
void CheckCurrentRoad(CAR_DATA* cp);
|
||||
void UpdateRoadPosition(CAR_DATA* cp, VECTOR* basePos, int intention);
|
||||
void FakeMotion(CAR_DATA* cp);
|
||||
@ -1640,8 +1652,8 @@ void UpdateRoadPosition(CAR_DATA* cp, VECTOR* basePos, int intention)
|
||||
|
||||
BlockToMap(&data);
|
||||
|
||||
num_cb = num_cb + -1;
|
||||
collide = collide + 1;
|
||||
num_cb--;
|
||||
collide++;
|
||||
}
|
||||
}
|
||||
ppco = GetNextPackedCop(&ci);
|
||||
|
@ -1816,21 +1816,6 @@ struct MISSION_STEP
|
||||
u_char disc : 1;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------------------
|
||||
// TODO: LEADAI.H
|
||||
|
||||
struct MAP_DATA
|
||||
{
|
||||
CAR_DATA* cp;
|
||||
VECTOR* base;
|
||||
VECTOR* pos;
|
||||
VECTOR* vel;
|
||||
VECTOR* size;
|
||||
int intention;
|
||||
int* map;
|
||||
int* local;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------------------
|
||||
// TODO: PAUSE.H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user