--- a/src/ai/api/ai_townlist_valuator.hpp Sun Feb 24 22:05:07 2008 +0000
+++ b/src/ai/api/ai_townlist_valuator.hpp Sun Feb 24 22:10:05 2008 +0000
@@ -8,69 +8,69 @@
#include "ai_abstractlist.hpp"
/**
- * Give a random value for the entries in an AITownList instance.
+ * Give a random value for the entries in an AITownList_v instance.
* @note resulting items are of the type int32
* @note the input items are of the type TownID
*/
-class AITownListRandomize : public AIAbstractList::Valuator {
+class AITownList_vRandomize : public AIAbstractList::Valuator {
public:
/**
* The name of the class, needed by several sub-processes.
*/
- static const char *GetClassName() { return "AITownListRandomize"; }
+ static const char *GetClassName() { return "AITownList_vRandomize"; }
private:
int32 Valuate(int32 town) const;
};
/**
- * Get the population for entries in an AITownList instance.
+ * Get the population for entries in an AITownList_v instance.
* @note resulting items are of the type int32
* @note the input items are of the type TownID
*/
-class AITownListPopulation : public AIAbstractList::Valuator {
+class AITownList_vPopulation : public AIAbstractList::Valuator {
public:
/**
* The name of the class, needed by several sub-processes.
*/
- static const char *GetClassName() { return "AITownListGetPopulation"; }
+ static const char *GetClassName() { return "AITownList_vGetPopulation"; }
private:
int32 Valuate(int32 town) const;
};
/**
- * Get the location for entries in an AITownList instance.
+ * Get the location for entries in an AITownList_v instance.
* @note resulting items are of the type TileIndex
* @note the input items are of the type TownID
*/
-class AITownListLocation : public AIAbstractList::Valuator {
+class AITownList_vLocation : public AIAbstractList::Valuator {
public:
/**
* The name of the class, needed by several sub-processes.
*/
- static const char *GetClassName() { return "AITownListGetLocation"; }
+ static const char *GetClassName() { return "AITownList_vGetLocation"; }
private:
int32 Valuate(int32 town) const;
};
/**
- * Get the manhattan distance to a tile for entries in an AITownList instance.
+ * Get the manhattan distance to a tile for entries in an AITownList_v instance.
* @note resulting items are of the type distance
* @note the input items are of the type TownID
*/
-class AITownListDistanceManhattanToTile : public AIAbstractList::Valuator {
+class AITownList_vDistanceManhattanToTile : public AIAbstractList::Valuator {
public:
/**
* The name of the class, needed by several sub-processes.
*/
- static const char *GetClassName() { return "AITownListDistanceManhattanToTile"; }
+ static const char *GetClassName() { return "AITownList_vDistanceManhattanToTile"; }
/**
* Custom constructor, we want a tile as parameter.
*/
- AITownListDistanceManhattanToTile(TileIndex tile) { this->tile = tile; }
+ AITownList_vDistanceManhattanToTile(TileIndex tile) { this->tile = tile; }
private:
TileIndex tile;
@@ -79,21 +79,21 @@
};
/**
- * Get the sqsuare distance to a tile for entries in an AITownList instance.
+ * Get the sqsuare distance to a tile for entries in an AITownList_v instance.
* @note resulting items are of the type distance
* @note the input items are of the type TownID
*/
-class AITownListDistanceSquareToTile : public AIAbstractList::Valuator {
+class AITownList_vDistanceSquareToTile : public AIAbstractList::Valuator {
public:
/**
* The name of the class, needed by several sub-processes.
*/
- static const char *GetClassName() { return "AITownListDistanceSquareToTile"; }
+ static const char *GetClassName() { return "AITownList_vDistanceSquareToTile"; }
/**
* Custom constructor, we want a tile as parameter.
*/
- AITownListDistanceSquareToTile(TileIndex tile) { this->tile = tile; }
+ AITownList_vDistanceSquareToTile(TileIndex tile) { this->tile = tile; }
private:
TileIndex tile;