Struct uorustlibs::art::Tile
[−]
[src]
pub struct Tile { pub header: u32, pub image_data: [Color16; 1022], }
A Map Tile, 44px by 44px
Map tiles are stored as |Header:u32|Pixels:u16| Where pixels represents a list of rows, length 2, 4, 6, 8 .. 42, 44, 44, 42 .. 8, 6, 4, 2 and are drawn centred
Fields
header: u32
Header information for a tile. Unused
image_data: [Color16; 1022]
Individual pixels. These work as rows, of length 2, 4, 6, 8 .. 42, 44, 44, 42 .. 8, 6, 4, 2