This commit is contained in:
Glenn Maynard
2003-01-24 22:28:23 +00:00
parent 24a8ea5a47
commit bca879f9b0
6 changed files with 28 additions and 35 deletions
+5 -11
View File
@@ -46,20 +46,16 @@
#include "InputQueue.h"
#include "SongCacheIndex.h"
//
// StepMania common classes
//
#include "GameConstantsAndTypes.h"
#include "tls.h"
#include "crash.h"
#include "archutils/win32/tls.h"
#include "archutils/win32/crash.h"
#include "SDL.h"
#include "SDL_opengl.h"
#ifdef _DEBUG
#ifdef DEBUG
#pragma comment(lib, "SDL-1.2.5/lib/SDLmaind.lib")
#else
#pragma comment(lib, "SDL-1.2.5/lib/SDLmain.lib")
@@ -73,8 +69,6 @@ HWND g_hWndMain = NULL;
static bool g_bHasFocus = true;
#include <time.h>
static void ChangeToDirOfExecutable(const char *argv0)
{
@@ -258,11 +252,11 @@ int main(int argc, char* argv[])
SDL_WM_SetCaption("StepMania", "StepMania");
loading_window->Paint();
srand( (unsigned)RageTimer::GetTimeSinceStart() ); // seed number generator
//
// Create game objects
//
srand( (unsigned)time(NULL) ); // seed number generator
LOG = new RageLog();
#ifdef _DEBUG
LOG->ShowConsole();