mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(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
This commit is contained in:
parent
1022bf7d93
commit
a09342c1fc
2
Makefile
2
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
|
||||
|
@ -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"
|
||||
|
||||
|
2
ai_new.c
2
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"
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -412,7 +412,7 @@ WVList
|
||||
105
|
||||
MItem
|
||||
4
|
||||
ai.c
|
||||
ai_old.c
|
||||
106
|
||||
WString
|
||||
4
|
||||
|
@ -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">
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user