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 1... Line 1...
1
#include "racestrt.h"
1
#include "racestrt.h"
2
#include "brender.h"
2
#include "brender/brender.h"
3
#include "cutscene.h"
3
#include "cutscene.h"
4
#include "displays.h"
4
#include "displays.h"
5
#include "drmem.h"
5
#include "drmem.h"
6
#include "errors.h"
6
#include "errors.h"
7
#include "flicplay.h"
7
#include "flicplay.h"
Line 38... Line 38...
38
int gChange_race_net_mode;
38
int gChange_race_net_mode;
39
tParts_category gPart_category;
39
tParts_category gPart_category;
40
tU32 gNet_synch_start;
40
tU32 gNet_synch_start;
41
tNet_game_details* gChoose_car_net_game;
41
tNet_game_details* gChoose_car_net_game;
42
int gPart_index;
42
int gPart_index;
43
int gChallenger_index__racestrt; // suffix added to avoid duplicate symbol
43
int gChallenger_index__racestrt;                 // suffix added to avoid duplicate symbol
44
tGrid_draw gDraw_grid_status;
44
tGrid_draw gDraw_grid_status;
45
tNet_sequence_type gNet_race_sequence__racestrt; // suffix added to avoid duplicate symbol
45
tNet_sequence_type gNet_race_sequence__racestrt; // suffix added to avoid duplicate symbol
46
br_pixelmap* gTaken_image;
46
br_pixelmap* gTaken_image;
47
int gGrid_number_x_coords[31];
47
int gGrid_number_x_coords[31];
48
int gGrid_transition_stage;
48
int gGrid_transition_stage;
Line 617... Line 617...
617
    if (pNet_mode) {
617
    if (pNet_mode) {
618
        BrPixelmapFree(gTaken_image);
618
        BrPixelmapFree(gTaken_image);
619
    }
619
    }
620
    if (result == 0) {
620
    if (result == 0) {
621
        if (pNet_mode) {
621
        if (pNet_mode) {
622
            *pCar_index = gProgram_state.cars_available[gCurrent_car_index];
622
            *pCar_index = gProgram_state.cars_available[gCurrent_race_index];
623
        } else {
623
        } else {
624
            AboutToLoadFirstCar();
624
            AboutToLoadFirstCar();
625
            SwitchToRealResolution();
625
            SwitchToRealResolution();
626
            for (i = 0; i < COUNT_OF(power_up_levels); i++) {
626
            for (i = 0; i < COUNT_OF(power_up_levels); i++) {
627
                power_up_levels[i] = gProgram_state.current_car.power_up_levels[i];
627
                power_up_levels[i] = gProgram_state.current_car.power_up_levels[i];