summaryrefslogtreecommitdiff
path: root/src/newgrf_generic.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-11-04 21:05:08 +0000
committermichi_cc <michi_cc@openttd.org>2011-11-04 21:05:08 +0000
commit707b0f48e6b4d886a7e744802096a56a5a097e3e (patch)
tree8d41f1903db127cafe30a1d8462aa7979e6d1d2e /src/newgrf_generic.h
parenta471a20491a0253125ca1f24c44879371d8d950e (diff)
downloadopenttd-707b0f48e6b4d886a7e744802096a56a5a097e3e.tar.xz
(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.
Diffstat (limited to 'src/newgrf_generic.h')
-rw-r--r--src/newgrf_generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_generic.h b/src/newgrf_generic.h
index ffcaf8921..ca245193e 100644
--- a/src/newgrf_generic.h
+++ b/src/newgrf_generic.h
@@ -15,6 +15,7 @@
#include "cargo_type.h"
#include "industry_type.h"
#include "newgrf.h"
+#include "tile_type.h"
struct SpriteGroup;
@@ -50,5 +51,6 @@ void ResetGenericCallbacks();
void AddGenericCallback(uint8 feature, const GRFFile *file, const SpriteGroup *group);
uint16 GetAiPurchaseCallbackResult(uint8 feature, CargoID cargo_type, uint8 default_selection, IndustryType src_industry, IndustryType dst_industry, uint8 distance, AIConstructionEvent event, uint8 count, uint8 station_size, const GRFFile **file);
+void AmbientSoundEffectCallback(TileIndex tile);
#endif /* NEWGRF_GENERIC_H */