Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory.

This commit is contained in:
Ben Anderson
2005-03-14 06:44:38 +00:00
parent eaaace1f30
commit 0db665d4d6
95 changed files with 765 additions and 493 deletions
@@ -6,17 +6,7 @@
#include "PrefsManager.h"
#include "RageFile.h"
#include "arch/arch_platform.h"
/* _WINDOWS is Windows only, where _WIN32 is Windows and Xbox, I think. Does this
* work on the Xbox? -glenn */
#if defined(_WINDOWS)
#include "MovieTexture_DShow.h"
#endif
#ifdef HAVE_FFMPEG
#include "MovieTexture_FFMpeg.h"
#endif
#include "Selector_MovieTexture.h"
void ForceToAscii( CString &str )
{
@@ -91,13 +81,15 @@ RageMovieTexture *MakeRageMovieTexture(RageTextureID ID)
{
Driver = DriversToTry[i];
LOG->Trace("Initializing driver: %s", Driver.c_str());
#ifdef _WINDOWS
#ifdef USE_MOVIE_TEXTURE_DSHOW
if( !Driver.CompareNoCase("DShow") ) ret = new MovieTexture_DShow(ID);
#endif
#ifdef HAVE_FFMPEG
#ifdef USE_MOVIE_TEXTURE_FFMPEG
if( !Driver.CompareNoCase("FFMpeg") ) ret = new MovieTexture_FFMpeg(ID);
#endif
#ifdef USE_MOVIE_TEXTURE_NULL
if( !Driver.CompareNoCase("Null") ) ret = new MovieTexture_Null(ID);
#endif
if( ret == NULL )
{
LOG->Warn( "Unknown movie driver name: %s", Driver.c_str() );