1
0
Fork 0

(svn r2606) -Codechange: renamed ai.c to ai_old.c, and ai.h to ai_new.h to make room

for a global AI-handler
release/0.4.5
truelight 2005-07-17 15:34:10 +00:00
parent 1022bf7d93
commit a09342c1fc
13 changed files with 14 additions and 14 deletions

View File

@ -603,7 +603,7 @@ endif
### Sources ### Sources
C_SOURCES += ai.c C_SOURCES += ai_old.c
C_SOURCES += ai_build.c C_SOURCES += ai_build.c
C_SOURCES += ai_new.c C_SOURCES += ai_new.c
C_SOURCES += ai_pathfinder.c C_SOURCES += ai_pathfinder.c

View File

@ -4,7 +4,7 @@
#include "map.h" #include "map.h"
#include "tile.h" #include "tile.h"
#include "command.h" #include "command.h"
#include "ai.h" #include "ai_new.h"
#include "engine.h" #include "engine.h"
#include "station.h" #include "station.h"

View File

@ -22,7 +22,7 @@
#include "map.h" #include "map.h"
#include "tile.h" #include "tile.h"
#include "command.h" #include "command.h"
#include "ai.h" #include "ai_new.h"
#include "town.h" #include "town.h"
#include "industry.h" #include "industry.h"
#include "station.h" #include "station.h"

View File

View File

View File

@ -4,7 +4,7 @@
#include "map.h" #include "map.h"
#include "tile.h" #include "tile.h"
#include "command.h" #include "command.h"
#include "ai.h" #include "ai_new.h"
#include "depot.h" #include "depot.h"
#define TEST_STATION_NO_DIR 0xFF #define TEST_STATION_NO_DIR 0xFF

View File

@ -2,7 +2,7 @@
#include "openttd.h" #include "openttd.h"
#include "debug.h" #include "debug.h"
#include "map.h" #include "map.h"
#include "ai.h" #include "ai_new.h"
#include "vehicle.h" #include "vehicle.h"
int AiNew_GetRailDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c) int AiNew_GetRailDirection(TileIndex tile_a, TileIndex tile_b, TileIndex tile_c)

View File

@ -27,7 +27,7 @@
#include "fileio.h" #include "fileio.h"
#include "hal.h" #include "hal.h"
#include "airport.h" #include "airport.h"
#include "ai.h" #include "ai_new.h"
#include "console.h" #include "console.h"
#include "screenshot.h" #include "screenshot.h"
#include "network.h" #include "network.h"

View File

@ -91,7 +91,7 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File # Begin Source File
SOURCE=.\ai.c SOURCE=.\ai_old.c
# End Source File # End Source File
# Begin Source File # Begin Source File
@ -375,7 +375,7 @@ SOURCE=.\window.c
# PROP Default_Filter "h;hpp;hxx;hm;inl" # PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File # Begin Source File
SOURCE=.\ai.h SOURCE=.\ai_new.h
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@ -412,7 +412,7 @@ WVList
105 105
MItem MItem
4 4
ai.c ai_old.c
106 106
WString WString
4 4

View File

@ -161,7 +161,7 @@
Name="Source Files" Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File <File
RelativePath="ai.c"> RelativePath="ai_old.c">
</File> </File>
<File <File
RelativePath=".\airport.c"> RelativePath=".\airport.c">
@ -737,7 +737,7 @@
Name="AI Files" Name="AI Files"
Filter=""> Filter="">
<File <File
RelativePath=".\ai.h"> RelativePath=".\ai_new.h">
</File> </File>
<File <File
RelativePath=".\ai_build.c"> RelativePath=".\ai_build.c">

View File

@ -3111,7 +3111,7 @@
fileEncoding = 30; fileEncoding = 30;
isa = PBXFileReference; isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h; lastKnownFileType = sourcecode.c.h;
path = ai.h; path = ai_new.h;
refType = 2; refType = 2;
sourceTree = SOURCE_ROOT; sourceTree = SOURCE_ROOT;
}; };
@ -3119,7 +3119,7 @@
fileEncoding = 30; fileEncoding = 30;
isa = PBXFileReference; isa = PBXFileReference;
lastKnownFileType = sourcecode.c.c; lastKnownFileType = sourcecode.c.c;
path = ai.c; path = ai_old.c;
refType = 2; refType = 2;
sourceTree = SOURCE_ROOT; sourceTree = SOURCE_ROOT;
}; };

View File

@ -15,7 +15,7 @@
#include "news.h" #include "news.h"
#include "saveload.h" #include "saveload.h"
#include "command.h" #include "command.h"
#include "ai.h" #include "ai_new.h"
#include "sound.h" #include "sound.h"
#include "network.h" #include "network.h"