Unification Main Loop

From Wikiid
Jump to: navigation, search

The Unification main loop simply causes all of the game subsystems to update themselves:

 while ( 1 )
 {
   updateClock         () ;
   updateEvents        () ;
   updateObjects       ( eventHandler ) ;
   updateCamera        () ;
   updateDatabase      () ;
   updateSky           () ;
   updateParticles     () ;
   updateGraphics      () ;
   updateScreen        () ;
 }