Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _GLOBVARS_H_
2
#define _GLOBVARS_H_
3
 
20 pmbaty 4
#include "brender/br_types.h"
1 pmbaty 5
#include "dr_types.h"
6
 
7
extern int gTyping;
8
extern int gArrow_mode;
9
extern int gInfo_on;
10
extern int gHost_abandon_game;
11
extern int gRecover_car;
12
extern int gDisallow_abandon_race;
13
extern int gPipe_reg_snap_before_new_game;
14
extern int gPipe_reg_snap_before_our_car;
15
extern int gPipe_reg_snap_after_our_car;
16
extern int gAction_replay_mode;
17
extern int gDefault_engine_noise_index;
18
extern int gAusterity_mode;
19
extern int gSausage_override;
20
extern int gAustere_override;
21
extern int gSound_override;
22
extern int gKey_map_index;
23
extern int gInterface_within_race_mode;
24
extern int gCut_scene_override;
25
extern int gGame_to_load;
26
extern int gCD_is_in_drive;
27
extern br_pixelmap* gRearview_screen;
28
extern br_scalar gCut_delay_1;
29
extern br_scalar gCut_delay_2;
30
extern br_scalar gCut_delay_3;
31
extern br_scalar gCut_delay_4;
32
extern br_scalar gYon_multiplier;
33
extern tSave_game* gPre_race_saved_game;
34
extern FILE* gDiagnostic_file;
35
extern br_vector3 gDisabled_vector;
36
extern tU32 gI_am_cheating;
37
extern char gNet_player_name[32];
38
extern br_matrix34 gRearview_camera_to_world;
39
extern tSpecial_volume gDefault_default_water_spec_vol;
40
extern br_matrix34 gCamera_to_world;
41
extern tRace_list_spec gRace_list[100];
42
extern tPath_name gApplication_path;
43
extern float gPinball_factor;
44
extern float gOpponent_speed_factor;
45
extern float gCar_crush_min_fold;
46
extern float gNet_recovery_cost[7];
47
extern float gCar_crush_softness;
48
extern br_vector3* gOur_pos;
49
extern float gCar_crush_max_fold;
50
extern tBrender_storage gNet_cars_storage_space;
51
extern float gNet_softness[7];
52
extern tS32 gJoystick_deadzone;
53
extern float gCar_crush_limit_deviant;
54
extern float gNet_offensive[7];
55
extern float gCar_crush_split_chance;
56
extern float gGravity_multiplier;
57
extern float gCar_crush_wibble;
58
extern float gRepair_cost[3];
59
extern float gCop_speed_factor;
60
extern float gDefault_gravity;
61
extern tU32 gKeys_pressed;
62
extern tSpecial_volume* gDefault_water_spec_vol;
63
extern float gNet_repair_cost[7];
64
extern br_font* gFont_7;
65
extern tU32 gLast_replay_frame_time;
66
extern tU32 gTag_start_time;
67
extern tOpponent* gOpponents;
68
extern tU32 gLast_credit_tick;
69
extern tBrender_storage gTheir_cars_storage_space;
70
extern br_font* gHeadup_font;
71
extern tU32 gRace_finished;
72
extern tU32 gFrame_start_time;
73
extern tProgram_state gProgram_state;
74
extern tU32 gCredit_period_single[3];
75
extern tU32 gRace_start;
76
extern tBrender_storage gTrack_storage_space;
77
extern tU32 gFrame_period;
78
extern tU32 gCredit_period;
79
extern tU32 gCredit_period_network[7];
80
extern tBrender_storage gOur_car_storage_space;
81
extern tU32 gFox_start_time;
82
extern br_font* gBig_font;
83
extern tBrender_storage gPedestrians_storage_space;
84
extern tRace_info gCurrent_race;
85
extern br_actor* gSelf;
86
extern br_actor* gDont_render_actor;
87
extern br_pixelmap* gScreen;
88
extern br_pixelmap* gRender_screen;
89
extern br_actor* gRearview_camera;
90
extern br_scalar gCamera_hither;
91
extern br_pixelmap* gBack_screen;
92
extern br_scalar gCamera_angle;
93
extern br_pixelmap* gDigits_pix;
94
extern br_pixelmap* gRender_shade_table;
95
extern br_pixelmap* gRearview_depth_buffer;
96
extern br_pixelmap* gWhole_screen;
97
extern br_pixelmap* gIcons_pix;
98
extern br_scalar gCamera_yon;
99
extern br_actor* gCamera;
100
extern br_actor* gArrow_actor;
101
extern br_pixelmap* gIcons_pix_low_res;
102
extern br_pixelmap* gDepth_buffer;
103
extern int gInitial_net_credits[5];
104
extern float gCar_cred_value[3];
105
extern int gNo_races_yet;
106
extern int gJump_start_fine[3];
107
extern int gReal_graf_data_index;
108
extern float gCar_time_value[3];
109
extern int gTyping_slot;
110
extern int gCunning_stunt_bonus[3];
111
extern int gKnobbled_frame_period;
112
extern br_actor* gNon_track_actor;
113
extern int gWait_for_it;
114
extern int gCheck_point_cash[3];
115
extern int gPoints_per_second[3];
116
extern br_actor* gUniverse_actor;
117
extern br_actor* gTrack_actor;
118
extern int gMap_mode;
119
extern int gPed_time_value[3];
120
extern int gAbandon_game;
121
extern int gLap;
122
extern int gShow_opponents;
123
extern int gTotal_laps;
124
extern int gFree_repairs;
125
extern int gFreeze_timer;
126
extern int gRoll_over_creds[3];
127
extern int gShow_peds_on_map;
128
extern int gOn_drugs;
129
extern int gWasted_time[3];
130
extern int gCheckpoint;
131
extern int gRoll_over_time[3];
132
extern int gWasted_creds[3];
133
extern int gTimer;
134
extern int gCheckpoint_count;
135
extern int gCountdown;
136
extern int gFrame_rate;
137
extern int gNumber_of_racers;
138
extern int gSound_enabled;
139
extern int gGraf_spec_index;
140
extern int gSound_available;
141
extern int gNumber_of_races;
142
extern char gDir_separator[3];
143
 
144
#endif