What does LoopSDK do?
Take care of the windows stuff?
[EDIT]
This is why I want to kill it right away.
I do the set up before the main loop of the program, and if the settings files are corrupt or missing, it will cause the user to have the need to restart their computer.
// MAIN SOURCE FILE FOR INSANE GAME ENGINE
// AUTHOR: NATHAN KRYGIER
// PROJECT START DATE: 6/12/06
// LAST UPDATED: 6/14/06
#include "DarkSDK.h"
#include "igeApplication.h"
igeApplication Application;
#include "igeDiag.h"
igeDiag ErrorHandler;
#include "igeMainMenu.h"
igeMainMenu MainMenu;
void DarkSDK ( void )
{
// INITIALIZE APPLICATION
if(ErrorHandler.Report(Application.Initialize()) != 0)
{
Application.Kill();
}
// DO SPLASH SCREENS
if(ErrorHandler.Report(Application.PlaySplash()) != 0)
{
Application.Kill();
}
// MAIN APPLICATION LOOP
while(Application.LoopStatus() == true && LoopSDK())
{
if(dbEscapeKey() == 1)
{
Application.SetLoop(false);
}
}
}
Current Project: Galaxy Conquest