(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:
16
openttd.dsp
16
openttd.dsp
@@ -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
|
||||
|
Reference in New Issue
Block a user