Display
This commit is contained in:
@@ -672,7 +672,7 @@ void *gamesiterate(struct games_state *rs)
|
|||||||
while ( running != 0 )
|
while ( running != 0 )
|
||||||
{
|
{
|
||||||
running = tg_tick(rs,tg,move);
|
running = tg_tick(rs,tg,move);
|
||||||
if ( 0 && (rs->guiflag != 0 || rs->sleeptime != 0) )
|
if ( 1 && (rs->guiflag != 0 || rs->sleeptime != 0) )
|
||||||
{
|
{
|
||||||
display_board(board,tg);
|
display_board(board,tg);
|
||||||
display_piece(next,tg->next);
|
display_piece(next,tg->next);
|
||||||
@@ -698,8 +698,8 @@ void *gamesiterate(struct games_state *rs)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( rs->sleeptime >= 1000 )
|
if ( rs->sleeptime != 0 )
|
||||||
sleep_milli(rs->sleeptime/1000);
|
sleep_milli(1);
|
||||||
if ( skipcount == 0 )
|
if ( skipcount == 0 )
|
||||||
{
|
{
|
||||||
c = games_readevent(rs);
|
c = games_readevent(rs);
|
||||||
|
|||||||
Reference in New Issue
Block a user