Ignore:
Timestamp:
May 3, 2011, 3:02:52 PM (11 years ago)
Author:
Sam Hocevar
Message:

game: get rid of milli_wait() and rewrite the fixed framerate handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/menu.cpp

    r555 r577  
    257257      wm->flush_screen();
    258258      save->put_image(screen,mx+1,by1);
    259     } else milli_wait(10);
     259    } else { Timer tmp; tmp.WaitMs(10); }
    260260
    261261  } while (!done);
     
    694694        {
    695695            // ECS - Added so that main menu doesn't grab 100% of CPU
    696             milli_wait(30);
     696            Timer tmp; tmp.WaitMs(30);
    697697        }
    698698
Note: See TracChangeset for help on using the changeset viewer.