Move ExitGame into GameLoop.h.

This commit is contained in:
Steve Checkoway
2005-10-30 09:45:52 +00:00
parent 33c0408ca2
commit 8d56d70e0f
7 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
#import <Cocoa/Cocoa.h>
#include "ProductInfo.h"
#include "GameLoop.h"
// XXX remove these
extern void ExitGame();
extern "C"
{
extern int SDL_main(int, char **);
+1
View File
@@ -3,6 +3,7 @@
#ifndef GAME_LOOP_H
#define GAME_LOOP_H
void ExitGame();
void GameLoop();
void StartConcurrentRendering();
void FinishConcurrentRendering();
+1 -1
View File
@@ -5,7 +5,7 @@
#include "GameSoundManager.h"
#include "RageSound.h"
#include "RageLog.h"
#include "StepMania.h"
#include "GameLoop.h"
/* This screen used to wait for sounds to stop. However, implementing GetPlayingSounds()
* is annoying, because sounds might be deleted at any time; they aren't ours to have
-1
View File
@@ -11,7 +11,6 @@ int main( int argc, char* argv[] );
#endif
void ApplyGraphicOptions();
void NORETURN HandleException( CString error );
void ExitGame();
void ResetGame();
void ChangeCurrentGame( const Game* g );
void FocusChanged( bool bHasFocus );
@@ -3,6 +3,7 @@
#include "RageThreads.h"
#include "ArchHooks_Unix.h"
#include "StepMania.h"
#include "GameLoop.h"
#include "archutils/Unix/SignalHandler.h"
#include "archutils/Unix/GetSysInfo.h"
#include "archutils/Unix/LinuxThreadHelpers.h"
@@ -8,6 +8,7 @@
#include "archutils/Unix/CrashHandler.h"
#include "archutils/Unix/SignalHandler.h"
#include "StepMania.h"
#include "GameLoop.h"
#define Random Random_ // work around namespace pollution
#include <Carbon/Carbon.h>
#undef Random_
@@ -4,6 +4,7 @@
#include "RageLog.h"
#include "RageDisplay.h" // for REFRESH_DEFAULT
#include "StepMania.h"
#include "GameLoop.h"
#if defined(UNIX)
#include <X11/Xlib.h>