time budget with c++ and sdl!