(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
#include "openttd.h"
|
||||
#include "debug.h"
|
||||
#include "ship.h"
|
||||
#include "table/strings.h"
|
||||
#include "table/sprites.h"
|
||||
#include "gui.h"
|
||||
#include "window_gui.h"
|
||||
#include "viewport_func.h"
|
||||
@@ -18,6 +16,9 @@
|
||||
#include "strings_func.h"
|
||||
#include "vehicle_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
#include "table/sprites.h"
|
||||
|
||||
void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection)
|
||||
{
|
||||
DrawSprite(v->GetImage(DIR_W), GetVehiclePalette(v), x + 32, y + 10);
|
||||
|
Reference in New Issue
Block a user