mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r25299) -Feature: Allow more concurrent goals in a game
This commit is contained in:
parent
73c96fc66d
commit
168391ad56
|
@ -16,7 +16,7 @@
|
||||||
#include "goal_type.h"
|
#include "goal_type.h"
|
||||||
#include "core/pool_type.hpp"
|
#include "core/pool_type.hpp"
|
||||||
|
|
||||||
typedef Pool<Goal, GoalID, 1, 256> GoalPool;
|
typedef Pool<Goal, GoalID, 64, 64000> GoalPool;
|
||||||
extern GoalPool _goal_pool;
|
extern GoalPool _goal_pool;
|
||||||
|
|
||||||
/** Struct about goals, current and completed */
|
/** Struct about goals, current and completed */
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
* \li GSTile::GetTerrainType
|
* \li GSTile::GetTerrainType
|
||||||
*
|
*
|
||||||
* Other changes:
|
* 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
|
* \li GSStation::GetRating does return -1 for cargo-station combinations that
|
||||||
* do not have a rating yet instead of returning 69.
|
* do not have a rating yet instead of returning 69.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue