diff options
author | tron <tron@openttd.org> | 2005-07-23 15:16:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-23 15:16:57 +0000 |
commit | 07a6e612ec560945c55798b67bbb56a00f1cb06b (patch) | |
tree | 1e83d1a7e27b80f46817858872b1f46a903f1d1b /hal.h | |
parent | af1d71985678a907dcb2c76e4873ec317cefecfc (diff) | |
download | openttd-07a6e612ec560945c55798b67bbb56a00f1cb06b.tar.xz |
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -47,10 +47,6 @@ enum { HALERR_ERROR = 1, }; -extern const HalMusicDriver _null_music_driver; -extern const HalVideoDriver _null_video_driver; -extern const HalSoundDriver _null_sound_driver; - VARDEF HalMusicDriver *_music_driver; VARDEF HalSoundDriver *_sound_driver; VARDEF HalVideoDriver *_video_driver; @@ -59,15 +55,6 @@ extern const DriverDesc _video_driver_descs[]; extern const DriverDesc _sound_driver_descs[]; extern const DriverDesc _music_driver_descs[]; -#if defined(WITH_SDL) -extern const HalSoundDriver _sdl_sound_driver; -extern const HalVideoDriver _sdl_video_driver; -#endif - -#if defined(UNIX) -extern const HalMusicDriver _extmidi_music_driver; -#endif - #if defined(__BEOS__) extern const HalMusicDriver _bemidi_music_driver; #endif @@ -87,13 +74,6 @@ enum DriverType { extern void GameLoop(void); extern bool _dbg_screen_rect; -void LoadDriver(int driver, const char *name); - -const char *GetDriverParam(const char * const *parm, const char *name); -bool GetDriverParamBool(const char * const *parm, const char *name); -int GetDriverParamInt(const char * const *parm, const char *name, int def); - - // Deals with finding savegames typedef struct { |