#include "hub.h"
+extern void doMusicInfo(unsigned int);
+
void createStatsPanel(int page)
{
SDL_Surface *image = graphics.getSprite("infoPanel", true)->image[0];
int labelWidth = 0;
Uint32 frameLimit = SDL_GetTicks() + 16;
+ Uint32 now = SDL_GetTicks();
int mouseXDelta = 0;
int mouseYDelta = 0;
graphics.blit(cursor->getCurrentFrame(), engine.getMouseX(), engine.getMouseY(), graphics.screen, true);
+ doMusicInfo(SDL_GetTicks() - (now + 60000));
engine.delay(frameLimit);
frameLimit = SDL_GetTicks() + 16;
}
#include "title.h"
+extern void doMusicInfo(unsigned int);
+
/**
* Displays the skill level widgets and hide the others
*/
graphics.blit(version, (630 - version->w), 460, graphics.screen, false);
allFadedOn = true;
}
+
+ doMusicInfo(SDL_GetTicks() - (now + 39000));
}
Math::wrapFloat(&(offX -= 0.25), -graphics.background->w, 0);
audio.playMusic();
engine.resetTimeDifference();
+ Uint32 now = SDL_GetTicks();
while (y[numberOfCredits - 1] > 350)
{
graphics.drawRect(0, 0, 640, 30, graphics.black, graphics.screen);
}
+ doMusicInfo(SDL_GetTicks() - (now + 10000));
+
SDL_Delay(16);
}