Changeset - r9129:db82b80b0a0b
[Not reviewed]
master
0 9 0
rubidium - 16 years ago 2008-05-07 13:18:33
rubidium@openttd.org
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
9 files changed with 27 insertions and 8 deletions:
0 comments (0 inline, 0 general)
projects/openttd_vs80.vcproj
Show inline comments
 
@@ -1496,6 +1496,14 @@
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\tilehighlight_func.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\tilehighlight_type.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\timetable.h"
 
				>
 
			</File>
projects/openttd_vs90.vcproj
Show inline comments
 
@@ -1493,6 +1493,14 @@
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\tilehighlight_func.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\tilehighlight_type.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\timetable.h"
 
				>
 
			</File>
source.list
Show inline comments
 
@@ -299,6 +299,8 @@ tgp.h
 
thread.h
 
tile_cmd.h
 
tile_type.h
 
tilehighlight_func.h
 
tilehighlight_type.h
 
timetable.h
 
town.h
 
town_type.h
src/functions.h
Show inline comments
 
@@ -58,8 +58,6 @@ void AskExitToGameMenu();
 

	
 
void RedrawAutosave();
 

	
 
void UpdateViewportSignPos(ViewportSign *sign, int left, int top, StringID str);
 

	
 
int ttd_main(int argc, char* argv[]);
 
void HandleExitGameRequest();
 

	
src/openttd.h
Show inline comments
 
@@ -54,12 +54,6 @@ enum {
 
	DO_WAYPOINTS          = 6,
 
};
 

	
 
struct ViewportSign {
 
	int32 left;
 
	int32 top;
 
	byte width_1, width_2;
 
};
 

	
 
enum {
 
	SORT_ASCENDING  = 0,
 
	SORT_DESCENDING = 1,
src/signs_base.h
Show inline comments
 
@@ -6,6 +6,7 @@
 
#define SIGNS_BASE_H
 

	
 
#include "signs_type.h"
 
#include "viewport_type.h"
 
#include "oldpool.h"
 

	
 
DECLARE_OLD_POOL(Sign, Sign, 2, 16000)
src/viewport_type.h
Show inline comments
 
@@ -24,6 +24,12 @@ struct ViewPort {
 
	ZoomLevel zoom;
 
};
 

	
 
struct ViewportSign {
 
	int32 left;
 
	int32 top;
 
	byte width_1, width_2;
 
};
 

	
 
enum {
 
	ZOOM_IN   = 0,
 
	ZOOM_OUT  = 1,
src/waypoint.cpp
Show inline comments
 
@@ -32,6 +32,7 @@
 
#include "settings_type.h"
 
#include "newgrf_station.h"
 
#include "oldpool_func.h"
 
#include "viewport_func.h"
 

	
 
#include "table/strings.h"
 

	
src/waypoint.h
Show inline comments
 
@@ -11,6 +11,7 @@
 
#include "command_type.h"
 
#include "station_type.h"
 
#include "town_type.h"
 
#include "viewport_type.h"
 

	
 
DECLARE_OLD_POOL(Waypoint, Waypoint, 3, 8000)
 

	
0 comments (0 inline, 0 general)