mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-28 04:50:07 +00:00
144 lines
3.2 KiB
C
144 lines
3.2 KiB
C
/* ********************************************************************
|
|
|
|
Demo Data contains data structures for demonstrating calling GTE from
|
|
ORCA/C. This contains palette and tile information.
|
|
|
|
********************************************************************* */
|
|
|
|
#include "demo_data.h"
|
|
|
|
|
|
Byte tiles[128 * 3] = {
|
|
// Initial special empty tile
|
|
// Normal
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Flipped
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Flipped Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Tile ID 1
|
|
// Normal
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x33, 0x03, 0x30,
|
|
0x00, 0x05, 0x05, 0x00,
|
|
0x00, 0x08, 0x08, 0x00,
|
|
0x00, 0x02, 0x02, 0x00,
|
|
0x00, 0x07, 0x07, 0x00,
|
|
0x00, 0x44, 0x04, 0x40,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Flipped
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x03, 0x30, 0x33, 0x00,
|
|
0x00, 0x50, 0x50, 0x00,
|
|
0x00, 0x80, 0x80, 0x00,
|
|
0x00, 0x20, 0x20, 0x00,
|
|
0x00, 0x70, 0x70, 0x00,
|
|
0x04, 0x40, 0x44, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Flipped Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Tile ID 2
|
|
// Normal
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
|
|
// Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
|
|
// Flipped
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x00, 0x00, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
0x11, 0x11, 0x11, 0x11,
|
|
|
|
// Flipped Mask
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0xFF, 0xFF, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
};
|
|
|
|
|
|
// 16 Entry palette, where each entry is in the format:
|
|
// 0x0RGB
|
|
Word palette[16] = {
|
|
0x0000, 0x0FFF, 0x0F00, 0x00F0,
|
|
0x000F, 0x0FF0, 0x00FF, 0x0F0F,
|
|
0x0F70, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000
|
|
}; |