Merge branch 'master' into jgrpp
# Conflicts: # src/ai/ai_core.cpp # src/ai/ai_gui.cpp # src/ai/ai_instance.cpp # src/console_cmds.cpp # src/engine_type.h # src/game/game_gui.cpp # src/game/game_instance.cpp # src/goal.cpp # src/goal_cmd.h # src/lang/english.txt # src/lang/estonian.txt # src/network/network_client.cpp # src/newgrf.cpp # src/newgrf_generic.h # src/openttd.cpp # src/saveload/saveload.h # src/script/api/script_log.cpp # src/script/api/script_town.cpp # src/settings_table.cpp # src/station_cmd.cpp # src/station_cmd.h # src/station_map.h # src/strings.cpp # src/table/settings/difficulty_settings.ini # src/table/settings/gui_settings.ini # src/tbtr_template_gui_main.h # src/timetable_cmd.cpp # src/timetable_cmd.h # src/timetable_gui.cpp # src/town_gui.cpp # src/train_gui.cpp # src/water_cmd.cpp
This commit is contained in:
@@ -48,6 +48,7 @@ void ResetGenericCallbacks();
|
||||
void AddGenericCallback(GrfSpecFeature feature, const GRFFile *file, const SpriteGroup *group);
|
||||
|
||||
uint16 GetAiPurchaseCallbackResult(GrfSpecFeature 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);
|
||||
|
||||
/** Play an ambient sound effect for an empty tile. */
|
||||
static inline void AmbientSoundEffect(TileIndex tile)
|
||||
@@ -55,7 +56,6 @@ static inline void AmbientSoundEffect(TileIndex tile)
|
||||
/* Only run callback if enabled. */
|
||||
if (!HasGrfMiscBit(GMB_AMBIENT_SOUND_CALLBACK)) return;
|
||||
|
||||
extern void AmbientSoundEffectCallback(TileIndex tile);
|
||||
AmbientSoundEffectCallback(tile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user