src/newgrf_fsmports.h
branchNewGRF_ports
changeset 6745 f45a41940079
parent 6743 cabfaa4a0295
child 6746 837a9ca5a2f0
equal deleted inserted replaced
6744:e7bf3233928b 6745:f45a41940079
    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 */