#include "title.h"
+extern void doMusicInfo(unsigned int);
+
/**
* Displays the skill level widgets and hide the others
*/
SDL_SetAlpha(title, SDL_SRCALPHA|SDL_RLEACCEL, 0);
- audio.loadMusic("music/helmet-shake.mod");
+ audio.loadMusic("music/title");
graphics.loadBackground("gfx/main/CircuitBoard.jpg");
SDL_SetAlpha(graphics.background, SDL_SRCALPHA|SDL_RLEACCEL, 0);
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);
SDL_Surface *device = graphics.quickSprite("credit", graphics.loadImage("gfx/main/creditsDevice.png"));
float deviceY = y[numberOfCredits - 7] - 50;
- audio.loadMusic("music/autumnsDawning.s3m");
+ audio.loadMusic("music/credits");
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);
}