equal
deleted
inserted
replaced
75 |
75 |
76 byte callbackmask; ///< Bitmask of callbacks to use, @see newgrf_callbacks.h |
76 byte callbackmask; ///< Bitmask of callbacks to use, @see newgrf_callbacks.h |
77 |
77 |
78 byte flags; ///< Bitmask of flags, bit 0: use different sprite set; bit 1: divide cargo about by FSMports size |
78 byte flags; ///< Bitmask of flags, bit 0: use different sprite set; bit 1: divide cargo about by FSMports size |
79 |
79 |
80 byte lengths; |
80 byte *size_x; |
81 byte width; |
81 byte *size_y; |
82 |
82 |
|
83 byte numlayouts; |
83 FSMportsLayout **layouts; |
84 FSMportsLayout **layouts; |
84 bool copied_layouts; |
85 bool copied_layouts; |
85 |
86 |
86 AirportFTAClass *portFSM; |
87 AirportFTAClass *portFSM; |
87 |
88 |
146 assert(IsTileType(t, MP_STATION)); |
147 assert(IsTileType(t, MP_STATION)); |
147 return ((_m[t].m4 != 0) && ((_m[t].m6 & 0x80) == 0x80)); |
148 return ((_m[t].m4 != 0) && ((_m[t].m6 & 0x80) == 0x80)); |
148 } |
149 } |
149 |
150 |
150 /* Draw representation of a FSMports tile for GUI purposes. */ |
151 /* Draw representation of a FSMports tile for GUI purposes. */ |
151 bool DrawFSMportsTile(int x, int y, RailType railtype, Axis axis, FSMportsClassID sclass, uint FSMports); |
152 bool DrawFSMportsTile(int x, int y, byte tile, FSMportsClassID sclass, uint FSMports); |
152 |
153 |
153 #endif /* NEWGRF_FSMPORTS_H */ |
154 #endif /* NEWGRF_FSMPORTS_H */ |