More warning cleanup - converted certain class functions to return bool instead of int where appropriate. Also fixed the sdl update() tickCount assignment that I just broke in my last checkin.

This commit is contained in:
wrenczes@gmail.com
2011-06-02 07:01:42 +00:00
parent 90b1058ad5
commit 5b8ecd0cf7
5 changed files with 45 additions and 37 deletions

View File

@@ -333,7 +333,8 @@ void DestroyGame(void)
void SdlApp::OnUpdate()
{
static int tickCount = JGEGetTime();
static int tickCount = 0;
tickCount = JGEGetTime();
int64_t dt = (tickCount - lastTickCount);
lastTickCount = tickCount;