Dunno why this isnt working.
#include "DarkSDK.h"
#define XiemsoftSplash 1
void DarkSDK (void)
{
dbSyncOn();
dbSyncRate(60);
//////////////////////////////////////////////////////////////////////
// GAME INTRO / SETUP
////////////////////////////
// GAME SETUP
// GAME INTRO
// SPLASH SCREENS
//////////////////////////////////////////////////////////////////////
int iSplashStart = 0, iSplashTime = 0;
dbSetWindowTitle("Insane Combat (tm)");
dbMaximiseWindow();
dbSetWindowOff();
dbSetDisplayMode(800,600,32);
dbLoadImage("2d/xiemsoft-splash.gif",XiemsoftSplash,1);
dbSprite(XiemsoftSplash,0,0,XiemsoftSplash);
iSplashStart = dbTimer();
while(iSplashTime < 4000)
{
dbSprite(XiemsoftSplash,0,0,XiemsoftSplash);
dbSync();
iSplashTime = dbTimer() - iSplashStart;
}
}