Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (elapsed == timer->elapsed + 1000)
- {
- timer->elapsed = elapsed;
- fprintf(debuglog, "[1000] timer->elapsed: %u\n", timer->elapsed);
- fflush(debuglog);
- loop_timer(list_win->win_game, timer);
- loop_obstacles(list_win->win_game, list_bu, list_ob, pl);
- }
- if (elapsed == timer->elapsed + 500)
- {
- timer->elapsed = elapsed;
- fprintf(debuglog, "[500] timer->elapsed: %u\n", timer->elapsed);
- fflush(debuglog);
- loop_bullets(list_win->win_game, list_bu, list_ob, pl);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement