Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

arch.h

Go to the documentation of this file.
00001 #ifndef ARCH_H 00002 #define ARCH_H 00003 00004 /* Include this file if you need to create an instance of a driver object. */ 00005 class LoadingWindow; 00006 class RageSoundDriver; 00007 class ArchHooks; 00008 class InputHandler; 00009 class LowLevelWindow; 00010 class LightsDriver; 00011 class MemoryCardDriver; 00012 00013 LoadingWindow *MakeLoadingWindow(); 00014 LowLevelWindow *MakeLowLevelWindow(); 00015 00016 void MakeInputHandlers(CString drivers,vector<InputHandler *> &Add); 00017 RageSoundDriver *MakeRageSoundDriver(CString drivers); 00018 00019 /* These definitions are in here, instead of in arch_*.h, because they 00020 * need to be available to other modules. It'd be overkill to create separate 00021 * "config" and "driver" headers for each arch. */ 00022 00023 /* Define the default list of sound drivers for each arch. It's 00024 * OK to list drivers that may not be available. */ 00025 #if defined(LINUX) 00026 #define DEFAULT_SOUND_DRIVER_LIST "ALSA,ALSA-sw,OSS" 00027 #elif defined(DARWIN) 00028 #define DEFAULT_SOUND_DRIVER_LIST "CoreAudio,QT1" 00029 #elif defined(_WINDOWS) 00030 #define DEFAULT_SOUND_DRIVER_LIST "DirectSound,DirectSound-sw,WaveOut" 00031 #elif defined(_XBOX) 00032 #define DEFAULT_SOUND_DRIVER_LIST "DirectSound" 00033 #else 00034 #define DEFAULT_SOUND_DRIVER_LIST "Null" 00035 #endif 00036 00037 #if defined(_WINDOWS) 00038 #define DEFAULT_INPUT_DRIVER_LIST "DirectInput,Pump" 00039 #elif defined(_XBOX) 00040 #define DEFAULT_INPUT_DRIVER_LIST "Xbox" 00041 #else 00042 #define DEFAULT_INPUT_DRIVER_LIST "SDL" 00043 #endif 00044 00045 #define DEFAULT_MOVIE_DRIVER_LIST "FFMpeg,Null" 00046 00047 /* Choose your renderers. */ 00048 #if defined(_WINDOWS) 00049 #define SUPPORT_OPENGL 00050 #define SUPPORT_D3D 00051 #elif defined(_XBOX) 00052 #define SUPPORT_D3D 00053 #else 00054 #define SUPPORT_OPENGL 00055 #endif 00056 00057 /* Hack for Xbox: All paths must be absolute. */ 00058 #if defined(_XBOX) 00059 #define SYS_BASE_PATH "D:\\" 00060 #else 00061 #define SYS_BASE_PATH "" 00062 #endif 00063 00064 #endif 00065 00066 /* 00067 * (c) 2002-2004 Glenn Maynard 00068 * All rights reserved. 00069 * 00070 * Permission is hereby granted, free of charge, to any person obtaining a 00071 * copy of this software and associated documentation files (the 00072 * "Software"), to deal in the Software without restriction, including 00073 * without limitation the rights to use, copy, modify, merge, publish, 00074 * distribute, and/or sell copies of the Software, and to permit persons to 00075 * whom the Software is furnished to do so, provided that the above 00076 * copyright notice(s) and this permission notice appear in all copies of 00077 * the Software and that both the above copyright notice(s) and this 00078 * permission notice appear in supporting documentation. 00079 * 00080 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00081 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00082 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00083 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00084 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00085 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00086 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00087 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00088 * PERFORMANCE OF THIS SOFTWARE. 00089 */

Generated on Thu Jan 27 20:57:17 2005 for StepMania by doxygen 1.3.7