// Copyright 2001,2002,2006 Matt Baker // // This file is part of bd. // // bd is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // bd is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with bd; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if defined(USE_TI89) && defined(USE_TI92PLUS) #error Cannot produce both versions at once #elif defined(USE_TI89) static unsigned thesprites[] = { //Blank 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, // Brick 0xff70,0xff70,0xff70,0xff70,0x0000,0xffe0, 0xffe0,0xffe0,0x0000,0xff70,0xff70,0xff70, //Block 0xfff0,0x8010,0x8010,0x8010,0x8010,0x8010, 0x8010,0x8010,0x8010,0x8010,0x8010,0xfff0, //Door 0x0000,0x0000,0x3fc0,0x2040,0x2040,0x2040, 0x2040,0x2040,0x2140,0x2040,0x2040,0x2040, //Guy_Left 0x0f00,0x7f80,0x1080,0x2080,0x1080,0x0900, 0x0600,0x0f00,0x1680,0x2680,0x0600,0x1980, //Guy_Right 0x0f00,0x1fe0,0x1080,0x1040,0x1080,0x0900, 0x0600,0x0f00,0x1680,0x1640,0x0600,0x1980}; static unsigned bd_side[] = { 0x0003,0x0003,0x0003,0x0003,0x0fc3,0x1fe3,0x1093,0x1093,0x1093,0x1f93, 0x0f03,0x0003,0x0ee3,0x1ff3,0x1113,0x1113,0x1113,0x1ff3,0x0ee3,0x0003, 0x0003,0x0003,0x0003,0x0003,0x03a3,0x0793,0x0493,0x0493,0x0493,0x07f3, 0x03e3,0x0003,0x3ff3,0x3ff3,0x0423,0x0413,0x0413,0x07f3,0x03e3,0x0003, 0x07f3,0x07f3,0x0023,0x0013,0x0013,0x07f3,0x07e3,0x0003,0x07c3,0x0fe3, 0x1833,0x1013,0x1013,0x1013,0x1ff3,0x1ff3,0x0003,0x0003,0x0003,0x0003, 0x0003,0x0413,0x0633,0x0363,0x01c3,0x3ff3,0x3ff3,0x0003,0x0223,0x0413, 0x0413,0x0413,0x07f3,0x03e3,0x0003,0x03e3,0x07f3,0x0413,0x0413,0x0413, 0x07f3,0x03e3,0x0003,0x3ff3,0x3ff3,0x0003,0x0ee3,0x1ff3,0x1113,0x1113, 0x1113,0x1ff3,0x1ff3,0x0003,0x0003,0x0003}; #elif defined(USE_TI92PLUS) || defined(USE_V200) static unsigned thesprites[] = { //Blank 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // Brick 0xffdf, 0xffdf, 0xffdf, 0xffdf, 0xffdf, 0x0000, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0x0000, 0xffdf, 0xffdf, 0xffdf, 0xffdf, //Block 0xffff, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0xffff, //Door 0x0000, 0x0000, 0x1ff8, 0x1008, 0x1008, 0x1008, 0x1008, 0x1008, 0x1008, 0x1008, 0x1028, 0x1068, 0x1008, 0x1008, 0x1008, 0x1008, //Guy_Left 0x00c0, 0x01e0, 0x0ff0, 0x0210, 0x0410, 0x0220, 0x0140, 0x0080, 0x03e0, 0x05d0, 0x09d0, 0x09d0, 0x01d0, 0x01c0, 0x03e0, 0x0630, //Guy_Right 0x0180, 0x03c0, 0x07f8, 0x0420, 0x0410, 0x0220, 0x0140, 0x0080, 0x03e0, 0x05d0, 0x05c8, 0x05c8, 0x05c0, 0x01c0, 0x03e0, 0x0630}; static unsigned bd_side[] = { 0x0200, 0x0100, 0x4002, 0x18fc, 0x0094, 0x00f5, 0x34f4, 0x0094, 0x00fc, 0x0301, 0x0800, 0x0000, 0x2004, 0x0810, 0x07e0, 0x04a0, 0x07a8, 0x0fa2, 0x24a0, 0x07e0, 0x0810, 0x0000, 0x088c, 0x0100, 0x1f83, 0x1487, 0x178f, 0x57ae, 0x148c, 0x1f8c, 0x010c, 0x100c, 0x009f, 0x201f, 0x001f, 0x041f, 0x001f, 0x110c, 0x1f8c, 0x128c, 0x1e8c, 0x5ecc, 0x12bc, 0x1fa4, 0x113c, 0x200c, 0x020c, 0x020c, 0x002c, 0x2228, 0x0888, 0x0108, 0x1f88, 0x1488, 0x1784, 0x57a2, 0x1481, 0x1f80, 0x0110, 0x2000, 0x0400, 0x003f, 0x0125, 0xc03d, 0x183d, 0x0025, 0x003f, 0x34c0, 0x0000, 0x0801, 0x0204, 0x25f8, 0x1128, 0x01ea, 0x03e8, 0x1928, 0x05f8, 0x4204, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1f90, 0x1f90, 0x1090, 0x1090, 0x1090, 0x1fd0, 0x1fd0, 0x1050, 0x1050, 0x1050, 0x1050, 0x1fdf, 0x1fdf, 0x0000, 0x001f, 0x001f, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x001f, 0x001f, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x8400, 0x0100, 0x0081, 0x017e, 0x4852, 0x005e, 0x00df, 0x0452, 0x007e, 0x0001, 0x8820, 0x0080, 0x0404, 0x1f80, 0x1281, 0x9ed0, 0x1e80, 0x3280, 0x1f82, 0x8440, 0x8004, 0x0440, 0x0080, 0xffff, 0xffff, 0x0180, 0x0240, 0x0420, 0x0810, 0x1008, 0x2004, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x4000, 0x2007, 0x1008, 0x700e, 0x700e, 0x0000, 0x0000, 0x0280, 0x0440, 0x0000, 0x0000, 0x0000, 0x0fe0, 0x0fe0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x8001, 0x7ffe, 0x0000, 0x8040, 0x0020, 0x005f, 0x5214, 0x0017, 0x0037, 0x0114, 0x401f, 0x2208, 0x0020, 0x0100, 0x07e0, 0x04a0, 0x27b5, 0x87a0, 0x0ca0, 0x07e0, 0x2110, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x7df4, 0x7df4, 0x4504, 0x4505, 0x4507, 0x4506, 0x4506, 0x4507, 0x4505, 0x4504, 0x4504, 0x7df4, 0x7df4, 0x0000, 0x217c, 0xa17e, 0xa142, 0xa142, 0xa142, 0xa142, 0xa142, 0xa142, 0xa142, 0xa142, 0xa142, 0xbf7e, 0x3f7c, 0x0000, 0x0000, 0x0000, 0x1800, 0x1bef, 0x33ef, 0x3220, 0x6220, 0x0220, 0x03ef, 0x03ef, 0x0028, 0x0028, 0x0028, 0x002f, 0x002f, 0x0000, 0x0000, 0x0003, 0x840b, 0x03f3, 0x0293, 0x02f3, 0x26f3, 0x2293, 0x03f3, 0x000b, 0x1013, 0x0013, 0x5043, 0x0103, 0x1203, 0x7e0b, 0x5203, 0xde43, 0x5e03, 0x5213, 0x7e03, 0x2423, 0x1203, 0x8043, 0x07f3, 0xc253, 0xebdb, 0xf3d3, 0x7253, 0x33f3, 0x3023, 0x300b, 0x3003, 0xf913, 0xf823, 0xfbf3, 0xfa93, 0xfaf3, 0x32f7, 0x3293, 0x33f3, 0x3023, 0x3203, 0x3c13, 0x2503, 0x3c03, 0x3003, 0x3223, 0x3003, 0x302b, 0x1903, 0x100b, 0x1023, 0x13f3, 0x1653, 0x23d3, 0x43db, 0x8253, 0x03f3, 0x0207, 0x0003, 0x0213, 0x40a3, 0x848b, 0x8bf3, 0x8a93, 0xc2f3, 0x86f3, 0x8293, 0x43f3, 0x020b, 0x2413, 0xfe13, 0xa443, 0xbc8b, 0xbc03, 0xa63b, 0xfc83, 0x480b, 0x0003, 0x0003, 0x0003, 0x0003, 0x1003, 0x3003, 0x6003, 0xc003, 0x8003, 0x0003, 0x0003, 0x0003, 0x0003, 0x8003, 0xc003, 0x6003, 0x3003, 0x1803, 0x0003, 0xf803, 0xf803, 0x8003, 0x8003, 0x8003, 0x8003, 0xf003, 0xf003, 0x8003, 0x8003, 0x8003, 0xf803, 0xf803, 0x0003, 0x0003, 0x0003, 0x0003, 0x8003, 0x8003, 0x8003, 0x8183, 0x8183, 0x87e3, 0x87e3, 0x0183, 0x0183, 0x0003, 0x8003, 0x8003, 0x0003, 0x0003 }; #else #error Please define either USE_TI89 or USE_TI92PLUS #endif