Renamed Frame to Quad; added drawq/addq; fixed some bugs.

This commit is contained in:
rude
2009-08-17 23:35:04 +02:00
parent d4a97d49f3
commit c52c218ba1
25 changed files with 317 additions and 299 deletions
+3 -2
View File
@@ -69,9 +69,10 @@ namespace sdl
}
}
void Timer::sleep(unsigned int ms)
void Timer::sleep(int ms)
{
SDL_Delay(ms);
if(ms > 0)
SDL_Delay(ms);
}
float Timer::getDelta() const
+1 -1
View File
@@ -90,7 +90,7 @@ namespace sdl
* usually 1ms.
* @param ms The number of milliseconds to sleep for.
**/
void sleep(unsigned int ms);
void sleep(int ms);
/**
* Gets the time between the last two frames, assuming step is called