summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--ai_build.c2
-rw-r--r--ai_new.c2
-rw-r--r--ai_new.h (renamed from ai.h)0
-rw-r--r--ai_old.c (renamed from ai.c)0
-rw-r--r--ai_pathfinder.c2
-rw-r--r--ai_shared.c2
-rw-r--r--openttd.c2
-rw-r--r--openttd.dsp4
-rw-r--r--openttd.tgt2
-rw-r--r--openttd.vcproj4
-rw-r--r--openttd.xcode/project.pbxproj4
-rw-r--r--players.c2
13 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 8339749d1..7a17f357e 100644
--- a/Makefile
+++ b/Makefile
@@ -603,7 +603,7 @@ endif
### Sources
-C_SOURCES += ai.c
+C_SOURCES += ai_old.c
C_SOURCES += ai_build.c
C_SOURCES += ai_new.c
C_SOURCES += ai_pathfinder.c
diff --git a/ai_build.c b/ai_build.c
index 0b97a0eb9..569783d45 100644
--- a/ai_build.c
+++ b/ai_build.c
@@ -4,7 +4,7 @@
#include "map.h"
#include "tile.h"
#include "command.h"
-#include "ai.h"
+#include "ai_new.h"
#include "engine.h"
#include "station.h"
diff --git a/ai_new.c b/ai_new.c
index 17a010b2b..ec122ba1f 100644
--- a/ai_new.c
+++ b/ai_new.c
@@ -22,7 +22,7 @@
#include "map.h"
#include "tile.h"
#include "command.h"
-#include "ai.h"
+#include "ai_new.h"
#include "town.h"
#include "industry.h"
#include "station.h"
diff --git a/ai.h b/ai_new.h
index 2a4554497..2a4554497 100644
--- a/ai.h
+++ b/ai_new.h
diff --git a/ai.c b/ai_old.c
index 41cffcd97..41cffcd97 100644
--- a/ai.c
+++ b/ai_old.c
diff --git a/ai_pathfinder.c b/ai_pathfinder.c
index b4bcbb5e5..f6e2c3f57 100644
--- a/ai_pathfinder.c
+++ b/ai_pathfinder.c
@@ -4,7 +4,7 @@
#include "map.h"
#include "tile.h"
#include "command.h"
-#include "ai.h"
+#include "ai_new.h"
#include "depot.h"
#define TEST_STATION_NO_DIR 0xFF
diff --git a/ai_shared.c b/ai_shared.c
index 86e964086..ea9fdb9d5 100644
--- a/ai_shared.c
+++ b/ai_shared.c
@@ -2,7 +2,7 @@
#include "openttd.h"
#include "debug.h"
#include "map.h"
-#include "ai.h"
+#include "ai_new.h"
#include "vehicle.h"
int AiNew_GetRailDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c)
diff --git a/openttd.c b/openttd.c
index ffdced635..8a88789ad 100644
--- a/openttd.c
+++ b/openttd.c
@@ -27,7 +27,7 @@
#include "fileio.h"
#include "hal.h"
#include "airport.h"
-#include "ai.h"
+#include "ai_new.h"
#include "console.h"
#include "screenshot.h"
#include "network.h"
diff --git a/openttd.dsp b/openttd.dsp
index 13518f8ac..7b6efc9a0 100644
--- a/openttd.dsp
+++ b/openttd.dsp
@@ -91,7 +91,7 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
-SOURCE=.\ai.c
+SOURCE=.\ai_old.c
# End Source File
# Begin Source File
@@ -375,7 +375,7 @@ SOURCE=.\window.c
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
-SOURCE=.\ai.h
+SOURCE=.\ai_new.h
# End Source File
# Begin Source File
diff --git a/openttd.tgt b/openttd.tgt
index da208e988..89d7ba8ad 100644
--- a/openttd.tgt
+++ b/openttd.tgt
@@ -412,7 +412,7 @@ WVList
105
MItem
4
-ai.c
+ai_old.c
106
WString
4
diff --git a/openttd.vcproj b/openttd.vcproj
index 1c43864bc..1692471be 100644
--- a/openttd.vcproj
+++ b/openttd.vcproj
@@ -161,7 +161,7 @@
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
- RelativePath="ai.c">
+ RelativePath="ai_old.c">
</File>
<File
RelativePath=".\airport.c">
@@ -737,7 +737,7 @@
Name="AI Files"
Filter="">
<File
- RelativePath=".\ai.h">
+ RelativePath=".\ai_new.h">
</File>
<File
RelativePath=".\ai_build.c">
diff --git a/openttd.xcode/project.pbxproj b/openttd.xcode/project.pbxproj
index bc73d28a8..82f48279c 100644
--- a/openttd.xcode/project.pbxproj
+++ b/openttd.xcode/project.pbxproj
@@ -3111,7 +3111,7 @@
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
- path = ai.h;
+ path = ai_new.h;
refType = 2;
sourceTree = SOURCE_ROOT;
};
@@ -3119,7 +3119,7 @@
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.c;
- path = ai.c;
+ path = ai_old.c;
refType = 2;
sourceTree = SOURCE_ROOT;
};
diff --git a/players.c b/players.c
index 4960a9327..590e2f66a 100644
--- a/players.c
+++ b/players.c
@@ -15,7 +15,7 @@
#include "news.h"
#include "saveload.h"
#include "command.h"
-#include "ai.h"
+#include "ai_new.h"
#include "sound.h"
#include "network.h"