Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

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