Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _OPPOPROC_H_
2
#define _OPPOPROC_H_
3
 
4
#include "dr_types.h"
5
 
6
int StraightestArcForCorner2D(br_vector2* pCent, br_scalar* pRadius, br_scalar* pEntry_length, int* pLeft_not_right, br_vector2* p1, br_vector2* p2, br_vector2* p3, br_scalar pWidth12, br_scalar pWidth23);
7
 
8
br_scalar CornerFudge(tCar_spec* pCar_spec);
9
 
10
br_scalar MaxCurvatureForCarSpeed(tCar_spec* pCar, br_scalar pSpeed);
11
 
12
br_scalar Vector2Cross(br_vector2* pA, br_vector2* pB);
13
 
14
tFollow_path_result EndOfPath(tOpponent_spec* pOpponent_spec);
15
 
16
int RoughlyColinear(br_vector2* p1, br_vector2* p2, br_vector2* p3);
17
 
18
int GetStraight(br_vector2* pStart, br_vector2* pFinish, br_scalar* pWidth, int section1, tOpponent_spec* pOpponent_spec, tFollow_path_data* data);
19
 
20
tFollow_path_result ProcessFollowPath(tOpponent_spec* pOpponent_spec, tProcess_objective_command pCommand, int pPursuit_mode, int pIgnore_end, int pNever_struggle);
21
 
22
tFollow_path_result FollowCheatyPath(tOpponent_spec* pOpponent_spec);
23
 
24
#endif