diff options
author | Max Horn | 2003-07-31 12:33:33 +0000 |
---|---|---|
committer | Max Horn | 2003-07-31 12:33:33 +0000 |
commit | 1b52e9f19cec1693dc9331b0d503aff07f507427 (patch) | |
tree | b58aeeb9e9156a9c3b7477c6116da3f78ee07675 /common | |
parent | f7ee6d2ce10fb215067ee1a32d4cb124aaa881af (diff) | |
download | scummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.tar.gz scummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.tar.bz2 scummvm-rg350-1b52e9f19cec1693dc9331b0d503aff07f507427.zip |
added new header file backends/intern.h; removed some stuff from common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h)
svn-id: r9327
Diffstat (limited to 'common')
-rw-r--r-- | common/gameDetector.cpp | 1 | ||||
-rw-r--r-- | common/system.h | 29 |
2 files changed, 1 insertions, 29 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index af2061a712..7ac15e925b 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -21,6 +21,7 @@ */ #include "stdafx.h" +#include "backends/intern.h" #include "sound/mididrv.h" #include "engine.h" #include "gameDetector.h" diff --git a/common/system.h b/common/system.h index aaf2df4cda..029206d263 100644 --- a/common/system.h +++ b/common/system.h @@ -362,33 +362,4 @@ public: //@} }; -/* Factory functions. This means we don't have to include the headers for - * all backends. - */ -extern OSystem *OSystem_SDL_create(int gfx_driver, bool full_screen, bool aspect_ratio); -extern OSystem *OSystem_NULL_create(); -extern OSystem *OSystem_MorphOS_create(int game_id, int gfx_driver, bool full_screen); -extern OSystem *OSystem_Dreamcast_create(); -extern OSystem *OSystem_WINCE3_create(); -extern OSystem *OSystem_X11_create(); -extern OSystem *OSystem_MAC_create(int gfx_mode, bool full_screen); -extern OSystem *OSystem_GP32_create(int gfx_mode, bool full_screen); //ph0x -extern OSystem *OSystem_PALMOS_create(int gfx_mode); - -#ifdef _WIN32_WCE -#define SAMPLES_PER_SEC_OLD 11025 -#define SAMPLES_PER_SEC_NEW 22050 -#else -//#define SAMPLES_PER_SEC 11025 -#define SAMPLES_PER_SEC 22050 -//#define SAMPLES_PER_SEC 44100 -#endif - -enum { - FMOPL_ENV_BITS_HQ = 16, - FMOPL_ENV_BITS_LQ = 8, - FMOPL_EG_ENT_HQ = 4096, - FMOPL_EG_ENT_LQ = 128 -}; - #endif |