equal
deleted
inserted
replaced
1341 SetTileOwner(t, OWNER_WATER); |
1341 SetTileOwner(t, OWNER_WATER); |
1342 } |
1342 } |
1343 } |
1343 } |
1344 } |
1344 } |
1345 |
1345 |
|
1346 if (CheckSavegameVersion(84)) { |
|
1347 Player *p; |
|
1348 FOR_ALL_PLAYERS(p) { |
|
1349 p->name = CopyFromOldName(p->name_1); |
|
1350 if (p->name != NULL) p->name_1 = STR_SV_UNNAMED; |
|
1351 p->president_name = CopyFromOldName(p->president_name_1); |
|
1352 if (p->president_name != NULL) p->president_name_1 = SPECSTR_PRESIDENT_NAME; |
|
1353 } |
|
1354 |
|
1355 Station *st; |
|
1356 FOR_ALL_STATIONS(st) { |
|
1357 st->name = CopyFromOldName(st->string_id); |
|
1358 if (st->name != NULL) st->string_id = STR_EMPTY; |
|
1359 } |
|
1360 |
|
1361 Town *t; |
|
1362 FOR_ALL_TOWNS(t) { |
|
1363 t->name = CopyFromOldName(t->townnametype); |
|
1364 if (t->name != NULL) t->townnametype = SPECSTR_TOWNNAME_START + _opt.town_name; |
|
1365 } |
|
1366 |
|
1367 Waypoint *wp; |
|
1368 FOR_ALL_WAYPOINTS(wp) { |
|
1369 wp->name = CopyFromOldName(wp->string); |
|
1370 wp->string = STR_EMPTY; |
|
1371 } |
|
1372 } |
|
1373 |
1346 /* convert road side to my format. */ |
1374 /* convert road side to my format. */ |
1347 if (_opt.road_side) _opt.road_side = 1; |
1375 if (_opt.road_side) _opt.road_side = 1; |
1348 |
1376 |
1349 /* Check if all NewGRFs are present, we are very strict in MP mode */ |
1377 /* Check if all NewGRFs are present, we are very strict in MP mode */ |
1350 GRFListCompatibility gcf_res = IsGoodGRFConfigList(); |
1378 GRFListCompatibility gcf_res = IsGoodGRFConfigList(); |
1934 v->current_order.refit_cargo = CT_NO_REFIT; |
1962 v->current_order.refit_cargo = CT_NO_REFIT; |
1935 v->current_order.refit_subtype = CT_NO_REFIT; |
1963 v->current_order.refit_subtype = CT_NO_REFIT; |
1936 } |
1964 } |
1937 } |
1965 } |
1938 |
1966 |
1939 if (CheckSavegameVersion(37)) { |
|
1940 ConvertNameArray(); |
|
1941 } |
|
1942 |
|
1943 /* from version 38 we have optional elrails, since we cannot know the |
1967 /* from version 38 we have optional elrails, since we cannot know the |
1944 * preference of a user, let elrails enabled; it can be disabled manually */ |
1968 * preference of a user, let elrails enabled; it can be disabled manually */ |
1945 if (CheckSavegameVersion(38)) _patches.disable_elrails = false; |
1969 if (CheckSavegameVersion(38)) _patches.disable_elrails = false; |
1946 /* do the same as when elrails were enabled/disabled manually just now */ |
1970 /* do the same as when elrails were enabled/disabled manually just now */ |
1947 SettingsDisableElrail(_patches.disable_elrails); |
1971 SettingsDisableElrail(_patches.disable_elrails); |