(svn r2454) * Codechange: Move #include "stdafx.h" and "openttd.h" from rail.h to rail.c
* Codechange: Move declaration of lookup arrays into the functions that need them. This doesn't pollute the global namespace with the array names. * Add: rail.h to the openttd.vcproj and openttd.dsp for MSVC.
This commit is contained in:
@@ -256,6 +256,12 @@
|
||||
<File
|
||||
RelativePath="oldloader.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.rc">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="pathfind.c">
|
||||
</File>
|
||||
@@ -268,6 +274,9 @@
|
||||
<File
|
||||
RelativePath=".\queue.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rail.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="saveload.c">
|
||||
</File>
|
||||
@@ -307,12 +316,6 @@
|
||||
<File
|
||||
RelativePath=".\tile.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.rc">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="vehicle.c">
|
||||
</File>
|
||||
@@ -435,6 +438,9 @@
|
||||
<File
|
||||
RelativePath=".\npf.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="pathfind.h">
|
||||
</File>
|
||||
@@ -447,6 +453,9 @@
|
||||
<File
|
||||
RelativePath=".\queue.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rail.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="saveload.h">
|
||||
</File>
|
||||
@@ -474,9 +483,6 @@
|
||||
<File
|
||||
RelativePath=".\town.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="openttd.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="variables.h">
|
||||
</File>
|
||||
|
||||
Reference in New Issue
Block a user