Test
This commit is contained in:
@@ -161,7 +161,12 @@ readchar(struct rogue_state *rs)
|
|||||||
{
|
{
|
||||||
//if ( rs->ind == rs->numkeys-1 )
|
//if ( rs->ind == rs->numkeys-1 )
|
||||||
// rs->replaydone = (uint32_t)time(NULL);
|
// rs->replaydone = (uint32_t)time(NULL);
|
||||||
fprintf(stderr,"(%c) ",rs->keystrokes[rs->ind]);
|
if ( rs->keystrokes[rs->ind] == 'Q' )
|
||||||
|
{
|
||||||
|
rs->ind++;
|
||||||
|
fprintf(stderr,"Q.(%c) ",rs->keystrokes[rs->ind]);
|
||||||
|
return('q');
|
||||||
|
}
|
||||||
return(rs->keystrokes[rs->ind++]);
|
return(rs->keystrokes[rs->ind++]);
|
||||||
}
|
}
|
||||||
if ( rs->replaydone != 0 && counter++ < 3 )
|
if ( rs->replaydone != 0 && counter++ < 3 )
|
||||||
|
|||||||
Reference in New Issue
Block a user