(svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -654,6 +654,7 @@ SRCS += network_server.c
 | 
				
			|||||||
SRCS += network_udp.c
 | 
					SRCS += network_udp.c
 | 
				
			||||||
SRCS += newgrf.c
 | 
					SRCS += newgrf.c
 | 
				
			||||||
SRCS += newgrf_engine.c
 | 
					SRCS += newgrf_engine.c
 | 
				
			||||||
 | 
					SRCS += newgrf_station.c
 | 
				
			||||||
SRCS += news_gui.c
 | 
					SRCS += news_gui.c
 | 
				
			||||||
SRCS += npf.c
 | 
					SRCS += npf.c
 | 
				
			||||||
SRCS += oldloader.c
 | 
					SRCS += oldloader.c
 | 
				
			||||||
@@ -686,7 +687,6 @@ SRCS += sprite.c
 | 
				
			|||||||
SRCS += spritecache.c
 | 
					SRCS += spritecache.c
 | 
				
			||||||
SRCS += station_cmd.c
 | 
					SRCS += station_cmd.c
 | 
				
			||||||
SRCS += station_gui.c
 | 
					SRCS += station_gui.c
 | 
				
			||||||
SRCS += station_newgrf.c
 | 
					 | 
				
			||||||
SRCS += string.c
 | 
					SRCS += string.c
 | 
				
			||||||
SRCS += strings.c
 | 
					SRCS += strings.c
 | 
				
			||||||
SRCS += subsidy_gui.c
 | 
					SRCS += subsidy_gui.c
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,12 +1,12 @@
 | 
				
			|||||||
/* $Id$ */
 | 
					/* $Id$ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** @file station_newgrf.c Functions for dealing with station classes and custom stations. */
 | 
					/** @file newgrf_station.c Functions for dealing with station classes and custom stations. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "stdafx.h"
 | 
					#include "stdafx.h"
 | 
				
			||||||
#include "openttd.h"
 | 
					#include "openttd.h"
 | 
				
			||||||
#include "debug.h"
 | 
					#include "debug.h"
 | 
				
			||||||
#include "sprite.h"
 | 
					#include "sprite.h"
 | 
				
			||||||
#include "station_newgrf.h"
 | 
					#include "newgrf_station.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static StationClass station_classes[STAT_CLASS_MAX];
 | 
					static StationClass station_classes[STAT_CLASS_MAX];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
/* $Id$ */
 | 
					/* $Id$ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** @file station_newgrf.h Header file for NewGRF stations */
 | 
					/** @file newgrf_station.h Header file for NewGRF stations */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef STATION_NEWGRF_H
 | 
					#ifndef NEWGRF_STATION_H
 | 
				
			||||||
#define STATION_NEWGRF_H
 | 
					#define NEWGRF_STATION_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "engine.h"
 | 
					#include "engine.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -74,4 +74,4 @@ uint GetNumCustomStations(StationClassID sclass);
 | 
				
			|||||||
void SetCustomStation(StationSpec *spec);
 | 
					void SetCustomStation(StationSpec *spec);
 | 
				
			||||||
const StationSpec *GetCustomStation(StationClassID sclass, uint station);
 | 
					const StationSpec *GetCustomStation(StationClassID sclass, uint station);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* STATION_NEWGRF_H */
 | 
					#endif /* NEWGRF_STATION_H */
 | 
				
			||||||
							
								
								
									
										16
									
								
								openttd.dsp
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								openttd.dsp
									
									
									
									
									
								
							@@ -280,6 +280,10 @@ SOURCE=.\newgrf_engine.c
 | 
				
			|||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SOURCE=.\newgrf_station.c
 | 
				
			||||||
 | 
					# End Source File
 | 
				
			||||||
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SOURCE=.\npf.c
 | 
					SOURCE=.\npf.c
 | 
				
			||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
@@ -413,10 +417,6 @@ SOURCE=.\spritecache.c
 | 
				
			|||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SOURCE=.\station_newgrf.c
 | 
					 | 
				
			||||||
# End Source File
 | 
					 | 
				
			||||||
# Begin Source File
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
SOURCE=.\StdAfx.c
 | 
					SOURCE=.\StdAfx.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
!IF  "$(CFG)" == "openttd - Win32 Release"
 | 
					!IF  "$(CFG)" == "openttd - Win32 Release"
 | 
				
			||||||
@@ -630,6 +630,10 @@ SOURCE=.\newgrf_engine.h
 | 
				
			|||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SOURCE=.\newgrf_station.h
 | 
				
			||||||
 | 
					# End Source File
 | 
				
			||||||
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SOURCE=.\news.h
 | 
					SOURCE=.\news.h
 | 
				
			||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
@@ -698,10 +702,6 @@ SOURCE=.\station.h
 | 
				
			|||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SOURCE=.\station_newgrf.h
 | 
					 | 
				
			||||||
# End Source File
 | 
					 | 
				
			||||||
# Begin Source File
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
SOURCE=.\StdAfx.h
 | 
					SOURCE=.\StdAfx.h
 | 
				
			||||||
# End Source File
 | 
					# End Source File
 | 
				
			||||||
# Begin Source File
 | 
					# Begin Source File
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -275,6 +275,9 @@
 | 
				
			|||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\newgrf_engine.c">
 | 
									RelativePath=".\newgrf_engine.c">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
 | 
								<File
 | 
				
			||||||
 | 
									RelativePath=".\newgrf_station.c">
 | 
				
			||||||
 | 
								</File>
 | 
				
			||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\npf.c">
 | 
									RelativePath=".\npf.c">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
@@ -341,9 +344,6 @@
 | 
				
			|||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\spritecache.c">
 | 
									RelativePath=".\spritecache.c">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
			<File
 | 
					 | 
				
			||||||
				RelativePath=".\station_newgrf.c">
 | 
					 | 
				
			||||||
			</File>
 | 
					 | 
				
			||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\StdAfx.c">
 | 
									RelativePath=".\StdAfx.c">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
@@ -492,6 +492,9 @@
 | 
				
			|||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\newgrf_engine.h">
 | 
									RelativePath=".\newgrf_engine.h">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
 | 
								<File
 | 
				
			||||||
 | 
									RelativePath=".\newgrf_station.h">
 | 
				
			||||||
 | 
								</File>
 | 
				
			||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\news.h">
 | 
									RelativePath=".\news.h">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
@@ -552,9 +555,6 @@
 | 
				
			|||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\station.h">
 | 
									RelativePath=".\station.h">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
			<File
 | 
					 | 
				
			||||||
				RelativePath=".\station_newgrf.h">
 | 
					 | 
				
			||||||
			</File>
 | 
					 | 
				
			||||||
			<File
 | 
								<File
 | 
				
			||||||
				RelativePath=".\StdAfx.h">
 | 
									RelativePath=".\StdAfx.h">
 | 
				
			||||||
			</File>
 | 
								</File>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@
 | 
				
			|||||||
#include "sprite.h"
 | 
					#include "sprite.h"
 | 
				
			||||||
#include "tile.h"
 | 
					#include "tile.h"
 | 
				
			||||||
#include "vehicle.h"
 | 
					#include "vehicle.h"
 | 
				
			||||||
#include "station_newgrf.h"
 | 
					#include "newgrf_station.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct GoodsEntry {
 | 
					typedef struct GoodsEntry {
 | 
				
			||||||
	uint16 waiting_acceptance;
 | 
						uint16 waiting_acceptance;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user