Subversion Repositories Games.Carmageddon

Rev

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

Rev 1 Rev 11
Line 333... Line 333...
333
}
333
}
334
 
334
 
335
// IDA: void __usercall InitialiseApplication(int pArgc@<EAX>, char **pArgv@<EDX>)
335
// IDA: void __usercall InitialiseApplication(int pArgc@<EAX>, char **pArgv@<EDX>)
336
void InitialiseApplication(int pArgc, char** pArgv) {
336
void InitialiseApplication(int pArgc, char** pArgv) {
337
 
337
 
338
    if (harness_game_config.dos_mode) {
338
    if (harness_game_config.gore_check) {
339
        gProgram_state.sausage_eater_mode = gSausage_override ? 1 : (PDGetGorePassword() ? 0 : 1);
339
        gProgram_state.sausage_eater_mode = gSausage_override ? 1 : (PDGetGorePassword() ? 0 : 1);
340
        PDDisplayGoreworthiness(!gProgram_state.sausage_eater_mode);
340
        PDDisplayGoreworthiness(!gProgram_state.sausage_eater_mode);
341
    } else {
341
    } else {
342
        gProgram_state.sausage_eater_mode = gSausage_override;
342
        gProgram_state.sausage_eater_mode = gSausage_override;
343
    }
343
    }
Line 528... Line 528...
528
    if (TranslationMode()) {
528
    if (TranslationMode()) {
529
        if (gAusterity_mode) {
529
        if (gAusterity_mode) {
530
            FlushInterfaceFonts();
530
            FlushInterfaceFonts();
531
        }
531
        }
532
    } else {
532
    } else {
533
        LoadFont(1);
533
        LoadFont(kFont_ORANGHED);
534
        LoadFont(2);
534
        LoadFont(kFont_BLUEHEAD);
535
        LoadFont(3);
535
        LoadFont(kFont_GREENHED);
536
    }
536
    }
537
    LoadFont(4);
537
    LoadFont(kFont_MEDIUMHD);
538
    LoadFont(5);
538
    LoadFont(kFont_TIMER);
539
    PossibleService();
539
    PossibleService();
540
    LoadFont(6);
540
    LoadFont(kFont_NEWHITE);
541
    LoadFont(7);
541
    LoadFont(kFont_NEWRED);
542
    LoadFont(8);
542
    LoadFont(kFont_NEWBIGGR);
543
    PossibleService();
543
    PossibleService();
544
    ResetRecoveryVouchers();
544
    ResetRecoveryVouchers();
545
    gMap_mode = 0;
545
    gMap_mode = 0;
546
    gProgram_state.cockpit_image_index = 0;
546
    gProgram_state.cockpit_image_index = 0;
547
    if (gNet_mode != eNet_mode_none) {
547
    if (gNet_mode != eNet_mode_none) {