(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "sound/null_s.h"
|
||||
#include "../stdafx.h"
|
||||
#include "../openttd.h"
|
||||
#include "null_s.h"
|
||||
|
||||
static const char *NullSoundStart(const char * const *parm) { return NULL; }
|
||||
static void NullSoundStop(void) {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef SOUND_NULL_H
|
||||
#define SOUND_NULL_H
|
||||
|
||||
#include "hal.h"
|
||||
#include "../hal.h"
|
||||
|
||||
extern const HalSoundDriver _null_sound_driver;
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "driver.h"
|
||||
#include "mixer.h"
|
||||
#include "sdl.h"
|
||||
#include "sound/sdl_s.h"
|
||||
#include "../stdafx.h"
|
||||
|
||||
#ifdef WITH_SDL
|
||||
|
||||
#include "../openttd.h"
|
||||
#include "../driver.h"
|
||||
#include "../mixer.h"
|
||||
#include "../sdl.h"
|
||||
#include "sdl_s.h"
|
||||
#include <SDL.h>
|
||||
|
||||
static void CDECL fill_sound_buffer(void *userdata, Uint8 *stream, int len)
|
||||
@@ -40,3 +43,5 @@ const HalSoundDriver _sdl_sound_driver = {
|
||||
SdlSoundStart,
|
||||
SdlSoundStop,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef SOUND_SDL_H
|
||||
#define SOUND_SDL_H
|
||||
|
||||
#include "hal.h"
|
||||
#include "../hal.h"
|
||||
|
||||
extern const HalSoundDriver _sdl_sound_driver;
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "driver.h"
|
||||
#include "functions.h"
|
||||
#include "mixer.h"
|
||||
#include "sound/win32_s.h"
|
||||
#include "../stdafx.h"
|
||||
#include "../openttd.h"
|
||||
#include "../driver.h"
|
||||
#include "../functions.h"
|
||||
#include "../mixer.h"
|
||||
#include "win32_s.h"
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
|
||||
static HWAVEOUT _waveout;
|
||||
static WAVEHDR _wave_hdr[2];
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef SOUND_WIN32_H
|
||||
#define SOUND_WIN32_H
|
||||
|
||||
#include "hal.h"
|
||||
#include "../hal.h"
|
||||
|
||||
extern const HalSoundDriver _win32_sound_driver;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user