update
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
#include "RageUtil.h"
|
||||
#include <fstream>
|
||||
|
||||
#include "crash.h"
|
||||
/* XXX */
|
||||
#include "archutils/win32/crash.h"
|
||||
|
||||
RageLog* LOG; // global and accessable from anywhere in the program
|
||||
|
||||
|
||||
@@ -56,8 +56,8 @@ using namespace std;
|
||||
/* Assertion that sets an optional message and brings up the crash handler, so
|
||||
* we get a backtrace. This should probably be used instead of throwing an
|
||||
* exception in most cases we expect never to happen (but not in cases that
|
||||
* we do expect, such as d3d init failure.) */
|
||||
#include "crash.h"
|
||||
* we do expect, such as DSound init failure.) */
|
||||
#include "archutils/win32/crash.h"
|
||||
#define RAGE_ASSERT_M(COND, MESSAGE) { if(!(COND)) { VDCHECKPOINT_M(MESSAGE); *(char*)0=0; } }
|
||||
#define RAGE_ASSERT(COND) RAGE_ASSERT_M((COND), "Assertion '" #COND "' failed")
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -3,20 +3,18 @@
|
||||
* Each sound gets its own stream, which allows for very little startup
|
||||
* latency for each sound and lower CPU usage. */
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "RageSoundDriver_DSound.h"
|
||||
#include "DSoundHelpers.h"
|
||||
|
||||
#include "../../RageSoundManager.h"
|
||||
#include "../../RageException.h"
|
||||
#include "../../RageUtil.h"
|
||||
#include "../../RageSound.h"
|
||||
#include "../../RageLog.h"
|
||||
#include "../../tls.h"
|
||||
#include "RageSoundManager.h"
|
||||
#include "RageException.h"
|
||||
#include "RageUtil.h"
|
||||
#include "RageSound.h"
|
||||
#include "RageLog.h"
|
||||
#include "archutils/win32/tls.h"
|
||||
#include "SDL.h"
|
||||
|
||||
#include "../../RageTimer.h"
|
||||
|
||||
RageSoundManager *SOUNDMAN = NULL;
|
||||
|
||||
const int channels = 2;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "RageSoundDriver_DSound_Software.h"
|
||||
#include "DSoundHelpers.h"
|
||||
|
||||
#include "../../RageTimer.h"
|
||||
#include "../../RageLog.h"
|
||||
#include "../../RageSound.h"
|
||||
#include "../../RageUtil.h"
|
||||
#include "../../tls.h"
|
||||
#include "RageTimer.h"
|
||||
#include "RageLog.h"
|
||||
#include "RageSound.h"
|
||||
#include "RageUtil.h"
|
||||
#include "archutils/win32/tls.h"
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "RageSoundDriver_WaveOut.h"
|
||||
|
||||
#pragma comment(lib, "winmm.lib")
|
||||
|
||||
#include "../../RageTimer.h"
|
||||
#include "../../RageLog.h"
|
||||
#include "../../RageSound.h"
|
||||
#include "../../RageUtil.h"
|
||||
#include "../../tls.h"
|
||||
#include "RageTimer.h"
|
||||
#include "RageLog.h"
|
||||
#include "RageSound.h"
|
||||
#include "RageUtil.h"
|
||||
#include "archutils/win32/tls.h"
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user