83 lines
4.3 KiB
C
83 lines
4.3 KiB
C
// ///////////////////////
|
|
// // //
|
|
// // File Attributes //
|
|
// // //
|
|
// ///////////////////////
|
|
|
|
// Filename: sprite.png
|
|
// Pixel Width: 40px
|
|
// Pixel Height: 64px
|
|
|
|
// /////////////////
|
|
// // //
|
|
// // Constants //
|
|
// // //
|
|
// /////////////////
|
|
|
|
const int sprite_tile_map_size = 0x28;
|
|
const int sprite_tile_map_width = 0x05;
|
|
const int sprite_tile_map_height = 0x08;
|
|
|
|
const int sprite_tile_data_size = 0x0280;
|
|
const int sprite_tile_count = 0x28;
|
|
|
|
// ////////////////
|
|
// // //
|
|
// // Map Data //
|
|
// // //
|
|
// ////////////////
|
|
|
|
const unsigned char sprite_map_data[] ={
|
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
|
|
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
|
|
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27
|
|
};
|
|
|
|
// /////////////////
|
|
// // //
|
|
// // Tile Data //
|
|
// // //
|
|
// /////////////////
|
|
|
|
const unsigned char sprite_tile_data[] ={
|
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x1F,0x1F,
|
|
0x00,0x00,0x01,0x01,0x0F,0x0F,0x1F,0x1F,0x7F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
|
|
0x3F,0x3F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
|
|
0x80,0x80,0xE0,0xE0,0xF0,0xF0,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
|
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x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