Advertisement
Weegee

Untitled

Aug 19th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1.     if (elapsed == timer->elapsed + 1000)
  2.     {
  3.         timer->elapsed = elapsed;
  4.        
  5.         fprintf(debuglog, "[1000] timer->elapsed: %u\n", timer->elapsed);
  6.         fflush(debuglog);
  7.        
  8.         loop_timer(list_win->win_game, timer);
  9.         loop_obstacles(list_win->win_game, list_bu, list_ob, pl);
  10.     }
  11.    
  12.     if (elapsed == timer->elapsed + 500)
  13.     {
  14.         timer->elapsed = elapsed;
  15.        
  16.         fprintf(debuglog, "[500] timer->elapsed: %u\n", timer->elapsed);
  17.         fflush(debuglog);
  18.        
  19.         loop_bullets(list_win->win_game, list_bu, list_ob, pl);
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement