Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 18
Line 2... Line 2...
2
#define _CAR_H_
2
#define _CAR_H_
3
 
3
 
4
#include "brender/br_types.h"
-
 
5
#include "dr_types.h"
4
#include "dr_types.h"
6
 
5
 
7
#define CAR_MAX_SIMPLIFICATION_LEVEL 4
6
#define CAR_MAX_SIMPLIFICATION_LEVEL 4
8
 
7
 
9
extern int gDoing_physics;
8
extern int gDoing_physics;
10
extern br_scalar gDt;
9
extern br_scalar gDt;
11
extern int gCollision_detection_on__car; // suffix added to avoid duplicate symbol
10
extern int gCollision_detection_on__car;                  // suffix added to avoid duplicate symbol
12
extern br_vector3 gGround_normal__car; // suffix added to avoid duplicate symbol
11
extern br_vector3 gGround_normal__car;                    // suffix added to avoid duplicate symbol
13
extern void (*ControlCar__car[6])(tCar_spec*, br_scalar); // suffix added to avoid duplicate symbol
12
extern void (*ControlCar__car[6])(tCar_spec*, br_scalar); // suffix added to avoid duplicate symbol
14
extern int gControl__car; // suffix added to avoid duplicate symbol
13
extern int gControl__car;                                 // suffix added to avoid duplicate symbol
15
extern int gFace_num__car; // suffix added to avoid duplicate symbol
14
extern int gFace_num__car;                                // suffix added to avoid duplicate symbol
16
extern br_angle gOld_yaw__car; // suffix added to avoid duplicate symbol
15
extern br_angle gOld_yaw__car;                            // suffix added to avoid duplicate symbol
17
extern br_angle gOld_zoom;
16
extern br_angle gOld_zoom;
18
extern br_vector3 gCamera_pos_before_collide;
17
extern br_vector3 gCamera_pos_before_collide;
19
extern int gMetal_crunch_sound_id__car[5]; // suffix added to avoid duplicate symbol
18
extern int gMetal_crunch_sound_id__car[5]; // suffix added to avoid duplicate symbol
20
extern int gMetal_scrape_sound_id__car[3]; // suffix added to avoid duplicate symbol
19
extern int gMetal_scrape_sound_id__car[3]; // suffix added to avoid duplicate symbol
21
extern int gCar_car_collisions;
20
extern int gCar_car_collisions;
Line 57... Line 56...
57
extern int gCollision_count;
56
extern int gCollision_count;
58
extern int gCamera_frozen;
57
extern int gCamera_frozen;
59
extern int gMaterial_index;
58
extern int gMaterial_index;
60
extern int gInTheSea;
59
extern int gInTheSea;
61
extern int gCamera_mode;
60
extern int gCamera_mode;
62
extern br_scalar gOur_yaw__car; // suffix added to avoid duplicate symbol
61
extern br_scalar gOur_yaw__car;            // suffix added to avoid duplicate symbol
63
extern br_scalar gGravity__car; // suffix added to avoid duplicate symbol
62
extern br_scalar gGravity__car;            // suffix added to avoid duplicate symbol
64
extern br_vector3 gNew_ground_normal__car; // suffix added to avoid duplicate symbol
63
extern br_vector3 gNew_ground_normal__car; // suffix added to avoid duplicate symbol
65
extern char gNon_car_spec_list[100];
64
extern char gNon_car_spec_list[100];
66
extern tU32 gMechanics_time_sync;
65
extern tU32 gMechanics_time_sync;
67
extern int gNum_cars_and_non_cars;
66
extern int gNum_cars_and_non_cars;
68
 
67