mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration
This commit is contained in:
parent
5f2257e13c
commit
e33db100b9
1
newgrf.c
1
newgrf.c
|
@ -38,7 +38,6 @@
|
|||
uint16 _custom_sprites_base;
|
||||
static int _skip_sprites; // XXX
|
||||
static uint _file_index; // XXX
|
||||
extern int _traininfo_vehicle_pitch;
|
||||
SpriteID _signal_base = 0;
|
||||
|
||||
static GRFFile *_cur_grffile;
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include "newgrf_station.h"
|
||||
#include "newgrf_spritegroup.h"
|
||||
|
||||
int _traininfo_vehicle_pitch = 0;
|
||||
|
||||
// TODO: We don't support cargo-specific wagon overrides. Pretty exotic... ;-) --pasky
|
||||
|
||||
typedef struct WagonOverride {
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
/** @file newgrf_engine.h
|
||||
*/
|
||||
|
||||
extern int _traininfo_vehicle_pitch;
|
||||
|
||||
VARDEF const uint32 _default_refitmasks[NUM_VEHICLE_TYPES];
|
||||
VARDEF const CargoID _global_cargo_id[NUM_LANDSCAPE][NUM_CARGO];
|
||||
VARDEF const uint32 _landscape_global_cargo_mask[NUM_LANDSCAPE];
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include "train.h"
|
||||
#include "newgrf_engine.h"
|
||||
|
||||
int _traininfo_vehicle_pitch = 0;
|
||||
|
||||
/**
|
||||
* Draw the purchase info details of train engine at a given location.
|
||||
* @param x,y location where to draw the info
|
||||
|
|
Loading…
Reference in New Issue