![]() |
|
Raffinerie nicht nur am Kartenrand - Druckversion +- TT-MS Headquarters (https://www.tt-ms.de/forum) +-- Forum: Problemecke (https://www.tt-ms.de/forum/forumdisplay.php?fid=70) +--- Forum: Probleme mit OpenTTD (https://www.tt-ms.de/forum/forumdisplay.php?fid=27) +--- Thema: Raffinerie nicht nur am Kartenrand (/showthread.php?tid=3535) |
- senecaII - 19.06.2008 Das war ja auch nie das Problem. Das Problem ist, wenn ich an der deutschen Nordseeküste eine Raffenerie im Editor baue, schließt die wenige Jahre nach Spielbeginn! Nur Raffenerien im umkreis von 48-Kästchen bleiben stehen (bzw. werden in diesem Umkreis neu gebaut). RE: Raffinerie nicht nur am Kartenrand - Bernhard - 19.06.2008 vlt. kann da ja mal frosch helfen, der kennt sich doch im Code super aus . RE: Raffinerie nicht nur am Kartenrand - Ammler - 19.06.2008 Nun, das ist jetzt nicht so schwer: Code: Index: src/settings.cpp
===================================================================
--- src/settings.cpp (Revision 13581)
+++ src/settings.cpp (Arbeitskopie)
@@ -1734,7 +1734,7 @@
SDT_CONDVAR(GameSettings, pf.yapf.road_stop_penalty, SLE_UINT, 47, SL_MAX_VERSION, 0, 0, 8 * YAPF_TILE_LENGTH, 0, 1000000, 0, STR_NULL, NULL),
SDT_CONDVAR(GameSettings, game_creation.land_generator, SLE_UINT8, 30, SL_MAX_VERSION, 0,MS, 1, 0, 1, 0, STR_CONFIG_PATCHES_LAND_GENERATOR, NULL),
- SDT_CONDVAR(GameSettings, game_creation.oil_refinery_limit, SLE_UINT8, 30, SL_MAX_VERSION, 0, 0, 32, 12, 48, 0, STR_CONFIG_PATCHES_OIL_REF_EDGE_DISTANCE, NULL),
+ SDT_CONDVAR(GameSettings, game_creation.oil_refinery_limit, SLE_UINT32, 30, SL_MAX_VERSION, 0, 0, 32, 12, 1024, 0, STR_CONFIG_PATCHES_OIL_REF_EDGE_DISTANCE, NULL),
SDT_CONDVAR(GameSettings, game_creation.tgen_smoothness, SLE_UINT8, 30, SL_MAX_VERSION, 0,MS, 1, 0, 3, 0, STR_CONFIG_PATCHES_ROUGHNESS_OF_TERRAIN, NULL),
SDT_CONDVAR(GameSettings, game_creation.generation_seed, SLE_UINT32, 30, SL_MAX_VERSION, 0, 0, GENERATE_NEW_SEED, 0, UINT32_MAX, 0, STR_NULL, NULL),
SDT_CONDVAR(GameSettings, game_creation.tree_placer, SLE_UINT8, 30, SL_MAX_VERSION, 0,MS, 2, 0, 2, 0, STR_CONFIG_PATCHES_TREE_PLACER, NULL),(ungetested) Edit: noch vergessen zu defnieren: Code: Index: src/settings_type.h
===================================================================
--- src/settings_type.h (Revision 13581)
+++ src/settings_type.h (Arbeitskopie)
@@ -128,7 +128,7 @@
uint8 map_x; ///< X size of map
uint8 map_y; ///< Y size of map
byte land_generator; ///< the landscape generator
- byte oil_refinery_limit; ///< distance oil refineries allowed from map edge
+ uint32 oil_refinery_limit; ///< distance oil refineries allowed from map edge
byte snow_line_height; ///< a number 0-15 that configured snow line height
byte tgen_smoothness; ///< how rough is the terrain from 0-3
byte tree_placer; ///< the tree placer algorithmRE: Raffinerie nicht nur am Kartenrand - El Patron - 19.06.2008 Nee, Bernhard, hat doch auch nicht so heissen sollen. RE: Raffinerie nicht nur am Kartenrand - senecaII - 20.06.2008 @Ammler: Wann testest du sie? |