summaryrefslogtreecommitdiff
path: root/ai_new.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-26 20:56:48 +0000
committertron <tron@openttd.org>2005-08-26 20:56:48 +0000
commit8b85cf53e551d439f39490a444feaf5f76205210 (patch)
tree31db29fedb39cebe30c157f5189b96459e78801f /ai_new.h
parenta38d2f15b79bbdcb317cce5a5cc3ba533fb8288a (diff)
downloadopenttd-8b85cf53e551d439f39490a444feaf5f76205210.tar.xz
(svn r2892) Fix indentation
Diffstat (limited to 'ai_new.h')
-rw-r--r--ai_new.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/ai_new.h b/ai_new.h
index 50b8b6250..ce929a655 100644
--- a/ai_new.h
+++ b/ai_new.h
@@ -166,33 +166,33 @@
// This stops 90degrees curves
static const byte _illegal_curves[6] = {
- 255, 255, // Horz and vert, don't have the effect
- 5, // upleft and upright are not valid
- 4, // downright and downleft are not valid
- 2, // downleft and upleft are not valid
- 3, // upright and downright are not valid
+ 255, 255, // Horz and vert, don't have the effect
+ 5, // upleft and upright are not valid
+ 4, // downright and downleft are not valid
+ 2, // downleft and upleft are not valid
+ 3, // upright and downright are not valid
};
enum {
- AI_STATE_STARTUP = 0,
- AI_STATE_FIRST_TIME,
- AI_STATE_NOTHING,
- AI_STATE_WAKE_UP,
- AI_STATE_LOCATE_ROUTE,
- AI_STATE_FIND_STATION,
- AI_STATE_FIND_PATH,
- AI_STATE_FIND_DEPOT,
- AI_STATE_VERIFY_ROUTE,
- AI_STATE_BUILD_STATION,
- AI_STATE_BUILD_PATH,
- AI_STATE_BUILD_DEPOT,
- AI_STATE_BUILD_VEHICLE,
- AI_STATE_GIVE_ORDERS,
- AI_STATE_START_VEHICLE,
- AI_STATE_REPAY_MONEY,
+ AI_STATE_STARTUP = 0,
+ AI_STATE_FIRST_TIME,
+ AI_STATE_NOTHING,
+ AI_STATE_WAKE_UP,
+ AI_STATE_LOCATE_ROUTE,
+ AI_STATE_FIND_STATION,
+ AI_STATE_FIND_PATH,
+ AI_STATE_FIND_DEPOT,
+ AI_STATE_VERIFY_ROUTE,
+ AI_STATE_BUILD_STATION,
+ AI_STATE_BUILD_PATH,
+ AI_STATE_BUILD_DEPOT,
+ AI_STATE_BUILD_VEHICLE,
+ AI_STATE_GIVE_ORDERS,
+ AI_STATE_START_VEHICLE,
+ AI_STATE_REPAY_MONEY,
AI_STATE_CHECK_ALL_VEHICLES,
- AI_STATE_ACTION_DONE,
- AI_STATE_STOP, // Temporary function to stop the AI
+ AI_STATE_ACTION_DONE,
+ AI_STATE_STOP, // Temporary function to stop the AI
};
// Used for tbt (train/bus/truck)
@@ -212,7 +212,7 @@ enum {
// Used for from_type/to_type
enum {
- AI_NO_TYPE = 0,
+ AI_NO_TYPE = 0,
AI_CITY,
AI_INDUSTRY,
};