489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
|
if(i==-2) {
main_options['e']=1;
SDL_SetTimer(0,0);
return;
}
if(inputs_count) {
//TODO: Check for solution replay
for(i=0;i<inputs_count && !gameover;i++) input_move(inputs[i]);
inputs_count=0;
}
redraw_game();
timerflag=0; // ensure we have not missed a timer event
break;
}
}
|
|
|
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
|
if(i==-2) {
main_options['e']=1;
SDL_SetTimer(0,0);
return;
}
if(inputs_count) {
//TODO: Check for solution replay
for(i=0;i<inputs_count && !gameover;i++) if(inputs[i]) input_move(inputs[i]);
inputs_count=0;
}
redraw_game();
timerflag=0; // ensure we have not missed a timer event
break;
}
}
|