Files
@ r8197:5f087672abf6
Branch filter:
Location: cpp/openttd-patchpack/source/src/sound/null_s.h - annotation
r8197:5f087672abf6
599 B
text/x-c
(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r5475:3f5cd13d1b63 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7193:2cae66b95848 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r5475:3f5cd13d1b63 r5988:7f6f0097eeb1 | /* $Id$ */
#ifndef SOUND_NULL_H
#define SOUND_NULL_H
#include "sound_driver.hpp"
class SoundDriver_Null: public SoundDriver {
public:
/* virtual */ const char *Start(const char * const *param) { return NULL; }
/* virtual */ void Stop() { }
};
class FSoundDriver_Null: public SoundDriverFactory<FSoundDriver_Null> {
public:
static const int priority = 0;
/* virtual */ const char *GetName() { return "null"; }
/* virtual */ const char *GetDescription() { return "Null Sound Driver"; }
/* virtual */ Driver *CreateInstance() { return new SoundDriver_Null(); }
};
#endif /* SOUND_NULL_H */
|