mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-05 22:04:57 +00:00
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
This commit is contained in:
parent
0cfd2baa3c
commit
cd7c99452f
@ -1495,6 +1495,14 @@
|
||||
RelativePath=".\..\src\tile_type.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\tilehighlight_func.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\tilehighlight_type.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\timetable.h"
|
||||
>
|
||||
|
@ -1492,6 +1492,14 @@
|
||||
RelativePath=".\..\src\tile_type.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\tilehighlight_func.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\tilehighlight_type.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\timetable.h"
|
||||
>
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "settings_type.h"
|
||||
#include "newgrf_station.h"
|
||||
#include "oldpool_func.h"
|
||||
#include "viewport_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user