(svn r19197) -Codechange: introduce animation callbacks for airport tiles

This commit is contained in:
yexo
2010-02-22 14:16:57 +00:00
parent 61fe40ba73
commit 7ca4c31cf5
5 changed files with 148 additions and 6 deletions

View File

@@ -27,6 +27,7 @@
#include "newgrf_industries.h"
#include "newgrf_industrytiles.h"
#include "newgrf_station.h"
#include "newgrf_airporttiles.h"
#include "unmovable.h"
#include "group.h"
#include "strings_func.h"
@@ -1288,6 +1289,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
st->last_vehicle_type = v->type;
StationAnimationTrigger(st, st->xy, STAT_ANIM_CARGO_TAKEN, v->cargo_type);
AirportAnimationTrigger(st, AAT_STATION_CARGO_TAKEN, v->cargo_type);
unloading_time += cap;