equal
deleted
inserted
replaced
44 #include "signs.h" |
44 #include "signs.h" |
45 #include "depot.h" |
45 #include "depot.h" |
46 #include "waypoint.h" |
46 #include "waypoint.h" |
47 #include "ai/ai.h" |
47 #include "ai/ai.h" |
48 #include "train.h" |
48 #include "train.h" |
|
49 #include "yapf/yapf.h" |
49 #include "settings.h" |
50 #include "settings.h" |
50 |
51 |
51 #include <stdarg.h> |
52 #include <stdarg.h> |
52 |
53 |
53 void GenerateWorld(int mode, uint size_x, uint size_y); |
54 void GenerateWorld(int mode, uint size_x, uint size_y); |
1425 FOR_ALL_STATIONS(st) { |
1426 FOR_ALL_STATIONS(st) { |
1426 st->last_vehicle_type = VEH_Invalid; |
1427 st->last_vehicle_type = VEH_Invalid; |
1427 } |
1428 } |
1428 } |
1429 } |
1429 |
1430 |
|
1431 YapfNotifyTrackLayoutChange(INVALID_TILE, INVALID_TRACK); |
|
1432 |
1430 FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index); |
1433 FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index); |
1431 |
1434 |
1432 if (!CheckSavegameVersion(27)) AfterLoadStations(); |
1435 if (!CheckSavegameVersion(27)) AfterLoadStations(); |
1433 |
1436 |
1434 return true; |
1437 return true; |