/* ScummVM - Scumm Interpreter * Copyright (C) 2003 The ScummVM project * * This program 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. * This program 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 this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Header$ * */ #ifndef SKY46COMP_H #define SKY46COMP_H namespace SkyCompact { uint16 sc46_floor_table[] = { ID_SC46_FLOOR, RET_OK, ID_SC46_RUBBLE, GT_SC46_RUBBLE, ID_SC46_EXIT_45, GT_SC46_EXIT_45, 0, SC46_EXIT_45_WALK_ON, 65535, }; uint16 sc46_palette[] = { 0, 768, 771, 772, 1283, 515, 1028, 1540, 1028, 1285, 1283, 1285, 1032, 2052, 1540, 1287, 1539, 1030, 1287, 2309, 773, 1541, 1799, 1797, 1289, 2821, 1028, 1544, 2052, 1542, 1544, 3080, 773, 1798, 1542, 2055, 1292, 2565, 1030, 1801, 2565, 1542, 1294, 1795, 1800, 1801, 1799, 2312, 1549, 2564, 1544, 1804, 2307, 2312, 1549, 2822, 1287, 2312, 2824, 1799, 2061, 3076, 1544, 1806, 3843, 1030, 2059, 2569, 2057, 1553, 3588, 1287, 1808, 2307, 2825, 2568, 3082, 2057, 2063, 4100, 1287, 2063, 4358, 1032, 2318, 2565, 2570, 1810, 4355, 1544, 1810, 4101, 1289, 2318, 2824, 2059, 2573, 3079, 2570, 1812, 4099, 1801, 3082, 4874, 1032, 2826, 4620, 1289, 2575, 3590, 2570, 2829, 5385, 1032, 3084, 4362, 1546, 2828, 3852, 2059, 3086, 5898, 1032, 3085, 4109, 2316, 3340, 5644, 1289, 2833, 3848, 2827, 3087, 3597, 3085, 3597, 4877, 2060, 3342, 4110, 2829, 2585, 4868, 1549, 3597, 4623, 2573, 3345, 3853, 3342, 2587, 3332, 4112, 3854, 3854, 3854, 2589, 4100, 3599, 3602, 4620, 3598, 3856, 3856, 3856, 2844, 7429, 1036, 4114, 4365, 3856, 4113, 4113, 4113, 3861, 4619, 4625, 4625, 4881, 4370, 4124, 8458, 1550, 4884, 5906, 4114, 4886, 5649, 5141, 4896, 5900, 5398, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 8481, 8487, 10017, 0, 14336, 13364, 11569, 9261, 8481, 6687, 6681, 4626, 2578, 1803, 770, 519, 13571, 9517, 9778, 11805, 5151, 5926, 8205, 1808, 2586, 11267, 2056, 8210, 7441, 6954, 9494, 4119, 3866, 4864, 13316, 13364, 11563, 8751, 9506, 10024, 8242, 10527, 6174, 5927, 7698, 3600, 2325, 2308, 11573, 12837, 7462, 7982, 9748, 3351, 4128, 6663, 778, 9533, 13100, 9244, 5162, 8476, 5390, 2072, 3855, 2308, 2865, 9995, 1285, 285, 4865, 0, 11573, 12837, 7462, 0, 16128, 0, 16191, 8511, 10017, 8481, 8487, 10017, 8481, 13863, 13878, 12077, 8241, 10527, 5917, 5925, 7698, 2865, 9995, 1285, 285, 16129, 16191, }; uint16 sc46_chip_list[] = { IT_SC46_LAYER_0+DISK_13, 0, }; Compact sc46_exit_45 = { 0, // logic ST_MOUSE, // status 0, // sync 46, // screen 0, // place 0, // getToTable 128, // xcood 161, // ycood 0, // frame 1+T7, // cursorText STD_EXIT_LEFT_ON, // mouseOn STD_OFF, // mouseOff ADVISOR_188, // mouseClick 0, // mouseRel_x 0, // mouseRel_y 140-128, // mouseSize_x 327-161, // mouseSize_y SC46_EXIT_45_ACTION, // actionScript }; uint16 sc46_logic_list[] = { ID_FOSTER, 0XFFFF, ID_STD_MENU_LOGIC, }; uint16 sc46_mouse_list[] = { ID_SC46_RUBBLE, ID_SC46_EXIT_45, ID_SC46_FLOOR, 0XFFFF, ID_TEXT_MOUSE, }; uint32 *sc46_walk_grid = 0; uint16 sc46_fast_list[] = { 12+DISK_13, 51+DISK_13, 52+DISK_13, 53+DISK_13, 54+DISK_13, 0, }; Compact sc46_rubble = { 0, // logic ST_MOUSE, // status 0, // sync 46, // screen 0, // place 0, // getToTable 325, // xcood 223, // ycood 0, // frame 17383, // cursorText STD_ON, // mouseOn STD_OFF, // mouseOff ADVISOR_188, // mouseClick 0, // mouseRel_x 0, // mouseRel_y 447-325, // mouseSize_x 310-223, // mouseSize_y SC46_RUBBLE_ACTION, // actionScript }; uint16 reset_45_46[] = { C_SCREEN, 46, C_PLACE, ID_SC46_FLOOR, C_XCOOD, OFF_LEFT, C_YCOOD, 280, 65535, }; Compact sc46_floor = { 0, // logic ST_MOUSE, // status 0, // sync 46, // screen 0, // place sc46_floor_table, // getToTable 128, // xcood 272, // ycood 0, // frame 0, // cursorText 0, // mouseOn 0, // mouseOff ADVISOR_188, // mouseClick 0, // mouseRel_x 0, // mouseRel_y 375-128, // mouseSize_x 327-272, // mouseSize_y FLOOR_ACTION, // actionScript }; }; // namespace SkyCompact #endif