(svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API

This commit is contained in:
truebrain
2011-11-29 23:27:34 +00:00
parent 4d91f645c1
commit 549e072041
8 changed files with 14 additions and 16 deletions

View File

@@ -107,17 +107,17 @@ public:
*/
static int32 GetMinLength(BridgeID bridge_id);
#ifndef DOXYGEN_AI_DOCS
/**
* Internal function to help BuildBridge in case of road.
* @api -all
*/
static bool _BuildBridgeRoad1();
/**
* Internal function to help BuildBridge in case of road.
* @api -all
*/
static bool _BuildBridgeRoad2();
#endif
/**
* Build a bridge from one tile to the other.

View File

@@ -270,11 +270,11 @@ public:
* Get the type of the offered engine.
* @return The type the engine has.
*/
#ifdef DOXYGEN_AI_DOCS
#ifdef DOXYGEN_API
ScriptVehicle::VehicleType GetVehicleType();
#else
int32 GetVehicleType();
#endif
#endif /* DOXYGEN_API */
/**
* Accept the engine preview.

View File

@@ -237,7 +237,7 @@ public:
*/
void KeepList(ScriptList *list);
#ifndef DOXYGEN_AI_DOCS
#ifndef DOXYGEN_API
/**
* Used for 'foreach()' and [] get from Squirrel.
*/
@@ -278,7 +278,7 @@ public:
* list.Valuate(MyVal, 12);
*/
void Valuate(void *valuator_function, int params, ...);
#endif /* DOXYGEN_AI_DOCS */
#endif /* DOXYGEN_API */
};
#endif /* SCRIPT_LIST_HPP */

View File

@@ -478,12 +478,11 @@ public:
*/
static bool RemoveOrder(VehicleID vehicle_id, OrderPosition order_position);
#ifndef DOXYGEN_AI_DOCS
/**
* Internal function to help SetOrderFlags.
* @api -all
*/
static bool _SetOrderFlags();
#endif /* DOXYGEN_AI_DOCS */
/**
* Changes the order flags of the given order.

View File

@@ -63,17 +63,17 @@ public:
*/
static TileIndex GetOtherTunnelEnd(TileIndex tile);
#ifndef DOXYGEN_AI_DOCS
/**
* Internal function to help BuildTunnel in case of road.
* @api -all
*/
static bool _BuildTunnelRoad1();
/**
* Internal function to help BuildTunnel in case of road.
* @api -all
*/
static bool _BuildTunnelRoad2();
#endif /* DOXYGEN_AI_DOCS */
/**
* Builds a tunnel starting at start. The direction of the tunnel depends