Subversion Repositories Games.Carmageddon

Rev

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

Rev 20 Rev 21
Line 305... Line 305...
305
// IDA: void __cdecl ToggleReplay()
305
// IDA: void __cdecl ToggleReplay()
306
void ToggleReplay(void) {
306
void ToggleReplay(void) {
307
    LOG_TRACE("()");
307
    LOG_TRACE("()");
308
 
308
 
309
    if (!IsActionReplayAvailable()) {
309
    if (!IsActionReplayAvailable()) {
310
        NewTextHeadupSlot(4, 0, 1000, -4, GetMiscString(kMiscString_ACTION_REPLAY_UNAVAILABLE));
310
        NewTextHeadupSlot(eHeadupSlot_misc, 0, 1000, -4, GetMiscString(kMiscString_ACTION_REPLAY_UNAVAILABLE));
311
        return;
311
        return;
312
    }
312
    }
313
    if (!gAction_replay_mode) {
313
    if (!gAction_replay_mode) {
314
        if (gMap_mode) {
314
        if (gMap_mode) {
315
            ToggleMap();
315
            ToggleMap();