Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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