remove some unused stuff
This commit is contained in:
@@ -14,23 +14,6 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
/* Pull in all of our SDL libraries here. */
|
|
||||||
#ifdef _XBOX
|
|
||||||
#ifdef DEBUG
|
|
||||||
#pragma comment(lib, "SDLx-0.02/SDLxd.lib")
|
|
||||||
#else
|
|
||||||
#pragma comment(lib, "SDLx-0.02/SDLx.lib")
|
|
||||||
#endif
|
|
||||||
#elif defined _WINDOWS
|
|
||||||
#ifdef DEBUG
|
|
||||||
#pragma comment(lib, "SDL-1.2.6/lib/SDLd.lib")
|
|
||||||
#else
|
|
||||||
#pragma comment(lib, "SDL-1.2.6/lib/SDL.lib")
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool SDL_GetEvent( SDL_Event &event, int mask )
|
bool SDL_GetEvent( SDL_Event &event, int mask )
|
||||||
{
|
{
|
||||||
/* SDL_PeepEvents returns error if video isn't initialized. */
|
/* SDL_PeepEvents returns error if video isn't initialized. */
|
||||||
@@ -222,19 +205,6 @@ RageSurface *RageSurfaceFromSDLSurface( SDL_Surface *surf )
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDL_UpdateHWnd()
|
|
||||||
{
|
|
||||||
#ifdef _WINDOWS
|
|
||||||
/* Grab the window manager specific information */
|
|
||||||
SDL_SysWMinfo info;
|
|
||||||
SDL_VERSION(&info.version);
|
|
||||||
if ( SDL_GetWMInfo(&info) < 0 )
|
|
||||||
RageException::Throw( "SDL_GetWMInfo failed" );
|
|
||||||
|
|
||||||
g_hWndMain = info.window;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(UNIX)
|
#if defined(UNIX)
|
||||||
#include "archutils/Unix/EmergencyShutdown.h"
|
#include "archutils/Unix/EmergencyShutdown.h"
|
||||||
void EmergencyShutdownSDL()
|
void EmergencyShutdownSDL()
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ void mySDL_WM_SetIcon( CString sIconFile );
|
|||||||
SDL_Surface *SDLSurfaceFromRageSurface( RageSurface *surf );
|
SDL_Surface *SDLSurfaceFromRageSurface( RageSurface *surf );
|
||||||
RageSurface *RageSurfaceFromSDLSurface( SDL_Surface *surf );
|
RageSurface *RageSurfaceFromSDLSurface( SDL_Surface *surf );
|
||||||
|
|
||||||
void SDL_UpdateHWnd();
|
|
||||||
|
|
||||||
void SetupSDL();
|
void SetupSDL();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user