Kraks wrote:planetmaker wrote:
Code: Select all
- Add: translations for Dutch, German, Russian, Spanish and Traditional Chinese
GRF params are still in English... At least for Russian.
upd:
Here is the translation:
Code: Select all
EN Disable airport noise limits
RU Отключить уровни шума аэропортов
EN Disable airport date restrictions
RU Отключить ограничения аэропортов по датам
EN Airport maintenance costs
RU Стоимости обслуживания аэропортов
EN normal
RU обычные
Thanks for that update. It seems that I received the translation before the parameters were added...
The parameters also have a help text which also needs translation, namely
STR_WARNING_OLD_AV8_WITH_PARAM :You have activated reduced maintenance costs in an old version of av8. This will introduce a 2nd set of airports. For best user experience use av8 v2.20 or newer.
STR_PARAM_DISABLE_NOISE_DESC :Sets the noise generated by every airport to 0. This allows you to build an unlimited amount of airports if you play with the setting "Allow town controlled noise level for airports" on.
STR_PARAM_DISABLE_DATE_DESC :Allows all airports to be built regardless of current year.
STR_PARAM_MAINTENANCE_COSTS_DESC :Sets the level of the yearly maintenance costs for the airports
Supercheese wrote:PikkaBird wrote:The first av8 version to test for OpenGFX+ Airports and disable its own changes if found will be version 2200.
av8 Aviators Aircraft Set version 2.2 as downloaded from BaNaNaS says:
Version: 2150
Accordingly, OGFX+ Airports still complains about the maintenance parameter.
(Although I believe the duplicate-entries problem has been solved.)
Ah, that's unfortunate. But yes, it should still work in the sense that the airports are not duplicate (av8 won't define them), but OpenGFX+ Airports won't respect av8's cost parameters in that case as they're bound to av8 version 2200 or later in OpenGFX+ Airport's source:
Code: Select all
#define GRF_PRESENT_AV8 (av8_compatibility & 0x01)
#define GRF_NEW_VERSION_AV8 (av8_compatibility & 0x02)
#define GRF_MAINTENANCE_AV8 (av8_compatibility & 0x04)
#define GRF_SPECIALS_AV8 (av8_compatibility == 0x07)
av8_compatibility = grf_future_status(GRFID_AV8) |
(param[GRFID_AV8, 254] >= 2200) << 1 |
(param[GRFID_AV8, 5] & 0x00000001) << 2;
if (GRF_PRESENT_AV8 && GRF_MAINTENANCE_AV8 && !GRF_NEW_VERSION_AV8) {
error(WARNING, string(STR_WARNING_OLD_AV8_WITH_PARAM));
}
and like
Code: Select all
if GRF_SPECIALS_AV8 { property { maintenance_cost: 1; } }
in the code for the single airports.
I guess I can lower that check to av8 version 2150 in the next release of OpenGFX+ Airports.
I probably could release 0.4.1 when I get the update also for the Russian parameter help strings