From 126fed74d63e8ebbabff2fa9dccf10fdd5a68333 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 23 Jul 2005 15:16:57 +0000 Subject: (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.) --- hal.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'hal.h') diff --git a/hal.h b/hal.h index e643ecda2..fb58f09af 100644 --- a/hal.h +++ b/hal.h @@ -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 { -- cgit v1.2.3-54-g00ecf