/*
* src/dat_maps.c
*
* Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
*
* The use and distribution terms for this software are contained in the file
* named README, which can be found in the root of this distribution. By
* using this software in any fashion, you are agreeing to be bound by the
* terms of this license.
*
* You must not remove this notice, or any other, from this software.
*/
#include "system.h"
#include "maps.h"
map_t map_maps[MAP_NBR_MAPS] =
{
/* x (initial position for rick)
| y (initial position for rick)
| | row (initial map_map top row within the submap)
| | | submap (initial submap)
| | | | tune (map tune) */
{0x0008, 0x008b, 0x0008, 000000, "sounds/tune0.wav"},
{0x0008, 0x008b, 0x0068, 0x0009, "sounds/tune1.wav"},
{0x0010, 0x008b, 0x0010, 0x0014, "sounds/tune2.wav"},
{0x0010, 0x008b, 0x0010, 0x0026, "sounds/tune3.wav"},
{0x0074, 0x00c8, 0x0008, 0x0026, "sounds/tune4.wav"},
};
submap_t map_submaps[MAP_NBR_SUBMAPS] =
{
/* page (tiles page),
| bnum (first block number),
| | connect (first connection),
| | | mark (first entity mark) */
{000000, 000000, 000000, 000000}, // Amazon
{000000, 0x0078, 0x0003, 0x0005},
{000000, 0x0150, 0x0006, 0x0011},
{000000, 0x0198, 0x0009, 0x0018},
{000000, 0x02a0, 0x000c, 0x002b},
{000000, 0x0348, 0x000f, 0x0035},
{000000, 0x0398, 0x0012, 0x0039},
{000000, 0x04a8, 0x0015, 0x0048},
{000000, 0x05b8, 0x0018, 0x0057},
{000000, 0x0800, 0x001b, 0x0065}, // Egypt
{000000, 0x0900, 0x001e, 0x0079},
{000000, 0x09c8, 0x0021, 0x0086},
{000000, 0x0a40, 0x0024, 0x0091},
{000000, 0x0aa8, 0x0027, 0x009b},
{000000, 0x0b18, 0x002a, 0x00a4},
{000000, 0x0be8, 0x002d, 0x00b1},
{000000, 0x0ce8, 0x0030, 0x00c1},
{000000, 0x0df8, 0x0033, 0x00d1},
{000000, 0x0e78, 0x0036, 0x00d8}, // submap X
{000000, 0x0f58, 0x0039, 0x00e5},
{0x0001, 0x1060, 0x003c, 0x00f2}, // Schwarzendumpf castle
{0x0001, 0x10f0, 0x003f, 0x00fa},
{0x0001, 0x1140, 0x0044, 0x0103},
{0x0001, 0x1190, 0x0049, 0x010a},
{0x0001, 0x1240, 0x004c, 0x0117},
{0x0001, 0x12c0, 0x004f, 0x0122},
{0x0001, 0x1310, 0x0053, 0x0129},
{0x0001, 0x13c0, 0x0057, 0x0132},
{0x0001, 0x1410, 0x005c, 0x0138},
{0x0001, 0x14c0, 0x0061, 0x0145},
{0x0001, 0x1510, 0x0065, 0x014b},
{0x0001, 0x1590, 0x0069, 0x0158},
{0x0001, 0x15e0, 0x006c, 0x015f},
{0x0001, 0x1690, 0x006f, 0x016a},
{0x0001, 0x1740, 0x0072, 0x0176},
{0x0001, 0x1850, 0x0075, 0x0185},
{0x0001, 0x1900, 0x0078, 0x018d},
{0x0001, 0x19b0, 0x007b, 0x0195},
{0x0001, 0x1a8a, 0x007e, 0x01a0},
{0x0001, 0x1aea, 0x0081, 0x01a9},
{0x0001, 0x1bca, 0x0084, 0x01ba},
{0x0001, 0x1c1a, 0x0087, 0x01c1},
{0x0001, 0x1cfa, 0x008a, 0x01d3},
{0x0001, 0x1d4a, 0x008d, 0x01dc},
{0x0001, 0x1e2a, 0x0090, 0x01eb},
{0x0001, 0x1e7a, 0x0093, 0x01f1},
{0x0001, 0x1f5a, 0x0096, 0x0202},
};
connect_t map_connect[MAP_NBR_CONNECT] =
{
/* dir
| rowout
| | submap
| | | rowin
| | | | */
/* map 0 */
/* map 0 submap 0 */
{0x01, 0x18, 0xff, 0x00},
{0000, 0x38, 0x01, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 1 */
{0x01, 0x18, 0000, 0x38},
{0000, 0x68, 0x02, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 2 */
{0x01, 0x20, 0x01, 0x68},
{0000, 0x18, 0x03, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 3 */
{0x01, 0x18, 0x02, 0x18},
{0000, 0x80, 0x04, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 4 */
{0x01, 0x18, 0x03, 0x80},
{0000, 0x50, 0x05, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 5 */
{0x01, 0x18, 0x04, 0x50},
{0000, 0x20, 0x06, 0x80},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 6 */
{0000, 0x18, 0x07, 0x80},
{0x01, 0x80, 0x05, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 7 */
{0000, 0x18, 0x08, 0x18},
{0x01, 0x80, 0x06, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 0 submap 8 */
{0x01, 0x18, 0x07, 0x18},
{0000, 0x80, 0xff, 0x00},
{0xff, 0x00, 0x00, 0x00},
/* map 1 */
/* map 1 submap 9 */
{0000, 0x18, 0x0a, 0x60},
{0x01, 0x78, 0xff, 0x00},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap a */
{0000, 0x18, 0x0b, 0x30},
{0x01, 0x60, 0x09, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap b */
{0000, 0x18, 0x0c, 0x30},
{0x01, 0x30, 0x0a, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap c */
{0000, 0x30, 0x0d, 0x18},
{0x01, 0x30, 0x0b, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap d */
{0x01, 0x18, 0x0c, 0x30},
{0000, 0x30, 0x0e, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap e */
{0x01, 0x18, 0x0d, 0x30},
{0000, 0x60, 0x0f, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap f */
{0x01, 0x18, 0x0e, 0x60},
{0000, 0x78, 0x10, 0x80},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap 10 */
{0000, 0x18, 0x11, 0x18},
{0x01, 0x80, 0x0f, 0x78},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap 11 */
{0x01, 0x18, 0x10, 0x18},
{0000, 0x38, 0x12, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap 12 */
{0x01, 0x18, 0x11, 0x38}, /* pointless since it's not possible to go back */
{0000, 0x68, 0x13, 0x68},
{0xff, 0x00, 0x00, 0x00},
/* map 1 submap 13 */
{0000, 0x18, 0xff, 0x00},
{0x01, 0x68, 0x12, 0x68},
{0xff, 0x00, 0x00, 0x00},
/* map 2 */
/* map 2 submap 14 */ /* sequence 14-15-16-17 is clean */
{0x01, 0x20, 0xff, 0x00},
{0000, 0x40, 0x15, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 15 */
{0x01, 0x18, 0x14, 0x40},
{0000, 0x18, 0x16, 0x18},
{0x01, 0x20, 0x16, 0x18},
{0000, 0x20, 0x16, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 16 */
{0000, 0x18, 0x15, 0x20},
{0x01, 0x18, 0x15, 0x18},
{0000, 0x20, 0x17, 0x20},
{0x01, 0x20, 0x15, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 17 */
{0x01, 0x20, 0x16, 0x20},
{0000, 0x50, 0x18, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 18 */ /* sequence 18-...-1f ?? */
{0x01, 0x18, 0x17, 0x50},
{0000, 0x38, 0x19, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 19 */
{0x01, 0x18, 0x18, 0x38},
{0000, 0x18, 0x18, 0x20},
{0000, 0x20, 0x1a, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1a */
{0x01, 0x18, 0x19, 0x20},
{0000, 0x48, 0x1b, 0x20},
{0000, 0x50, 0x19, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1b */
{0000, 0x18, 0x1b, 0x18},
{0x01, 0x18, 0x1b, 0x18},
{0x01, 0x20, 0x1a, 0x48},
{0000, 0x20, 0x1c, 0x30},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1c */
{0x01, 0x18, 0x1a, 0x18},
{0x01, 0x30, 0x1b, 0x20},
{0000, 0x48, 0x1d, 0x20},
{0000, 0x50, 0x19, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1d */
{0000, 0x18, 0x1d, 0x18},
{0x01, 0x20, 0x1c, 0x48},
{0000, 0x20, 0x1e, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1e */
{0x01, 0x18, 0x1d, 0x20},
{0000, 0x18, 0x17, 0x18},
{0000, 0x38, 0x1f, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 1f */
{0x01, 0x20, 0x1e, 0x38},
{0000, 0x20, 0x20, 0x50},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 20 */
{0000, 0x18, 0x21, 0x50},
{0x01, 0x50, 0x1f, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 21 */
{0000, 0x18, 0x22, 0x18},
{0x01, 0x50, 0x20, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 22 */
{0x01, 0x18, 0x21, 0x18},
{0000, 0x80, 0x23, 0x50},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 23 */
{0000, 0x18, 0x24, 0x50},
{0x01, 0x50, 0x22, 0x80},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 24 */
{0000, 0x18, 0x25, 0x18},
{0x01, 0x50, 0x23, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 2 submap 25 */
{0x01, 0x18, 0x24, 0x18},
{0000, 0x50, 0xff, 0x00},
{0xff, 0x00, 0x00, 0x00},
/* map 3 */
/* map 3 submap 26 */
{0x01, 0x20, 0xff, 0x00},
{0000, 0x28, 0x27, 0x68},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 27 */
{0000, 0x18, 0x28, 0x18},
{0x01, 0x68, 0x26, 0x28},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 28 */
{0x01, 0x18, 0x27, 0x18},
{0000, 0x20, 0x29, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 29 */
{0x01, 0x18, 0x28, 0x20},
{0000, 0x68, 0x2a, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 2a */
{0x01, 0x18, 0x29, 0x68},
{0000, 0x18, 0x2b, 0x68},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 2b */
{0000, 0x18, 0x2c, 0x20},
{0x01, 0x68, 0x2a, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 2c */
{0000, 0x18, 0x2d, 0x18},
{0x01, 0x20, 0x2b, 0x18},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 2d */
{0x01, 0x18, 0x2c, 0x18},
{0000, 0x60, 0x2e, 0x20},
{0xff, 0x00, 0x00, 0x00},
/* map 3 submap 2e */
{0x01, 0x20, 0x2d, 0x60},
{0000, 0x24, 0xff, 0x00},
{0xff, 0x00, 0x00, 0x00},
};
U8 map_bnums[MAP_NBR_BNUMS] =
{
0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, // 0// submap 18
0x0b, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x0a,
0x0b, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x0a,
0x0b, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x0a,
0x0b, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x0a,
0x37, 0x3a, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x37,
0x2a, 0x2e, 0x04, 0x03, 0x05, 0x04, 0x05, 0x7b,
0x37, 0x08, 0x2b, 0x2b, 0x2b, 0x2b, 0x02, 0x37,
0x37, 0x27, 0x01, 0x01, 0x02, 0x01, 0x02, 0x37, // changed to remove a bogus pike (was: 0x37, 0x27, 0x01, 0x01, 0x02, 0x01, 0x26, 0x37)/* 0 */
{0x18, 0x2a, 0x88, 0x01, 0x28},
{0x38, 0x04, 0xf0, 0x15, 0x29},
{0x38, 0x17, 0x01, 0xe0, 0xe0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x12, 0000, 0xc5, 0000}, /* 1 */
{0x18, 0x19, 0x88, 0x95, 0xc3},
{0x20, 0x04, 0000, 0x65, 0x71},
{0x28, 0x04, 0xf0, 0x85, 0x82},
{0x30, 0x04, 0000, 0x45, 0x60},
{0x38, 0x19, 0x88, 0x11, 0x63},
{0x48, 0x12, 0000, 0x4d, 0000},
{0x60, 0x1b, 0x88, 0xc2, 0xc2},
{0x68, 0x04, 0xf0, 0xb5, 0x61},
{0x68, 0x19, 0x88, 0x11, 0x22},
{0x68, 0x12, 0000, 0x55, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x05, 0000, 0x49, 0x03}, /* 2 */
{0x18, 0x05, 0xf0, 0xc1, 0x01},
{0x18, 0x06, 0000, 0x89, 0000},
{0x20, 0x16, 0x01, 0x24, 0x24},
{0x20, 0x17, 0x01, 0xc4, 0xc4},
{0x20, 0x12, 0000, 0x75, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x16, 0000, 0000, 0000}, /* 3 */
{0x18, 0x04, 0000, 0x81, 0x40},
{0x18, 0x11, 0000, 0x99, 0000},
{0x38, 0x2f, 0x81, 0x2d, 0x8d},
{0x38, 0x1b, 0x88, 0x25, 0x25},
{0x40, 0x2d, 0x8c, 0x72, 0x74},
{0x40, 0x2d, 0x8e, 0x8a, 0x74},
{0x48, 0x2b, 0xfc, 0x69, 0x69},
{0x50, 0x04, 0000, 0x81, 0x28},
{0x50, 0x19, 0x88, 0x11, 0x40},
{0x60, 0x12, 0000, 0x55, 0000},
{0x68, 0x2c, 0x1f, 0x86, 0x94},
{0x78, 0x2e, 0x15, 0x7a, 0x6a},
{0x78, 0x2e, 0x15, 0x8a, 0x7a},
{0x80, 0x17, 0x01, 0xe0, 0xe0},
{0x80, 0x12, 0000, 0x35, 0000},
{0x80, 0x04, 0xf0, 0x35, 0x61},
{0x80, 0x04, 0000, 0x85, 0x30},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x12, 0000, 0xae, 0000}, /* 4 */
{0x30, 0x19, 0x88, 0x15, 0x84},
{0x38, 0x31, 0x8c, 0x80, 0xa4},
{0x40, 0x10, 0000, 0x0d, 0000},
{0x40, 0x04, 0xf0, 0x55, 0x60},
{0x48, 0x19, 0x48, 0x15, 0xc4},
{0x48, 0x04, 0000, 0x85, 0x40},
{0x48, 0x04, 0000, 0x75, 0x38},
{0x50, 0x2e, 0x15, 0xc6, 0xb6},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x25, 0x84, 0x63, 0x84}, /* 5 */
{0x18, 0x25, 0x84, 0xa3, 0x40},
{0x20, 0x30, 0x8e, 0xe2, 0x44},
{0xff, 0000, 0000, 0000, 0000},
{0x20, 0x10, 0000, 0xa1, 0000}, /* 6 */
{0x28, 0x48, 0x1f, 0x62, 0x80},
{0x30, 0x04, 0x80, 0x45, 0x80},
{0x30, 0x11, 0000, 0x65, 0000},
{0x38, 0x1a, 0x88, 0xe5, 0x84},
{0x40, 0x05, 0000, 0x65, 0x03},
{0x50, 0x19, 0x88, 0x11, 0x20},
{0x50, 0x05, 0xf0, 0x21, 0x07},
{0x58, 0x05, 0000, 0x81, 0x05},
{0x68, 0x04, 0000, 0xa5, 0x40},
{0x70, 0x12, 0000, 0xcd, 0000},
{0x70, 0x19, 0x88, 0x15, 0x64},
{0x78, 0x04, 0xf0, 0x45, 0x60},
{0x80, 0x04, 0xf0, 0x45, 0x80},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x2c, 0x1f, 0xe2, 0xc0}, /* 7 */
{0x18, 0x19, 0x88, 0x15, 0x24},
{0x28, 0x11, 0000, 0xc5, 0000},
{0x28, 0x1a, 0x88, 0xd1, 0x20},
{0x38, 0x04, 0000, 0x21, 0x70},
{0x40, 0x04, 0xf0, 0x81, 0x60},
{0x40, 0x1b, 0x88, 0x25, 0x24},
{0x50, 0x12, 0000, 0x21, 0000},
{0x50, 0x19, 0x88, 0x11, 0x60},
{0x60, 0x1a, 0x88, 0xe1, 0xa0},
{0x60, 0x19, 0x88, 0x15, 0xc4},
{0x68, 0x04, 0000, 0x21, 0x60},
{0x70, 0x19, 0x88, 0x15, 0x84},
{0x78, 0x05, 0000, 0x45, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x27, 0x88, 0x62, 0x60}, /* 8 */
{0x18, 0x1b, 0x88, 0x25, 0x24},
{0x18, 0x1b, 0x88, 0x85, 0x84},
{0x30, 0x1a, 0x88, 0xe1, 0x40},
{0x30, 0x19, 0x88, 0x11, 0x40},
{0x38, 0x04, 0xf0, 0x55, 0x60},
{0x58, 0x1b, 0x88, 0x81, 0x80},
{0x58, 0x04, 0xf0, 0x85, 0x40},
{0x68, 0x27, 0x88, 0x62, 0x60},
{0x68, 0x12, 0000, 0x25, 0000},
{0x78, 0x1a, 0x88, 0xe1, 0000},
{0x80, 0x2c, 0x1f, 0x84, 0x80},
{0x80, 0x2c, 0x1d, 0xe2, 0xc0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x17, 0x01, 0xe0, 0xe0}, /* 9 */
{0x18, 0x1d, 0x88, 0x81, 0x60},
{0x18, 0x1e, 0x88, 0x89, 0xa0},
{0x20, 0x07, 0000, 0xc1, 0x98},
{0x20, 0x09, 0000, 0x89, 0x01}, /* HERE */
{0x28, 0x1c, 0x1f, 0x42, 0x60},
{0x30, 0x07, 0000, 0x65, 0x43},
{0x30, 0x08, 0000, 0xc1, 0x05},
{0x40, 0x20, 0x48, 0x70, 0x40},
{0x40, 0x19, 0xc8, 0x41, 0x82},
{0x48, 0x19, 0x88, 0x1d, 0x25},
{0x48, 0x09, 0000, 0xcd, 0x04},
{0x50, 0x07, 0000, 0x45, 0x80},
{0x60, 0x1b, 0x88, 0x41, 0x41},
{0x60, 0x1a, 0x88, 0xe5, 0x24},
{0x68, 0x13, 0000, 0x2d, 0000},
{0x70, 0x18, 0x8e, 0xc8, 0xce},
{0x78, 0x1a, 0x88, 0xe5, 0x24},
{0x78, 0x16, 0000, 0x22, 0x22},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x17, 0x01, 0xe0, 0xe0}, /* 9 */
{0x20, 0x09, 0000, 0x82, 0000},
{0x20, 0x1b, 0x88, 0x82, 0x78},
{0x30, 0x19, 0x88, 0x19, 0x81},
{0x30, 0x07, 0000, 0x51, 0x40},
{0x30, 0x1b, 0x88, 0xa5, 0xa5},
{0x40, 0x07, 0xf0, 0x81, 0x30},
{0x40, 0x13, 0000, 0xcf, 0000},
{0x50, 0x1b, 0x88, 0x58, 0x51},
{0x58, 0x1f, 0x8e, 0x72, 0x64},
{0x60, 0x09, 0000, 0x85, 0x01},
{0x60, 0x16, 0000, 0x84, 0x84},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x1c, 0x1f, 0x42, 0x20}, /* a */
{0x18, 0x28, 0xf8, 0x69, 0x61},
{0x18, 0x07, 0xf0, 0x89, 0x28},
{0x18, 0x07, 0xf0, 0x81, 0x50},
{0x18, 0x07, 0xf0, 0xa9, 0x28},
{0x18, 0x20, 0x88, 0xc4, 0xa0},
{0x28, 0x27, 0x88, 0x44, 0x4c},
{0x30, 0x21, 0x8c, 0x5c, 0x25},
{0x30, 0x21, 0x8c, 0x74, 0x25},
{0x30, 0x21, 0x8c, 0x8c, 0x25},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x1d, 0x89, 0x8d, 0x71}, /* b */
{0x18, 0x1e, 0x89, 0x65, 0x71},
{0x18, 0x22, 0x81, 0x79, 0x71},
{0x18, 0x23, 0x8e, 0x7c, 0x71},
{0x20, 0x16, 0x01, 0x71, 0x71},
{0x20, 0x17, 0x01, 0x75, 0x75},
{0x30, 0x09, 0000, 0xc1, 0x02},
{0x30, 0x09, 0000, 0xb1, 0x03},
{0x30, 0x09, 0000, 0xa1, 0x01},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x08, 0000, 0x2d, 0x01}, /* c */
{0x18, 0x07, 0xf0, 0xad, 0x50},
{0x18, 0x13, 0000, 0xbd, 0000},
{0x28, 0x11, 0000, 0xc1, 0000},
{0x30, 0x1b, 0x88, 0xc0, 0xe0},
{0x30, 0x1b, 0x88, 0xa4, 0xc4},
{0x38, 0x1a, 0x88, 0xc1, 0x01},
{0x38, 0x09, 0000, 0x61, 0x03},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x08, 0000, 0x4b, 0x02}, /* d */
{0x10, 0x08, 0000, 0xab, 0x04},
{0x20, 0x24, 0x2e, 0x60, 0x1c},
{0x20, 0x1b, 0x88, 0x24, 0x24},
{0x30, 0x1a, 0x88, 0xcd, 0x24},
{0x38, 0x25, 0x24, 0xc3, 0xd0},
{0x48, 0x16, 0000, 0x24, 0x24},
{0x48, 0x1b, 0x88, 0x24, 0x27},
{0x50, 0x10, 0000, 0x81, 0000},
{0x50, 0x07, 0000, 0x81, 0x19},
{0x60, 0x26, 0x2e, 0x26, 0xd2},
{0x60, 0x17, 0x01, 0xe0, 0xe0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x28, 0xf8, 0x41, 0x40}, /* e */
{0x18, 0x28, 0x88, 0x61, 0xa0},
{0x18, 0x11, 0000, 0xc9, 0000},
{0x20, 0x29, 0x78, 0x85, 0x84},
{0x28, 0x1b, 0x88, 0x40, 0x50},
{0x30, 0x09, 0000, 0x43, 0000},
{0x40, 0x07, 0000, 0x21, 0x82},
{0x40, 0x1c, 0x1f, 0x64, 0x60},
{0x40, 0x16, 0000, 0x65, 0x65},
{0x58, 0x07, 0xf0, 0xa3, 0x12},
{0x68, 0x1c, 0x1f, 0xaa, 0xa8},
{0x78, 0x09, 0000, 0x43, 0000},
{0x78, 0x09, 0000, 0xa3, 0000},
{0x78, 0x09, 0000, 0x83, 0000},
{0x78, 0x17, 0x01, 0xe0, 0xe0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x49, 0x1f, 0xe2, 0xc0}, /* f */
{0x20, 0x07, 0000, 0x41, 0x80},
{0x28, 0x19, 0x88, 0x11, 0x60},
{0x28, 0x09, 0000, 0x81, 0000},
{0x30, 0x11, 0000, 0x85, 0000},
{0x40, 0x07, 0000, 0x11, 0x48},
{0x48, 0x1a, 0x88, 0xe1, 0x40},
{0x48, 0x13, 0000, 0x29, 0000},
{0x50, 0x10, 0000, 0x21, 0000},
{0x58, 0x09, 0000, 0xc1, 0000},
{0x58, 0x07, 0000, 0x21, 0x60},
{0x60, 0x08, 0xf0, 0xc5, 0x03},
{0x68, 0x19, 0x88, 0x15, 0x24},
{0x78, 0x27, 0x88, 0x84, 0x82},
{0x80, 0x1a, 0x88, 0xe5, 0x14},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x21, 0x8c, 0x80, 0x62}, /* 10 */
{0x18, 0x21, 0x8c, 0x98, 0x62},
{0x18, 0x21, 0x8c, 0xb0, 0x62},
{0x28, 0x49, 0x45, 0x66, 0000},
{0x30, 0x1b, 0x88, 0x85, 0x74},
{0x38, 0x07, 0xf0, 0xc9, 0x20},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x1a, 0x88, 0xd1, 0000}, /* 11 */
{0x18, 0x07, 0000, 0x43, 0x70},
{0x18, 0x10, 0000, 0xab, 0000},
{0x30, 0x1b, 0x88, 0xa1, 0xa0},
{0x38, 0x19, 0x88, 0x11, 0x40},
{0x40, 0x25, 0x45, 0x63, 0x84},
{0x40, 0x25, 0x45, 0x83, 0x84},
{0x48, 0x1a, 0x88, 0xd1, 0x80},
{0x50, 0x07, 0xf0, 0x81, 0x10},
{0x68, 0x13, 0000, 0x2d, 0000},
{0x68, 0x07, 0000, 0x85, 0x60},
{0x68, 0x09, 0000, 0xa5, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x49, 0x1d, 0xea, 0xc0}, /* 12 */
{0x18, 0x1b, 0x88, 0x21, 0x20},
{0x20, 0x49, 0x1f, 0x62, 0x80},
{0x20, 0x07, 0xf0, 0x81, 0x60},
{0x28, 0x27, 0x88, 0x66, 0x64},
{0x28, 0x13, 0000, 0x6d, 0000},
{0x30, 0x27, 0x88, 0xc2, 0xd0},
{0x30, 0x07, 0xf0, 0xc1, 0x50},
{0x48, 0x1a, 0x88, 0xd5, 0x54},
{0x58, 0x25, 0x85, 0x47, 0x39},
{0x58, 0x25, 0x85, 0x27, 0x39},
{0x68, 0x08, 0000, 0x81, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x20, 0x42, 0x89, 0xc1, 0000}, /* 13 */
{0x28, 0x35, 0x89, 0xc5, 0xa4},
{0x30, 0x38, 0000, 0xcd, 0xcd},
{0x30, 0x39, 0x8c, 0xc7, 0x24},
{0x40, 0x36, 0x11, 0x73, 0x66},
{0x40, 0x37, 0x1f, 0x76, 0x66},
{0x40, 0x0c, 0000, 0xd1, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x0a, 0xf1, 0x61, 0x40}, /* 14 */
{0x18, 0x0a, 0xf1, 0x81, 0x40},
{0x18, 0x0a, 0x01, 0xa1, 0x40},
{0x20, 0x0b, 0xf1, 0x65, 0x01},
{0x20, 0x0c, 0x01, 0x85, 0000},
{0x20, 0x0b, 0x01, 0xa5, 0x01},
{0x20, 0x10, 0000, 0xcd, 0000},
{0x20, 0x11, 0000, 0x75, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x0a, 0x01, 0x61, 0x40}, /* 15 */
{0x18, 0x0b, 0x01, 0x81, 0x01},
{0x18, 0x0a, 0xf1, 0xa1, 0x40},
{0x20, 0x0b, 0000, 0x65, 0x01},
{0x20, 0x0c, 0000, 0x85, 0x01},
{0x20, 0x0b, 0xf0, 0xa5, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x35, 0x79, 0x81, 0x81}, /* 16 */
{0x18, 0x0b, 0000, 0x39, 0x01},
{0x28, 0x0a, 0xf0, 0x21, 0x20},
{0x30, 0x32, 0x79, 0xcf, 0xc7},
{0x38, 0x0b, 0000, 0x85, 0000},
{0x40, 0x0a, 0xf0, 0x55, 0x40},
{0x40, 0x0a, 0xf0, 0x45, 0x40},
{0x48, 0x2e, 0x15, 0xb2, 0xca},
{0x48, 0x2e, 0x15, 0xe2, 0xca},
{0x50, 0x42, 0x19, 0x9d, 0x74},
{0x50, 0x36, 0x11, 0x83, 0x74},
{0x50, 0x37, 0x1f, 0x86, 0x74},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x16, 0000, 0000, 0000}, /* 17 */
{0x18, 0x0a, 0xf0, 0x49, 0x20},
{0x18, 0x0a, 0000, 0xc9, 0x20},
{0x20, 0x0c, 0000, 0xc1, 0x01},
{0x20, 0x35, 0x79, 0x61, 0x60},
{0x28, 0x14, 0000, 0x6d, 0000},
{0x28, 0x14, 0000, 0x85, 0000},
{0x30, 0x39, 0x8c, 0x8f, 0x21},
{0x30, 0x38, 0x31, 0x85, 0x85},
{0x38, 0x0a, 0xf0, 0x85, 0x60},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x17, 0x01, 0000, 0000}, /* 18 */
{0x18, 0x14, 0000, 0x89, 0000},
{0x18, 0x14, 0000, 0xa1, 0000},
{0x18, 0x0a, 0xf0, 0xa1, 0x40},
{0x20, 0x14, 0000, 0x8d, 0000},
{0x20, 0x0b, 0xf1, 0xc1, 0x02},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x2d, 0x8c, 0x80, 0x24}, /* 19 */
{0x28, 0x3d, 0x88, 0xd1, 0x20},
{0x30, 0x33, 0x88, 0x21, 0x20},
{0x38, 0x3d, 0x88, 0xe1, 0x20},
{0x40, 0x0a, 0000, 0x29, 0x40},
{0x40, 0x11, 0000, 0xc1, 0000},
{0x48, 0x10, 0000, 0x29, 0000},
{0x50, 0x0b, 0000, 0x31, 0xa4},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x25, 0x44, 0x1b, 0x60}, /* 1a */
{0x18, 0x25, 0x44, 0xa3, 0x60},
{0x18, 0x27, 0x48, 0xe2, 0x60},
{0x20, 0x3e, 0x88, 0x85, 0x84},
{0x20, 0x27, 0x88, 0x26, 0x25},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x0b, 0xf0, 0x21, 0x07}, /* 1b */
{0x18, 0x14, 0000, 0x61, 0000},
{0x28, 0x14, 0000, 0xa1, 0000},
{0x28, 0x0b, 0000, 0x31, 0000},
{0x30, 0x0a, 0xf0, 0x45, 0x60},
{0x30, 0x36, 0x11, 0x83, 0x6c},
{0x30, 0x37, 0x1f, 0x86, 0x6c},
{0x30, 0x14, 0000, 0xc5, 0000},
{0x40, 0x2e, 0x15, 0x90, 0xa0},
{0x48, 0x1b, 0x88, 0x21, 0x18},
{0x50, 0x0a, 0000, 0xb5, 0xa3},
{0x50, 0x10, 0000, 0xc5, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0a, 0xf0, 0x7d, 0x20}, /* 1c */
{0x10, 0x0a, 0000, 0x95, 0x20},
{0x10, 0x0a, 0xf0, 0xad, 0x20},
{0x20, 0x27, 0x88, 0x46, 0x46},
{0x20, 0x27, 0x48, 0xc6, 0xe4},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x16, 0000, 0000, 0000}, /* 1d */
{0x18, 0x0c, 0000, 0xc1, 0000},
{0x18, 0x0b, 0xf0, 0x81, 0000},
{0x18, 0x27, 0x88, 0x66, 0x64},
{0x20, 0x34, 0x4c, 0x64, 0xe4},
{0x28, 0x36, 0x11, 0xb3, 0xa4},
{0x28, 0x37, 0x1f, 0xb6, 0xa4},
{0x30, 0x0a, 0xf0, 0x31, 0x25},
{0x30, 0x0a, 0000, 0x79, 0x21},
{0x38, 0x27, 0x88, 0xc6, 0xc4},
{0x38, 0x17, 0x01, 0xe0, 0xe0},
{0x38, 0x0a, 0000, 0x45, 0x50},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0e, 0000, 0xc5, 0000}, /* 1e */
{0x18, 0x0b, 0xf0, 0xc1, 0x02},
{0x18, 0x0b, 0000, 0x21, 0x02},
{0x20, 0x35, 0x89, 0xa1, 0000},
{0x20, 0x16, 0000, 0000, 0000},
{0x20, 0x17, 0x01, 0xe0, 0xe0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x0a, 0xf0, 0x81, 0x10}, /* 1f */
{0x20, 0x0b, 0xf0, 0x61, 0x07},
{0x28, 0x11, 0000, 0xc3, 0000},
{0x28, 0x27, 0x88, 0xa4, 0xa2},
{0x30, 0x0b, 0xf0, 0x21, 0x04},
{0x30, 0x14, 0000, 0x8d, 0000},
{0x38, 0x0a, 0xf0, 0x25, 0x60},
{0x40, 0x0b, 0xf0, 0x65, 0x07},
{0x48, 0x0b, 0xf0, 0x75, 0000},
{0x50, 0x11, 0000, 0xc9, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0a, 0xf0, 0x85, 0x48}, /* 20 */
{0x18, 0x14, 0000, 0x21, 0000},
{0x18, 0x0c, 0000, 0x21, 0000},
{0x20, 0x0c, 0000, 0x21, 0x04},
{0x28, 0x27, 0x88, 0xa6, 0xbc},
{0x30, 0x2d, 0x8c, 0x48, 0x20},
{0x38, 0x27, 0x88, 0x22, 0x20},
{0x40, 0x0c, 0000, 0xc1, 0x01},
{0x50, 0x0a, 0000, 0x41, 0x90},
{0x50, 0x27, 0x88, 0x42, 0x40},
{0x50, 0x0c, 0000, 0x25, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0b, 0000, 0xcd, 0x05}, /* 21 */
{0x18, 0x14, 0000, 0x65, 0000},
{0x20, 0x42, 0x89, 0xcd, 0x84},
{0x20, 0x27, 0x88, 0x26, 0x24},
{0x30, 0x27, 0x88, 0x22, 0x20},
{0x30, 0x0b, 0xf0, 0xc9, 0x05},
{0x48, 0x27, 0x88, 0x26, 0x24},
{0x50, 0x27, 0x88, 0xc2, 0xc0},
{0x50, 0x11, 0000, 0xcd, 0000},
{0x60, 0x14, 0000, 0x21, 0000},
{0x68, 0x14, 0000, 0x21, 0000},
{0x78, 0x0c, 0000, 0xc1, 0x01},
{0x80, 0x0c, 0000, 0xc5, 0x01},
{0x80, 0x0a, 0xf0, 0x85, 0x42},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0c, 0000, 0x65, 0x01}, /* 22 */
{0x20, 0x0c, 0000, 0x21, 0x02},
{0x20, 0x14, 0000, 0x61, 0000},
{0x30, 0x27, 0x88, 0x66, 0x64},
{0x38, 0x0a, 0000, 0x83, 0x38},
{0x38, 0x10, 0000, 0xe1, 0000},
{0x48, 0x0a, 0xf0, 0x41, 0x90},
{0xff, 0000, 0000, 0000, 0000},
{0x20, 0x0b, 0000, 0xa9, 0x07}, /* 23 */
{0x20, 0x14, 0000, 0x89, 0000},
{0x28, 0x0b, 0xf0, 0xc5, 0x04},
{0x30, 0x0b, 0000, 0xc1, 0x04},
{0x38, 0x14, 0000, 0xe5, 0000},
{0x38, 0x0a, 0xf0, 0x65, 0x20},
{0x40, 0x0a, 0xf0, 0x65, 0x30},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x11, 0000, 0xe5, 0000}, /* 24 */
{0x18, 0x27, 0x88, 0x42, 0x40},
{0x20, 0x27, 0x88, 0x22, 0x20},
{0x28, 0x42, 0x89, 0xc5, 0x64},
{0x38, 0x47, 0x88, 0xd1, 0x40},
{0x40, 0x27, 0x88, 0xc6, 0xd4},
{0x48, 0x27, 0x88, 0xa6, 0x98},
{0x50, 0x0c, 0000, 0x25, 0000},
{0x50, 0x0a, 0xf0, 0x25, 0xa0},
{0x50, 0x0a, 0000, 0x85, 0x60},
{0xff, 0000, 0000, 0000, 0000},
{0x20, 0x38, 0x80, 0xc1, 0xc0}, /* 25 */
{0x20, 0x39, 0x8c, 0xc3, 0x20},
{0x20, 0x39, 0x8c, 0xcb, 0000},
{0x20, 0x0a, 0xf0, 0x65, 0x30},
{0x28, 0x0f, 0000, 0x25, 0x01},
{0x28, 0x3f, 0x8c, 0xe6, 0x14},
{0x28, 0x0c, 0000, 0xc5, 0000},
{0x28, 0x15, 0000, 0x15, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0f, 0000, 0x2d, 0x07}, /* 26 */
{0x20, 0x0d, 0000, 0x95, 0x50},
{0x20, 0x0e, 0xf0, 0xa5, 0x07},
{0x28, 0x40, 0x88, 0x29, 0x2b},
{0x28, 0x41, 0x89, 0xa5, 0xa5},
{0x30, 0x15, 0000, 0x8d, 0000},
{0x38, 0x3f, 0x8c, 0xe5, 0xc4},
{0x40, 0x0e, 0xf0, 0x85, 0x07},
{0x48, 0x0c, 0000, 0xa5, 0000},
{0x48, 0x0d, 0xf0, 0x25, 0x50},
{0x50, 0x3f, 0x8d, 0xe1, 0x88},
{0x60, 0x40, 0x88, 0xc9, 0xc8},
{0x68, 0x40, 0x88, 0x70, 0x80},
{0x68, 0x41, 0x89, 0xc9, 0xc0},
{0x68, 0x0f, 0000, 0xc1, 0000},
{0x68, 0x0e, 0xf0, 0x41, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x3f, 0x8c, 0xe1, 0x40}, /* 27 */
{0x18, 0x41, 0x89, 0x69, 0x69},
{0x20, 0x0f, 0000, 0x25, 0x02},
{0x20, 0x41, 0x89, 0xa5, 0xa5},
{0x20, 0x0d, 0xf0, 0xc5, 0xc0},
{0x20, 0x16, 0000, 0xd0, 0xd0},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x11, 0000, 0x62, 0000}, /* 28 */
{0x18, 0x0b, 0xf0, 0xb2, 0000},
{0x20, 0x0d, 0000, 0x26, 0x38},
{0x20, 0x0d, 0000, 0xce, 0x30},
{0x20, 0x10, 0000, 0xce, 0000},
{0x38, 0x0b, 0xf0, 0xb5, 0000},
{0x38, 0x40, 0x88, 0x4e, 0x45},
{0x40, 0x3b, 0x88, 0x26, 0x26},
{0x48, 0x0e, 0000, 0x95, 0x04},
{0x50, 0x3b, 0x88, 0x21, 0x20},
{0x50, 0x0a, 0000, 0x61, 0x48},
{0x50, 0x15, 0000, 0x65, 0000},
{0x50, 0x41, 0x88, 0xad, 0xa5},
{0x60, 0x41, 0x88, 0x41, 0x41},
{0x60, 0x0d, 0xf0, 0x61, 0x60},
{0x68, 0x3c, 0x8e, 0x41, 0x2c},
{0x68, 0x46, 0x8c, 0xc6, 0x2c},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x40, 0x88, 0x69, 0x70}, /* 29 */
{0x18, 0x3a, 0x1f, 0xca, 0xb9},
{0x18, 0x17, 0x88, 0xa0, 0xa0},
{0x18, 0x3b, 0x88, 0xa5, 0xad},
{0x20, 0x40, 0x88, 0x29, 0x30},
{0x20, 0x0f, 0000, 0xa5, 0000},
{0x20, 0x0f, 0000, 0xc5, 0000},
{0x20, 0x0e, 0000, 0x89, 0x01},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x17, 0x01, 0xe0, 0xe0}, /* 2a */
{0x18, 0x16, 0000, 0x24, 0x24},
{0x18, 0x3f, 0x8c, 0xe5, 0x04},
{0x30, 0x0d, 0xf0, 0x81, 0x30},
{0x38, 0x3b, 0x88, 0x41, 0x41},
{0x38, 0x0c, 0000, 0x81, 0x01},
{0x38, 0x15, 0000, 0xd1, 0000},
{0x40, 0x41, 0x89, 0x49, 0x40},
{0x48, 0x0c, 0000, 0x45, 0000},
{0x50, 0x3f, 0x8c, 0xe5, 0x24},
{0x58, 0x0d, 0xf0, 0x45, 0x30},
{0x58, 0x0e, 0xf0, 0xcd, 0x07},
{0x60, 0x3b, 0x88, 0x44, 0x44},
{0x68, 0x3f, 0x8c, 0xe5, 0x24},
{0xff, 0000, 0000, 0000, 0000},
{0x10, 0x0d, 0xf0, 0x85, 0x10}, /* 2b */
{0x18, 0x0e, 0xf0, 0xcd, 0x06},
{0x18, 0x0c, 0000, 0x21, 0000},
{0x18, 0x40, 0x88, 0xce, 0xce},
{0x20, 0x40, 0x88, 0xcd, 0xc5},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x3c, 0x8e, 0x26, 0000}, /* 2c */
{0x20, 0x40, 0x88, 0xcd, 0xd4},
{0x20, 0x41, 0x89, 0x91, 0x91},
{0x20, 0x41, 0x89, 0xa9, 0xa9},
{0x28, 0x3a, 0x8c, 0xa6, 0xb8},
{0x30, 0x3f, 0x8c, 0xe2, 0x22},
{0x30, 0x0a, 0xf0, 0x3d, 0x40},
{0x40, 0x3f, 0x8c, 0xe2, 0x50},
{0x48, 0x3b, 0x88, 0x21, 0x18},
{0x48, 0x40, 0x88, 0xe5, 0xdd},
{0x50, 0x45, 0x8e, 0x22, 0x20},
{0x50, 0x3f, 0x8c, 0xe6, 0x24},
{0x60, 0x0d, 0xf0, 0xb1, 0x20},
{0x60, 0x0d, 0xf0, 0x65, 0x20},
{0x68, 0x3f, 0x8c, 0xe5, 0x24},
{0x68, 0x10, 0000, 0x1d, 0000},
{0xff, 0000, 0000, 0000, 0000},
{0x18, 0x0d, 0xf0, 0x61, 0x20}, /* 2e */
{0x18, 0x0d, 0xf0, 0x81, 0x20},
{0x20, 0x43, 0x19, 0x80, 0x80},
{0x20, 0x44, 0x19, 0x8f, 0x80},
{0x20, 0x43, 0x19, 0x8f, 0x80},
{0x20, 0x44, 0x19, 0x7f, 0x80},
{0x20, 0x36, 0x11, 0xeb, 0x80},
{0x20, 0x37, 0x1f, 0xee, 0x80},
{0xff, 0000, 0000, 0000, 0000},
};
U8 map_eflg_c[MAP_NBR_EFLGC] =
{
0x4d, 0000, 0x0e, 0x02, 0x04, 0x04, 0x57, 0x08,
0x08, 0x18, 0x03, 0x68, 0x3b, 0x48, 0x04, 0x80,
0x37, 0000, 0x04, 0x02, 0x04, 0x04, 0x90, 0x08,
0x09, 0x18, 0x01, 0x68, 0x21, 0x48, 0x06, 0x80,
};