(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:
matthijs
2005-06-17 11:30:50 +00:00
parent 17750a66f3
commit ee4d9dbf0d
4 changed files with 81 additions and 44 deletions

View File

@@ -229,6 +229,10 @@ SOURCE=.\players.c
SOURCE=.\queue.c
# End Source File
# Begin Source File
SOURCE=.\rail.c
# End Source File
# Begin Source File
SOURCE=.\saveload.c
# End Source File
@@ -446,6 +450,10 @@ SOURCE=.\news.h
SOURCE=.\npf.h
# End Source File
# Begin Source File
SOURCE=.\openttd.h
# End Source File
# Begin Source File
SOURCE=.\pathfind.h
# End Source File
@@ -462,6 +470,10 @@ SOURCE=.\player.h
SOURCE=.\queue.h
# End Source File
# Begin Source File
SOURCE=.\rail.h
# End Source File
# Begin Source File
SOURCE=.\saveload.h
# End Source File
@@ -498,10 +510,6 @@ SOURCE=.\tile.h
SOURCE=.\town.h
# End Source File
# Begin Source File
SOURCE=.\openttd.h
# End Source File
# Begin Source File
SOURCE=.\variables.h
# End Source File