]> git.mxchange.org Git - city.git/blobdiff - application/city/config.php
Continued (first wave of migration):
[city.git] / application / city / config.php
index c75253d2ea93ca797935e20bb760532de729e68e..234f055e31366ab353e1a3c61267a7bb11454458 100644 (file)
@@ -1,10 +1,13 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+
 /**
  * Configuration entries for this application only
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2015 City Developer Team
+ * @copyright  Copyright (c) 2015, 2016 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -22,7 +25,7 @@
  */
 
 // Some hub-specific configuration like port hostname where we will listen, etc.
-$cfg = FrameworkConfiguration::getSelfInstance();
+$cfg = FrameworkBootstrap::getConfigurationInstance();
 
 /******************************************************************************
  *                                  General                                   *
@@ -46,6 +49,9 @@ $cfg->setConfigEntry('city_info_db_wrapper_class', 'CityInformationDatabaseWrapp
 // CFG: REGION-INFO-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('region_info_db_wrapper_class', 'RegionInformationDatabaseWrapper');
 
+// CFG: GAME-OPTIONS-DB-WRAPPER-CLASS
+$cfg->setConfigEntry('game_options_db_wrapper_class', 'CityGameOptionsDatabaseWrapper');
+
 // CFG: REGION-MAP-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('region_map_db_wrapper_class', 'RegionMapDatabaseWrapper');
 
@@ -528,6 +534,9 @@ $cfg->setConfigEntry('city_daemon_welcome_teaser_filter', 'CityDaemonWelcomeTeas
 // CFG: CITY-DAEMON-BOOTSTRAP-INIT-DAEMON-FILTER
 $cfg->setConfigEntry('city_daemon_bootstrap_init_daemon_filter', 'CityDaemonBootstrapInitDaemonFilter');
 
+// CFG: CITY-DAEMON-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER
+$cfg->setConfigEntry('city_daemon_bootstrap_extra_bootstrapping_filter', 'CityDaemonBootstrapExtraBootstrappingFilter');
+
 // CFG: CITY-DAEMON-SHUTDOWN-TASK-HANDLER-FILTER
 $cfg->setConfigEntry('city_daemon_shutdown_task_handler_filter', 'CityDaemonShutdownTaskHandlerFilter');
 
@@ -576,5 +585,11 @@ $cfg->setConfigEntry('task_building_growth_interval_delay', 200);
 // CFG: TASK-BUILDING-GROWTH-MAX-RUNS
 $cfg->setConfigEntry('task_building_growth_max_runs', 0);
 
-// [EOF]
-?>
+// CFG: CITY-MAX-INITIAL-XY-EXPANSION-RADIUS
+$cfg->setConfigEntry('city_max_initial_xy_expansion_radius', 40);
+
+// CFG: CITY-MAX-INITIAL-UP-EXPANSION
+$cfg->setConfigEntry('city_max_initial_up_expansion', 5);
+
+// CFG: CITY-MAX-INITIAL-DOWN-EXPANSION
+$cfg->setConfigEntry('city_max_initial_down_expansion', 3);