changeset 20347:1b8ebb17ed70 draft

(svn r25299) -Feature: Allow more concurrent goals in a game
author zuu <zuu@openttd.org>
date Mon, 27 May 2013 21:59:11 +0000
parents 4128d2c32209
children 94ae22911314
files src/goal_base.h src/script/api/game_changelog.hpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/goal_base.h
+++ b/src/goal_base.h
@@ -16,7 +16,7 @@
 #include "goal_type.h"
 #include "core/pool_type.hpp"
 
-typedef Pool<Goal, GoalID, 1, 256> GoalPool;
+typedef Pool<Goal, GoalID, 64, 64000> GoalPool;
 extern GoalPool _goal_pool;
 
 /** Struct about goals, current and completed */
--- a/src/script/api/game_changelog.hpp
+++ b/src/script/api/game_changelog.hpp
@@ -28,6 +28,7 @@
  * \li GSTile::GetTerrainType
  *
  * Other changes:
+ * \li GSGoal::New can now create up to 64000 concurrent goals. The old limit was 256 goals.
  * \li GSStation::GetRating does return -1 for cargo-station combinations that
  *     do not have a rating yet instead of returning 69.
  *