Advertisement
tuxor

datseg.c

Feb 12th, 2017
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 297.66 KB | None | 0 0
  1. // ?4
  2. char g_str_borland_cpp[43] = "Borland C++ - Copyright 1991 Borland Intl."; // ds:0x0004
  3. char g_str_divide_error[45] = "Divide error\r\nAbnormal program termination\r\n"; // ds:0x002f
  4. // ?57
  5. unsigned short g_cd_init_successful; // ds:0x0095
  6. // ?4
  7. unsigned short g_cd_audio_repeat; // ds:0x009b
  8. // ?4
  9. unsigned short g_cd_audio_paused; // ds:0x00a1
  10. unsigned short g_cd_audio_track_bak = 0x7fff; // ds:0x00a3
  11. signed short g_cd_audio_tracklist[15] = { 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x008f, 0x008e, 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x00d5, 0x00d4 }; // ds:0x00a5
  12. unsigned long g_cd_check_skipmagic; // ds:0x00c3
  13. unsigned short g_cd_check_err_countdown = 5; // ds:0x00c7
  14. char g_str_insert_cd[142] = "BITTE LEGEN SIE DIE \xf2SCHICKSALSKLINGE-CD\xf0 IN LAUFWERK %c: EIN. DIESE WIRD BEN\x99TIGT, DA DATEN W\x8eHREND DES SPIELS VON CD GELADEN WERDEN M\x9aSSEN."; // ds:0x00c9
  15. char g_str_repeat[12] = "WIEDERHOLEN"; // ds:0x0157
  16. char g_str_quit[8] = "BEENDEN"; // ds:0x0163
  17. char g_str_cd_exepath[19] = "X:\\DSA\\SCHICKM.EXE"; // ds:0x016b
  18. char g_str_cd_missing[204] = "DIESES PROGRAMM IST OHNE CD-ROM-LAUFWERK NICHT LAUFF\x8eHIG. BITTE INSTALLIEREN SIE DIE GER\x8eTETREIBER F\x9aR DAS CD-ROM-LAUFWERK GEM\x8eSS IHRER CD-ROM-DOKUMENTATION UND STARTEN SIE DIE 'SCHICKSALSKLINGE' ERNEUT."; // ds:0x017e
  19. char g_str_cd_init[37] = "INITIALISIERE CD-ROM IN LAUFWERK %c:"; // ds:0x024a
  20. // ?1
  21. signed short g_items_noplural[23] = { 0x0059, 0x005a, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, 0x008d, 0x008e, 0x008f, 0x0090, 0x0029, 0x00a6, 0x00a8, 0x00b4, 0x00b5, 0x00bd, 0x0052, 0x0054, 0x0053, 0x00ee, 0x00ef, -1 }; // ds:0x0270, { LAKRITZE (0x59), BONBONS (0x5a), SHURINKNOLLENGIFT (0x37), ARAXGIFT (0x38), ANGSTGIFT (0x39), SCHLAFGIFT (0x3a), GOLDLEIM (0x3b), LOTUSGIFT (0x8d), KUKRIS (0x8e), BANNSTAUB (0x8f), KROETENSCHEMELGIFT (0x90), ÖL (0x29), EXPURGICUM (0xa6), VOMICUM (0xa8), GEGENGIFT (0xb4), ERZKLUMPEN (0xb5), LOBPREISUNGEN (0xbd), PLATTENZEUG (0x52), LEDERZEUG (0x54), KETTENZEUG (0x53), MIASTHMATICUM (0xee), HYLAILIC_FIRE (0xef), -1 }
  22. signed short g_items_pluralwords[7] = { 0x0023, 0x0032, 0x0033, 0x0034, 0x005a, 0x00bd, -1 }; // ds:0x029e, { DIETRICHE (0x23), SCHUHE (0x32), STIEFEL (0x33), SCHNURSCHUHE (0x34), BONBONS (0x5a), LOBPREISUNGEN (0xbd), -1 }
  23. signed char g_items_genders[254] = { 1, 2, 0, 0, 2, 0, 2, 0, 2, 0, 0, 1, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 2, 0, 1, 2, 0, 0, 1, 0, 1, 1, 1, 0, 1, 2, 1, 2, 0, 0, 1, 1, 0, 1, 0, 1, 0, 2, 1, 1, 1, 1, 0, 0, 2, 2, 2, 2, 0, 1, 2, 0, 2, 1, 1, 0, 0, 2, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 2, 1, 2, 2, 2, 0, 0, 2, 2, 1, 1, 1, 1, 1, 2, 1, 0, 2, 2, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 2, 2, 2, 0, 0, 2, 0, 0, 1, 2, 1, 2, 0, 0, 1, 1, 2, 2, 1, 1, 1, 0, 2, 2, 1, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 1, 0, 2, 1, 2, 1, 2, 2, 0, 0, 2, 2, 2, 2, 2, 0, 0, 2, 2, 2, 2, 1, 0, 2, 2, 2, 0, 0, 0, 0, 2, 2, 2, 1, 1, 2, 1, 0, 0, 0, 0, 2, 2, 2, 0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 1, 0, 2, 1, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 1, 1, 1, 1, 1, 1 }; // ds:0x02ac
  24. short g_wearable_items_tables[327] = { 0x0050, 0x000b, 0x0071, 0x0067, 0x0012, 0x0014, 0x000c, 0x0065, 0x006f, 0x0036, 0x006a, 0x0052, 0x0077, 0x0072, 0x009e, 0x00b2, 0x00c5, 0x00c6, -0x0001, 0x000b, 0x0071, 0x0067, 0x0050, 0x0012, 0x0014, 0x000c, 0x0065, 0x006f, 0x0052, 0x0036, 0x006a, 0x0077, 0x0072, 0x009e, 0x00b2, 0x00c5, 0x00c6, -0x0001, 0x0039, 0x0037, 0x008d, 0x0090, 0x0038, 0x003a, 0x003b, 0x008f, 0x008e, 0x00c1, 0x00c8, -0x0001, 0x000b, 0x0071, 0x0067, 0x0050, 0x0012, 0x0014, 0x0065, 0x006f, 0x0052, 0x006a, 0x0036, 0x0077, 0x0072, 0x009e, 0x00b2, 0x00c5, 0x00c6, -0x0001, 0x0071, 0x0067, 0x0012, 0x0014, 0x0065, 0x006f, 0x006a, 0x0077, 0x0072, 0x009e, 0x00b2, -0x0001, 0x006f, 0x0077, 0x0012, 0x0072, 0x002c, 0x0067, 0x006a, 0x0068, -0x0001, 0x0005, 0x0002, 0x0001, 0x0003, 0x0070, 0x0086, 0x0006, 0x0042, 0x0087, 0x0088, 0x0009, 0x000b, 0x0044, 0x0043, 0x0068, 0x0071, 0x0089, 0x000c, 0x0075, 0x002c, 0x0067, 0x0010, 0x0063, 0x0064, 0x0012, 0x0013, 0x0014, 0x0065, 0x0066, 0x0076, 0x006f, 0x006a, 0x0074, 0x0073, 0x0077, 0x0072, 0x0069, 0x008a, 0x008b, 0x0035, 0x0007, 0x0051, 0x000f, 0x0050, 0x0052, 0x0054, 0x0053, 0x004d, 0x004e, 0x002b, 0x0036, 0x009e, 0x00a1, 0x009f, 0x00a0, 0x00b2, 0x00ac, 0x00b5, 0x00c7, 0x00c5, 0x00c6, 0x00d6, 0x00d8, -0x0001, 0x0005, 0x0001, 0x0003, 0x0070, 0x0086, 0x0006, 0x0042, 0x0087, 0x0088, 0x000b, 0x0044, 0x0043, 0x0071, 0x0089, 0x000c, 0x0075, 0x002c, 0x0067, 0x0010, 0x0063, 0x0064, 0x0012, 0x0014, 0x0065, 0x0066, 0x0076, 0x006f, 0x006a, 0x0074, 0x0073, 0x0077, 0x0072, 0x0069, 0x008a, 0x008b, 0x0007, 0x0051, 0x000f, 0x0050, 0x0052, 0x0053, 0x004d, 0x002b, 0x0036, 0x009e, 0x009f, 0x00a1, 0x00a0, 0x00b2, 0x00ac, 0x00b5, 0x00c7, 0x00c5, 0x00c6, 0x00d6, 0x00d8, -0x0001, 0x0005, 0x0002, 0x0001, 0x0003, 0x0070, 0x0086, 0x0006, 0x0042, 0x0087, 0x0088, 0x0009, 0x000b, 0x0044, 0x0043, 0x0068, 0x0071, 0x0089, 0x000c, 0x0075, 0x002c, 0x0067, 0x0010, 0x0063, 0x0064, 0x0012, 0x0013, 0x0014, 0x0065, 0x0066, 0x0076, 0x006f, 0x006a, 0x0074, 0x0073, 0x0077, 0x0072, 0x0069, 0x008a, 0x008b, 0x0035, 0x0007, 0x0051, 0x000f, 0x0050, 0x0052, 0x0054, 0x0053, 0x004d, 0x004e, 0x002b, 0x0036, 0x009e, 0x009f, 0x00a0, 0x00a1, 0x00b2, 0x00ac, 0x00b5, 0x00c7, 0x00c5, 0x00c6, 0x00d6, 0x00d8, -0x0001, 0x000b, 0x0071, 0x0067, 0x0012, 0x0014, 0x0065, 0x006f, 0x006a, 0x0052, 0x0036, 0x0077, 0x0072, 0x009e, 0x00b2, -0x0001, 0x000b, 0x0071, 0x0067, 0x0012, 0x0014, 0x0065, 0x006f, 0x006a, 0x0052, 0x0036, 0x0077, 0x0072, 0x0050, 0x0053, 0x009e, 0x00b2, 0x00c5, 0x00c6, -0x0001, 0x000b, 0x0071, 0x0067, 0x0012, 0x0014, 0x0065, 0x006f, 0x006a, 0x0052, 0x0036, 0x0077, 0x0072, 0x0050, 0x0053, 0x009e, 0x00b2, 0x00c5, 0x00c6, -1 }; // ds:0x03aa, 13 arrays, each terminated by -1
  25. //RealPt g_wearable_items_index[12] = { 0x14fc03aa, 0x14fc03d0, 0x14fc03f6, 0x14fc040e, 0x14fc0432, 0x14fc044a, 0x14fc045c, 0x14fc04dc, 0x14fc054e, 0x14fc05ce, 0x14fc05ec, 0x14fc0612 }; // ds:0x0638, items wearable depending on hero type
  26. //struct{char[8];} g_ranged_weapons_table[9] = { { 0x01, 0x00, 0x00, -0x01, -0x63, -0x63, -0x63, 0x06 }, { 0x01, 0x01, 0x00, 0x00, -0x01, -0x63, -0x63, 0x06 }, { 0x02, 0x01, 0x00, 0x00, 0x00, -0x63, -0x63, 0x07 }, { 0x01, 0x01, 0x00, 0x00, 0x00, -0x01, -0x63, 0x04 }, { 0x02, 0x02, 0x01, 0x00, 0x00, -0x01, -0x02, 0x04 }, { 0x02, 0x02, 0x01, 0x00, -0x01, -0x02, -0x03, 0x03 }, { 0x02, 0x02, 0x01, 0x01, 0x00, 0x00, -0x01, 0x04 }, { 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02 }, { -0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x0668
  27. //struct{char[7];} g_weapons_table[65] = { { 0x01, 0x04, 0x0e, 0x02, -0x01, 0x00, 0x00 }, { 0x01, 0x01, 0x0e, 0x06, -0x01, -0x01, -0x03 }, { 0x01, 0x03, 0x0f, 0x02, -0x01, 0x00, 0x00 }, { 0x01, 0x00, 0x10, 0x04, -0x01, -0x03, -0x04 }, { 0x01, 0x03, 0x63, 0x05, 0x01, 0x00, -0x03 }, { 0x01, 0x02, 0x0f, 0x01, -0x01, 0x00, -1 }, { 0x01, 0x04, 0x0e, 0x05, -0x01, 0x00, -0x03 }, { 0x01, 0x03, 0x63, 0x00, 0x03, 0x00, 0x00 }, { 0x02, 0x04, 0x0e, 0x03, -0x01, -0x01, -0x04 }, { 0x01, 0x06, 0x63, 0x00, 0x05, 0x00, 0x00 }, { 0x01, 0x01, 0x0f, 0x03, -0x01, -0x02, -0x03 }, { 0x01, 0x03, 0x63, 0x04, 0x02, -0x01, -0x03 }, { 0x01, 0x01, 0x63, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x04, 0x0e, 0x03, -0x01, -0x02, -0x03 }, { 0x01, 0x04, 0x63, 0x00, 0x04, 0x00, 0x00 }, { 0x01, 0x05, 0x0f, 0x05, -0x01, -0x01, -0x03 }, { 0x01, 0x00, 0x10, 0x06, -0x01, -0x02, -0x03 }, { 0x01, 0x03, 0x63, 0x04, 0x02, -0x01, -0x04 }, { 0x01, 0x03, 0x13, 0x07, -0x01, -0x01, -0x04 }, { 0x01, 0x04, 0x0d, 0x01, -0x01, 0x00, -0x02 }, { 0x01, 0x03, 0x10, 0x03, -0x01, 0x00, -1 }, { 0x01, 0x03, 0x10, 0x03, -0x01, 0x00, -1 }, { 0x01, 0x01, 0x0f, 0x05, -0x01, 0x00, -1 }, { 0x01, 0x00, 0x13, 0x02, -0x01, 0x00, -0x06 }, { 0x01, 0x00, 0x63, 0x04, 0x00, -0x03, -0x04 }, { 0x01, 0x02, 0x11, 0x05, -0x01, -0x03, -0x04 }, { 0x01, 0x03, 0x11, 0x06, -0x01, -0x03, -0x04 }, { 0x02, 0x03, 0x0f, 0x02, -0x01, -0x02, -0x04 }, { 0x01, 0x03, 0x0f, 0x03, -0x01, 0x00, -0x03 }, { 0x01, 0x04, 0x0f, 0x05, -0x01, -0x01, -0x03 }, { 0x01, 0x02, 0x0d, 0x06, -0x01, -0x02, -0x03 }, { 0x01, 0x03, 0x12, 0x04, -0x01, -0x01, -1 }, { 0x03, 0x03, 0x11, 0x04, -0x01, -0x03, -0x04 }, { 0x01, 0x01, 0x10, 0x04, -0x01, -0x02, -0x03 }, { 0x01, 0x02, 0x0f, 0x04, -0x01, -0x02, -0x03 }, { 0x01, 0x01, 0x10, 0x07, -0x01, -0x03, -0x04 }, { 0x01, 0x02, 0x0f, 0x02, -0x01, -0x01, -0x02 }, { 0x02, 0x02, 0x0f, 0x03, -0x01, -0x02, -0x02 }, { 0x01, 0x03, 0x0f, 0x02, -0x01, 0x00, -1 }, { 0x01, 0x05, 0x0e, 0x02, -0x01, -0x01, -0x02 }, { 0x01, 0x06, 0x0f, 0x01, -0x01, -0x02, -0x02 }, { 0x01, 0x04, 0x10, 0x03, -0x01, -0x01, -0x03 }, { 0x01, 0x05, 0x0e, 0x01, -0x01, -0x01, -0x02 }, { 0x01, 0x03, 0x10, 0x04, -0x01, 0x00, -1 }, { 0x01, 0x04, 0x0e, 0x02, -0x01, 0x00, -1 }, { 0x01, 0x06, 0x0f, 0x03, -0x01, -0x01, -0x03 }, { 0x01, 0x02, 0x63, 0x00, 0x01, 0x00, 0x00 }, { 0x01, 0x03, 0x0d, 0x04, -0x01, 0x00, -0x02 }, { 0x01, 0x04, 0x0d, 0x02, -0x01, -0x02, -0x04 }, { 0x01, 0x05, 0x0e, 0x02, -0x01, -0x01, -0x03 }, { 0x01, 0x04, 0x63, 0x00, -0x01, 0x00, 0x00 }, { 0x01, 0x03, 0x0f, 0x02, -0x01, 0x00, 0x00 }, { 0x01, 0x03, 0x0f, 0x02, -0x01, 0x00, -1 }, { 0x00, 0x00, 0x63, 0x00, -0x01, 0x00, 0x00 }, { 0x01, 0x05, 0x0e, -0x05, -0x01, -0x02, -0x03 }, { 0x01, 0x0a, 0x0e, -0x63, -0x01, -0x02, -0x08 }, { 0x01, 0x02, 0x0f, -0x63, -0x01, 0x02, -1 }, { 0x01, 0x03, 0x0f, 0x00, -0x01, 0x00, 0x00 }, { 0x02, 0x04, 0x0e, -0x63, -0x01, -0x03, -0x04 }, { 0x01, 0x04, 0x0e, -0x63, -0x01, 0x02, 0x02 }, { 0x01, 0x04, 0x0e, 0x00, -0x01, 0x02, 0x00 }, { 0x01, 0x03, 0x63, 0x05, 0x06, 0x01, 0x01 }, { 0x01, 0x00, 0x63, 0x04, 0x07, -0x03, -0x04 }, { 0x01, 0x01, 0x0f, -0x63, -0x01, 0x00, 0x00 }, { -0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x06b0
  28. //struct{char rs, be;} g_armors_table[25] = { { 0x01, 0x00 }, { 0x02, 0x01 }, { 0x03, 0x02 }, { 0x01, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x03, 0x03 }, { 0x05, 0x04 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x02, 0x01 }, { 0x01, 0x00 }, { 0x02, 0x02 }, { 0x04, 0x04 }, { 0x03, 0x03 }, { 0x02, 0x01 }, { 0x01, 0x01 }, { 0x01, 0x00 }, { 0x01, 0x01 }, { 0x01, 0x00 }, { 0x02, 0x04 }, { 0x05, 0x03 }, { -0x01, 0x00 } }; // ds:0x0877
  29. //struct{char unkn1, unkn2, handler_no;} g_specialitems_table[14] = { { 0x00, 0x00, 0x00 }, { 0x02, 0x05, 0x01 }, { 0x00, 0x01, 0x02 }, { 0x00, 0x01, 0x03 }, { 0x02, 0x03, 0x04 }, { 0x00, 0x06, 0x05 }, { 0x00, 0x01, 0x06 }, { 0x00, 0x01, 0x07 }, { 0x00, 0x01, 0x08 }, { 0x00, 0x01, 0x09 }, { 0x00, 0x01, 0x0a }, { 0x00, 0x01, 0x0b }, { 0x00, 0x01, 0x0c }, { 0x00, 0x01, 0x0d } }; // ds:0x08a9
  30. signed short g_poison_potions[10] = { 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, 0x008d, 0x008e, 0x008f, 0x0090, -1 }; // ds:0x08d3, { SHURINKNOLLENGIFT (0x37), ARAXGIFT (0x38), ANGSTGIFT (0x39), SCHLAFGIFT (0x3a), GOLDLEIM (0x3b), LOTUSGIFT (0x8d), KUKRIS (0x8e), BANNSTAUB (0x8f), KROETENSCHEMELGIFT (0x90), 0xff }
  31. signed short g_herbs_toxic[5] = { 0x007a, 0x007e, 0x0084, 0x003e, -1 }; // ds:0x08e7, { SHURINKNOLLE (0x7a), ALRAUNE (0x7e), LOTUSBLUTE (0x84), EITRIGER KROTENSCHEMEL (0x3e), 0xff }
  32. signed short g_herbs_uneatable[7] = { 0x0080, 0x0081, 0x0082, 0x009d, 0x009c, 0x007c, -1 }; // ds:0x08f1, { ILMENBLATT (0x80), FINAGEBÄUMCHEN (0x81), JORUGAWURZEL (0x82), KAIRANHALM (0x9d), OLGINWURZEL (0x9c), DONFSTENGEL (0x7c), 0xff }
  33. signed short g_elixir_potions[8] = { 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, -1 }; // ds:0x08ff, { MU ELIXIER (0x93), KL ELIXIER (0x94), CH ELIXIER (0x95), FF ELIXIER (0x96), GE ELIXIER (0x97), IN ELIXIER (0x98), KK ELIXIER (0x99), 0xff }
  34. signed short g_bad_elixirs[8] = { 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, 0x00e8, -1 }; // ds:0x090f, { MU ELIXIER (0xe2), KL ELIXIER (0xe3), CH ELIXIER (0xe4), FF ELIXIER (0xe5), GE ELIXIER (0xe6), IN ELIXIER (0xe7), KK ELIXIER (0xe8), 0xff }
  35. signed short g_attack_items[3] = { 0x00ef, 0x00ee, -1 }; // ds:0x091f, { ITEM_MIASTHMATICUM (0xee), ITEM_HYLAILIC_FIRE (0xef), -1 }
  36. signed char g_monname_genders[78] = { 0, 0, 0, 0, 0, 0, 2, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; // ds:0x0925
  37. //struct{char attrib1, attrib2, attrib3, bonus, cost, ae_mod;} g_staffspell_descriptions[7] = { { 0x01, 0x01, 0x02, 0x01, 0x15, 0x01 }, { 0x01, 0x01, 0x02, 0x00, 0x17, 0x00 }, { 0x01, 0x02, 0x02, 0x03, 0x13, 0x00 }, { 0x01, 0x02, 0x02, 0x04, 0x1b, 0x00 }, { 0x00, 0x01, 0x01, 0x63, 0x1e, 0x00 }, { 0x00, 0x02, 0x02, 0x63, 0x1a, 0x00 }, { 0x00, 0x01, 0x02, 0x63, 0x15, 0x02 } }; // ds:0x0973
  38. //struct{char unkn0, attrib1, attrib2, attrib3, cost, combat, unkn6, target_type, range, fight;} g_spell_descriptions[87] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x01, 0x05, 0x02, -0x01, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x01, 0x01, 0x05, 0x03, -0x01, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x05, 0x02, 0x06, -0x01, 0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x05, 0x02, -0x01, 0x01, 0x00, 0x01, 0x01, 0x00 }, { 0x02, 0x00, 0x01, 0x02, -0x01, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x05, 0x01, 0x02, 0x06, 0x0c, 0x01, 0x00, 0x03, 0x00, 0x01 }, { 0x03, 0x05, 0x02, 0x02, 0x08, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x00, 0x00, 0x02, 0x02, 0x08, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x02, 0x01, 0x05, 0x02, 0x08, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x00, 0x01, 0x01, 0x02, -0x01, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x02, -0x01, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x01, 0x00, 0x05, 0x02, 0x07, 0x01, 0x00, 0x01, 0x00, 0x01 }, { 0x00, 0x00, 0x01, 0x06, 0x06, -0x01, 0x00, 0x00, 0x00, 0x01 }, { 0x01, 0x01, 0x05, 0x02, 0x05, -0x01, 0x01, 0x00, 0x00, 0x01 }, { 0x02, 0x00, 0x02, 0x02, -0x01, 0x01, 0x01, 0x01, 0x00, 0x01 }, { 0x05, 0x01, 0x02, 0x02, 0x08, 0x01, 0x00, 0x03, 0x01, 0x01 }, { 0x00, 0x00, 0x01, 0x02, 0x06, 0x01, 0x00, 0x01, 0x01, 0x01 }, { 0x01, 0x00, 0x00, 0x02, 0x0d, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x02, 0x0d, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x02, 0x0b, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x00, 0x02, 0x17, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x00, 0x02, 0x02, 0x0d, 0x01, 0x02, 0x03, 0x01, 0x00 }, { 0x01, 0x00, 0x00, 0x02, 0x0f, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x00, 0x00, 0x01, 0x02, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x06, 0x06, 0x05, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x05, 0x04, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x01, 0x04, 0x06, 0x07, 0x01, 0x01, 0x02, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x03, 0x06, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x03, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x05, 0x04, 0x04, 0x07, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x01, 0x04, 0x06, 0x05, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x05, 0x02, -0x01, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x02, 0x05, 0x02, 0x03, -0x01, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x02, -0x01, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x04, 0x01, 0x02, 0x06, 0x07, -0x01, 0x01, 0x02, 0x00, 0x00 }, { 0x02, 0x00, 0x05, 0x02, -0x01, 0x00, 0x01, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x05, 0x03, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x05, 0x0a, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x05, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01 }, { 0x05, 0x01, 0x01, 0x05, 0x05, 0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x05, 0x02, 0x05, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x06, 0x05, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x05, 0x02, 0x05, -0x01, 0x01, 0x00, 0x00, 0x01 }, { 0x05, 0x05, 0x02, 0x04, 0x05, 0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x02, 0x04, 0x08, 0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x02, 0x01, 0x02, 0x04, 0x06, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x02, 0x01, 0x05, 0x02, 0x04, 0x01, 0x03, 0x00, 0x00, 0x00 }, { 0x05, 0x01, 0x05, 0x04, 0x05, 0x01, 0x00, 0x03, 0x01, 0x00 }, { 0x01, 0x00, 0x01, 0x06, -0x01, 0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x02, 0x04, 0x05, 0x01, 0x00, 0x03, 0x00, 0x00 }, { 0x03, 0x01, 0x04, 0x06, -0x01, 0x01, 0x00, 0x03, 0x01, 0x00 }, { 0x01, 0x01, 0x04, 0x03, -0x01, 0x01, 0x00, 0x03, 0x01, 0x00 }, { 0x01, 0x02, 0x04, 0x06, 0x05, 0x01, 0x00, 0x03, 0x01, 0x01 }, { 0x02, 0x00, 0x05, 0x02, 0x04, 0x01, 0x00, 0x03, 0x01, 0x00 }, { 0x01, 0x00, 0x05, 0x02, -0x01, 0x01, 0x01, 0x02, 0x00, 0x00 }, { 0x05, 0x05, 0x04, 0x03, 0x05, 0x01, 0x01, 0x02, 0x00, 0x00 }, { 0x02, 0x05, 0x05, 0x02, 0x02, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x01, 0x02, 0x0b, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x05, 0x00, 0x05, 0x04, 0x07, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x01, 0x02, 0x07, 0x01, 0x01, 0x02, 0x01, 0x00 }, { 0x03, 0x05, 0x04, 0x06, -0x01, 0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x02, 0x02, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x02, 0x00, 0x00, 0x06, 0x07, 0x00, 0x01, 0x00, 0x00, 0x00 }, { 0x05, 0x01, 0x02, 0x03, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x03, 0x01, 0x02, 0x04, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x04, 0x01, 0x05, 0x02, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x04, 0x01, 0x02, 0x06, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x02, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x04, 0x00, 0x01, 0x02, 0x07, 0x00, 0x01, 0x02, 0x00, 0x00 }, { 0x01, 0x01, 0x04, 0x06, -0x01, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x05, 0x02, 0x06, 0x0d, 0x01, 0x00, 0x03, 0x01, 0x01 }, { 0x01, 0x01, 0x05, 0x02, -0x01, 0x01, 0x04, 0x01, 0x00, 0x01 }, { 0x03, 0x00, 0x01, 0x06, -0x01, -0x01, 0x01, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x01, 0x04, -0x01, 0x00, 0x01, 0x00, 0x00, 0x00 }, { 0x05, 0x01, 0x01, 0x03, 0x05, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x01, 0x02, 0x06, 0x05, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x01, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x03, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x01, 0x01, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x01, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x01, 0x01, 0x03, 0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x00, 0x01, 0x06, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x01, 0x01, 0x02, -0x01, -0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x01, 0x02, 0x06, 0x05, -0x01, 0x00, 0x00, 0x00, 0x00 }, { -0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x099d
  39. //struct{signed char first, length;} g_spells_index[8] = { { 0x01, 0x05 }, { 0x06, 0x0c }, { 0x12, 0x06 }, { 0x18, 0x03 }, { 0x1b, 0x06 }, { 0x21, 0x05 }, { 0x26, 0x07 }, { 0x2d, 0x04 } }; // ds:0x0d03
  40. //struct{signed char first, length;} g_spells_index2[4] = { { 0x31, 0x09 }, { 0x3a, 0x02 }, { 0x3c, 0x10 }, { 0x4c, 0x0a } }; // ds:0x0d13
  41. short g_magic_schools_table[62] = { 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x002a, -0x0001, 0x0007, 0x000c, 0x000e, 0x0010, 0x002c, -0x0001, 0x0012, 0x0013, 0x0015, 0x0017, 0x0018, 0x003b, -0x0001, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, -0x0001, 0x0021, 0x0023, 0x0024, 0x003d, 0x0046, -0x0001, 0x0026, 0x0027, 0x0029, 0x0028, 0x002a, 0x002b, 0x002c, -0x0001, 0x0031, 0x0033, 0x0034, 0x0035, 0x0036, 0x0039, 0x003e, -0x0001, 0x003c, 0x003e, 0x0048, 0x0049, 0x004b, -0x0001, 0x004c, 0x004e, 0x004f, 0x0050, 0x0052, 0x0053, 0x0054, -1 }; // ds:0x0d1b, 9 arrays, each terminated by -1
  42. //RealPt g_magic_schools_index[9] = { 0x14fc0d1b, 0x14fc0d29, 0x14fc0d35, 0x14fc0d43, 0x14fc0d4f, 0x14fc0d5b, 0x14fc0d6b, 0x14fc0d7b, 0x14fc0d87 }; // ds:0x0d97
  43. long g_spell_handlers[86] = { 0x00000000, 0x144f0020, 0x144f0025, 0x144f002a, 0x144f002f, 0x144f0034, 0x144f0039, 0x144f003e, 0x144f0043, 0x144f0048, 0x144f004d, 0x144f0052, 0x144f0057, 0x144f005c, 0x144f0061, 0x144f0066, 0x144f006b, 0x144f0070, 0x144f0075, 0x144f007a, 0x144f007f, 0x144f0084, 0x144f0089, 0x144f008e, 0x144f0093, 0x144f0098, 0x144f009d, 0x144f00a2, 0x144f00a7, 0x144f00ac, 0x144f00b1, 0x144f00b6, 0x144f00bb, 0x144f00c0, 0x144f00c5, 0x144f00ca, 0x144f00cf, 0x144f00d4, 0x144f00d9, 0x144f00de, 0x145e0020, 0x145e0025, 0x145e002a, 0x145e002f, 0x145e0034, 0x145e0039, 0x145e003e, 0x145e0043, 0x145e0048, 0x145e004d, 0x145e0052, 0x145e0057, 0x145e005c, 0x145e0061, 0x145e0066, 0x145e006b, 0x145e0070, 0x145e0075, 0x145e007a, 0x145e007f, 0x14670020, 0x14670025, 0x1467002a, 0x1467002f, 0x14670034, 0x14670039, 0x1467003e, 0x14670043, 0x14670048, 0x1467004d, 0x14670052, 0x14670057, 0x1467005c, 0x14670061, 0x14670066, 0x1467006b, 0x14670070, 0x14670075, 0x1467007a, 0x1467007f, 0x14670084, 0x14670089, 0x1467008e, 0x14670093, 0x14670098, 0x1467009d }; // ds:0x0dbb, function pointer[86]
  44. //struct{char cost, mode, unkn1, attrib1, attrib2, attrib3, unkn2, ani_id;} g_mon_spell_descriptions[15] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x14, 0x01, 0x00, 0x00, 0x01, 0x02, 0x00, 0x01 }, { 0x08, 0x02, 0x00, 0x05, 0x02, 0x02, 0x01, 0x00 }, { 0x08, 0x02, 0x00, 0x00, 0x02, 0x02, 0x01, 0x00 }, { 0x07, 0x02, 0x00, 0x00, 0x05, 0x02, 0x01, 0x00 }, { 0x07, 0x01, 0x00, 0x01, 0x04, 0x06, 0x00, 0x01 }, { -0x01, 0x01, 0x00, 0x01, 0x05, 0x02, 0x00, 0x01 }, { 0x05, 0x03, 0x01, 0x01, 0x05, 0x04, 0x01, 0x00 }, { 0x05, 0x02, 0x01, 0x01, 0x02, 0x04, 0x00, 0x00 }, { -0x01, 0x03, 0x01, 0x01, 0x04, 0x06, 0x01, 0x00 }, { -0x01, 0x03, 0x01, 0x01, 0x04, 0x03, 0x01, 0x00 }, { 0x05, 0x03, 0x01, 0x02, 0x04, 0x06, 0x01, 0x00 }, { -0x01, 0x01, 0x00, 0x00, 0x05, 0x02, 0x00, 0x01 }, { -0x01, 0x00, 0x00, 0x05, 0x04, 0x06, 0x00, 0x01 }, { 0x0d, 0x03, 0x00, 0x05, 0x02, 0x06, 0x01, 0x00 } }; // ds:0x0f13
  45. //struct{char spells[5];} g_mon_spell_repertoire[11] = { { 0x01, 0x07, 0x08, -0x01, -1 }, { 0x01, 0x07, 0x03, 0x04, -1 }, { 0x01, 0x07, 0x04, 0x02, 0x09 }, { 0x09, 0x0e, 0x0a, -0x01, -1 }, { 0x09, 0x0a, 0x0c, 0x0d, -1 }, { 0x09, 0x0a, 0x0c, 0x0b, 0x07 }, { 0x09, 0x0e, 0x07, -0x01, -1 }, { 0x09, 0x0e, 0x07, 0x0c, 0x04 }, { 0x06, 0x01, 0x08, -0x01, -1 }, { 0x06, 0x01, 0x05, 0x07, -1 }, { 0x06, 0x0e, 0x05, 0x0c, 0x09 } }; // ds:0x0f8b
  46. long g_mon_spell_handlers[15] = { 0x00000000, 0x14720025, 0x1472002a, 0x1472002f, 0x14720034, 0x14720039, 0x1472003e, 0x14720043, 0x14720048, 0x1472004d, 0x14720052, 0x14720057, 0x1472005c, 0x14720061, 0x14720066 }; // ds:0x0fc2, function pointer[15]
  47. //struct{signed char attrib1, attrib2, attrib3, max_inc;} g_skill_descriptions[52] = { { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x00, 0x01 }, { 0x00, 0x04, 0x06, 0x02 }, { 0x00, 0x04, 0x06, 0x02 }, { 0x00, 0x05, 0x04, 0x02 }, { 0x02, 0x04, 0x06, 0x02 }, { 0x00, 0x05, 0x04, 0x02 }, { 0x00, 0x04, 0x06, 0x02 }, { 0x00, 0x06, 0x06, 0x02 }, { 0x00, 0x05, 0x04, 0x02 }, { 0x02, 0x04, 0x04, 0x02 }, { 0x01, 0x05, 0x06, 0x02 }, { 0x01, 0x05, 0x02, 0x02 }, { 0x05, 0x02, 0x02, 0x02 }, { 0x00, 0x01, 0x02, 0x02 }, { 0x01, 0x05, 0x02, 0x02 }, { 0x00, 0x05, 0x02, 0x02 }, { 0x01, 0x05, 0x02, 0x02 }, { 0x01, 0x05, 0x05, 0x02 }, { 0x01, 0x05, 0x04, 0x02 }, { 0x03, 0x04, 0x06, 0x02 }, { 0x01, 0x05, 0x03, 0x02 }, { 0x01, 0x05, 0x05, 0x02 }, { 0x00, 0x01, 0x05, 0x02 }, { 0x05, 0x03, 0x04, 0x02 }, { 0x00, 0x01, 0x03, 0x03 }, { 0x01, 0x01, 0x05, 0x03 }, { 0x01, 0x01, 0x05, 0x03 }, { 0x01, 0x01, 0x05, 0x03 }, { 0x01, 0x05, 0x02, 0x03 }, { 0x00, 0x01, 0x02, 0x03 }, { 0x01, 0x01, 0x03, 0x03 }, { 0x01, 0x01, 0x03, 0x03 }, { 0x01, 0x05, 0x02, 0x03 }, { 0x00, 0x05, 0x02, 0x02 }, { 0x05, 0x02, 0x03, 0x02 }, { 0x00, 0x02, 0x03, 0x02 }, { 0x00, 0x01, 0x05, 0x02 }, { 0x00, 0x01, 0x02, 0x02 }, { 0x01, 0x02, 0x03, 0x02 }, { 0x01, 0x05, 0x03, 0x02 }, { 0x05, 0x03, 0x03, 0x02 }, { 0x00, 0x05, 0x03, 0x02 }, { 0x01, 0x05, 0x05, 0x01 }, { 0x01, 0x05, 0x05, 0x01 } }; // ds:0x0ffe
  48. //struct{signed char first, length;} g_skills_index[7] = { { 0x00, 0x09 }, { 0x09, 0x0a }, { 0x13, 0x07 }, { 0x1a, 0x06 }, { 0x20, 0x09 }, { 0x29, 0x09 }, { 0x32, 0x02 } }; // ds:0x10ce
  49. char g_nvftab_figures_rangeweapon[264] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x31, 0x32, 0x33, 0x00, 0x01, 0x02, 0x03, 0x34, 0x35, 0x36, 0x37, 0x34, 0x35, 0x36, 0x37, 0x00, 0x01, 0x02, 0x03, 0x38, 0x39, 0x3a, 0x3b, 0x30, 0x31, 0x32, 0x33, 0x00, 0x01, 0x02, 0x03, 0x34, 0x35, 0x36, 0x37, 0x34, 0x35, 0x36, 0x37, 0x00, 0x01, 0x02, 0x03, 0x38, 0x39, 0x3a, 0x3b, 0x30, 0x31, 0x32, 0x33, 0x00, 0x01, 0x02, 0x03, 0x34, 0x35, 0x36, 0x37, 0x2e, 0x2f, 0x30, 0x31, 0x00, 0x01, 0x02, 0x03, 0x32, 0x33, 0x34, 0x35, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x30, 0x31, 0x32, 0x33, 0x00, 0x01, 0x02, 0x03, 0x34, 0x35, 0x36, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x31, 0x32, 0x33, 0x00, 0x01, 0x02, 0x03, 0x34, 0x35, 0x36, 0x37, 0x39, 0x3a, 0x3b, 0x3c, 0x00, 0x01, 0x02, 0x03, 0x3d, 0x3e, 0x3f, 0x40, 0x39, 0x3a, 0x3b, 0x3c, 0x00, 0x01, 0x02, 0x03, 0x3d, 0x3e, 0x3f, 0x40, 0x34, 0x35, 0x36, 0x37, 0x00, 0x01, 0x02, 0x03, 0x38, 0x39, 0x3a, 0x3b, 0x39, 0x3a, 0x3b, 0x3c, 0x00, 0x01, 0x02, 0x03, 0x3d, 0x3e, 0x3f, 0x40, 0x2e, 0x2f, 0x30, 0x31, 0x00, 0x01, 0x02, 0x03, 0x32, 0x33, 0x34, 0x35, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x39, 0x3a, 0x3b, 0x3c, 0x00, 0x01, 0x02, 0x03, 0x3d, 0x3e, 0x3f, 0x40 }; // ds:0x10dc, by rwt/viewdir
  50. short g_nvftab_figures_unconscious[22] = { 0x0000, 0x0038, 0x003c, 0x0038, 0x003c, 0x0038, 0x0038, 0x003f, 0x0043, 0x0032, 0x0038, 0x0000, 0x0038, 0x0041, 0x0041, 0x003c, 0x0041, 0x0038, 0x003f, 0x0045, 0x0032, 0x0041 }; // ds:0x11e4
  51. //struct{char x,y;} g_gfxtab_offsets_unconscious[88] = { { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x07 }, { 0x00, 0x07 }, { 0x01, 0x06 }, { -0x01, 0x05 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x00, 0x05 }, { 0x00, 0x05 }, { 0x01, 0x07 }, { 0x00, 0x07 }, { 0x01, 0x06 }, { -0x01, 0x05 }, { -0x03, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x06 }, { 0x00, 0x04 }, { 0x01, 0x07 }, { -0x01, 0x08 }, { 0x00, 0x06 }, { -0x01, 0x06 }, { 0x01, 0x06 }, { -0x01, 0x06 }, { 0x00, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x06 }, { -0x01, 0x06 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x07 }, { 0x00, 0x07 }, { 0x01, 0x06 }, { -0x01, 0x05 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x00, 0x05 }, { 0x00, 0x05 }, { 0x01, 0x07 }, { 0x00, 0x07 }, { 0x01, 0x06 }, { -0x01, 0x05 }, { -0x03, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x06 }, { 0x00, 0x04 }, { 0x01, 0x07 }, { -0x01, 0x08 }, { 0x00, 0x06 }, { -0x01, 0x06 }, { 0x01, 0x06 }, { -0x01, 0x06 }, { 0x00, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x06 }, { -0x01, 0x06 }, { 0x01, 0x05 }, { 0x00, 0x04 }, { 0x01, 0x08 }, { 0x00, 0x07 }, { 0x01, 0x05 }, { 0x00, 0x04 } }; // ds:0x1210, ; by viewdir
  52. //struct{char figure_no, unkn2, unkn3, unkn4, unkn5;} g_gfxtab_figures_main[125] = { { -0x01, -0x01, -0x01, -0x01, -1 }, { 0x01, 0x02, 0x03, 0x04, -1 }, { 0x05, 0x06, 0x07, 0x08, -1 }, { 0x09, 0x0a, 0x0b, 0x0c, -1 }, { 0x0d, 0x0e, 0x0f, 0x10, -1 }, { 0x11, 0x12, 0x13, 0x14, -1 }, { 0x15, 0x16, 0x17, 0x18, -1 }, { 0x19, 0x1a, 0x1b, 0x1c, 0x1d }, { 0x1e, 0x1f, 0x20, -0x01, 0x21 }, { 0x22, 0x23, 0x24, 0x25, 0x26 }, { 0x27, 0x28, 0x29, 0x2a, 0x2b }, { -0x01, -0x01, -0x01, -0x01, -1 }, { 0x2d, 0x2e, 0x2f, 0x30, -1 }, { 0x31, 0x32, 0x33, 0x34, -1 }, { 0x35, 0x36, 0x37, 0x38, -1 }, { 0x39, 0x3a, 0x3b, 0x3c, -1 }, { 0x3d, 0x3e, 0x3f, 0x40, -1 }, { 0x41, 0x42, 0x43, 0x44, -1 }, { 0x45, 0x46, 0x47, 0x48, 0x49 }, { 0x4a, 0x4b, 0x4c, -0x01, 0x4d }, { 0x4e, 0x4f, 0x50, 0x51, 0x52 }, { 0x53, 0x54, 0x55, 0x56, 0x57 }, { -0x01, -0x01, -0x01, -0x01, -1 }, { 0x59, 0x5a, -0x01, -0x01, -1 }, { 0x5b, 0x5c, -0x01, -0x01, -1 }, { 0x5d, 0x5e, -0x01, -0x01, -1 }, { 0x5f, 0x60, -0x01, -0x01, -1 }, { 0x61, 0x62, -0x01, -0x01, -1 }, { 0x63, 0x64, -0x01, -0x01, -1 }, { 0x65, 0x66, -0x01, -0x01, -1 }, { 0x67, 0x68, -0x01, -0x01, -1 }, { 0x69, 0x6a, -0x01, -0x01, -1 }, { 0x6b, 0x6c, -0x01, -0x01, -1 }, { 0x6d, 0x6e, -0x01, -0x01, -1 }, { 0x6f, 0x70, -0x01, -0x01, -1 }, { 0x71, 0x72, -0x01, -0x01, -1 }, { 0x73, 0x74, -0x01, -0x01, -1 }, { 0x75, 0x76, -0x01, -0x01, -1 }, { 0x77, 0x78, -0x01, -0x01, -1 }, { 0x79, 0x7a, -0x01, -0x01, -1 }, { 0x7b, 0x7c, -0x01, -0x01, -1 }, { 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, 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, 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, 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, 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 }, { 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, 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, 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, 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, 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 }, { 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, 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, 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, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x12c0
  53. //struct{char x,y;} g_gfxtab_offsets_main[625] = { { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x06, 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 }, { 0x03, 0x0f }, { 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 }, { -0x08, 0x02 }, { 0x08, 0x03 }, { 0x07, 0x07 }, { -0x07, 0x08 }, { 0x03, 0x05 }, { 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 }, { 0x00, 0x00 }, { 0x01, 0x00 }, { 0x01, 0x00 }, { 0x01, 0x06 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { -0x01, 0x01 }, { -0x01, 0x00 }, { -0x04, 0x03 }, { 0x00, 0x00 }, { -0x02, 0x00 }, { 0x00, 0x01 }, { 0x00, 0x01 }, { -0x05, 0x05 }, { 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 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x04, 0x05 }, { 0x00, 0x01 }, { 0x03, 0x00 }, { 0x06, 0x06 }, { -0x06, 0x06 }, { 0x05, 0x02 }, { -0x08, 0x02 }, { 0x08, 0x03 }, { 0x07, 0x07 }, { -0x07, 0x08 }, { 0x03, 0x05 }, { 0x00, 0x01 }, { 0x03, 0x00 }, { 0x06, 0x06 }, { -0x06, 0x06 }, { 0x05, 0x02 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 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 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 }, { 0x00, 0x00 } }; // ds:0x1531, ; by viewdir+dead
  54. short g_nvftab_figures_dead[22] = { 0x0000, 0x002f, 0x0033, 0x002f, 0x0033, 0x002f, 0x002d, 0x003e, 0x0042, 0x0031, 0x002f, 0x0000, 0x002f, 0x0038, 0x0038, 0x0033, 0x0038, 0x002d, 0x003e, 0x0044, 0x0031, 0x0038 }; // ds:0x1a13
  55. // ds:0x1a3f, 41 arrays
  56. //RealPt g_gfx_ani_index[41] = { 0x00000000, 0x14fc1a65, 0x14fc1ae7, 0x14fc1b69, 0x14fc1beb, 0x14fc1c6d, 0x14fc1cef, 0x14fc1d71, 0x14fc1df3, 0x14fc1e75, 0x14fc1ef7, 0x00000000, 0x14fc1a65, 0x14fc1f79, 0x14fc1f79, 0x14fc1beb, 0x14fc1f79, 0x14fc1cef, 0x14fc1d71, 0x14fc1ffb, 0x14fc1e75, 0x14fc207d, 0x00000000, 0x14fc20ff, 0x14fc2149, 0x14fc2149, 0x14fc2193, 0x14fc21dd, 0x14fc2227, 0x14fc2271, 0x14fc22bb, 0x14fc2305, 0x14fc234f, 0x14fc2399, 0x14fc23e3, 0x14fc242d, 0x14fc2477, 0x14fc24c1, 0x14fc250b, 0x14fc21dd, 0x14fc250b }; // ds:0x2555
  57. char g_two_fielded_sprite_id[5] = { 0x1b, 0x26, 0x28, 0x27, -1 }; // ds:0x25f9
  58. unsigned short g_weaponani_table[72] = { 0x0000, 0x0003, 0x0006, 0x0009, 0x000c, 0x000f, 0x0012, 0x0015, 0x0001, 0x0004, 0x0007, 0x000a, 0x000d, 0x0010, 0x0013, 0x0016, 0x0002, 0x0005, 0x0008, 0x000b, 0x000e, 0x0011, 0x0014, 0x0017, 0x0018, 0x001b, 0x001e, 0x0021, 0x0024, 0x0027, 0x002a, 0x002d, 0x0019, 0x001c, 0x001f, 0x0022, 0x0025, 0x0028, 0x002b, 0x002e, 0x001a, 0x001d, 0x0020, 0x0023, 0x0026, 0x0029, 0x002c, 0x002f, 0x0030, 0x0033, 0x0036, 0x0039, 0x000c, 0x003c, 0x0012, 0x003f, 0x0031, 0x0034, 0x0037, 0x003a, 0x000d, 0x003d, 0x0013, 0x0040, 0x0032, 0x0035, 0x0038, 0x003b, 0x000e, 0x003e, 0x0014, 0x0041 }; // ds:0x25fe
  59. signed char g_weaponani_types[22] = { 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0 }; // ds:0x268e
  60. signed char g_food_message_shown[7]; // ds:0x26a4
  61. char g_ems_enabled; // ds:0x26ab
  62. signed char g_fig_initiative; // ds:0x26ac, 0 = random, 1 = enemies, 2 = heroes (attack first)
  63. signed short g_fig_msg_counter; // ds:0x26ad
  64. unsigned short g_always_one; // ds:0x26af, writeonly (1)
  65. unsigned short g_fig_continue_print; // ds:0x26b1
  66. unsigned short g_fig_char_pic; // ds:0x26b3
  67. unsigned short g_fig_enemy_pic; // ds:0x26b5
  68. unsigned short g_gui_entering_savegame; // ds:0x26b7
  69. unsigned short g_check_disease; // ds:0x26b9
  70. unsigned short g_check_poison; // ds:0x26bb
  71. unsigned short g_text_file_index = 0xffff; // ds:0x26bd
  72. signed short g_tx_file_index = -1; // ds:0x26bf, index of file stored with load_tx
  73. unsigned short g_fig_discard; // ds:0x26c1, , whether to discard the fight data after the fight
  74. //struct{unsigned char r,g,b;} g_palette_allblack2[32]; // ds:0x26c3
  75. //struct{unsigned char r,g,b;} g_palette_unknown1[32] = { { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x29 }, { 0x00, 0x00, 0x0e }, { 0x26, 0x1a, 0x12 }, { 0x26, 0x16, 0x0e }, { 0x26, 0x12, 0x06 }, { 0x22, 0x0e, 0x02 }, { 0x1e, 0x0a, 0x00 }, { 0x1a, 0x06, 0x00 }, { 0x12, 0x02, 0x00 }, { 0x0e, 0x00, 0x00 }, { 0x06, 0x00, 0x00 }, { 0x02, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x22, 0x22, 0x22 }, { 0x1a, 0x1a, 0x1a }, { 0x16, 0x16, 0x16 }, { 0x12, 0x12, 0x12 }, { 0x0a, 0x0a, 0x0a }, { 0x06, 0x06, 0x06 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x20, 0x00 }, { 0x00, 0x0e, 0x00 }, { 0x26, 0x22, 0x00 }, { 0x1e, 0x16, 0x00 }, { 0x12, 0x0a, 0x00 }, { 0x26, 0x02, 0x00 }, { 0x1a, 0x00, 0x00 }, { 0x0e, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x26, 0x26, 0x26 } }; // ds:0x2723
  76. //struct{unsigned char r,g,b;} g_palette_fight1[32] = { { 0x00, 0x00, 0x00 }, { 0x3c, 0x2c, 0x24 }, { 0x3c, 0x28, 0x1c }, { 0x34, 0x20, 0x18 }, { 0x28, 0x18, 0x14 }, { 0x20, 0x14, 0x10 }, { 0x18, 0x0c, 0x08 }, { 0x10, 0x08, 0x08 }, { 0x0c, 0x04, 0x04 }, { 0x34, 0x34, 0x34 }, { 0x28, 0x28, 0x28 }, { 0x20, 0x20, 0x20 }, { 0x18, 0x18, 0x18 }, { 0x14, 0x14, 0x14 }, { 0x10, 0x10, 0x10 }, { 0x0c, 0x0c, 0x0c }, { 0x08, 0x08, 0x08 }, { 0x14, 0x0c, 0x08 }, { 0x00, 0x00, 0x00 }, { 0x18, 0x14, 0x3c }, { 0x14, 0x00, 0x00 }, { 0x1c, 0x00, 0x00 }, { 0x24, 0x00, 0x00 }, { 0x2c, 0x00, 0x00 }, { 0x3c, 0x00, 0x00 }, { 0x1c, 0x10, 0x10 }, { 0x00, 0x1c, 0x00 }, { 0x00, 0x28, 0x00 }, { 0x00, 0x04, 0x20 }, { 0x2c, 0x2c, 0x0c }, { 0x38, 0x38, 0x10 }, { 0x3c, 0x3c, 0x3c } }; // ds:0x2783
  77. //struct{unsigned char r,g,b;} g_palette_special[32] = { { 0x00, 0x00, 0x00 }, { 0x38, 0x38, 0x38 }, { 0x34, 0x34, 0x34 }, { 0x30, 0x30, 0x30 }, { 0x2c, 0x2c, 0x2c }, { 0x28, 0x28, 0x28 }, { 0x24, 0x24, 0x24 }, { 0x20, 0x20, 0x20 }, { 0x1c, 0x1c, 0x1c }, { 0x18, 0x18, 0x18 }, { 0x14, 0x14, 0x14 }, { 0x10, 0x10, 0x10 }, { 0x0c, 0x0c, 0x0c }, { 0x08, 0x08, 0x08 }, { 0x04, 0x04, 0x04 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x3c, 0x08 }, { 0x3c, 0x30, 0x28 }, { 0x3c, 0x2c, 0x28 }, { 0x2c, 0x1c, 0x18 }, { 0x24, 0x14, 0x10 }, { 0x1c, 0x10, 0x0c }, { 0x14, 0x08, 0x08 }, { 0x0c, 0x04, 0x04 }, { 0x0c, 0x08, 0x00 }, { 0x2c, 0x00, 0x00 }, { 0x10, 0x14, 0x3c }, { 0x00, 0x08, 0x38 }, { 0x00, 0x08, 0x34 }, { 0x00, 0x00, 0x18 }, { 0x3c, 0x3c, 0x00 }, { 0x3c, 0x3c, 0x3c } }; // ds:0x27e3
  78. // ?2
  79. signed char g_pp20_index = -1; // ds:0x2845, archive file index of current pp20
  80. signed short g_request_refresh; // ds:0x2846
  81. //struct{char[32]; unsigned short mask[16];} g_default_mouse_cursor = { { -0x01, 0x7f, -0x01, -0x61, -0x01, -0x79, -0x01, -0x3f, 0x7f, -0x40, 0x1f, -0x20, 0x07, -0x20, 0x0f, -0x10, 0x1f, -0x10, 0x0f, -0x08, -0x79, -0x08, -0x3d, -0x03, -0x1d, -0x01, -0x09, -0x01, -0x01, -0x01, -0x01, -0x01, 0x8000, 0x6000, 0x7800, 0x3e00, 0x3f80, 0x1fe0, 0x1ff8, 0x0ff0, 0x0fe0, 0x07f0, 0x0778, 0x023c, 0x001c, 0x0008, 0x0000, 0x0000 } }; // ds:0x2848
  82. //struct{char[32]; unsigned short mask[16];} g_cursor_arrow_up = { { -0x01, -0x01, -0x01, -0x01, 0x7f, -0x01, 0x3f, -0x02, 0x1f, -0x04, 0x0f, -0x08, 0x07, -0x10, 0x03, -0x20, 0x1f, -0x04, 0x1f, -0x04, 0x1f, -0x04, 0x1f, -0x04, 0x1f, -0x04, 0x1f, -0x04, -0x01, -0x01, -0x01, -0x01, 0x0000, 0x0000, 0x0080, 0x01c0, 0x03e0, 0x07f0, 0x0ff8, 0x1ffc, 0x03e0, 0x03e0, 0x03e0, 0x03e0, 0x03e0, 0x03e0, 0x0000, 0x0000 } }; // ds:0x2888
  83. //struct{char[32]; unsigned short mask[16];} g_cursor_arrow_down = { { -0x01, -0x01, -0x01, -0x01, 0x3f, -0x08, 0x3f, -0x08, 0x3f, -0x08, 0x3f, -0x08, 0x3f, -0x08, 0x3f, -0x08, 0x07, -0x40, 0x0f, -0x20, 0x1f, -0x10, 0x3f, -0x08, 0x7f, -0x04, -0x01, -0x02, -0x01, -0x01, -0x01, -0x01, 0x0000, 0x0000, 0x07c0, 0x07c0, 0x07c0, 0x07c0, 0x07c0, 0x07c0, 0x3ff8, 0x1ff0, 0x0fe0, 0x07c0, 0x0380, 0x0100, 0x0000, 0x0000 } }; // ds:0x28c8
  84. //struct{char[32]; unsigned short mask[16];} g_cursor_arrow_left = { { -0x01, -0x01, -0x01, -0x01, -0x01, -0x03, -0x01, -0x07, -0x01, -0x0f, 0x1f, -0x20, 0x07, -0x40, 0x03, -0x20, -0x7d, -0x0f, -0x3f, -0x07, -0x3f, -0x03, -0x3f, -0x01, -0x3f, -0x01, -0x3f, -0x01, -0x01, -0x01, -0x01, -0x01, 0x0000, 0x0000, 0x0200, 0x0600, 0x0e00, 0x1fe0, 0x3ff8, 0x1ffc, 0x0e7c, 0x063e, 0x023e, 0x003e, 0x003e, 0x003e, 0x0000, 0x0000 } }; // ds:0x2908
  85. //struct{char[32]; unsigned short mask[16];} g_cursor_arrow_right = { { -0x01, -0x01, -0x01, -0x01, -0x41, -0x01, -0x61, -0x01, -0x71, -0x01, 0x07, -0x08, 0x03, -0x20, 0x07, -0x40, -0x71, -0x3f, -0x61, -0x7d, -0x41, -0x7d, -0x01, -0x7d, -0x01, -0x7d, -0x01, -0x7d, -0x01, -0x01, -0x01, -0x01, 0x0000, 0x0000, 0x0040, 0x0060, 0x0070, 0x07f8, 0x1ffc, 0x3ff8, 0x3e70, 0x7c60, 0x7c40, 0x7c00, 0x7c00, 0x7c00, 0x0000, 0x0000 } }; // ds:0x2948
  86. unsigned short g_mouse_posy_min; // ds:0x2988
  87. unsigned short g_mouse_posx_min; // ds:0x298a
  88. unsigned short g_mouse_posy_max = 0x00c7; // ds:0x298c
  89. unsigned short g_mouse_posx_max = 0x0136; // ds:0x298e
  90. //struct{unsigned char[8];} g_pic_copy_ds_rect = { { 0x00, 0x00, 0x00, 0x00, 0xc7, 0x00, 0x3f, 0x01 } }; // ds:0x2990, struct screen_rect
  91. unsigned short g_mouse_locked; // ds:0x2998
  92. signed short g_mouse_refresh_flag = -1; // ds:0x299a
  93. unsigned short g_mouse_posx = 0x00a0; // ds:0x299c
  94. unsigned short g_mouse_posy = 0x0064; // ds:0x299e
  95. unsigned short g_mouse_posx_bak = 0x00a0; // ds:0x29a0
  96. unsigned short g_mouse_posy_bak = 0x0064; // ds:0x29a2
  97. unsigned short g_mouse_moved; // ds:0x29a4
  98. unsigned short g_mouse_pointer_offsetx; // ds:0x29a6
  99. unsigned short g_mouse_pointer_offsety; // ds:0x29a8
  100. unsigned short g_mouse_pointer_offsetx_bak; // ds:0x29aa
  101. unsigned short g_mouse_pointer_offsety_bak; // ds:0x29ac
  102. unsigned short g_ani_enabled; // ds:0x29ae
  103. // ?2
  104. unsigned short g_statusmenu_allowed = 1; // ds:0x29b2, , readonly
  105. unsigned short g_heroswap_allowed = 1; // ds:0x29b4
  106. unsigned short g_intemple = 1; // ds:0x29b6, writeonly (0,1), 0 while in temple
  107. unsigned short g_intemple2 = 1; // ds:0x29b8, , copy of INTEMPLE
  108. unsigned short g_always_zero3; // ds:0x29ba, writeonly (0)
  109. // ?16
  110. //struct{signed short x1, x2, y1, y2; unsigned short action;} g_action_table_menu[2] = { { 0x0000, 0x0000, 0x013f, 0x00c7, 0x001c }, { -0x0001, -0x0001, -0x0001, -0x0001, 0xffff } }; // ds:0x29cc
  111. //RealPt g_action_table_primary = 0x14fc29cc; // ds:0x29e0, to ACTION_TABLE_MENU
  112. //RealPt g_action_table_secondary; // ds:0x29e4
  113. //struct{signed short x1, x2, y1, y2; unsigned short action;} g_action_table_playmask[24] = { { 0x00f0, 0x0000, 0x0140, 0x0014, 0x00fd }, { 0x00f0, 0x0015, 0x0140, 0x0038, 0x00fc }, { 0x0010, 0x0024, 0x0043, 0x0060, 0x004b }, { 0x00ac, 0x0024, 0x00df, 0x0060, 0x004d }, { 0x0044, 0x0004, 0x00ab, 0x0033, 0x0048 }, { 0x0044, 0x0059, 0x00ab, 0x0088, 0x0050 }, { 0x00f1, 0x0039, 0x0108, 0x0050, 0x0081 }, { 0x010c, 0x0039, 0x0123, 0x0050, 0x0082 }, { 0x0127, 0x0039, 0x013e, 0x0050, 0x0083 }, { 0x00f1, 0x0054, 0x0108, 0x006b, 0x0084 }, { 0x010c, 0x0054, 0x0123, 0x006b, 0x0085 }, { 0x0127, 0x0054, 0x013e, 0x006b, 0x0086 }, { 0x00f1, 0x006f, 0x0108, 0x0086, 0x0087 }, { 0x010c, 0x006f, 0x0123, 0x0086, 0x0088 }, { 0x0127, 0x006f, 0x013e, 0x0086, 0x0089 }, { 0x0003, 0x009d, 0x002d, 0x00c5, 0x00f1 }, { 0x002e, 0x009d, 0x0058, 0x00c5, 0x00f2 }, { 0x0059, 0x009d, 0x0083, 0x00c5, 0x00f3 }, { 0x0084, 0x009d, 0x00ae, 0x00c5, 0x00f4 }, { 0x00af, 0x009d, 0x00d9, 0x00c5, 0x00f5 }, { 0x00da, 0x009d, 0x0104, 0x00c5, 0x00f6 }, { 0x0113, 0x009d, 0x013d, 0x00c5, 0x00f7 }, { 0x0000, 0x0000, 0x013f, 0x00c7, 0x00fe }, { -0x0001, -0x0001, -0x0001, -0x0001, 0xffff } }; // ds:0x29e8
  114. //struct{signed short x1, x2, y1, y2; unsigned short action;} g_action_table_status[30] = { { 0x0010, 0x0029, 0x001f, 0x0031, 0x004b }, { 0x0020, 0x0029, 0x0030, 0x0031, 0x004d }, { 0x0044, 0x0037, 0x0054, 0x0047, 0x0080 }, { 0x003a, 0x0050, 0x004a, 0x0060, 0x0081 }, { 0x0091, 0x0050, 0x00a1, 0x0060, 0x0082 }, { 0x0044, 0x006a, 0x0054, 0x007a, 0x0083 }, { 0x0087, 0x006a, 0x0097, 0x007a, 0x0084 }, { 0x0044, 0x008c, 0x0054, 0x009c, 0x0085 }, { 0x0087, 0x00ae, 0x0097, 0x00be, 0x0086 }, { 0x000f, 0x0037, 0x001f, 0x0047, 0x0087 }, { 0x0020, 0x0037, 0x0030, 0x0047, 0x0088 }, { 0x000f, 0x0048, 0x001f, 0x0058, 0x0089 }, { 0x0020, 0x0048, 0x0030, 0x0058, 0x008a }, { 0x000f, 0x0059, 0x001f, 0x0069, 0x008b }, { 0x0020, 0x0059, 0x0030, 0x0069, 0x008c }, { 0x000f, 0x006a, 0x001f, 0x007a, 0x008d }, { 0x0020, 0x006a, 0x0030, 0x007a, 0x008e }, { 0x000f, 0x007b, 0x001f, 0x008b, 0x008f }, { 0x0020, 0x007b, 0x0030, 0x008b, 0x0090 }, { 0x000f, 0x008c, 0x001f, 0x009c, 0x0091 }, { 0x0020, 0x008c, 0x0030, 0x009c, 0x0092 }, { 0x000f, 0x009d, 0x001f, 0x00ad, 0x0093 }, { 0x0020, 0x009d, 0x0030, 0x00ad, 0x0094 }, { 0x000f, 0x00ae, 0x001f, 0x00bd, 0x0095 }, { 0x0020, 0x00ae, 0x0030, 0x00bd, 0x0096 }, { 0x0080, 0x0037, 0x0090, 0x0047, 0x0097 }, { 0x0091, 0x0037, 0x00a1, 0x0047, 0x0098 }, { 0x009b, 0x001e, 0x00b9, 0x0024, 0x00f0 }, { 0x0000, 0x0000, 0x013f, 0x00c7, 0x00fe }, { -0x0001, -0x0001, -0x0001, -0x0001, 0xffff } }; // ds:0x2ad8
  115. //struct{signed short x1, x2, y1, y2; unsigned short action;} g_action_table_merchant[2] = { { 0x0010, 0x0004, 0x00df, 0x008a, 0x0090 }, { -0x0001, -0x0001, -0x0001, -0x0001, 0xffff } }; // ds:0x2c04
  116. //struct{signed short LE_ORIG, LE, AE_ORIG, AE;} g_char_status_bars[7]; // ds:0x2c18
  117. signed short g_disease_prices[8] = { 0x0000, 0x0006, 0x0004, 0x0009, 0x0008, 0x0008, 0x0007, 0x000a }; // ds:0x2c50
  118. signed short g_disease_delays[8] = { 0x0000, -0x000a, 0x0014, -0x0014, -0x001e, -0x0014, 0x0000, -0x001e }; // ds:0x2c60
  119. signed short g_poison_prices[10] = { 0x0000, 0x0006, 0x0005, 0x0004, 0x0005, 0x0005, 0x0004, 0x000a, 0x000c, 0x000f }; // ds:0x2c70
  120. signed short g_poison_delays[10] = { 0x0000, -0x001e, -0x0019, -0x0014, -0x0019, -0x0019, -0x0014, -0x0032, -0x003c, -0x004b }; // ds:0x2c84
  121. unsigned char g_dialogbox_lock; // ds:0x2c98
  122. short g_timers_disabled; // ds:0x2c99
  123. signed short g_status_page_mode = 1; // ds:0x2c9b, one of 1,2,3,4,5
  124. signed short g_status_page_hero; // ds:0x2c9d
  125. signed char g_status_page_hunger = -1; // ds:0x2c9f
  126. signed char g_status_page_thirst = -1; // ds:0x2ca0
  127. unsigned char g_missing_file_guilock; // ds:0x2ca1, writeonly (0,1)
  128. signed short g_basepos_x; // ds:0x2ca2
  129. signed short g_basepos_y; // ds:0x2ca4
  130. unsigned char g_dng_area_loaded; // ds:0x2ca6
  131. unsigned char g_city_area_loaded; // ds:0x2ca7
  132. signed char g_travel_map_loaded; // ds:0x2ca8
  133. // ?33
  134. unsigned char g_ani_unknown_flag = 1; // ds:0x2cca, writeonly (0,1)
  135. signed short g_area_prepared = -1; // ds:0x2ccb, -1 = unprepared, 0 = dungeon, 1 = town
  136. // ?1
  137. char g_always_zero4; // ds:0x2cce, writeonly (0)
  138. short g_current_ani = -1; // ds:0x2ccf
  139. signed short g_fig_figure1 = -1; // ds:0x2cd1
  140. signed short g_fig_figure2 = -1; // ds:0x2cd3
  141. short g_in_fight; // ds:0x2cd5
  142. short g_fight_round; // ds:0x2cd7
  143. // ?2
  144. signed short g_skilled_hero_pos = -1; // ds:0x2cdb, {-1, 0..6}
  145. //struct{unsigned short x,y;} g_gui_buttons_pos[9] = { { 0x00f1, 0x0039 }, { 0x010c, 0x0039 }, { 0x0127, 0x0039 }, { 0x00f1, 0x0054 }, { 0x010c, 0x0054 }, { 0x0127, 0x0054 }, { 0x00f1, 0x006f }, { 0x010c, 0x006f }, { 0x0127, 0x006f } }; // ds:0x2cdd
  146. unsigned short g_hero_pic_posx[7] = { 0x0003, 0x002e, 0x0059, 0x0084, 0x00af, 0x00da, 0x0113 }; // ds:0x2d01
  147. signed char g_levelup_ta_rise[12] = { 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x0f, 0x14, 0x14, 0x14 }; // ds:0x2d0f
  148. signed char g_levelup_sp_rise[6] = { 0x19, 0x19, 0x28, 0x14, 0x14, 0x14 }; // ds:0x2d1b
  149. signed char g_levelup_spta_conv[6] = { 5, 5, 5, 0, 0, 0 }; // ds:0x2d21
  150. signed char g_mr_modificators[13] = { 0, 2, 0, 0, 2, -2, 2, 2, 2, 2, 3, 4, 3 }; // ds:0x2d27, { 0, 2, 0, 0, 2, -2, 2, 2, 2, 2, 3, 4, 3 }
  151. unsigned char g_datseg_status_start; // ds:0x2d34, 99 = game finished, area of the datseg that is stored one to one in savegame files
  152. signed char g_current_group; // ds:0x2d35
  153. signed char g_group_member_counts[6]; // ds:0x2d36, members per group
  154. signed char g_total_hero_counter; // ds:0x2d3c
  155. unsigned char g_direction; // ds:0x2d3d
  156. unsigned char g_groups_direction[6]; // ds:0x2d3e
  157. unsigned short g_x_target; // ds:0x2d44
  158. unsigned short g_y_target; // ds:0x2d46
  159. unsigned short g_groups_x_target[6]; // ds:0x2d48
  160. unsigned short g_groups_y_target[6]; // ds:0x2d54
  161. signed char g_location; // ds:0x2d60
  162. signed char g_groups_location[6]; // ds:0x2d61
  163. signed char g_current_town; // ds:0x2d67
  164. signed char g_groups_town[6]; // ds:0x2d68
  165. signed char g_dungeon_index; // ds:0x2d6e
  166. signed char g_groups_dng_index[6]; // ds:0x2d6f
  167. signed char g_dungeon_level; // ds:0x2d75
  168. signed char g_groups_dng_level[6]; // ds:0x2d76
  169. unsigned char g_direction_bak; // ds:0x2d7c
  170. unsigned char g_groups_direction_bak[6]; // ds:0x2d7d
  171. signed short g_x_target_bak; // ds:0x2d83
  172. signed short g_y_target_bak; // ds:0x2d85
  173. signed short g_groups_x_target_bak[6]; // ds:0x2d87
  174. signed short g_groups_y_target_bak[6]; // ds:0x2d93
  175. signed char g_location_bak; // ds:0x2d9f
  176. signed char g_groups_location_bak[6]; // ds:0x2da0
  177. signed char g_current_town_bak; // ds:0x2da6
  178. signed char g_groups_town_bak[6]; // ds:0x2da7
  179. signed char g_dungeon_index_bak; // ds:0x2dad
  180. signed char g_groups_dng_index_bak[6]; // ds:0x2dae
  181. signed char g_dungeon_level_bak; // ds:0x2db4
  182. signed char g_groups_dng_level_bak[6]; // ds:0x2db5
  183. long g_day_timer; // ds:0x2dbb
  184. char g_day_of_week; // ds:0x2dbf
  185. char g_day_of_month; // ds:0x2dc0
  186. char g_month; // ds:0x2dc1
  187. char g_year; // ds:0x2dc2
  188. char g_special_day; // ds:0x2dc3
  189. signed long g_ingame_timers[26]; // ds:0x2dc4
  190. //struct{long; short; char; char} g_modification_timers[100]; // ds:0x2e2c
  191. // ?2
  192. signed long g_gods_estimation[15]; // ds:0x314e
  193. unsigned char g_tav_cheated_flags[88]; // ds:0x318a
  194. //struct{short; long} g_smith_repairitems[50]; // ds:0x31e2
  195. unsigned short g_dng_handled_pos; // ds:0x330e
  196. signed short g_deathtrap_steps; // ds:0x3310
  197. signed short g_deathtrap; // ds:0x3312
  198. signed char g_dng01_amulet_taken; // ds:0x3314
  199. signed char g_dng01_sabre_taken; // ds:0x3315
  200. signed char g_dng01_crossbow_taken; // ds:0x3316
  201. signed char g_dng01_ardora_freed; // ds:0x3317
  202. // ?1
  203. signed char g_dng01_key_taken; // ds:0x3319
  204. signed char g_dng01_corpse_looted; // ds:0x331a
  205. signed short g_weather1; // ds:0x331b, random(6)
  206. signed short g_weather2; // ds:0x331d, random(7)
  207. signed char g_daspota_fightflags[19]; // ds:0x331f
  208. signed char g_treasure_maps[10]; // ds:0x3332
  209. unsigned char g_debtbook_read_flag = 1; // ds:0x333c
  210. unsigned char g_orcdocument_read_flag; // ds:0x333d
  211. unsigned short g_gardanium_used_ae; // ds:0x333e
  212. signed short g_min_map_parts; // ds:0x3340
  213. short g_subvention; // ds:0x3342, {0-4}
  214. unsigned short g_otta_windriders; // ds:0x3344
  215. unsigned short g_otta_stormchildren; // ds:0x3346
  216. unsigned short g_otta_garaldsson; // ds:0x3348
  217. signed short g_heard_announce; // ds:0x334a, {0 = not heard, 1 = heard, 3 = spoke with hetman}
  218. signed short g_got_main_quest; // ds:0x334c
  219. short g_quested_months; // ds:0x334e
  220. signed short g_monthly_credit; // ds:0x3350
  221. signed short g_got_letter_jad; // ds:0x3352
  222. signed short g_visited_miller; // ds:0x3354
  223. signed short g_quest_ugdalf; // ds:0x3356
  224. signed short g_academy_daily_curse; // ds:0x3358
  225. signed short g_academy_daily_ident; // ds:0x335a
  226. signed short g_bank_deposit; // ds:0x335c
  227. signed short g_days_to_cens; // ds:0x335e
  228. signed short g_debt_days; // ds:0x3360
  229. unsigned short g_in_academy; // ds:0x3362
  230. unsigned char g_informer_flags[15]; // ds:0x3364
  231. // ?1
  232. signed char g_tav_kicked_flags[88]; // ds:0x3374
  233. signed char g_town_outlawed_flags[52]; // ds:0x33cc
  234. signed char g_herberg_kicked_flags[74]; // ds:0x3400
  235. unsigned char g_got_letter_het; // ds:0x344a
  236. // ?1
  237. unsigned char g_jurge_awaits_letter; // ds:0x344c
  238. unsigned char g_umbrik_quest_gorah; // ds:0x344d
  239. // ?1
  240. unsigned char g_isleif_jandas_regards; // ds:0x344f
  241. unsigned char g_isleif_map_given; // ds:0x3450
  242. unsigned char g_ragna_asked_map; // ds:0x3451
  243. unsigned char g_beorn_litt_bold; // ds:0x3452
  244. unsigned char g_beorn_medi_bold; // ds:0x3453
  245. unsigned char g_beorn_very_bold; // ds:0x3454
  246. unsigned char g_eliane_quest_nameless; // ds:0x3455
  247. unsigned char g_olvir_start_hetmann; // ds:0x3456
  248. unsigned char g_olvir_start_hyggelik; // ds:0x3457
  249. unsigned char g_olvir_start_hasgar; // ds:0x3458
  250. unsigned char g_olvir_interrupted; // ds:0x3459
  251. unsigned char g_olvir_singing_hetmann; // ds:0x345a
  252. unsigned char g_olvir_singing_hyggelik; // ds:0x345b
  253. unsigned char g_olvir_singing_hasgar; // ds:0x345c
  254. unsigned char g_swafnild_tp1; // ds:0x345d
  255. unsigned char g_swafnild_tp2; // ds:0x345e
  256. unsigned char g_swafnild_tp3; // ds:0x345f
  257. unsigned char g_swafnild_tp4; // ds:0x3460
  258. unsigned char g_swafnild_destination; // ds:0x3461
  259. unsigned char g_swafnild_nomap; // ds:0x3462
  260. unsigned char g_treborn_date; // ds:0x3463
  261. unsigned char g_unicorn_hero_pos; // ds:0x3464, {0-6}
  262. char g_unicorn_get_map; // ds:0x3465
  263. char g_unicorn_timer; // ds:0x3466
  264. unsigned char g_algrid_treborns_hint; // ds:0x3467
  265. unsigned char g_tiomar_drinkmate; // ds:0x3468, {0-6}
  266. unsigned char g_tiomar_awaits_letter; // ds:0x3469
  267. //RealPt g_unicorn_hero_ptr; // ds:0x346a
  268. signed short g_npc_meet_tavern; // ds:0x346e
  269. signed short g_npc_months; // ds:0x3470
  270. signed char g_smith_kicked_flags[50]; // ds:0x3472
  271. signed char g_smith_flogged_flags[50]; // ds:0x34a4
  272. signed char g_merchant_kicked_flags[74]; // ds:0x34d6
  273. unsigned char g_npc_unknown_flags[20]; // ds:0x3520
  274. unsigned char g_merchant_kicked2_flags[94]; // ds:0x3534
  275. unsigned char g_merchant_offended_flags[94]; // ds:0x3592
  276. unsigned char g_quest_deadship; // ds:0x35f0
  277. // ?1
  278. unsigned char g_quest_deadship_done; // ds:0x35f2
  279. unsigned char g_always_one2; // ds:0x35f3, writeonly (1)
  280. unsigned char g_dng03_spidereggs_burned; // ds:0x35f4
  281. // ?2
  282. unsigned char g_dng06_dasptreas_found; // ds:0x35f7
  283. // ?2
  284. unsigned char g_quest_nameless_done; // ds:0x35fa
  285. // ?4
  286. unsigned char g_dng14_ugdalf_done; // ds:0x35ff
  287. unsigned char g_got_grimring; // ds:0x3600
  288. unsigned char g_npc_timers[7]; // ds:0x3601
  289. unsigned char g_tlk_tav_firstinfo; // ds:0x3608
  290. unsigned char g_tlk_tav_infopromise; // ds:0x3609
  291. unsigned char g_tlk_tav_round; // ds:0x360a
  292. unsigned char g_tlk_tav_freebeer; // ds:0x360b
  293. unsigned char g_tlk_tav_drinkcount; // ds:0x360c
  294. unsigned char g_tlk_tav_informersex; // ds:0x360d, {1 = male,2 = female}
  295. // ?1
  296. unsigned char g_tlk_tav_followinformer; // ds:0x360f
  297. unsigned char g_tlk_tav_fullness; // ds:0x3610
  298. unsigned char g_tlk_tav_testdrunk; // ds:0x3611
  299. unsigned char g_current_informer; // ds:0x3612
  300. unsigned char g_dungeon_light; // ds:0x3613, 0 = light is on, 1, 2 = light is off
  301. unsigned char g_show_travel_map; // ds:0x3614
  302. unsigned char g_hermit_visited; // ds:0x3615
  303. unsigned char g_dungeon_type; // ds:0x3616, { 0 = SHIPS, 1 = MARBLES, 2 = STONES }
  304. unsigned char g_estorik_known; // ds:0x3617
  305. //struct{unsigned char[38];} g_dialog_partners[10]; // ds:0x3618
  306. //struct{unsigned char[8];} g_dialog_states[160]; // ds:0x3794
  307. unsigned char g_dng02_sphere_known; // ds:0x3c94
  308. unsigned char g_dng02_corpse; // ds:0x3c95
  309. unsigned char g_dng02_apparature_destroyed; // ds:0x3c96
  310. unsigned char g_dng02_sphere_timer; // ds:0x3c97, {0,...,7}
  311. unsigned char g_dng02_sphere_active; // ds:0x3c98
  312. unsigned char g_dng02_raven_destroyed; // ds:0x3c99
  313. unsigned char g_dng02_secret_door1; // ds:0x3c9a
  314. unsigned char g_dng02_secret_door2; // ds:0x3c9b
  315. unsigned char g_dng02_secret_door3; // ds:0x3c9c
  316. unsigned char g_dng03_lever_trap = 1; // ds:0x3c9d
  317. unsigned char g_dng03_lever_chest11 = 1; // ds:0x3c9e
  318. unsigned char g_dng03_sanctum_smashed; // ds:0x3c9f
  319. unsigned char g_dng04_corpse0_flag; // ds:0x3ca0
  320. unsigned char g_dng04_corpse1_flag; // ds:0x3ca1
  321. unsigned char g_dng04_corpse2_flag; // ds:0x3ca2
  322. unsigned char g_dng04_gap_flag; // ds:0x3ca3
  323. unsigned char g_dng04_helmet_flag; // ds:0x3ca4
  324. unsigned char g_dng04_lantern_flag; // ds:0x3ca5
  325. unsigned char g_dng04_deepgap_flag; // ds:0x3ca6
  326. unsigned char g_dng06_pitdoor_flag; // ds:0x3ca7
  327. unsigned char g_dng06_proviant_flag; // ds:0x3ca8
  328. unsigned char g_dng06_money_flag; // ds:0x3ca9
  329. unsigned char g_dng06_goldkey_flag; // ds:0x3caa
  330. unsigned char g_dng06_countdown_flag = 5; // ds:0x3cab
  331. unsigned char g_dng06_lever_flag; // ds:0x3cac
  332. unsigned char g_dng06_book_flag; // ds:0x3cad
  333. unsigned char g_dng06_fight19_flag; // ds:0x3cae
  334. unsigned char g_dng05_proviant_flag; // ds:0x3caf
  335. unsigned char g_dng05_bats_flag; // ds:0x3cb0
  336. unsigned char g_dng05_god_flag; // ds:0x3cb1
  337. unsigned char g_dng07_muelixier_flag; // ds:0x3cb2
  338. unsigned char g_dng07_antimuelixier_flag; // ds:0x3cb3
  339. unsigned char g_dng07_flicker_flag; // ds:0x3cb4
  340. unsigned char g_dng07_poison_flag; // ds:0x3cb5
  341. unsigned long g_dng07_poison_timer; // ds:0x3cb6
  342. unsigned char g_dng08_bed_00; // ds:0x3cba
  343. unsigned char g_dng08_bed_01; // ds:0x3cbb
  344. unsigned char g_dng08_bed_02; // ds:0x3cbc
  345. unsigned char g_dng08_bed_03; // ds:0x3cbd
  346. unsigned char g_dng08_bed_04; // ds:0x3cbe
  347. unsigned char g_dng08_bed_05; // ds:0x3cbf
  348. unsigned char g_dng08_bed_06; // ds:0x3cc0
  349. unsigned char g_dng08_bed_07; // ds:0x3cc1
  350. unsigned char g_dng08_bed_08; // ds:0x3cc2
  351. unsigned char g_dng08_bed_09; // ds:0x3cc3
  352. unsigned char g_dng08_bed_10; // ds:0x3cc4
  353. unsigned char g_dng08_bed_11; // ds:0x3cc5
  354. unsigned char g_dng08_timer1; // ds:0x3cc6, {0, 1, ..., 24}
  355. unsigned char g_dng08_timer2; // ds:0x3cc7, {0, 1, ..., 24}
  356. unsigned char g_dng08_bundles_done; // ds:0x3cc8
  357. unsigned char g_dng08_ballista_done; // ds:0x3cc9
  358. unsigned char g_dng08_chest2_looted; // ds:0x3cca
  359. signed char g_dng08_secret_door; // ds:0x3ccb, {0,1 = found,2 = opened}
  360. unsigned char g_dng08_chest0_looted; // ds:0x3ccc
  361. unsigned char g_dng08_chest35_looted; // ds:0x3ccd
  362. char g_daspota_location01_loot[29] = { 0x36, 0x01, 0x0c, 0x01, 0x0d, 0x1e, -0x62, 0x01, -0x61, 0x01, 0x5c, 0x0a, 0x17, 0x32, 0x5b, 0x14, 0x4a, 0x01, 0x4a, 0x01, 0x22, 0x01, -0x6e, 0x01, -0x72, 0x01, -0x06, -0x01, -1 }; // ds:0x3cce
  363. char g_daspota_location02_loot[15] = { 0x0c, 0x01, 0x0c, 0x01, 0x0d, 0x1e, 0x07, 0x01, 0x07, 0x01, 0x19, 0x01, 0x29, 0x01, -1 }; // ds:0x3ceb
  364. char g_daspota_location03_loot[15] = { 0x0c, 0x01, 0x0c, 0x01, 0x0d, 0x1e, 0x07, 0x01, 0x07, 0x01, 0x19, 0x01, 0x29, 0x01, -1 }; // ds:0x3cfa
  365. char g_daspota_location04_loot[9] = { 0x08, 0x01, 0x17, 0x0a, 0x56, 0x01, 0x4d, 0x01, -1 }; // ds:0x3d09
  366. char g_daspota_location05_loot[31] = { -0x60, 0x01, -0x5f, 0x01, 0x15, 0x01, 0x6d, 0x01, 0x5b, 0x14, 0x4c, 0x02, 0x24, 0x01, 0x1d, 0x01, 0x22, 0x01, 0x2a, 0x01, 0x26, 0x01, 0x23, 0x01, 0x39, 0x01, 0x3b, 0x01, -0x71, 0x01, -1 }; // ds:0x3d12
  367. char g_daspota_location06_loot[25] = { 0x03, 0x03, 0x01, 0x03, 0x07, 0x03, 0x08, 0x03, 0x10, 0x03, 0x13, 0x03, 0x36, 0x03, 0x4e, 0x03, 0x54, 0x03, 0x75, 0x03, 0x52, 0x03, 0x51, 0x03, -1 }; // ds:0x3d31
  368. char g_daspota_location07_loot[7] = { 0x17, 0x14, 0x5b, 0x14, 0x5c, 0x0a, -1 }; // ds:0x3d4a
  369. char g_daspota_location08_loot[15] = { 0x4c, 0x05, 0x4a, 0x05, 0x22, 0x01, 0x22, 0x01, 0x1f, 0x01, 0x2e, 0x01, 0x22, 0x01, -1 }; // ds:0x3d51
  370. char g_daspota_location10_loot[7] = { 0x17, 0x32, 0x5b, 0x14, 0x5c, 0x0a, -1 }; // ds:0x3d60
  371. char g_daspota_location12_loot[21] = { 0x1a, 0x03, 0x20, 0x03, 0x28, 0x03, 0x2e, 0x03, 0x48, 0x03, 0x55, 0x03, 0x5f, 0x03, 0x41, 0x03, 0x79, 0x03, 0x1f, 0x03, -1 }; // ds:0x3d67
  372. char g_daspota_location13_loot[9] = { 0x08, 0x03, 0x79, 0x03, 0x1b, 0x03, 0x10, 0x02, -1 }; // ds:0x3d7c
  373. char g_daspota_location14_loot[5] = { 0x17, 0x50, 0x5c, 0x0a, -1 }; // ds:0x3d85
  374. char g_daspota_location16_loot[5] = { 0x17, 0x32, 0x2d, 0x0a, -1 }; // ds:0x3d8a
  375. char g_daspota_location18_loot[19] = { 0x5c, 0x0a, 0x17, 0x28, 0x4c, 0x05, 0x4a, 0x05, 0x1f, 0x02, 0x5f, 0x01, 0x7e, 0x01, 0x3a, 0x01, -0x80, 0x01, -1 }; // ds:0x3d8f
  376. unsigned char g_tevent004_flag; // ds:0x3da2
  377. unsigned char g_tevent005_flag; // ds:0x3da3
  378. unsigned char g_tevent008_flag; // ds:0x3da4
  379. unsigned char g_tevent009_flag; // ds:0x3da5
  380. unsigned char g_tevent011_flag; // ds:0x3da6
  381. unsigned char g_tevent013_flag; // ds:0x3da7
  382. unsigned char g_tevent014_flag; // ds:0x3da8
  383. unsigned char g_tevent016_flag; // ds:0x3da9
  384. unsigned char g_tevent017_flag; // ds:0x3daa
  385. unsigned char g_tevent020_flag; // ds:0x3dab
  386. unsigned char g_tevent021_flag; // ds:0x3dac
  387. unsigned char g_tevent022_flag; // ds:0x3dad
  388. unsigned char g_tevent022_track_flag; // ds:0x3dae
  389. unsigned char g_tevent024_flag; // ds:0x3daf
  390. unsigned char g_tevent025_flag; // ds:0x3db0
  391. unsigned char g_tevent028_flag; // ds:0x3db1
  392. unsigned char g_tevent030_flag; // ds:0x3db2
  393. unsigned char g_tevent031_flag; // ds:0x3db3
  394. unsigned char g_tevent032_flag; // ds:0x3db4
  395. unsigned char g_tevent032_herb_flag; // ds:0x3db5
  396. unsigned char g_tevent034_flag; // ds:0x3db6
  397. unsigned char g_tevent035_flag; // ds:0x3db7
  398. unsigned char g_tevent036_flag; // ds:0x3db8
  399. unsigned char g_tevent036_herb_flag; // ds:0x3db9
  400. unsigned char g_tevent037_flag; // ds:0x3dba
  401. unsigned char g_tevent039_flag; // ds:0x3dbb
  402. unsigned char g_tevent040_flag; // ds:0x3dbc
  403. unsigned char g_tevent041_flag; // ds:0x3dbd
  404. unsigned char g_tevent042_flag; // ds:0x3dbe
  405. unsigned char g_tevent043_flag; // ds:0x3dbf
  406. unsigned char g_tevent048_flag; // ds:0x3dc0
  407. unsigned char g_tevent048_track_flag; // ds:0x3dc1
  408. unsigned char g_tevent049_flag; // ds:0x3dc2
  409. unsigned char g_tevent050_flag; // ds:0x3dc3
  410. unsigned char g_tevent050_herb_flag; // ds:0x3dc4
  411. unsigned char g_tevent051_flag; // ds:0x3dc5
  412. unsigned char g_tevent053_flag; // ds:0x3dc6
  413. unsigned char g_tevent058_flag; // ds:0x3dc7
  414. unsigned char g_tevent061_flag; // ds:0x3dc8
  415. unsigned char g_tevent064_flag; // ds:0x3dc9
  416. unsigned char g_tevent066_flag; // ds:0x3dca
  417. unsigned char g_tevent066_track_flag; // ds:0x3dcb
  418. unsigned char g_tevent067_flag; // ds:0x3dcc
  419. unsigned char g_tevent069_flag; // ds:0x3dcd
  420. unsigned char g_tevent070_flag; // ds:0x3dce
  421. unsigned char g_tevent070_herb_flag; // ds:0x3dcf
  422. unsigned char g_tevent070_trail_flag; // ds:0x3dd0
  423. unsigned char g_tevent071_flag; // ds:0x3dd1
  424. unsigned char g_teventu01_flag; // ds:0x3dd2
  425. unsigned char g_tevent064_silent_flag; // ds:0x3dd3
  426. // ?1
  427. unsigned char g_teventu02_flag; // ds:0x3dd5
  428. unsigned char g_teventu03_flag; // ds:0x3dd6
  429. unsigned char g_teventu04_flag; // ds:0x3dd7
  430. unsigned char g_teventu05_flag; // ds:0x3dd8
  431. unsigned char g_teventu06_flag; // ds:0x3dd9
  432. unsigned char g_tevent071_orcstatue; // ds:0x3dda
  433. unsigned char g_met_unicorn_flag; // ds:0x3ddb
  434. unsigned char g_find_hyggelik; // ds:0x3ddc, {0,1 = you are able to find Hyggelik}
  435. unsigned char g_tevent072_flag; // ds:0x3ddd
  436. unsigned char g_tevent073_flag; // ds:0x3dde
  437. unsigned char g_tevent074_flag; // ds:0x3ddf
  438. unsigned char g_tevent075_flag; // ds:0x3de0
  439. unsigned char g_tevent076_flag; // ds:0x3de1
  440. unsigned char g_tevent077_flag; // ds:0x3de2
  441. unsigned char g_tevent079_flag; // ds:0x3de3
  442. unsigned char g_tevent080_flag; // ds:0x3de4
  443. unsigned char g_tevent080_tatzelwurm; // ds:0x3de5
  444. unsigned char g_tevent081_flag; // ds:0x3de6
  445. unsigned char g_tevent083_flag; // ds:0x3de7
  446. unsigned char g_tevent084_flag; // ds:0x3de8
  447. unsigned char g_tevent085_flag; // ds:0x3de9
  448. unsigned char g_tevent085_herb_flag; // ds:0x3dea
  449. unsigned char g_tevent086_flag; // ds:0x3deb
  450. unsigned char g_tevent088_flag; // ds:0x3dec
  451. unsigned char g_tevent091_flag; // ds:0x3ded
  452. unsigned char g_tevent093_flag; // ds:0x3dee
  453. unsigned char g_tevent094_flag; // ds:0x3def
  454. unsigned char g_teventu07_flag; // ds:0x3df0
  455. unsigned char g_teventu08_flag; // ds:0x3df1
  456. unsigned char g_tevent099_flag; // ds:0x3df2
  457. unsigned char g_tevent100_flag; // ds:0x3df3
  458. unsigned char g_tevent101_flag; // ds:0x3df4
  459. unsigned char g_tevent106_flag; // ds:0x3df5
  460. unsigned char g_tevent108_flag; // ds:0x3df6
  461. unsigned char g_tevent109_flag; // ds:0x3df7
  462. unsigned char g_tevent111_flag; // ds:0x3df8
  463. unsigned char g_tevent112_flag; // ds:0x3df9
  464. unsigned char g_tevent112_herb_flag; // ds:0x3dfa
  465. unsigned char g_tevent115_flag; // ds:0x3dfb
  466. unsigned char g_tevent116_flag; // ds:0x3dfc
  467. unsigned char g_tevent118_flag; // ds:0x3dfd
  468. unsigned char g_tevent119_flag; // ds:0x3dfe
  469. unsigned char g_tevent120_flag; // ds:0x3dff
  470. unsigned char g_tevent122_flag; // ds:0x3e00
  471. // ?1
  472. unsigned char g_tevent128_flag; // ds:0x3e02
  473. unsigned char g_tevent128_replen_flag; // ds:0x3e03
  474. unsigned char g_tevent129_flag; // ds:0x3e04
  475. unsigned char g_tevent131_flag; // ds:0x3e05
  476. unsigned char g_tevent132_flag; // ds:0x3e06
  477. unsigned char g_tevent132_herb_flag; // ds:0x3e07
  478. unsigned char g_tevent134_flag; // ds:0x3e08
  479. unsigned char g_tevent137_flag; // ds:0x3e09
  480. unsigned char g_tevent138_flag; // ds:0x3e0a
  481. unsigned char g_teventu09_flag; // ds:0x3e0b
  482. unsigned char g_tevent140_flag; // ds:0x3e0c
  483. unsigned char g_tevent140_herb_flag; // ds:0x3e0d
  484. unsigned char g_tevent141_flag; // ds:0x3e0e
  485. unsigned char g_tevent142_flag; // ds:0x3e0f
  486. // ?1
  487. unsigned char g_teventu10_flag; // ds:0x3e11
  488. unsigned char g_teventu11_flag; // ds:0x3e12
  489. unsigned char g_teventu12_flag; // ds:0x3e13
  490. unsigned char g_teventu13_flag; // ds:0x3e14
  491. unsigned char g_tevent114_olimone_flag; // ds:0x3e15
  492. unsigned char g_tevent074_fight_flag = 0xff; // ds:0x3e16
  493. unsigned char g_tevent077_fight_flag = 0xff; // ds:0x3e17
  494. //RealPt g_random_tlk_hero; // ds:0x3e18
  495. //RealPt g_ruin_hero; // ds:0x3e1c
  496. //RealPt g_main_acting_hero; // ds:0x3e20
  497. unsigned char g_tevent073_corpse[3] = { 0xaa, 0x01, 0xff }; // ds:0x3e24
  498. unsigned char g_tevent014_chest[4] = { 0x01, 0x6e, 0xa2, 0xff }; // ds:0x3e27
  499. unsigned char g_tevent064_hut_content[19] = { 0x4b, 0x01, 0x5c, 0x01, 0x5b, 0x01, 0x7e, 0x01, 0x78, 0x01, 0x80, 0x01, 0x1d, 0x01, 0x46, 0x01, 0x92, 0x01, 0xff }; // ds:0x3e2b
  500. unsigned char g_tevent064_chest[21] = { 0xa4, 0x01, 0xa5, 0x01, 0x92, 0x01, 0xb4, 0x02, 0xa6, 0x01, 0xa7, 0x01, 0x7e, 0x02, 0x82, 0x01, 0x9d, 0x01, 0x83, 0x01, 0xff }; // ds:0x3e3e
  501. //struct{unsigned char r,g,b;} g_palette_floor[32]; // ds:0x3e53
  502. //struct{unsigned char r,g,b;} g_palette_buildings[32]; // ds:0x3eb3
  503. //struct{unsigned char r,g,b;} g_palette_sky[32]; // ds:0x3f13
  504. unsigned char g_need_letter; // ds:0x3f73
  505. unsigned char g_gremob_invited; // ds:0x3f74
  506. unsigned char g_harlot_date; // ds:0x3f75
  507. unsigned char g_drug_timer; // ds:0x3f76, {0, 1, ..., 10}
  508. unsigned char g_ptemple_closed; // ds:0x3f77
  509. unsigned char g_alrik_derondan; // ds:0x3f78
  510. unsigned char g_alrik_derondan_insulted; // ds:0x3f79
  511. unsigned char g_dng13_lantern_flag; // ds:0x3f7a
  512. unsigned char g_dng13_corpse0_flag; // ds:0x3f7b
  513. unsigned char g_dng13_corpse1_flag; // ds:0x3f7c
  514. unsigned char g_dng13_passage1_flag; // ds:0x3f7d
  515. unsigned char g_dng13_passage2_flag; // ds:0x3f7e
  516. unsigned char g_dng13_passage3_flag; // ds:0x3f7f
  517. unsigned char g_dng13_passage4_flag; // ds:0x3f80
  518. unsigned char g_dng13_passage5_flag; // ds:0x3f81
  519. unsigned char g_dng13_money_flag; // ds:0x3f82
  520. unsigned char g_dng13_chest_equips[13] = { 0x5d, 0x03, 0x49, 0x01, 0x79, 0x03, 0x1b, 0x03, 0x41, 0x0f, 0x4d, 0x01, 0xff }; // ds:0x3f83
  521. unsigned char g_dng13_chest0_content[6] = { 0x0e, 0x55, 0x41, 0x41, 0x79, 0xff }; // ds:0x3f90
  522. unsigned char g_dng13_chest1_content[5] = { 0x0e, 0x01, 0x41, 0x55, 0xff }; // ds:0x3f96
  523. signed char g_dng12_tunnel1 = 0x2d; // ds:0x3f9b
  524. signed char g_dng12_tunnel2 = 0x28; // ds:0x3f9c
  525. signed char g_dng12_tunnel3 = 0x23; // ds:0x3f9d
  526. signed char g_dng12_tunnel4 = 0x1e; // ds:0x3f9e
  527. unsigned char g_dng12_ingerimm_sacrifice; // ds:0x3f9f
  528. unsigned char g_dng12_ingerimm_hint; // ds:0x3fa0
  529. signed char g_dng12_watertrap_water_runs; // ds:0x3fa1
  530. signed long g_dng12_watertrap_timer = 0x00001194; // ds:0x3fa2
  531. signed char g_dng12_watertrap_active = 1; // ds:0x3fa6
  532. signed char g_dng12_obstacle_hp = 0x28; // ds:0x3fa7, {-25,...,40}
  533. signed char g_dng12_obstacle_active = 1; // ds:0x3fa8
  534. signed char g_dng12_speartrap_active = 1; // ds:0x3fa9
  535. signed char g_dng12_chest1_content[12] = { 0x50, 0x50, -0x79, -0x79, 0x06, 0x06, 0x06, 0x4e, 0x4e, -0x6f, -0x66, -1 }; // ds:0x3faa
  536. unsigned char g_dng14_money_flag; // ds:0x3fb6
  537. unsigned char g_dng14_alarm_flag; // ds:0x3fb7
  538. unsigned char g_dng14_secretdoor1; // ds:0x3fb8, {0, 1 = found, 2 = unlocked}
  539. unsigned char g_dng14_secretdoor2; // ds:0x3fb9, {0, 1 = found, 2 = unlocked}
  540. unsigned char g_dng14_secretdoor3; // ds:0x3fba, {0, 1 = found, 2 = unlocked}
  541. unsigned char g_dng14_secretdoor4; // ds:0x3fbb, {0, 1 = found, 2 = unlocked}
  542. unsigned char g_dng14_secretdoor5; // ds:0x3fbc, {0, 1 = found, 2 = unlocked}
  543. unsigned char g_dng14_poisontrap; // ds:0x3fbd
  544. unsigned char g_dng14_lvl2_fight; // ds:0x3fbe
  545. unsigned char g_dng14_booty_flag; // ds:0x3fbf
  546. unsigned char g_dng14_torches_flag; // ds:0x3fc0
  547. unsigned char g_dng14_spear_flag; // ds:0x3fc1
  548. unsigned char g_dng14_hatchet_flag; // ds:0x3fc2
  549. unsigned char g_dng14_ring_flag; // ds:0x3fc3
  550. unsigned char g_dng14_orknase_flag; // ds:0x3fc4
  551. unsigned char g_dng14_spooky_flag; // ds:0x3fc5
  552. unsigned char g_dng14_cellarexit_flag; // ds:0x3fc6
  553. unsigned char g_dng14_chest_pantry[9] = { 0x2d, 0x32, 0x17, 0x14, 0x5b, 0x14, 0x5c, 0x05, 0xff }; // ds:0x3fc7
  554. unsigned char g_dng14_chest_gear[13] = { 0x5d, 0x03, 0x49, 0x02, 0x79, 0x03, 0x41, 0x0e, 0x29, 0x14, 0x1a, 0x03, 0xff }; // ds:0x3fd0
  555. unsigned char g_dng14_chest_barrel[7] = { 0x05, 0x03, 0x67, 0x03, 0x69, 0x01, 0xff }; // ds:0x3fdd
  556. unsigned char g_dng14_chest_x1[7] = { 0x5c, 0x9a, 0x9a, 0x0e, 0x9b, 0x9b, 0xff }; // ds:0x3fe4
  557. unsigned char g_dng14_chest_x2[16] = { 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x9a, 0x9a, 0x9a, 0x9b, 0x9b, 0x9b, 0xff }; // ds:0x3feb
  558. unsigned char g_dng14_chest_x3[11] = { 0x09, 0x03, 0x0c, 0x01, 0x62, 0x04, 0x0d, 0x14, 0x0a, 0x32, 0xff }; // ds:0x3ffb
  559. unsigned char g_dng14_chest_x4[14] = { 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x0e, 0x0e, 0x0e, 0x0e, 0x87, 0x87, 0x92, 0xff }; // ds:0x4006
  560. unsigned char g_dng14_chest_x5[10] = { 0x5b, 0x5b, 0x5b, 0x5b, 0x5b, 0x5c, 0x5c, 0x91, 0x91, 0xff }; // ds:0x4014
  561. unsigned char g_dng14_chest_x6[8] = { 0x4a, 0x4a, 0x4a, 0x27, 0x27, 0x22, 0x4c, 0xff }; // ds:0x401e
  562. unsigned char g_dng14_chest_x7[7] = { 0xef, 0xef, 0xef, 0xef, 0xef, 0xef, 0xff }; // ds:0x4026
  563. unsigned char g_dng14_chest_x8[13] = { 0x88, 0x88, 0x88, 0x86, 0x86, 0x86, 0x05, 0x05, 0x05, 0x07, 0x07, 0x07, 0xff }; // ds:0x402d
  564. unsigned char g_dng14_fullmap_flag = 1; // ds:0x403a
  565. unsigned char g_dng02_chest00_content[2] = { 0x86, 0xff }; // ds:0x403b
  566. unsigned char g_dng02_chest01_content[4] = { 0x03, 0x62, 0x04, 0xff }; // ds:0x403d
  567. unsigned char g_dng02_chest06_content[4] = { 0x48, 0x1e, 0x0e, 0xff }; // ds:0x4041
  568. unsigned char g_dng02_chest02_content[8] = { 0x2f, 0x99, 0x91, 0x91, 0x94, 0xa7, 0xcb, 0xff }; // ds:0x4045
  569. unsigned char g_dng02_chest03_content[8] = { 0x2f, 0x95, 0xec, 0xb4, 0xa9, 0xcc, 0xf3, 0xff }; // ds:0x404d
  570. unsigned char g_dng02_chest05_content[8] = { 0x2f, 0x95, 0xec, 0xb4, 0xa9, 0xcc, 0xf3, 0xff }; // ds:0x4055
  571. signed char g_dng03_chest00_content[7] = { 0x4b, 0x4b, 0x4b, 0x4b, 0x4b, 0x4b, -1 }; // ds:0x405d
  572. signed char g_dng03_chest01_content[8] = { 0x79, 0x79, 0x1b, 0x49, 0x1a, 0x28, -0x6f, -1 }; // ds:0x4064
  573. signed char g_dng03_chest02_content[13] = { 0x5b, 0x5b, 0x5b, 0x5b, 0x5b, 0x5b, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, -1 }; // ds:0x406c
  574. signed char g_dng03_chest03_content[3] = { -0x28, -0x66, -1 }; // ds:0x4079
  575. signed char g_dng03_chest04_content[9] = { 0x4c, 0x4c, 0x4c, 0x5b, 0x5b, 0x5b, 0x5e, -0x01, -1 }; // ds:0x407c
  576. signed char g_dng03_chest06_content[8] = { 0x4c, 0x4c, 0x4c, 0x5b, 0x5b, 0x5b, 0x5e, -1 }; // ds:0x4085
  577. signed char g_dng03_chest07_content[2] = { -0x1f, -1 }; // ds:0x408d
  578. signed char g_dng03_chest08_content[4] = { -0x66, -0x66, -0x66, -1 }; // ds:0x408f
  579. signed char g_dng03_chest09_content[11] = { 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, -1 }; // ds:0x4093
  580. signed char g_dng03_chest12_content[7] = { -0x0b, -0x0b, -0x0a, 0x27, 0x27, -0x2d, -1 }; // ds:0x409e
  581. signed char g_dng04_chest_corpse0[4] = { 0x03, 0x0e, 0x5c, -1 }; // ds:0x40a5
  582. signed char g_dng04_chest_corpse1[12] = { 0x01, 0x01, -0x78, 0x0e, 0x0e, 0x6e, 0x50, 0x79, 0x49, 0x19, -0x50, -1 }; // ds:0x40a9
  583. signed char g_dng04_chest_corpse2[10] = { 0x0e, 0x13, 0x54, 0x79, 0x48, 0x1e, 0x55, 0x2e, -0x6e, -1 }; // ds:0x40b5
  584. signed char g_dng06_chest1_content[16] = { 0x70, 0x70, 0x01, 0x01, 0x35, 0x35, 0x4e, 0x4e, 0x07, 0x07, 0x0e, 0x0e, 0x0c, 0x0c, 0x50, -1 }; // ds:0x40bf
  585. signed char g_dng06_chest_dasptreas[17] = { -0x3a, 0x01, 0x4a, 0x01, 0x4a, 0x01, -0x6e, 0x01, -0x6e, 0x01, -0x65, 0x01, -0x65, 0x01, -0x67, 0x01, -1 }; // ds:0x40cf
  586. signed char g_dng08_chest1_content[11] = { 0x03, 0x08, 0x05, 0x03, 0x42, 0x02, 0x09, 0x01, 0x0a, 0x28, -1 }; // ds:0x40e0
  587. signed char g_dng08_chest2_content[2] = { -0x4f, -1 }; // ds:0x40eb
  588. signed char g_dng08_chest4_content[2] = { -0x4e, -1 }; // ds:0x40ed
  589. signed char g_dng08_chest5_content[6] = { 0x27, 0x27, 0x4a, -0x6d, -0x4d, -1 }; // ds:0x40ef
  590. unsigned char g_dng09_lever1_flag; // ds:0x40f5
  591. unsigned char g_dng09_bolttrap1_flag = 3; // ds:0x40f6
  592. unsigned char g_dng09_bolttrap2_flag = 3; // ds:0x40f7
  593. unsigned char g_dng09_bolttrap3_flag = 1; // ds:0x40f8
  594. unsigned char g_dng09_cultist_flag = 1; // ds:0x40f9
  595. unsigned char g_dng09_lever2_flag; // ds:0x40fa
  596. unsigned char g_dng09_bolttrap4_flag = 0x0a; // ds:0x40fb
  597. unsigned char g_dng09_crystal_flag; // ds:0x40fc
  598. unsigned char g_dng09_pit_flag; // ds:0x40fd, , number of heroes in pit
  599. // ?1
  600. unsigned char g_dng09_altar_flag; // ds:0x40ff
  601. unsigned char g_dng09_secretdoor1; // ds:0x4100, {0, 1 = found, 2 = unlocked}
  602. unsigned char g_dng09_secretdoor2; // ds:0x4101, {0, 1 = found, 2 = unlocked}
  603. unsigned char g_dng09_chest0[12] = { 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x5b, 0x5b, 0x5c, 0xff }; // ds:0x4102
  604. unsigned char g_dng09_chest1[10] = { 0x4c, 0x4c, 0x4c, 0x19, 0x19, 0x19, 0x29, 0x29, 0x29, 0xff }; // ds:0x410e
  605. unsigned char g_dng09_chest2[8] = { 0x4a, 0x4a, 0x27, 0x27, 0x27, 0xea, 0x9a, 0xff }; // ds:0x4118
  606. unsigned char g_dng09_chest3[21] = { 0x4b, 0x4b, 0x4b, 0x30, 0x30, 0x30, 0x31, 0x31, 0x31, 0x0e, 0x0e, 0x0e, 0x01, 0x5b, 0x17, 0xff, 0x01, 0x0e, 0x4a, 0x23, 0xff }; // ds:0x4120
  607. unsigned char g_dng09_chest5[4] = { 0xbd, 0xbe, 0x4c, 0xff }; // ds:0x4135
  608. unsigned char g_dng09_chest6[7] = { 0x4a, 0x4a, 0x27, 0x27, 0x27, 0xd9, 0xff }; // ds:0x4139
  609. char g_dng10_corpse_looted; // ds:0x4140, unsgiend
  610. unsigned char g_dng10_lever_found; // ds:0x4141, ; default = 0
  611. unsigned char g_dng10_hole_state; // ds:0x4142, ; default = 0
  612. unsigned char g_dng10_lever_state; // ds:0x4143, ; default = 0
  613. unsigned char g_dng10_hole_damage; // ds:0x4144, {0, 1, ..., 255} ; default = 0
  614. unsigned char g_dng10_floorplate_found; // ds:0x4145
  615. unsigned char g_dng10_floorplate_loads = 3; // ds:0x4146, ; default = 3
  616. char g_dng10_mummy_lever; // ds:0x4147
  617. char g_dng10_heshtot; // ds:0x4148
  618. char g_dng10_dragon_quest; // ds:0x4149
  619. char g_dng10_hoard_plundered; // ds:0x414a
  620. char g_dng10_chest0_content[5] = { 0x50, 0x1b, -0x6f, -0x49, -1 }; // ds:0x414b
  621. char g_dng10_chest1_content[4] = { -0x6f, -0x6e, -0x6f, -1 }; // ds:0x4150
  622. char g_dng10_chest2_content[4] = { -0x66, -0x65, -0x66, -1 }; // ds:0x4154
  623. char g_dng10_chest3_content[3] = { -0x39, -0x3b, -1 }; // ds:0x4158
  624. char g_dng10_chest4_content[2] = { -0x21, -1 }; // ds:0x415b
  625. unsigned char g_dng11_waterbarrel1 = 0x50; // ds:0x415d
  626. unsigned char g_dng11_waterbarrel2 = 0x14; // ds:0x415e
  627. unsigned char g_dng11_efferd_sacrifice; // ds:0x415f
  628. unsigned char g_dng11_efferd_hint; // ds:0x4160
  629. unsigned char g_dng11_unknown1_flag; // ds:0x4161
  630. unsigned char g_dng11_firetrap1_flag = 2; // ds:0x4162
  631. unsigned char g_dng11_unknown2_flag = 1; // ds:0x4163
  632. unsigned char g_dng11_firetrap2_flag = 3; // ds:0x4164
  633. unsigned char g_dng11_secretdoor1_flag; // ds:0x4165
  634. unsigned char g_dng11_secretdoor2_flag; // ds:0x4166
  635. unsigned char g_dng11_secretdoor3_flag; // ds:0x4167
  636. unsigned char g_dng11_lever_flag = 2; // ds:0x4168, {0-5}
  637. unsigned char g_dng11_proviant1_flag; // ds:0x4169
  638. unsigned char g_dng11_proviant2_flag; // ds:0x416a
  639. unsigned char g_dng11_chest3[15] = { 0x03, 0x03, 0x03, 0x03, 0x03, 0x70, 0x70, 0x70, 0x70, 0x70, 0x01, 0x86, 0x86, 0x88, 0xff }; // ds:0x416b
  640. unsigned char g_dng11_chest4[11] = { 0x09, 0x09, 0x05, 0x05, 0x05, 0x05, 0x05, 0x0c, 0xfb, 0xfc, 0xff }; // ds:0x417a
  641. unsigned char g_dng11_chest5[5] = { 0x0e, 0x5c, 0x27, 0x30, 0xff }; // ds:0x4185
  642. unsigned char g_dng11_chest6[7] = { 0x86, 0x27, 0x5b, 0x60, 0x31, 0x91, 0xff }; // ds:0x418a
  643. unsigned char g_dng11_chest7 = 0xff; // ds:0x4191
  644. unsigned char g_dng11_chest8[6] = { 0x5c, 0x5c, 0x5c, 0x0e, 0x91, 0xff }; // ds:0x4192
  645. unsigned char g_dng11_chest9[6] = { 0x1a, 0x5d, 0x49, 0x87, 0x87, 0xff }; // ds:0x4198
  646. unsigned char g_dng11_chest10[11] = { 0x79, 0x79, 0x79, 0x79, 0x1b, 0x1b, 0x1b, 0x1b, 0xfd, 0x87, 0xff }; // ds:0x419e
  647. unsigned char g_dng11_chest11[4] = { 0x5b, 0xc0, 0x0e, 0xff }; // ds:0x41a9
  648. unsigned char g_dng11_chest12[13] = { 0x4a, 0x4a, 0x4a, 0x4a, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x4c, 0x4c, 0xff }; // ds:0x41ad
  649. unsigned char g_dng11_chest13[6] = { 0x91, 0x94, 0x2f, 0xcb, 0x01, 0xff }; // ds:0x41ba
  650. unsigned char g_dng11_chest14[6] = { 0x24, 0x1d, 0x5b, 0x9a, 0xbd, 0xff }; // ds:0x41c0
  651. unsigned char g_dng15_took_cursed_money; // ds:0x41c6
  652. unsigned char g_dng15_unknown_flag = 1; // ds:0x41c7
  653. unsigned char g_dng15_reached_hands; // ds:0x41c8
  654. unsigned char g_dng15_lever_south; // ds:0x41c9
  655. unsigned char g_dng15_lever_north; // ds:0x41ca
  656. unsigned char g_dng15_took_hoe; // ds:0x41cb
  657. unsigned char g_dng15_ceilings_a[18] = { 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 2, 3, 1, 1 }; // ds:0x41cc
  658. unsigned char g_dng15_cursed_money_a[6]; // ds:0x41de
  659. unsigned char g_dng15_undead_fight; // ds:0x41e4
  660. unsigned char g_dng15_chest_equips[7] = { 0x5d, 0x02, 0x1b, 0x03, 0x65, 0x01, 0xff }; // ds:0x41e5
  661. unsigned char g_dng01_chest1_content[8] = { 0x70, 0x79, 0x79, 0x79, 0x1b, 0x08, 0x18, 0xff }; // ds:0x41ec
  662. unsigned char g_dng01_chest2_content[10] = { 0x03, 0x6d, 0x5c, 0x19, 0x29, 0x24, 0x1d, 0x27, 0x91, 0xff }; // ds:0x41f4
  663. unsigned char g_dng01_chest3_content[2] = { 0x0e, 0xff }; // ds:0x41fe
  664. unsigned char g_dng01_chest5_content[13] = { 0x6e, 0x6e, 0x03, 0x03, 0x70, 0x70, 0x43, 0x62, 0x62, 0x62, 0x10, 0x66, 0xff }; // ds:0x4200
  665. unsigned char g_dng01_chest7_content[5] = { 0x01, 0x0e, 0x4a, 0x23, 0xff }; // ds:0x420d
  666. unsigned char g_unconscious_message[7]; // ds:0x4212
  667. unsigned char g_food_message[7]; // ds:0x4219
  668. // ?2
  669. short g_cityindex; // ds:0x4222
  670. short g_typeindex; // ds:0x4224
  671. unsigned char g_dng03_highpriest_killed; // ds:0x4226, {0, 14 = in fight 224, 16 = in fight 222}
  672. unsigned char g_dng03_chest12_loads = 6; // ds:0x4227, {0,1,...,6}
  673. unsigned short g_trv_i; // ds:0x4228
  674. unsigned short g_route_stepcount; // ds:0x422a
  675. unsigned short g_forcedmarch_le_cost; // ds:0x422c
  676. unsigned short g_route_total_steps; // ds:0x422e
  677. unsigned short g_route_length; // ds:0x4230
  678. unsigned short g_route_duration; // ds:0x4232
  679. unsigned short g_route_timedelta; // ds:0x4234
  680. unsigned short g_route_mousehover; // ds:0x4236
  681. unsigned short g_route_progress; // ds:0x4238
  682. unsigned short g_route_stepsize; // ds:0x423a
  683. unsigned short g_route_dayprogress; // ds:0x423c
  684. unsigned short g_sea_travel_passage_no; // ds:0x423e
  685. unsigned short g_route_encounter_flag; // ds:0x4240
  686. unsigned short g_route_encounter_time; // ds:0x4242
  687. unsigned short g_route_informer_flag; // ds:0x4244
  688. unsigned short g_route_informer_time; // ds:0x4246
  689. unsigned short g_route_fight_flag; // ds:0x4248
  690. unsigned short g_route_fight_time; // ds:0x424a
  691. unsigned short g_travel_speed; // ds:0x424c
  692. unsigned short g_passage_deadship_flag; // ds:0x424e
  693. unsigned short g_passage_deadship_time; // ds:0x4250
  694. unsigned short g_passage_octopus_flag; // ds:0x4252
  695. unsigned short g_passage_octopus_time; // ds:0x4254
  696. unsigned short g_passage_pirates_flag; // ds:0x4256
  697. unsigned short g_passage_pirates_time; // ds:0x4258
  698. //RealPt g_route_course_ptr; // ds:0x425a
  699. //RealPt g_route_course_start; // ds:0x425e
  700. //RealPt g_route_course_ptr2; // ds:0x4262
  701. //RealPt g_sea_travel_courses; // ds:0x4266
  702. unsigned long g_tevents_tab_ptr; // ds:0x426a
  703. unsigned long g_travel_route_ptr; // ds:0x426e
  704. //struct{short place, event_id;} g_route_tevents[15]; // ds:0x4272
  705. signed char g_sea_travel_psgbooked_flag; // ds:0x42ae
  706. signed char g_sea_travel_psgbooked_timer; // ds:0x42af
  707. signed char g_sea_travel_passage_unkn1; // ds:0x42b0
  708. signed char g_sea_travel_passage_id; // ds:0x42b1
  709. //struct{unsigned char[12];} g_sea_travel_menu_passages[10]; // ds:0x42b2
  710. signed short g_sea_travel_passage_price; // ds:0x432a
  711. signed short g_sea_travel_passage_unkn2; // ds:0x432c
  712. //RealPt g_travel_map_ptr; // ds:0x432e
  713. unsigned char g_forcedmarch_timer; // ds:0x4332
  714. unsigned char g_travel_detour; // ds:0x4333
  715. unsigned short g_current_dirsign; // ds:0x4334
  716. signed short g_trv_return; // ds:0x4336, {-1, 0, 1, 2} + ?
  717. unsigned short g_trv_dest_reached; // ds:0x4338
  718. unsigned short g_arrival_x_target; // ds:0x433a
  719. unsigned short g_arrival_y_target; // ds:0x433c
  720. signed short g_arrival_direction; // ds:0x433e
  721. //RealPt g_tm_unused1_ptr; // ds:0x4340
  722. unsigned char g_trv_menu_towns[6]; // ds:0x4344
  723. unsigned short g_trv_destination; // ds:0x434a
  724. signed char g_dng08_waterbarrel; // ds:0x434c
  725. unsigned char g_dng13_collapsecount; // ds:0x434d
  726. unsigned char g_dng13_herocount; // ds:0x434e
  727. signed short g_camp_incident = -1; // ds:0x434f, -1 = not determined or will not happen, 0,1,2 = guard that will be affected
  728. char g_known_monsters[78]; // ds:0x4351
  729. unsigned char g_nameless_destroyed; // ds:0x439f
  730. unsigned char g_deadship_final; // ds:0x43a0
  731. unsigned char g_dng09_lever_fast; // ds:0x43a1
  732. unsigned char g_dng11_soup_supply = 0x0a; // ds:0x43a2
  733. signed short g_arsenal_money = -1; // ds:0x43a3, {-1, 0 - 60 }
  734. signed char g_announce_day; // ds:0x43a5, UNUSED
  735. char g_known_persons[17]; // ds:0x43a6
  736. // ?3
  737. signed short g_diary_entry_counter; // ds:0x43ba
  738. //struct{short day, month, year, town;} g_diary_entries[23]; // ds:0x43bc
  739. char g_datseg_status_end; // ds:0x4474
  740. unsigned char g_fading_state; // ds:0x4475
  741. unsigned char g_music_enabled = 1; // ds:0x4476
  742. unsigned char g_snd_effects_enabled; // ds:0x4477
  743. // ?2
  744. signed short g_music_current_track = -1; // ds:0x447a
  745. unsigned short g_snd_voc_enabled; // ds:0x447c
  746. // ?2
  747. //RealPt g_str_file_missing_ptr = 0x14fc48b5; // ds:0x4480, to STR_FILE_MISSING
  748. unsigned short g_mouse_irq_init; // ds:0x4484
  749. // ?4
  750. char g_pause_string[10] = "P A U S E"; // ds:0x448a
  751. unsigned char g_npc_last_farewellcheck; // ds:0x4494
  752. char g_check_party; // ds:0x4495
  753. char g_food_mod; // ds:0x4496
  754. unsigned char g_travel_herokeeping; // ds:0x4497
  755. //struct{unsigned char r,g,b;} g_floor_fade_palette[32] = { { 0x00, 0x00, 0x00 }, { 0x28, 0x00, 0x28 }, { 0x16, 0x0c, 0x08 }, { 0x13, 0x09, 0x06 }, { 0x11, 0x06, 0x03 }, { 0x0f, 0x04, 0x01 }, { 0x0c, 0x01, 0x00 }, { 0x0a, 0x00, 0x00 }, { 0x08, 0x00, 0x00 }, { 0x05, 0x00, 0x00 }, { 0x03, 0x00, 0x00 }, { 0x01, 0x00, 0x00 }, { 0x00, 0x09, 0x00 }, { 0x00, 0x07, 0x00 }, { 0x00, 0x05, 0x00 }, { 0x00, 0x03, 0x00 }, { 0x00, 0x01, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x1f }, { 0x00, 0x00, 0x1c }, { 0x00, 0x00, 0x1a }, { 0x00, 0x00, 0x18 }, { 0x00, 0x00, 0x16 }, { 0x00, 0x00, 0x14 }, { 0x00, 0x00, 0x11 }, { 0x00, 0x00, 0x0f }, { 0x00, 0x00, 0x0d }, { 0x00, 0x00, 0x0b } }; // ds:0x4498
  756. //struct{unsigned char r,g,b;} g_building_fade_palette[32] = { { 0x00, 0x00, 0x00 }, { 0x22, 0x22, 0x26 }, { 0x1b, 0x1b, 0x1f }, { 0x15, 0x15, 0x19 }, { 0x0f, 0x0f, 0x13 }, { 0x09, 0x09, 0x0d }, { 0x03, 0x03, 0x07 }, { 0x00, 0x00, 0x04 }, { 0x00, 0x00, 0x00 }, { 0x20, 0x19, 0x19 }, { 0x1b, 0x12, 0x12 }, { 0x16, 0x0c, 0x0c }, { 0x11, 0x06, 0x07 }, { 0x0b, 0x00, 0x04 }, { 0x07, 0x00, 0x04 }, { 0x01, 0x00, 0x00 }, { 0x00, 0x00, 0x00 }, { 0x0a, 0x00, 0x00 }, { 0x15, 0x00, 0x04 }, { 0x20, 0x00, 0x04 }, { 0x13, 0x15, 0x09 }, { 0x09, 0x0e, 0x03 }, { 0x00, 0x07, 0x04 }, { 0x00, 0x00, 0x04 }, { 0x00, 0x00, 0x00 }, { 0x1b, 0x0e, 0x04 }, { 0x12, 0x07, 0x04 }, { 0x09, 0x00, 0x04 }, { 0x00, 0x00, 0x01 }, { 0x00, 0x00, 0x08 }, { 0x00, 0x03, 0x0f }, { 0x00, 0x08, 0x16 } }; // ds:0x44f8
  757. //struct{unsigned char r,g,b;} g_sky_fade_palette[32] = { { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x11 }, { 0x00, 0x00, 0x1b }, { 0x28, 0x00, 0x28 }, { 0x28, 0x00, 0x28 }, { 0x0e, 0x0e, 0x19 }, { 0x0b, 0x0b, 0x17 }, { 0x09, 0x09, 0x15 }, { 0x07, 0x07, 0x14 }, { 0x05, 0x05, 0x12 }, { 0x04, 0x04, 0x11 }, { 0x02, 0x02, 0x0f }, { 0x01, 0x01, 0x0d }, { 0x01, 0x01, 0x0c }, { 0x00, 0x00, 0x0a }, { 0x00, 0x00, 0x09 }, { 0x00, 0x00, 0x0e }, { 0x00, 0x00, 0x0b }, { 0x00, 0x00, 0x09 }, { 0x00, 0x00, 0x07 }, { 0x00, 0x00, 0x04 }, { 0x00, 0x00, 0x02 }, { 0x00, 0x00, 0x00 }, { 0x28, 0x00, 0x28 }, { 0x28, 0x00, 0x28 }, { 0x28, 0x00, 0x28 }, { 0x28, 0x00, 0x28 }, { 0x28, 0x00, 0x28 }, { 0x07, 0x07, 0x16 }, { 0x07, 0x07, 0x15 }, { 0x07, 0x07, 0x14 }, { 0x08, 0x07, 0x13 } }; // ds:0x4558
  758. unsigned char g_special_screen = 1; // ds:0x45b8, , e.g. diary, treasure map, game options, automap
  759. //struct{char month, day, id;} g_special_days[43] = { { 0x01, 0x01, 0x01 }, { 0x01, 0x02, 0x02 }, { 0x01, 0x03, 0x02 }, { 0x02, 0x05, 0x03 }, { 0x02, 0x0f, 0x04 }, { 0x02, 0x10, 0x04 }, { 0x03, 0x01, 0x05 }, { 0x03, 0x09, 0x06 }, { 0x03, 0x10, 0x07 }, { 0x03, 0x1d, 0x08 }, { 0x03, 0x1e, 0x09 }, { 0x04, 0x01, 0x0a }, { 0x04, 0x02, 0x0b }, { 0x04, 0x03, 0x0b }, { 0x04, 0x04, 0x0c }, { 0x04, 0x0c, 0x0d }, { 0x05, 0x01, 0x0e }, { 0x05, 0x16, 0x0f }, { 0x05, 0x18, 0x10 }, { 0x05, 0x1e, 0x11 }, { 0x06, 0x07, 0x12 }, { 0x06, 0x1e, 0x13 }, { 0x07, 0x01, 0x14 }, { 0x07, 0x1e, 0x15 }, { 0x08, 0x05, 0x16 }, { 0x08, 0x1e, 0x17 }, { 0x09, 0x10, 0x18 }, { 0x09, 0x18, 0x19 }, { 0x09, 0x1e, 0x1a }, { 0x0a, 0x01, 0x1b }, { 0x0a, 0x12, 0x1c }, { 0x0b, 0x01, 0x1d }, { 0x0b, 0x08, 0x1e }, { 0x0b, 0x15, 0x1f }, { 0x0c, 0x01, 0x20 }, { 0x0c, 0x02, 0x20 }, { 0x0c, 0x03, 0x20 }, { 0x0c, 0x04, 0x20 }, { 0x0c, 0x05, 0x20 }, { 0x0c, 0x06, 0x20 }, { 0x0c, 0x07, 0x20 }, { 0x0c, 0x1e, 0x21 }, { -0x01, 0x00, 0x00 } }; // ds:0x45b9
  760. char g_months_spring[4] = { 0x0a, 0x0b, 0x0c, -1 }; // ds:0x463a
  761. char g_months_winter[4] = { 7, 8, 9, -1 }; // ds:0x463e
  762. char g_months_summer[4] = { 1, 2, 3, -1 }; // ds:0x4642
  763. signed short g_bank_heller; // ds:0x4646
  764. char g_consume_quiet; // ds:0x4648
  765. unsigned char g_herokeeping_flag; // ds:0x4649
  766. // ?4
  767. signed long g_level_ap_tab[21] = { 0x00000000, 0x00000064, 0x0000012c, 0x00000258, 0x000003e8, 0x000005dc, 0x00000834, 0x00000af0, 0x00000e10, 0x00001194, 0x0000157c, 0x000019c8, 0x00001e78, 0x0000238c, 0x00002904, 0x00002ee0, 0x00003520, 0x00003bc4, 0x000042cc, 0x00004a38, 0x00005208 }; // ds:0x464e
  768. unsigned char g_delay_or_keypress_flag; // ds:0x46a2, writeonly (0,1)
  769. signed short g_merchant_items_posx[15] = { 0x001e, 0x001e, 0x001e, 0x001e, 0x001e, 0x005f, 0x005f, 0x005f, 0x005f, 0x005f, 0x00a0, 0x00a0, 0x00a0, 0x00a0, 0x00a0 }; // ds:0x46a3
  770. signed short g_merchant_items_posy[15] = { 0x0023, 0x0037, 0x004b, 0x005f, 0x0073, 0x0023, 0x0037, 0x004b, 0x005f, 0x0073, 0x0023, 0x0037, 0x004b, 0x005f, 0x0073 }; // ds:0x46c1
  771. signed char g_refresh_status_line; // ds:0x46df
  772. char g_dsa_version_string[12] = "DSA VERSION"; // ds:0x46e0
  773. char g_game_version[6] = "V3.02"; // ds:0x46ec
  774. // ?6
  775. unsigned char g_version_token1 = 3; // ds:0x46f8, = 3
  776. unsigned char g_version_token2 = 1; // ds:0x46f9, = 1
  777. unsigned char g_version_token3 = 1; // ds:0x46fa, = 1
  778. unsigned char g_version_token4 = 1; // ds:0x46fb, = 1
  779. //struct{unsigned char[19];} g_questions_handbook[10] = { { 0x01, 0x06, 0x02, 0x07, 0xab, 0xb7, 0xb0, 0xad, 0xa8, 0xbe, 0xb3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x07, 0x01, 0x0c, 0xa9, 0xb0, 0xad, 0xac, 0xb6, 0xbc, 0xb7, 0xab, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x02, 0x01, 0x11, 0xa8, 0xb6, 0xac, 0xac, 0xba, 0xb1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x03, 0x02, 0x19, 0xb0, 0xad, 0xab, 0xba, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x05, 0x02, 0x3a, 0xb7, 0xba, 0xa7, 0xba, 0xb1, 0xb4, 0xb1, 0xb0, 0xab, 0xba, 0xb1, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x3c, 0xac, 0xab, 0xbe, 0xbd, 0xa5, 0xbe, 0xaa, 0xbd, 0xba, 0xad, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x05, 0x01, 0x43, 0xaf, 0xbe, 0xad, 0xbe, 0xbb, 0xba, 0xa8, 0xba, 0xad, 0xab, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x01, 0x01, 0x4a, 0xac, 0xb4, 0xba, 0xb3, 0xba, 0xab, 0xab, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x05, 0x02, 0x4d, 0xb0, 0xb3, 0xb8, 0xb6, 0xb1, 0xa8, 0xaa, 0xad, 0xa5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x02, 0x01, 0x57, 0xbe, 0xbd, 0xac, 0xbc, 0xb7, 0xb1, 0xb6, 0xab, 0xab, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x46fc
  780. //struct{unsigned char[3];} g_questions_map[10] = { { 0x00, 0x0a, 0x09 }, { 0x01, 0x05, 0x06 }, { 0x03, 0x26, 0x20 }, { 0x01, 0x1e, 0x1c }, { 0x02, 0x14, 0x11 }, { 0x02, 0x08, 0x07 }, { 0x00, 0x0b, 0x0c }, { 0x00, 0x28, 0x29 }, { 0x00, 0x18, 0x2e }, { 0x03, 0x19, 0x1a } }; // ds:0x47ba
  781. char g_snd_menu_question[17] = "BITTE AUSW\x8eHLEN:"; // ds:0x47d8
  782. char g_snd_menu_radio1[12] = "KEINE MUSIK"; // ds:0x47e9
  783. char g_snd_menu_radio2[10] = "NUR MUSIK"; // ds:0x47f5
  784. char g_snd_menu_radio3[12] = "NUR EFFEKTE"; // ds:0x47ff
  785. char g_snd_menu_radio4[18] = "MUSIK UND EFFEKTE"; // ds:0x480b
  786. char g_fname_sound_cfg[10] = "SOUND.CFG"; // ds:0x481d
  787. char g_fname_sound_adv2[10] = "SOUND.ADV"; // ds:0x4827
  788. char g_fname_digi_adv[9] = "DIGI.ADV"; // ds:0x4831
  789. char g_snd_txt_disabled_mem[51] = "SOUND EFFEKTE ABGESCHALTET - NICHT GENUG SPEICHER!"; // ds:0x483a
  790. char g_snd_txt_hw_not_found[31] = "SOUND HARDWARE NICHT GEFUNDEN!"; // ds:0x486d
  791. char g_fname_sound_adv[10] = "SOUND.ADV"; // ds:0x488c
  792. char g_snd_txt_hw_not_found2[31] = { 0x53, 0x4f, 0x55, 0x4e, 0x44, 0x20, 0x48, 0x41, 0x52, 0x44, 0x57, 0x41, 0x52, 0x45, 0x20, 0x4e, 0x49, 0x43, 0x48, 0x54, 0x20, 0x47, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x45, 0x4e, 0x21, 0x00 }; // ds:0x4896, == SND_TXT_HW_NOT_FOUND
  793. char g_str_file_missing[20] = "FILE %s IS MISSING!"; // ds:0x48b5
  794. // ?1
  795. char g_fname_schick_dat[11] = "SCHICK.DAT"; // ds:0x48ca
  796. char g_snd_txt_disabled_mem2[43] = "MUSIK ABGESCHALTET - NICHT GENUG SPEICHER!"; // ds:0x48d5
  797. char g_diary_string1[14] = "%2d-~%-8s~%s."; // ds:0x4900
  798. char g_diary_string2[17] = "%2d.~%-8s~IN %s."; // ds:0x490e
  799. char g_diary_string3[27] = "%2d.~%-8s~BESUCHEN VON %s."; // ds:0x491f
  800. char g_diary_string4[6] = "~~%s."; // ds:0x493a
  801. char g_diary_string5[9] = "~~IN %s."; // ds:0x4940
  802. char g_diary_string6[19] = "~~ABENTEUER IN %s."; // ds:0x4949
  803. char g_diary_string7[19] = "~~RUMH\x8eNGEN IN %s."; // ds:0x495c
  804. // ?1
  805. //struct{signed char x,y;} g_visual_field_dir0[31] = { { -0x01, 0x00 }, { 0x00, 0x00 }, { 0x01, 0x00 }, { -0x02, -1 }, { -0x01, -1 }, { 0x00, -1 }, { 0x01, -1 }, { 0x02, -1 }, { -0x03, -0x02 }, { -0x02, -0x02 }, { -0x01, -0x02 }, { 0x00, -0x02 }, { 0x01, -0x02 }, { 0x02, -0x02 }, { 0x03, -0x02 }, { -0x03, -0x03 }, { -0x02, -0x03 }, { -0x01, -0x03 }, { 0x00, -0x03 }, { 0x01, -0x03 }, { 0x02, -0x03 }, { 0x03, -0x03 }, { -0x03, -0x04 }, { -0x02, -0x04 }, { -0x01, -0x04 }, { 0x00, -0x04 }, { 0x01, -0x04 }, { 0x02, -0x04 }, { 0x03, -0x04 }, { 0x00, -1 }, { 0x00, 0x01 } }; // ds:0x4970
  806. //struct{signed char x,y;} g_visual_field_dir1[31] = { { 0x00, -1 }, { 0x00, 0x00 }, { 0x00, 0x01 }, { 0x01, -0x02 }, { 0x01, -1 }, { 0x01, 0x00 }, { 0x01, 0x01 }, { 0x01, 0x02 }, { 0x02, -0x03 }, { 0x02, -0x02 }, { 0x02, -1 }, { 0x02, 0x00 }, { 0x02, 0x01 }, { 0x02, 0x02 }, { 0x02, 0x03 }, { 0x03, -0x03 }, { 0x03, -0x02 }, { 0x03, -1 }, { 0x03, 0x00 }, { 0x03, 0x01 }, { 0x03, 0x02 }, { 0x03, 0x03 }, { 0x04, -0x03 }, { 0x04, -0x02 }, { 0x04, -1 }, { 0x04, 0x00 }, { 0x04, 0x01 }, { 0x04, 0x02 }, { 0x04, 0x03 }, { 0x01, 0x00 }, { -0x01, 0x00 } }; // ds:0x49ae
  807. //struct{signed char x,y;} g_visual_field_dir2[31] = { { 0x01, 0x00 }, { 0x00, 0x00 }, { -0x01, 0x00 }, { 0x02, 0x01 }, { 0x01, 0x01 }, { 0x00, 0x01 }, { -0x01, 0x01 }, { -0x02, 0x01 }, { 0x03, 0x02 }, { 0x02, 0x02 }, { 0x01, 0x02 }, { 0x00, 0x02 }, { -0x01, 0x02 }, { -0x02, 0x02 }, { -0x03, 0x02 }, { 0x03, 0x03 }, { 0x02, 0x03 }, { 0x01, 0x03 }, { 0x00, 0x03 }, { -0x01, 0x03 }, { -0x02, 0x03 }, { -0x03, 0x03 }, { 0x03, 0x04 }, { 0x02, 0x04 }, { 0x01, 0x04 }, { 0x00, 0x04 }, { -0x01, 0x04 }, { -0x02, 0x04 }, { -0x03, 0x04 }, { 0x00, 0x01 }, { 0x00, -1 } }; // ds:0x49ec
  808. //struct{signed char x,y;} g_visual_field_dir3[31] = { { 0x00, 0x01 }, { 0x00, 0x00 }, { 0x00, -1 }, { -0x01, 0x02 }, { -0x01, 0x01 }, { -0x01, 0x00 }, { -0x01, -1 }, { -0x01, -0x02 }, { -0x02, 0x03 }, { -0x02, 0x02 }, { -0x02, 0x01 }, { -0x02, 0x00 }, { -0x02, -1 }, { -0x02, -0x02 }, { -0x02, -0x03 }, { -0x03, 0x03 }, { -0x03, 0x02 }, { -0x03, 0x01 }, { -0x03, 0x00 }, { -0x03, -1 }, { -0x03, -0x02 }, { -0x03, -0x03 }, { -0x04, 0x03 }, { -0x04, 0x02 }, { -0x04, 0x01 }, { -0x04, 0x00 }, { -0x04, -1 }, { -0x04, -0x02 }, { -0x04, -0x03 }, { -0x01, 0x00 }, { 0x01, 0x00 } }; // ds:0x4a2a
  809. char g_noway_string[40] = "IN DIESE RICHTUNG GEHT ES NICHT WEITER."; // ds:0x4a68
  810. unsigned short g_ani_busy; // ds:0x4a90
  811. unsigned short g_pic_copy_flag; // ds:0x4a92
  812. char g_status_bar_colors[4] = { -0x10, 0x00, -0x07, 0x00 }; // ds:0x4a94, {le_color, 0, ae_color, 0}
  813. // ?2
  814. signed char g_status_page_hunger_max_counter; // ds:0x4a9a
  815. signed char g_status_page_hunger_max_color; // ds:0x4a9b
  816. signed char g_status_page_thirst_max_counter; // ds:0x4a9c
  817. signed char g_status_page_thirst_max_color; // ds:0x4a9d
  818. signed short g_wallclock_pos; // ds:0x4a9e, position of sun/moon
  819. signed char g_wallclock_pos_y[81] = { 0x14, 0x12, 0x11, 0x10, 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0b, 0x0a, 0x09, 0x09, 0x08, 0x07, 0x07, 0x06, 0x06, 0x05, 0x05, 0x05, 0x04, 0x04, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x05, 0x05, 0x05, 0x06, 0x06, 0x07, 0x07, 0x08, 0x09, 0x09, 0x0a, 0x0b, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x14 }; // ds:0x4aa0
  820. //struct{unsigned char r,g,b;} g_wallclock_palette_day[3] = { { 0x10, 0x14, 0x3c }, { 0x00, 0x08, 0x38 }, { 0x00, 0x08, 0x34 } }; // ds:0x4af1
  821. //struct{unsigned char r,g,b;} g_wallclock_palette_night[3] = { { 0x00, 0x00, 0x1a }, { 0x00, 0x00, 0x18 }, { 0x00, 0x00, 0x1c } }; // ds:0x4afa
  822. char g_color_pal_black[3] = { 0x3f, 0x3f, 0x3f }; // ds:0x4b03, {0x3f,0x3f,0x3f}
  823. //struct{unsigned char r,g,b;} g_palette_allblack[32]; // ds:0x4b06
  824. short g_delay_factor = 4; // ds:0x4b66
  825. //RealPt g_str_temp_xx_ptr = 0x14fc4b95; // ds:0x4b68, to STR_TEMP_XX
  826. signed char g_fig_star_colors[12] = { 0x03, 0x03, 0x0c, 0x0c, 0x04, 0x0b, 0x0d, 0x01, 0x07, 0x0e, 0x02, 0x07 }; // ds:0x4b6c
  827. signed char g_fig_star_counter; // ds:0x4b78
  828. signed short g_fig_star_timer; // ds:0x4b79
  829. unsigned char g_fig_star_last_count = 0xff; // ds:0x4b7b
  830. signed short g_fig_msg_dtps[12] = { 0x0036, 0x0037, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, 0x0000, 0x0000, 0x003b, 0x0000 }; // ds:0x4b7c
  831. signed char g_fig_star_printed; // ds:0x4b94
  832. char g_str_temp_xx[8] = "TEMP\\XX"; // ds:0x4b95
  833. // ?1
  834. signed short g_fight_figs_index = -1; // ds:0x4b9e
  835. unsigned short g_random_schick_seed = 0x327b; // ds:0x4ba0
  836. char g_emm_sig[8] = { 0x45, 0x4d, 0x4d, 0x58, 0x58, 0x58, 0x58, 0x30 }; // ds:0x4ba2
  837. //RealPt g_ems_frame_ptr; // ds:0x4baa
  838. //struct{signed short x1, x2, y1, y2; unsigned short action;} g_action_table_options[10] = { { 0x0005, 0x001e, 0x001c, 0x0035, 0x0081 }, { 0x0005, 0x003c, 0x001c, 0x0053, 0x0082 }, { 0x0005, 0x005a, 0x001c, 0x0071, 0x0083 }, { 0x0046, 0x00aa, 0x005d, 0x00c1, 0x0084 }, { 0x006e, 0x00aa, 0x0085, 0x00c1, 0x0085 }, { 0x0096, 0x00aa, 0x00ad, 0x00c1, 0x0086 }, { 0x00be, 0x00aa, 0x00d5, 0x00c1, 0x0087 }, { 0x00ec, 0x00aa, 0x0103, 0x00c1, 0x0088 }, { 0x0000, 0x0000, 0x013f, 0x00c7, 0x0089 }, { -0x0001, -0x0001, -0x0001, -0x0001, 0xffff } }; // ds:0x4bae
  839. signed short g_tmap_x[10] = { 0x0002, 0x0076, 0x00c1, 0x0003, 0x0076, 0x00c1, 0x0000, 0x0076, 0x00c1, 0x0000 }; // ds:0x4c12
  840. signed short g_tmap_y[10] = { 0x0004, 0x0004, 0x0004, 0x0046, 0x0046, 0x0046, 0x0088, 0x0088, 0x0088, 0x0088 }; // ds:0x4c26
  841. unsigned char g_renderbuf_in_use_flag; // ds:0x4c3a
  842. //RealPt g_location_handlers[19] = { 0x00000000, 0x14f90020, 0x137e0020, 0x13770020, 0x13620020, 0x13690020, 0x135c0020, 0x13650020, 0x13730020, 0x138e0020, 0x12de003e, 0x13860020, 0x12de0052, 0x12de004d, 0x12de0039, 0x00000000, 0x12de0048, 0x1392002f, 0x135f0020 }; // ds:0x4c3b, (void (*)(void))[19]
  843. // ?1
  844. //RealPt g_str_temp_xx_ptr2 = 0x14fc515e; // ds:0x4c88, to STR_TEMP_XX2
  845. long g_fnames[308] = { 0x14fc5167, 0x14fc5170, 0x14fc517b, 0x14fc5186, 0x14fc5191, 0x14fc519c, 0x14fc51a6, 0x14fc51ad, 0x14fc51b9, 0x14fc51c3, 0x14fc51cd, 0x14fc51d8, 0x14fc51de, 0x14fc51e4, 0x14fc51ee, 0x14fc51f7, 0x14fc51fd, 0x14fc5205, 0x14fc5211, 0x14fc5219, 0x14fc5225, 0x14fc522e, 0x14fc523b, 0x14fc5240, 0x14fc5249, 0x14fc524f, 0x14fc5259, 0x14fc5265, 0x14fc5270, 0x14fc527b, 0x14fc5288, 0x14fc5295, 0x14fc52a2, 0x14fc52ad, 0x14fc52ba, 0x14fc52c5, 0x14fc52d2, 0x14fc52dd, 0x14fc52e8, 0x14fc52f8, 0x14fc5303, 0x14fc5310, 0x14fc531a, 0x14fc5328, 0x14fc5335, 0x14fc5342, 0x14fc534f, 0x14fc535c, 0x14fc5369, 0x14fc5375, 0x14fc5380, 0x14fc538a, 0x14fc5396, 0x14fc539e, 0x14fc53a8, 0x14fc53b6, 0x14fc53c0, 0x14fc53cd, 0x14fc53da, 0x14fc53e3, 0x14fc53ee, 0x14fc53f7, 0x14fc5404, 0x14fc5410, 0x14fc541a, 0x14fc5423, 0x14fc542f, 0x14fc5439, 0x14fc5446, 0x14fc5453, 0x14fc5460, 0x14fc546b, 0x14fc5477, 0x14fc5484, 0x14fc548f, 0x14fc549b, 0x14fc54a8, 0x14fc54b5, 0x14fc54bf, 0x14fc54cb, 0x14fc54d6, 0x14fc54e1, 0x14fc54ee, 0x14fc54fb, 0x14fc5508, 0x14fc5513, 0x14fc5520, 0x14fc552b, 0x14fc5538, 0x14fc5543, 0x14fc554e, 0x14fc555b, 0x14fc5566, 0x14fc5573, 0x14fc557d, 0x14fc558a, 0x14fc5597, 0x14fc55a4, 0x14fc55b1, 0x14fc55be, 0x14fc55cb, 0x14fc55d7, 0x14fc55e2, 0x14fc55ec, 0x14fc55f8, 0x14fc5600, 0x14fc560a, 0x14fc5617, 0x14fc5621, 0x14fc562e, 0x14fc563b, 0x14fc5644, 0x14fc564f, 0x14fc5658, 0x14fc5665, 0x14fc5671, 0x14fc567b, 0x14fc5684, 0x14fc5690, 0x14fc569a, 0x14fc56a7, 0x14fc56b4, 0x14fc56c1, 0x14fc56cc, 0x14fc56d8, 0x14fc56e5, 0x14fc56f0, 0x14fc56fd, 0x14fc570a, 0x14fc5717, 0x14fc5723, 0x14fc572e, 0x14fc5739, 0x14fc5745, 0x14fc574f, 0x14fc5758, 0x14fc5764, 0x14fc5771, 0x14fc577b, 0x14fc5786, 0x14fc5791, 0x14fc579c, 0x14fc57a8, 0x14fc57b4, 0x14fc57c0, 0x14fc57cb, 0x14fc57d5, 0x14fc57df, 0x14fc57e7, 0x14fc57f2, 0x14fc57fb, 0x14fc5807, 0x14fc5811, 0x14fc5817, 0x14fc5821, 0x14fc5822, 0x14fc5823, 0x14fc582c, 0x14fc5838, 0x14fc5839, 0x14fc5846, 0x14fc5853, 0x14fc5860, 0x14fc586a, 0x14fc5874, 0x14fc587e, 0x14fc5888, 0x14fc5892, 0x14fc589c, 0x14fc58a6, 0x14fc58b2, 0x14fc58be, 0x14fc58ca, 0x14fc58d6, 0x14fc58df, 0x14fc58ea, 0x14fc58f7, 0x14fc5903, 0x14fc590c, 0x14fc5919, 0x14fc5926, 0x14fc592f, 0x14fc593a, 0x14fc5946, 0x14fc5953, 0x14fc595f, 0x14fc596c, 0x14fc5977, 0x14fc5982, 0x14fc598d, 0x14fc5998, 0x14fc59a4, 0x14fc59b1, 0x14fc59be, 0x14fc59cb, 0x14fc59d8, 0x14fc59e5, 0x14fc59f2, 0x14fc59ff, 0x14fc5a0c, 0x14fc5a19, 0x14fc5a26, 0x14fc5a32, 0x14fc5a3e, 0x14fc5a4a, 0x14fc5a56, 0x14fc5a60, 0x14fc5a6b, 0x14fc5a75, 0x14fc5a7e, 0x14fc5a87, 0x14fc5a94, 0x14fc5aa1, 0x14fc5aad, 0x14fc5ab8, 0x14fc5ac1, 0x14fc5aca, 0x14fc5ad2, 0x14fc5ade, 0x14fc5aea, 0x14fc5af6, 0x14fc5b00, 0x14fc5b0d, 0x14fc5b1a, 0x14fc5b25, 0x14fc5b31, 0x14fc5b39, 0x14fc5b45, 0x14fc5b50, 0x14fc5b5b, 0x14fc5b66, 0x14fc5b72, 0x14fc5b7b, 0x14fc5b86, 0x14fc5b90, 0x14fc5b96, 0x14fc5ba0, 0x14fc5bad, 0x14fc5bba, 0x14fc5bc4, 0x14fc5bce, 0x14fc5bd7, 0x14fc5be4, 0x14fc5bed, 0x14fc5bf6, 0x14fc5bff, 0x14fc5c08, 0x14fc5c11, 0x14fc5c1a, 0x14fc5c23, 0x14fc5c2c, 0x14fc5c35, 0x14fc5c3e, 0x14fc5c47, 0x14fc5c50, 0x14fc5c59, 0x14fc5c65, 0x14fc5c6f, 0x14fc5c78, 0x14fc5c81, 0x14fc5c8a, 0x14fc5c93, 0x14fc5c9c, 0x14fc5ca5, 0x14fc5cae, 0x14fc5cb7, 0x14fc5cc0, 0x14fc5cc9, 0x14fc5cd2, 0x14fc5cdb, 0x14fc5ce4, 0x14fc5cf0, 0x14fc5cfa, 0x14fc5d03, 0x14fc5d0c, 0x14fc5d15, 0x14fc5d1e, 0x14fc5d27, 0x14fc5d30, 0x14fc5d39, 0x14fc5d42, 0x14fc5d4b, 0x14fc5d54, 0x14fc5d5d, 0x14fc5d66, 0x14fc5d6f, 0x14fc5d7b, 0x14fc5d85, 0x14fc5d91, 0x14fc5d9b, 0x14fc5da3, 0x14fc5dab, 0x14fc5db3, 0x14fc5dbb, 0x14fc5dc3, 0x14fc5dcb, 0x14fc5dd3, 0x14fc5ddb, 0x14fc5de3, 0x14fc5dec, 0x14fc5df5, 0x14fc5dfe, 0x14fc5e07, 0x14fc5e10, 0x14fc5e19, 0x14fc5e22, 0x14fc5e2b, 0x14fc5e34 }; // ds:0x4c8c
  846. unsigned short g_loaded_head_id = 0xffff; // ds:0x515c
  847. char g_str_temp_xx2[8] = "TEMP\\XX"; // ds:0x515e
  848. // ds:0x5166, names of files in SCHICK.DAT
  849. char g_chr_file_suffix[5] = ".CHR"; // ds:0x5e3e
  850. char g_savegame_suffix[5] = ".GAM"; // ds:0x5e43
  851. char g_all_files_wildcard[4] = "*.*"; // ds:0x5e48
  852. char g_all_chr_wildcard[6] = "*.CHR"; // ds:0x5e4c
  853. char g_empty_string1 = ""; // ds:0x5e52
  854. char g_empty_string2 = ""; // ds:0x5e53
  855. char g_savegame_suffix2[5] = ".gam"; // ds:0x5e54
  856. char g_savegame_suffix3[5] = ".gam"; // ds:0x5e59
  857. char g_all_chr_wildcard2[6] = "*.CHR"; // ds:0x5e5e
  858. char g_all_chr_wildcard3[6] = "*.CHR"; // ds:0x5e64
  859. //RealPt g_pp20_buffers[9]; // ds:0x5e6a
  860. unsigned long g_pp20_buffer_lengths[9]; // ds:0x5e8e
  861. unsigned short g_current_fight_id; // ds:0x5eb2
  862. // ?4
  863. unsigned short g_locations_tab_size; // ds:0x5eb8
  864. unsigned short g_areadescr_dng_level; // ds:0x5eba
  865. unsigned short g_areadescr_fileid; // ds:0x5ebc
  866. unsigned short g_areadescr_dng_flag; // ds:0x5ebe
  867. signed short g_ems_unused_lpage; // ds:0x5ec0
  868. signed short g_ems_unused_offset = 0x0300; // ds:0x5ec2
  869. // ?8
  870. signed char g_loaded_menu_icons[9] = { -2, -2, -2, -2, -2, -2, -2, -2, -2 }; // ds:0x5ecc, { -2, -2, -2, -2, -2, -2, -2, -2, -2 }
  871. // ?1
  872. //struct{short name_id; char town, unkn;} g_informer_tab[15] = { { 0x02bc, 0x26, 0x00 }, { 0x02bd, 0x25, 0x00 }, { 0x02be, 0x19, 0x01 }, { 0x02bf, 0x1c, 0x00 }, { 0x02c0, 0x14, 0x00 }, { 0x02c1, 0x2e, 0x01 }, { 0x02c2, 0x0d, 0x00 }, { 0x02c3, 0x03, 0x00 }, { 0x02c4, 0x2b, 0x01 }, { 0x02c5, -0x01, 0x00 }, { 0x02c6, -0x01, 0x01 }, { 0x02c7, -0x01, 0x00 }, { 0x02c8, -0x01, 0x00 }, { 0x02c9, 0x1f, 0x01 }, { 0x02ca, 0x30, 0x00 } }; // ds:0x5ed6
  873. signed short g_fig_dropped_counter; // ds:0x5f12
  874. unsigned short g_fig_all_heroes_withdrawn; // ds:0x5f14
  875. signed short g_max_enemies; // ds:0x5f16, an upper bound for the number of enemies
  876. char g_str_error_on_obj_malloc[23] = "ERROR ON OBJECT MALLOC"; // ds:0x5f18
  877. // ?1
  878. unsigned char g_finalfight_tumult; // ds:0x5f30
  879. unsigned char g_autofight_magic; // ds:0x5f31
  880. char g_red_string1[5] = "\xf1%s\xf0"; // ds:0x5f32
  881. char g_red_string2[5] = "\xf1%s\xf0"; // ds:0x5f37
  882. char g_space_separated_strings[6] = "%s %s"; // ds:0x5f3c
  883. char g_empty_string3 = ""; // ds:0x5f42
  884. char g_empty_string4 = ""; // ds:0x5f43
  885. char g_empty_string5 = ""; // ds:0x5f44
  886. // ?1
  887. signed short g_cb_obj_nonobstacle[27] = { 0x0017, 0x0018, 0x0019, 0x001a, 0x001b, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, -1 }; // ds:0x5f46, { 23,24,25,26,27,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,-1 }
  888. //struct{signed short x, y;} g_viewdir_offsets1[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5f7c, ; { , {0,-1}, {-1,0},  }
  889. //struct{signed short x, y;} g_viewdir_offsets2[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5f8c, ; { , {0,-1}, {-1,0},  }
  890. char g_string_14spaces[15] = "              "; // ds:0x5f9c
  891. // ?1
  892. char g_af_spell_list[11] = { 0x34, 0x0c, 0x35, 0x21, 0x08, 0x1b, 0x2e, 0x31, 0x36, 0x38, 0x48 }; // ds:0x5fac
  893. //struct{signed short x,y;} g_viewdir_offsets3[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5fb7, ; { , {0,-1}, {-1,0},  }
  894. //struct{signed short x,y;} g_viewdir_offsets4[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5fc7, ; { , {0,-1}, {-1,0},  }
  895. // ?1
  896. //struct{signed short x,y;} g_viewdir_offsets5[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5fd8, ; { , {0,-1}, {-1,0},  }
  897. //struct{signed short x,y;} g_viewdir_offsets6[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x5fe8, ; { , {0,-1}, {-1,0},  }
  898. //struct{signed short x,y;} g_viewdir_invoffsets1[4] = { { -0x0001, 0x0000 }, { 0x0000, 0x0001 }, { 0x0001, 0x0000 }, { 0x0000, -1 } }; // ds:0x5ff8, ; { {-1,0}, , , {0,-1} }
  899. //struct{signed short x,y;} g_viewdir_offsets7[4] = { { 0x0001, 0x0000 }, { 0x0000, -1 }, { -0x0001, 0x0000 }, { 0x0000, 0x0001 } }; // ds:0x6008, ; { , {0,-1}, {-1,0},  }
  900. //struct{signed short x,y;} g_gfxtab_twofielded_extra_cb[4] = { { -0x0001, 0x0000 }, { 0x0000, 0x0001 }, { 0x0001, 0x0000 }, { 0x0000, -1 } }; // ds:0x6018, ; { {-1,0}, , , {0,-1} }
  901. signed char g_gfxtab_twofielded_extra_ox[4] = { 0x0a, -0x0a, -0x0a, 0x0a }; // ds:0x6028, { 10,-10,-10,10 }
  902. signed char g_gfxtab_twofielded_extra_oy[4] = { 5, 5, -5, -5 }; // ds:0x602c, { 10,-10,-5,-5 }
  903. signed char g_gfxtab_twofielded_x1[4] = { 0x10, 0x00, 0x00, 0x10 }; // ds:0x6030
  904. signed char g_gfxtab_twofielded_x2[4] = { 0x1f, 0x0f, 0x0f, 0x1f }; // ds:0x6034
  905. signed char g_gfxtab_twofielded_extra_x1[4] = { 0x00, 0x10, 0x10, 0x00 }; // ds:0x6038
  906. signed char g_gfxtab_twofielded_extra_x2[4] = { 0x0f, 0x1f, 0x1f, 0x0f }; // ds:0x603c
  907. //struct{signed char x,y;} g_cb_rear_border[15] = { { 0x00, 0x10 }, { 0x01, 0x10 }, { 0x02, 0x10 }, { 0x03, 0x10 }, { 0x03, 0x11 }, { 0x03, 0x12 }, { 0x03, 0x13 }, { 0x04, 0x14 }, { 0x05, 0x14 }, { 0x06, 0x14 }, { 0x07, 0x14 }, { 0x07, 0x15 }, { 0x07, 0x16 }, { 0x07, 0x17 }, { -0x01, 0x00 } }; // ds:0x6040, ; { , , , , , , , , , , , , , , {-1,0} }
  908. unsigned short g_fightobj_count; // ds:0x605e
  909. signed short g_gfxtab_obj_offset_x[63] = { -0x0001, 0x0005, 0x0004, 0x0005, -0x0005, -0x0005, -0x0005, 0x0001, 0x0000, 0x0000, -0x0006, -0x0005, -0x0005, -0x0005, 0x0005, 0x0005, 0x0005, 0x0005, 0x0000, -0x0001, -0x0001, -0x0001, -0x0001, 0x0000, 0x0000, -0x0001, 0x0000, -0x0001, -0x0001, 0x0005, 0x0005, 0x0005, -0x0004, -0x0004, -0x0004, 0x0000, 0x0005, -0x0004, 0x0001, -0x0003, 0x0001, 0x0000, 0x0002, -0x0004, 0x0002, 0x0000, -0x0001, 0x0000, -0x0008, 0x0000, 0x0009, -0x0003, 0x0004, -0x0005, 0x0005, -0x0010, 0x0003, 0x0001, -0x0001, 0x0000, 0x0022, 0x0023, 0x0000 }; // ds:0x6060
  910. signed short g_gfxtab_obj_offset_y[63] = { 0x0006, 0x0006, 0x0006, 0x0008, 0x000a, 0x0005, 0x0005, 0x0005, 0x0004, 0x000a, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0004, 0x0003, 0x0002, 0x0002, 0x0002, 0x0003, 0x0003, 0x0003, 0x0004, 0x0003, 0x0003, 0x0003, 0x0003, 0x0005, 0x0004, 0x0002, 0x0004, 0x0002, 0x0003, 0x0003, 0x0004, 0x0003, 0x0003, 0x0004, 0x0002, 0x0004, 0x0002, 0x0007, 0x0006, 0x0003, 0x0007, 0x0004, 0x0005, 0x0003, 0x0001, 0x000b, 0x0003, 0x0003, 0x0028, 0x0001 }; // ds:0x60de
  911. signed short g_force_weapons[9] = { 0x0002, 0x0014, 0x0042, 0x0045, 0x0047, 0x0065, 0x008c, 0x0085, -1 }; // ds:0x615c, terminated with -1
  912. signed short g_knive_weapons[5] = { 0x0004, 0x000e, 0x0015, 0x008b, -1 }; // ds:0x616e, terminated with -1
  913. //struct{signed char x,y;} g_viewdir_invoffsets2[4] = { { -0x01, 0x00 }, { 0x00, 0x01 }, { 0x01, 0x00 }, { 0x00, -1 } }; // ds:0x6178, ; { {-1,0}, , , {0,-1} }
  914. char g_string_casts_spell[14] = "%s ZAUBERT %s"; // ds:0x6180
  915. unsigned short g_mspell_awake_flag; // ds:0x618e
  916. //struct{signed char x,y;} g_viewdir_invoffsets3[4] = { { -0x01, 0x00 }, { 0x00, 0x01 }, { 0x01, 0x00 }, { 0x00, -1 } }; // ds:0x6190, ; { {-1,0}, , , {0,-1} }
  917. unsigned short g_gfxtab_shotbolt_ox[24] = { 0xffef, 0xfffd, 0xfffd, 0x0003, 0xffef, 0xfffd, 0xfffd, 0x0003, 0xffef, 0xfffd, 0xfffd, 0x0003, 0xffef, 0xfffd, 0xfffd, 0x0003, 0xffef, 0xfffd, 0xfffd, 0x0003, 0xffef, 0xfffd, 0xfffd, 0x0003 }; // ds:0x6198
  918. unsigned short g_gfxtab_shotbolt_oy[24] = { 0xffe2, 0xffec, 0xffec, 0xffec, 0xffe2, 0xffec, 0xffec, 0xffec, 0xffe2, 0xffec, 0xffec, 0xffec, 0xffe2, 0xffec, 0xffec, 0xffec, 0xffe2, 0xffec, 0xffec, 0xffec, 0xffe2, 0xffec, 0xffec, 0xffec }; // ds:0x61c8
  919. signed short g_gfxtab_shotbolt_nvfno[6] = { 0x0000, 0x0004, 0x0008, 0x000c, 0x0010, 0x0014 }; // ds:0x61f8
  920. signed short g_gfxtab_shotbolt_height[6] = { 0x000f, 0x000f, 0x000f, 0x0005, 0x0005, 0x0008 }; // ds:0x6204
  921. signed short g_gfxtab_shotbolt_width[6] = { 0x0019, 0x0019, 0x0019, 0x0009, 0x0009, 0x0010 }; // ds:0x6210
  922. char g_anitab_shotbolt_data[168] = { -0x02, 0x01, 0x00, 0x00, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x01, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x02, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x03, 0x00, 0x00, -0x01, -0x02, 0x01, 0x00, 0x04, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x05, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x06, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x07, 0x00, 0x00, -0x01, -0x02, 0x01, 0x00, 0x08, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x08, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x08, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x08, 0x00, 0x00, -0x01, -0x02, 0x01, 0x00, 0x0c, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x0d, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x0e, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x0f, 0x00, 0x00, -0x01, -0x02, 0x01, 0x00, 0x10, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x11, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x12, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x13, 0x00, 0x00, -0x01, -0x02, 0x01, 0x00, 0x14, 0x00, 0x00, -0x01, -0x02, 0x00, -0x01, 0x15, 0x00, 0x00, -0x01, -0x02, -0x01, 0x00, 0x16, 0x00, 0x00, -0x01, -0x02, 0x00, 0x01, 0x17, 0x00, 0x00, -1 }; // ds:0x621c, arrays, each terminated by -1
  923. //RealPt g_anitab_shotbolt_index2[24] = { 0x14fc621c, 0x14fc6223, 0x14fc622a, 0x14fc6231, 0x14fc6238, 0x14fc623f, 0x14fc6246, 0x14fc624d, 0x14fc6254, 0x14fc625b, 0x14fc6262, 0x14fc6269, 0x14fc6270, 0x14fc6277, 0x14fc627e, 0x14fc6285, 0x14fc628c, 0x14fc6293, 0x14fc629a, 0x14fc62a1, 0x14fc62a8, 0x14fc62af, 0x14fc62b6, 0x14fc62bd }; // ds:0x62c4, 6 RealPt arrays of length 4 (viewdir)
  924. //RealPt g_anitab_shotbolt_index[6] = { 0x14fc62c4, 0x14fc62d4, 0x14fc62e4, 0x14fc62f4, 0x14fc6304, 0x14fc6314 }; // ds:0x6324
  925. signed char g_anitab_spell_nvfno[2] = { 0x09, 0x1b }; // ds:0x633c
  926. signed short g_anitab_spell_ox[2]; // ds:0x633e
  927. signed short g_anitab_spell_oy[2]; // ds:0x6342
  928. char g_anitab_spell_data[32] = { 0x09, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0x00, 0x00, -0x01, 0x1b, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x1b, 0x00, 0x00, -1 }; // ds:0x6346, 2 arrays, each terminated by -1
  929. //RealPt g_anitab_spell_index[2] = { 0x14fc6346, 0x14fc6356 }; // ds:0x6366
  930. unsigned char g_statuspage_selitem1_no = 1; // ds:0x636e
  931. unsigned char g_statuspage_selitem2_no = 1; // ds:0x636f
  932. unsigned char g_statuspage_selitem3_no = 7; // ds:0x6370
  933. unsigned char g_statuspage_selitem4_no = 0xff; // ds:0x6371
  934. //struct{unsigned char r,g,b;} g_statuspage_palette[32] = { { 0x00, 0x00, 0x00 }, { 0x06, 0x06, 0x06 }, { 0x3f, 0x26, 0x10 }, { 0x3f, 0x1e, 0x00 }, { 0x33, 0x18, 0x00 }, { 0x27, 0x13, 0x00 }, { 0x1c, 0x0e, 0x00 }, { 0x10, 0x08, 0x00 }, { 0x3f, 0x3f, 0x00 }, { 0x3c, 0x00, 0x00 }, { 0x1b, 0x00, 0x00 }, { 0x00, 0x0e, 0x3f }, { 0x00, 0x00, 0x25 }, { 0x3c, 0x30, 0x21 }, { 0x34, 0x28, 0x19 }, { 0x2c, 0x1f, 0x12 }, { 0x24, 0x17, 0x0a }, { 0x3c, 0x3c, 0x3c }, { 0x38, 0x38, 0x38 }, { 0x34, 0x34, 0x34 }, { 0x30, 0x30, 0x30 }, { 0x2c, 0x2c, 0x2c }, { 0x28, 0x28, 0x28 }, { 0x24, 0x24, 0x24 }, { 0x20, 0x20, 0x20 }, { 0x1c, 0x1c, 0x1c }, { 0x18, 0x18, 0x18 }, { 0x14, 0x14, 0x14 }, { 0x10, 0x10, 0x10 }, { 0x0c, 0x0c, 0x0c }, { 0x08, 0x08, 0x08 }, { 0x3f, 0x3f, 0x3f } }; // ds:0x6372
  935. //struct{unsigned short x,y;} g_invslot_iconxy_table[23] = { { 0x0045, 0x0038 }, { 0x003b, 0x0051 }, { 0x0092, 0x0051 }, { 0x0045, 0x006b }, { 0x0088, 0x006b }, { 0x0045, 0x008d }, { 0x0088, 0x00af }, { 0x0010, 0x0038 }, { 0x0021, 0x0038 }, { 0x0010, 0x0049 }, { 0x0021, 0x0049 }, { 0x0010, 0x005a }, { 0x0021, 0x005a }, { 0x0010, 0x006b }, { 0x0021, 0x006b }, { 0x0010, 0x007c }, { 0x0021, 0x007c }, { 0x0010, 0x008d }, { 0x0021, 0x008d }, { 0x0010, 0x009e }, { 0x0021, 0x009e }, { 0x0010, 0x00af }, { 0x0021, 0x00af } }; // ds:0x63d2
  936. //struct{unsigned short x_name,x_val,y;} g_statuspage_spells_xy[8] = { { 0x0005, 0x0068, 0x003e }, { 0x0005, 0x0068, 0x0068 }, { 0x0070, 0x00d1, 0x003e }, { 0x0070, 0x00d1, 0x006f }, { 0x0070, 0x00d1, 0x008b }, { 0x00d9, 0x013b, 0x003e }, { 0x00d9, 0x013b, 0x0068 }, { 0x00d9, 0x013b, 0x00a0 } }; // ds:0x642e
  937. //struct{unsigned short x_name,x_val,y;} g_statuspage_spells2_xy[4] = { { 0x0005, 0x0068, 0x003e }, { 0x0005, 0x0068, 0x008b }, { 0x0070, 0x00d1, 0x003e }, { 0x00d9, 0x013b, 0x003e } }; // ds:0x645e
  938. //struct{unsigned short x_name,x_val,y;} g_statuspage_skills_xy[7] = { { 0x0005, 0x0068, 0x003e }, { 0x00d9, 0x013b, 0x003e }, { 0x00d9, 0x013b, 0x008b }, { 0x0005, 0x0068, 0x0084 }, { 0x0070, 0x00d1, 0x0084 }, { 0x0070, 0x00d1, 0x003e }, { 0x0005, 0x0068, 0x00b5 } }; // ds:0x6476
  939. char g_empty_string6 = ""; // ds:0x64a0
  940. char g_empty_string7 = ""; // ds:0x64a1
  941. signed char g_hero_sel_exclude = -1; // ds:0x64a2
  942. signed short g_seg047_init1[7]; // ds:0x64a3, filled with zeroes
  943. signed short g_seg047_init2[7]; // ds:0x64b1, filled with zeroes
  944. signed short g_seg047_init3[7]; // ds:0x64bf, filled with zeroes
  945. // ?1
  946. //struct{signed short x,y;} g_invslot_borderxy_table[25] = { { 0x0044, 0x0037 }, { 0x003a, 0x0050 }, { 0x0091, 0x0050 }, { 0x0044, 0x006a }, { 0x0087, 0x006a }, { 0x0044, 0x008c }, { 0x0087, 0x00ae }, { 0x000f, 0x0037 }, { 0x0020, 0x0037 }, { 0x000f, 0x0048 }, { 0x0020, 0x0048 }, { 0x000f, 0x0059 }, { 0x0020, 0x0059 }, { 0x000f, 0x006a }, { 0x0020, 0x006a }, { 0x000f, 0x007b }, { 0x0020, 0x007b }, { 0x000f, 0x008c }, { 0x0020, 0x008c }, { 0x000f, 0x009d }, { 0x0020, 0x009d }, { 0x000f, 0x00ae }, { 0x0020, 0x00ae }, { 0x0080, 0x0037 }, { 0x0091, 0x0037 } }; // ds:0x64ce
  947. signed short g_cheatskill_usable; // ds:0x6532
  948. char g_extraspace_separated_strings[7] = "%s %s "; // ds:0x6534
  949. char g_empty_string8 = ""; // ds:0x653b
  950. char g_extraspace_separated_strings2[7] = "%s %s "; // ds:0x653c
  951. char g_empty_string9 = ""; // ds:0x6543
  952. signed short g_autoinc_spells_witch[3] = { 0x002a, 0x0031, -1 }; // ds:0x6544
  953. signed short g_autoinc_spells_druid[4] = { 0x002a, 0x0005, 0x0029, -1 }; // ds:0x654a
  954. short g_autoinc_spells_mage_table[108] = { 0x0013, 0x0021, 0x003d, 0x0035, 0x0023, 0x0027, 0x0052, 0x003e, 0x0015, 0x004c, -0x0001, 0x002a, 0x002c, 0x0035, 0x0006, 0x002e, 0x000a, 0x0021, 0x002f, 0x0052, 0x000b, 0x0028, -0x0001, 0x0019, 0x002a, 0x001a, 0x0052, 0x0021, 0x0035, 0x0050, 0x0003, 0x0032, 0x0014, 0x0027, -0x0001, 0x0021, 0x0035, 0x0052, 0x002b, 0x004f, 0x001a, 0x002a, 0x0036, 0x004a, 0x004b, 0x0020, -0x0001, 0x004c, 0x002a, 0x0028, 0x003e, 0x0003, 0x0031, 0x0025, 0x0044, 0x0052, 0x0033, -0x0001, 0x0021, 0x0052, 0x000e, 0x0035, 0x0007, 0x003e, 0x003d, 0x0003, 0x000c, -0x0001, 0x0003, 0x0021, 0x0048, 0x0052, 0x0032, 0x000c, 0x0050, 0x0038, 0x002a, 0x0012, 0x003d, 0x0044, 0x0042, 0x0046, -0x0001, 0x0021, 0x0023, 0x0035, 0x0052, 0x0044, 0x003d, 0x0042, 0x0032, 0x004a, 0x002a, 0x0028, -0x0001, 0x0048, 0x003e, 0x0003, 0x0021, 0x0035, 0x002b, 0x001c, 0x0051, 0x004d, 0x0055, 0x0036, 0x0002, -1 }; // ds:0x6552, 9 arrays, each terminated by -1
  955. //RealPt g_autoinc_spells_mage_index[9] = { 0x14fc6552, 0x14fc6568, 0x14fc6580, 0x14fc6598, 0x14fc65b0, 0x14fc65c6, 0x14fc65da, 0x14fc65f8, 0x14fc6610 }; // ds:0x662a, by magic school
  956. signed short g_auotinc_spells_gelf[7] = { 0x0052, 0x0031, 0x001b, 0x0023, 0x0025, 0x0050, -1 }; // ds:0x664e
  957. signed short g_autoinc_spells_self[7] = { 0x0054, 0x003e, 0x0034, 0x0026, 0x002a, 0x0052, -1 }; // ds:0x665c
  958. signed short g_autoinc_spells_ielf[12] = { 0x0021, 0x002d, 0x0031, 0x0026, 0x0034, 0x003e, 0x0054, 0x002a, 0x0006, 0x001b, 0x0029, -1 }; // ds:0x666a
  959. //struct{signed char first, last;} g_magic_school_spellranges[9] = { { 0x01, 0x05 }, { 0x06, 0x11 }, { 0x12, 0x1a }, { 0x1b, 0x20 }, { 0x21, 0x25 }, { 0x26, 0x2c }, { 0x31, 0x39 }, { 0x3c, 0x4b }, { 0x4c, 0x55 } }; // ds:0x6682
  960. signed short g_campfights[4] = { 0x00d9, 0x00da, 0x00db, 0x00e8 }; // ds:0x6694
  961. //struct{unsigned char herb_id,chance,ta_mod,max_count;} g_gather_herbs_table[13] = { { 0x7e, 0x05, 0x01, 0x0f }, { 0x7b, 0x0c, 0x03, 0x08 }, { 0x7c, 0x0a, 0x02, 0x09 }, { 0x3f, 0x0f, 0x03, 0x08 }, { 0x82, 0x0f, 0x01, 0x0a }, { 0x9d, 0x01, 0x01, 0x12 }, { 0x7a, 0x0c, 0x02, 0x08 }, { 0x40, 0x2d, 0x05, 0x04 }, { 0x83, 0x03, 0x01, 0x0f }, { 0x3c, 0x28, 0x04, 0x08 }, { 0x3d, 0x1e, 0x02, 0x04 }, { 0x3e, 0x14, 0x02, 0x04 }, { 0xff, 0x00, 0x00, 0x00 } }; // ds:0x669c
  962. unsigned char g_gather_herbs_special = 0xff; // ds:0x66d0
  963. char g_gather_herbs_str_found[6] = "%d %s"; // ds:0x66d1
  964. char g_gather_herbs_str_comma[3] = ", "; // ds:0x66d7
  965. char g_gather_herbs_str_and[6] = " UND "; // ds:0x66da
  966. char g_gather_herbs_str_dot[2] = "."; // ds:0x66e0
  967. signed short g_dcampfights[4] = { 0x00fe, 0x00ff, 0x0100, 0x0101 }; // ds:0x66e2
  968. //struct{signed char price,quality;} g_healer_descr_table[41] = { { 0x1e, 0x02 }, { 0x32, 0x0a }, { -0x0a, 0x0a }, { 0x0a, 0x0c }, { 0x1e, 0x0c }, { 0x1e, 0x09 }, { 0x00, 0x0c }, { 0x00, 0x04 }, { -0x0a, 0x06 }, { 0x28, 0x0f }, { 0x00, 0x07 }, { 0x00, 0x10 }, { 0x14, 0x03 }, { 0x28, 0x05 }, { 0x14, 0x0d }, { -0x0a, 0x04 }, { 0x14, 0x0a }, { 0x00, 0x0e }, { 0x1e, 0x01 }, { 0x14, 0x08 }, { 0x00, 0x0c }, { 0x0a, 0x0a }, { 0x32, 0x06 }, { 0x14, 0x02 }, { -0x0a, 0x07 }, { 0x00, 0x07 }, { 0x0a, 0x0e }, { 0x00, 0x0c }, { 0x14, 0x07 }, { 0x28, 0x04 }, { -0x14, 0x08 }, { 0x0a, 0x0f }, { -0x32, 0x0c }, { 0x0a, 0x03 }, { -0x14, 0x0a }, { -0x14, 0x0b }, { 0x1e, 0x0c }, { 0x14, 0x11 }, { 0x14, 0x06 }, { -0x0a, 0x03 }, { -0x01, 0x00 } }; // ds:0x66ea
  969. //struct{signed short quality,unkn;} g_inn_descr_table[77] = { { 0x000e, 0x0000 }, { 0x0007, 0x001e }, { 0x000c, -0x000a }, { 0x000b, 0x0000 }, { 0x0006, 0x0032 }, { 0x000b, 0x0001 }, { 0x000a, 0x001e }, { 0x0009, 0x0028 }, { 0x0007, -0x0014 }, { 0x0007, 0x0028 }, { 0x000a, 0x0014 }, { 0x000b, 0x000a }, { 0x0007, 0x0000 }, { 0x0008, 0x001e }, { 0x000e, 0x0000 }, { 0x0014, -0x001e }, { 0x0009, -0x0014 }, { 0x0001, 0x000a }, { 0x0008, 0x000a }, { 0x000a, -0x001e }, { 0x0007, 0x0014 }, { 0x000c, 0x0032 }, { 0x000c, -0x000a }, { 0x0004, 0x0046 }, { 0x0009, 0x0028 }, { 0x000e, -0x000a }, { 0x0003, 0x003c }, { 0x0011, 0x0000 }, { 0x0009, 0x0014 }, { 0x0008, 0x0032 }, { 0x0002, 0x0032 }, { 0x000d, 0x000a }, { 0x000c, 0x0014 }, { 0x0008, 0x0028 }, { 0x000b, 0x0028 }, { 0x0009, 0x0014 }, { 0x000e, 0x0028 }, { 0x000b, 0x001e }, { 0x000c, -0x0014 }, { 0x0007, 0x0028 }, { 0x0010, 0x0028 }, { 0x0003, 0x003c }, { 0x000d, -0x0028 }, { 0x0008, 0x000a }, { 0x000c, 0x000a }, { 0x0004, 0x000a }, { 0x0005, 0x001e }, { 0x000c, 0x0014 }, { 0x0010, -0x000a }, { 0x000d, 0x0000 }, { 0x0008, 0x001e }, { 0x0005, 0x0028 }, { 0x000a, 0x0046 }, { 0x0005, 0x0014 }, { 0x000d, -0x000a }, { 0x0003, 0x0028 }, { 0x000e, 0x0000 }, { 0x0009, -0x0014 }, { 0x000b, 0x001e }, { 0x0011, 0x0032 }, { 0x000b, 0x0014 }, { 0x0002, 0x001e }, { 0x000a, -0x000a }, { 0x000c, -0x0014 }, { 0x000f, -0x000a }, { 0x0003, 0x0032 }, { 0x000a, 0x0000 }, { 0x000a, 0x000a }, { 0x000c, 0x0000 }, { 0x0007, 0x0028 }, { 0x000e, 0x0000 }, { 0x0004, 0x0032 }, { 0x000c, -0x000a }, { 0x000b, 0x0000 }, { 0x0009, 0x0000 }, { 0x000a, 0x0000 }, { -0x0001, 0x0000 } }; // ds:0x673c
  970. //struct{char price_mod,type,size; short extra_items[3];} g_shop_descr_table[95] = { { 0x32, 0x03, 0x01, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x03, 0x08, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x01, 0x03, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x01, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x02, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x03, 0x12, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x10, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x0c, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x01, 0x0b, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x09, 0x0000, 0x0000, 0x0000 }, { 0x3c, 0x01, 0x04, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x02, 0x09, 0x0000, 0x0000, 0x0000 }, { -0x14, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x03, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0b, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x01, 0x10, 0x0000, 0x0000, 0x0000 }, { 0x3c, 0x02, 0x08, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { -0x1e, 0x03, 0x12, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x02, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x03, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x50, 0x01, 0x01, 0x0000, 0x0000, 0x0000 }, { 0x3c, 0x01, 0x08, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x0b, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x04, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x0c, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x01, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x01, 0x0f, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x02, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x03, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x08, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x03, 0x04, 0x0000, 0x0000, 0x0000 }, { -0x1e, 0x03, 0x11, 0x0000, 0x0000, 0x0000 }, { 0x46, 0x01, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x0c, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x02, 0x04, 0x0000, 0x0000, 0x0000 }, { -0x1e, 0x03, 0x12, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x03, 0x01, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x01, 0x0b, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x03, 0x05, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x01, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x02, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x03, 0x05, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0f, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x02, 0x10, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x01, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x13, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x03, 0x0d, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x03, 0x04, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x01, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x05, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x09, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x03, 0x01, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { -0x14, 0x03, 0x10, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x02, 0x01, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x01, 0x05, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x01, 0x07, 0x0000, 0x0000, 0x0000 }, { -0x1e, 0x02, 0x0e, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x08, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0c, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x02, 0x0f, 0x0000, 0x0000, 0x0000 }, { 0x32, 0x01, 0x10, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x05, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x08, 0x0000, 0x0000, 0x0000 }, { 0x1e, 0x01, 0x04, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x01, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x07, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x0d, 0x0000, 0x0000, 0x0000 }, { -0x0a, 0x03, 0x10, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x03, 0x0c, 0x0000, 0x0000, 0x0000 }, { 0x0a, 0x02, 0x0f, 0x0000, 0x0000, 0x0000 }, { 0x14, 0x01, 0x12, 0x0000, 0x0000, 0x0000 }, { 0x28, 0x03, 0x11, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x00, 0x00, 0x0000, 0x0000, 0x0000 }, { 0x19, 0x03, 0x02, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x01, 0x0a, 0x0000, 0x0000, 0x0000 }, { 0x00, 0x03, 0x06, 0x0000, 0x0000, 0x0000 }, { -0x01, 0x00, 0x00, 0x0000, 0x0000, 0x0000 } }; // ds:0x6870
  971. // ?1
  972. char g_buy_screen_str_money_h[5] = "H %d"; // ds:0x6bc8
  973. char g_buy_screen_str_money_s[5] = "S %d"; // ds:0x6bcd
  974. char g_buy_screen_str_money_d[5] = "D %d"; // ds:0x6bd2
  975. signed short g_buy_screen_items_posx[3] = { 0x001e, 0x005f, 0x00a0 }; // ds:0x6bd7
  976. signed short g_buy_screen_items_posy[5] = { 0x0023, 0x0037, 0x004b, 0x005f, 0x0073 }; // ds:0x6bdd
  977. char g_buy_screen_str_d_s[6] = "%d %s"; // ds:0x6be7
  978. char g_buy_screen_str_comma_space[3] = ", "; // ds:0x6bed
  979. char g_sell_screen_str_money_h[5] = "H %d"; // ds:0x6bf0
  980. char g_sell_screen_str_money_s[5] = "S %d"; // ds:0x6bf5
  981. char g_sell_screen_str_money_d[5] = "D %d"; // ds:0x6bfa
  982. signed short g_sell_screen_items_posx[3] = { 0x001e, 0x005f, 0x00a0 }; // ds:0x6bff
  983. signed short g_sell_screen_items_posy[5] = { 0x0023, 0x0037, 0x004b, 0x005f, 0x0073 }; // ds:0x6c05
  984. // ?1
  985. signed short g_smith_descr_table[42] = { 0x0132, 0x0414, 0x0a00, 0x0fec, 0x0a00, 0x0c1e, 0x09f6, 0x0a1e, 0x0214, 0x0900, 0x10d8, 0x0900, 0x0b00, 0x0132, 0x0146, 0x040a, 0x09ec, 0x0628, 0x0ff6, 0x0500, 0x0432, 0x100a, 0x031e, 0x0be2, 0x0114, 0x0ece, 0x0900, 0x0500, 0x1114, 0x0d0a, 0x0300, 0x0c0a, 0x041e, 0x0b00, 0x060a, 0x0dec, 0x0214, 0x0d00, 0x0ff6, 0x041e, 0x041e, 0x00ff }; // ds:0x6c10
  986. char g_smith_str_money_h[5] = "H %d"; // ds:0x6c64
  987. char g_smith_str_money_s[5] = "S %d"; // ds:0x6c69
  988. char g_smith_str_money_d[5] = "D %d"; // ds:0x6c6e
  989. signed short g_smith_items_posx[3] = { 0x001e, 0x005f, 0x00a0 }; // ds:0x6c73
  990. signed short g_smith_items_posy[5] = { 0x0023, 0x0037, 0x004b, 0x005f, 0x0073 }; // ds:0x6c79
  991. // ?1
  992. //struct{short a,b;} g_tavern_descr_table[89] = { { 0x000c, -0x000a }, { 0x000b, 0x0000 }, { 0x0009, 0x0000 }, { 0x0008, 0x0028 }, { 0x000a, 0x000a }, { 0x000e, -0x0014 }, { 0x000a, 0x0000 }, { 0x0010, -0x0028 }, { 0x0012, -0x0028 }, { 0x000b, 0x000a }, { 0x0011, -0x0032 }, { 0x0009, 0x000a }, { 0x000f, -0x0028 }, { 0x000d, -0x000a }, { 0x0006, -0x000a }, { 0x0011, -0x001e }, { 0x0010, -0x001e }, { 0x000b, 0x000a }, { 0x0012, -0x000a }, { 0x0010, -0x0028 }, { 0x000e, 0x0000 }, { 0x000e, -0x0032 }, { 0x000b, 0x0000 }, { 0x0012, -0x0028 }, { 0x0012, -0x003c }, { 0x0006, 0x0000 }, { 0x0011, -0x000a }, { 0x0006, 0x0014 }, { 0x0011, -0x0014 }, { 0x0008, 0x0000 }, { 0x000d, 0x0000 }, { 0x0010, -0x0014 }, { 0x0003, 0x001e }, { 0x000c, -0x001e }, { 0x0004, 0x0000 }, { 0x0007, 0x001e }, { 0x000b, -0x001e }, { 0x0014, -0x0014 }, { 0x000a, 0x0000 }, { 0x0009, 0x001e }, { 0x000b, -0x000a }, { 0x0013, -0x0032 }, { 0x0006, -0x0014 }, { 0x000f, 0x0000 }, { 0x000d, -0x0014 }, { 0x0008, -0x0014 }, { 0x0005, 0x0014 }, { 0x000c, 0x0000 }, { 0x000f, -0x0014 }, { 0x0002, 0x001e }, { 0x0007, -0x000a }, { 0x0005, 0x0000 }, { 0x000f, -0x000a }, { 0x0011, -0x001e }, { 0x000d, -0x000a }, { 0x0006, 0x0000 }, { 0x000d, -0x0014 }, { 0x0009, 0x0014 }, { 0x0012, -0x000a }, { 0x0009, 0x0000 }, { 0x0006, 0x000a }, { 0x0007, 0x0000 }, { 0x0013, -0x0028 }, { 0x000c, -0x0032 }, { 0x0008, -0x000a }, { 0x000e, -0x0014 }, { 0x0009, -0x001e }, { 0x000c, 0x001e }, { 0x000f, -0x001e }, { 0x0007, 0x0014 }, { 0x0012, 0x0000 }, { 0x0006, 0x001e }, { 0x0010, -0x0014 }, { 0x0007, 0x0014 }, { 0x000e, 0x0032 }, { 0x000a, 0x0000 }, { 0x0012, -0x001e }, { 0x0008, 0x003c }, { 0x000b, -0x001e }, { 0x0009, -0x000a }, { 0x0007, -0x0014 }, { 0x000e, -0x000a }, { 0x0007, -0x000a }, { 0x0006, 0x000a }, { 0x0006, 0x000a }, { 0x000f, -0x001e }, { 0x000a, 0x0000 }, { 0x0013, -0x0032 }, { -0x0001, 0x0000 } }; // ds:0x6c84
  993. char g_god_temples_tables[78] = { 0x3d, -0x01, 0x0b, 0x1c, 0x25, 0x2d, 0x33, -0x01, 0x03, 0x0d, 0x0e, 0x21, 0x22, 0x26, 0x29, 0x2c, 0x35, 0x39, -0x01, 0x01, 0x08, 0x0a, 0x10, 0x11, 0x14, 0x18, 0x1e, 0x23, 0x2a, 0x2b, 0x2f, 0x30, 0x32, 0x34, -0x01, 0x3e, -0x01, 0x3f, -0x01, 0x12, 0x1a, 0x3a, -0x01, 0x06, -0x01, 0x05, 0x09, 0x13, 0x27, 0x3b, -0x01, 0x04, 0x0c, 0x19, 0x3c, -0x01, 0x16, 0x1b, -0x01, 0x40, -0x01, 0x02, 0x07, 0x0f, 0x15, 0x1d, 0x20, 0x24, 0x28, 0x2e, 0x31, 0x36, 0x38, -0x01, 0x17, 0x1f, 0x37, -1 }; // ds:0x6de8, 14 arrays, each terminated by -1
  994. //RealPt g_god_temples_index[15] = { 0x00000000, 0x14fc6de8, 0x14fc6dea, 0x14fc6df0, 0x14fc6dfb, 0x14fc6e0b, 0x14fc6e0d, 0x14fc6e0f, 0x14fc6e13, 0x14fc6e15, 0x14fc6e1b, 0x14fc6e20, 0x14fc6e23, 0x14fc6e25, 0x14fc6e32 }; // ds:0x6e36
  995. char g_str_temp_file_wildcard[8] = "TEMP\\%s"; // ds:0x6e72
  996. char g_str_no_save_in_temple[41] = "IN DIESEM TEMPEL KEIN SPEICHERN M\x99GLICH!"; // ds:0x6e7a
  997. // ?1
  998. signed char g_temple_miracle_bonus[15] = { 0x00, 0x02, 0x0f, 0x0a, 0x14, 0x05, 0x0a, 0x01, 0x0f, 0x03, 0x0f, 0x05, 0x0a, 0x00, 0x01 }; // ds:0x6ea4
  999. signed char g_temple_miracle_dice[15] = { 0x00, 0x09, 0x09, 0x0a, 0x11, 0x06, 0x0a, 0x0a, 0x12, 0x0a, 0x13, 0x08, 0x0f, 0x00, 0x0a }; // ds:0x6eb3
  1000. signed short g_sea_travel_tx_class[7] = { 0x001d, 0x001e, 0x001f, 0x0020, 0x0021, 0x0022, 0x0023 }; // ds:0x6ec2
  1001. //struct{unsigned char class,unkn,price,speed;} g_sea_travel_quality_table[8] = { { 0x00, 0x01, 0x00, 0x78 }, { 0x03, 0x01, 0x23, 0x64 }, { 0x01, 0x01, 0x00, 0x96 }, { 0x02, 0x01, 0x2d, 0x96 }, { 0x00, 0x01, 0x00, 0x5a }, { 0x04, 0x01, 0x14, 0x50 }, { 0x05, 0x00, 0x0a, 0x3c }, { 0x06, 0x00, 0x00, 0x28 } }; // ds:0x6ed0
  1002. signed short g_sea_travel_tx_ship[8] = { 0x0024, 0x0025, 0x0026, 0x0026, 0x0024, 0x0027, 0x0028, 0x0029 }; // ds:0x6ef0
  1003. //struct{unsigned char[8];} g_sea_travel_passages[46] = { { 0x01, 0x27, 0x73, 0x01, 0x00, 0x00, 0x00, 0x00 }, { 0x27, 0x1f, 0xd2, 0x03, 0x00, 0x00, 0x00, 0x00 }, { 0x27, 0x30, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00 }, { 0x27, 0x21, 0x87, 0x07, 0x00, 0x00, 0x00, 0x00 }, { 0x21, 0x1f, 0x50, 0x06, 0x00, 0x00, 0x00, 0x00 }, { 0x1f, 0x1d, 0x73, 0x04, 0x00, 0x00, 0x00, 0x00 }, { 0x1f, 0x30, 0x6e, 0x05, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x2c, 0x1e, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x2c, 0x2b, 0x25, 0x05, 0x00, 0x01, 0x00, 0x00 }, { 0x2b, 0x2a, 0x19, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x2b, 0x25, 0x19, 0x08, 0x00, 0x01, 0x00, 0x00 }, { 0x2a, 0x25, 0x0a, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x26, 0x25, 0x34, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x26, 0x27, 0x1c, 0x04, 0x00, 0x01, 0x00, 0x00 }, { 0x27, 0x23, 0x1c, 0x06, 0x00, 0x01, 0x00, 0x00 }, { 0x27, 0x24, 0x23, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x23, 0x24, 0x19, 0x04, 0x00, 0x01, 0x00, 0x00 }, { 0x24, 0x22, 0x32, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x22, 0x21, 0x28, 0x02, 0x00, 0x01, 0x00, 0x00 }, { 0x21, 0x20, 0x41, 0x02, 0x00, 0x01, 0x00, 0x00 }, { 0x20, 0x1f, 0x14, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x1f, 0x1e, 0x2e, 0x02, 0x00, 0x01, 0x00, 0x00 }, { 0x1e, 0x1d, 0x43, 0x02, 0x00, 0x01, 0x00, 0x00 }, { 0x1e, 0x1c, 0x12, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x1d, 0x1a, 0x28, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x1d, 0x2e, 0x30, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x1a, 0x18, 0x16, 0x06, 0x00, 0x01, 0x00, 0x00 }, { 0x18, 0x2e, 0x16, 0x01, 0x00, 0x01, 0x00, 0x00 }, { 0x1a, 0x2e, 0x24, 0x02, 0x00, 0x01, 0x00, 0x00 }, { 0x1d, 0x2f, 0x20, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x2f, 0x30, 0x39, 0x05, 0x00, 0x01, 0x00, 0x00 }, { 0x1e, 0x30, 0x53, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x01, 0x09, 0x1e, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x09, 0x0a, 0x12, 0x08, 0x00, 0x01, 0x00, 0x00 }, { 0x01, 0x0a, 0x2f, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x02, 0x09, 0x18, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x02, 0x0a, 0x29, 0x05, 0x00, 0x01, 0x00, 0x00 }, { 0x1d, 0x18, 0x33, 0x03, 0x00, 0x01, 0x00, 0x00 }, { 0x01, 0x2b, 0x43, 0x04, 0x00, 0x01, 0x00, 0x00 }, { 0x25, 0x27, 0x3e, 0x04, 0x00, 0x01, 0x00, 0x00 }, { 0x25, 0x24, 0x49, 0x07, 0x00, 0x01, 0x00, 0x00 }, { 0x26, 0x24, 0x37, 0x06, 0x00, 0x01, 0x00, 0x00 }, { 0x24, 0x34, 0x19, 0x08, 0x00, 0x01, 0x00, 0x00 }, { 0x22, 0x34, 0x32, 0x0a, 0x00, 0x01, 0x00, 0x00 }, { 0x30, 0x1d, 0x3c, 0x05, 0x00, 0x01, 0x00, 0x00 }, { 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x6f00
  1004. unsigned char g_travel_by_ship; // ds:0x7070, 0 = on land, 1 = at the ship
  1005. signed short g_sea_travel_sleepbonus_table1[7] = { -2, 0, 5, 4, 3, 1, 0 }; // ds:0x7071, { -2, 0, 5, 4, 3, 1, 0 }
  1006. signed short g_sea_travel_sleepbonus_table2[7] = { -2, 0, 5, 4, 3, 1, 0 }; // ds:0x707f, { -2, 0, 5, 4, 3, 1, 0 }
  1007. char g_sea_travel_str_t[2] = "T"; // ds:0x708d
  1008. char g_sea_travel_str_en[3] = "EN"; // ds:0x708f
  1009. char g_sea_travel_str_comma[3] = ", "; // ds:0x7092
  1010. // ?1
  1011. char g_sea_travel_str_heller[10] = "%d^HELLER"; // ds:0x7096
  1012. char g_sea_travel_str_nothing[7] = "NICHTS"; // ds:0x70a0
  1013. // ?1
  1014. //struct{short min_size,price_mod,market_day,size;} g_market_descr_table[34] = { { 0x0004, 0x0028, -0x0001, 0x0000 }, { 0x000a, 0x0000, -0x0001, 0x0000 }, { 0x000b, 0x0000, 0x0003, 0x0000 }, { 0x000a, 0x0014, 0x0005, 0x0000 }, { 0x000d, -0x001e, 0x0005, 0x0000 }, { 0x0009, 0x0000, 0x0000, 0x0000 }, { 0x000e, -0x001e, 0x0003, 0x0000 }, { 0x000d, 0x0000, 0x0005, 0x0000 }, { 0x0013, 0x0000, 0x0003, 0x0000 }, { 0x000c, -0x000a, 0x0000, 0x0000 }, { 0x0008, 0x000a, 0x0003, 0x0000 }, { 0x0011, -0x000a, 0x0004, 0x0000 }, { 0x0010, 0x0000, 0x0001, 0x0000 }, { 0x000e, 0x000a, 0x0003, 0x0000 }, { 0x0006, 0x001e, 0x0005, 0x0000 }, { 0x0009, 0x000a, -0x0001, 0x0000 }, { 0x000a, 0x0028, -0x0001, 0x0000 }, { 0x0001, -0x0032, -0x0001, 0x0000 }, { 0x0007, 0x000a, 0x0005, 0x0000 }, { 0x000a, -0x0014, 0x0003, 0x0000 }, { 0x0009, 0x0014, 0x0003, 0x0000 }, { 0x0008, 0x000a, 0x0002, 0x0000 }, { 0x000b, 0x0014, 0x0001, 0x0000 }, { 0x000a, 0x0000, 0x0000, 0x0000 }, { 0x000a, 0x0014, 0x0005, 0x0000 }, { 0x0008, 0x0014, 0x0002, 0x0000 }, { 0x000e, -0x001e, 0x0005, 0x0000 }, { 0x0005, 0x0000, -0x0001, 0x0000 }, { 0x0009, -0x000a, 0x0005, 0x0000 }, { 0x000c, 0x001e, 0x0005, 0x0000 }, { 0x0005, 0x0014, 0x0001, 0x0000 }, { 0x000c, 0x0000, 0x0003, 0x0000 }, { 0x0004, 0x001e, 0x0004, 0x0000 }, { -0x0001, 0x0000, 0x0000, 0x0000 } }; // ds:0x70a8
  1015. unsigned char g_hyg_ani_x0[5] = { 0x52, 0x58, 0x59, 0x5a, 0x5a }; // ds:0x71b8
  1016. unsigned char g_hyg_ani_x1 = 0x5a; // ds:0x71bd
  1017. unsigned char g_hyg_ani_x2 = 0x5a; // ds:0x71be
  1018. unsigned char g_hyg_ani_x3[3] = { 0x5a, 0x5a, 0x5a }; // ds:0x71bf
  1019. unsigned char g_hyg_ani_x5 = 0xba; // ds:0x71c2
  1020. unsigned char g_hyg_ani_x6 = 0xba; // ds:0x71c3
  1021. unsigned char g_hyg_ani_x7[3] = { 0xb1, 0xa8, 0xa4 }; // ds:0x71c4
  1022. unsigned char g_hyg_ani_x9[3] = { 0x30, 0x26, 0x26 }; // ds:0x71c7
  1023. unsigned char g_towns_cityindex_table[52] = { 0x36, 0x04, 0x08, 0x07, 0x0a, 0x04, 0x02, 0x04, 0x04, 0x0c, 0x03, 0x04, 0x06, 0x03, 0x0c, 0x02, 0x12, 0x18, 0x03, 0x06, 0x01, 0x07, 0x0a, 0x07, 0x06, 0x08, 0x03, 0x0b, 0x0a, 0x03, 0x08, 0x04, 0x0c, 0x03, 0x05, 0x04, 0x08, 0x09, 0x16, 0x13, 0x03, 0x0a, 0x0a, 0x07, 0x06, 0x0a, 0x03, 0x0c, 0x02, 0x01, 0x01, 0x03 }; // ds:0x71ca
  1024. //RealPt g_daspota_locloot_index[18] = { 0x14fc3cce, 0x14fc3ceb, 0x14fc3cfa, 0x14fc3d09, 0x14fc3d12, 0x14fc3d31, 0x14fc3d4a, 0x14fc3d51, 0x00000000, 0x14fc3d60, 0x00000000, 0x14fc3d67, 0x14fc3d7c, 0x14fc3d85, 0x00000000, 0x14fc3d8a, 0x00000000, 0x14fc3d8f }; // ds:0x71fe
  1025. unsigned char g_mapval_to_loctype[12] = { 0x00, 0x0f, 0x1f, 0x3f, 0x5f, 0x7f, 0x9f, 0xaf, 0xbf, 0xcf, 0xdf, 0xef }; // ds:0x7246
  1026. signed char g_seg066_0bad_unkn0[29] = { 0x01, -0x01, 0x02, -0x01, 0x03, 0x04, 0x05, -0x01, 0x06, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0a, -0x01, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, -0x01, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 }; // ds:0x7252
  1027. signed char g_seg066_0bad_unkn1[29] = { 0x2a, -0x01, 0x2b, -0x01, 0x2c, 0x2d, 0x2e, -0x01, 0x2f, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x33, -0x01, 0x34, 0x35, 0x36, 0x37, 0x38, -0x01, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39 }; // ds:0x726f
  1028. signed char g_seg066_0bad_unkn2[29] = { 0x3a, -0x01, 0x3b, -0x01, 0x3c, 0x3d, 0x3e, -0x01, 0x3f, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x43, -0x01, 0x44, 0x45, 0x46, 0x47, 0x48, -0x01, 0x49, 0x49, 0x49, 0x49, 0x49, 0x49, 0x49 }; // ds:0x728c
  1029. signed char g_seg066_0bad_unkn3[29] = { 0x4e, -0x01, 0x4f, -0x01, 0x50, 0x51, 0x52, -0x01, 0x53, 0x53, 0x54, 0x55, 0x56, 0x57, 0x57, -0x01, 0x58, 0x59, 0x5a, 0x5b, 0x5c, -0x01, 0x5d, 0x5d, 0x5d, 0x5d, 0x5d, 0x5d, 0x5d }; // ds:0x72a9
  1030. signed char g_seg066_0bad_unkn4[29] = { 0x11, 0x12, 0x13, -0x01, 0x14, 0x15, 0x16, -0x01, -0x01, 0x17, 0x18, 0x19, 0x1a, 0x1b, -0x01, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29 }; // ds:0x72c6
  1031. signed char g_seg066_0bad_unkn5[29] = { -0x01, -0x01, -0x01, -0x01, 0x4a, 0x4a, 0x4a, -0x01, -0x01, -0x01, 0x4b, 0x4b, 0x4b, -0x01, -0x01, -0x01, 0x4c, 0x4c, 0x4c, 0x4c, 0x4c, -0x01, 0x4d, 0x4d, 0x4d, 0x4d, 0x4d, 0x4d, 0x4d }; // ds:0x72e3
  1032. signed char g_seg066_0bad_unkn6[29] = { -0x01, -0x01, -0x01, -0x01, 0x5e, 0x5e, 0x5e, -0x01, -0x01, -0x01, 0x5f, 0x5f, 0x5f, -0x01, -0x01, -0x01, 0x60, 0x60, 0x60, 0x60, 0x60, -0x01, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61 }; // ds:0x7300
  1033. signed char g_seg066_0bad_unkn7[29] = { -0x01, -0x01, -0x01, -0x01, 0x62, 0x62, 0x62, -0x01, -0x01, -0x01, 0x63, 0x63, 0x63, -0x01, -0x01, -0x01, 0x64, 0x64, 0x64, 0x64, 0x64, -0x01, 0x65, 0x65, 0x65, 0x65, 0x65, 0x65, 0x65 }; // ds:0x731d
  1034. //struct{signed short x,y;} g_visual_field_offsets_std[29] = { { 0x0000, 0x0001 }, { -0x0001, -1 }, { 0x00bd, 0x0001 }, { -0x0141, 0x000e }, { -0x0097, 0x000e }, { 0x0013, 0x000e }, { 0x00bd, 0x000e }, { 0x0167, 0x000e }, { -0x00fd, 0x002e }, { -0x0097, 0x002e }, { -0x0031, 0x0024 }, { 0x0035, 0x0024 }, { 0x009b, 0x0024 }, { 0x0101, 0x002e }, { 0x0167, 0x002e }, { -0x005c, 0x0032 }, { -0x0024, 0x0032 }, { 0x0014, 0x0032 }, { 0x004c, 0x0032 }, { 0x0084, 0x0032 }, { 0x00bc, 0x0032 }, { 0x00f4, 0x0032 }, { -0x000e, 0x0039 }, { 0x0014, 0x0039 }, { 0x0036, 0x0039 }, { 0x0058, 0x0039 }, { 0x007a, 0x0039 }, { 0x009c, 0x0039 }, { 0x00be, 0x0039 } }; // ds:0x733a
  1035. //struct{signed short x,y;} g_visual_field_offsets_sign[29] = { { 0x0014, 0x0001 }, { -0x0001, -1 }, { 0x00a9, 0x0001 }, { -0x0141, 0x000e }, { -0x0065, 0x000e }, { 0x0013, 0x000e }, { 0x008b, 0x000e }, { 0x0167, 0x000e }, { -0x00fd, 0x002e }, { -0x0097, 0x002e }, { -0x001d, 0x0024 }, { 0x0035, 0x0024 }, { 0x0091, 0x0024 }, { 0x0101, 0x002e }, { 0x0167, 0x002e }, { -0x005c, 0x0032 }, { -0x0024, 0x0032 }, { 0x0014, 0x0032 }, { 0x004c, 0x0032 }, { 0x0084, 0x0032 }, { 0x00bc, 0x0032 }, { 0x00f4, 0x0032 }, { -0x000e, 0x0039 }, { 0x0014, 0x0039 }, { 0x0036, 0x0039 }, { 0x0058, 0x0039 }, { 0x007a, 0x0039 }, { 0x009c, 0x0039 }, { 0x00be, 0x0039 } }; // ds:0x73ae
  1036. //struct{signed short x,y;} g_visual_field_offsets_inn[29] = { { 0x0000, 0x0001 }, { -0x0001, -1 }, { 0x00bd, 0x0001 }, { -0x0141, 0x0000 }, { -0x0097, 0x0000 }, { 0x002d, 0x0000 }, { 0x00bd, 0x0000 }, { 0x0167, 0x0000 }, { -0x00fd, 0x0000 }, { -0x0097, 0x0000 }, { -0x0031, 0x0000 }, { 0x0046, 0x0000 }, { 0x009b, 0x0000 }, { 0x0101, 0x0000 }, { 0x0167, 0x0000 }, { -0x005c, 0x0000 }, { -0x0024, 0x0000 }, { 0x000e, 0x0000 }, { 0x0057, 0x0000 }, { 0x008a, 0x0000 }, { 0x00bc, 0x0000 }, { 0x00f4, 0x0000 }, { -0x000e, 0x000e }, { 0x0014, 0x000e }, { 0x0034, 0x000e }, { 0x005c, 0x000e }, { 0x007c, 0x000e }, { 0x009c, 0x000e }, { 0x00be, 0x000e } }; // ds:0x7422
  1037. //struct{signed short x,y;} g_visual_field_offsets_grass[29] = { { 0x0000, 0x007a }, { 0x0000, 0x007a }, { 0x00bd, 0x007a }, { 0x0000, 0x0064 }, { 0x0000, 0x0064 }, { 0x0014, 0x0064 }, { 0x009b, 0x0064 }, { 0x0167, 0x0064 }, { 0x0000, 0x0055 }, { 0x0000, 0x0055 }, { 0x0000, 0x0055 }, { 0x0036, 0x0055 }, { 0x0084, 0x0055 }, { 0x00be, 0x0055 }, { 0x00be, 0x0055 }, { 0x0000, 0x004d }, { 0x0000, 0x004d }, { 0x0017, 0x004d }, { 0x004d, 0x004d }, { 0x0078, 0x004d }, { 0x0099, 0x004d }, { 0x00ba, 0x004d }, { 0x0000, 0x0043 }, { 0x001e, 0x0043 }, { 0x003c, 0x0043 }, { 0x0059, 0x0043 }, { 0x0068, 0x0043 }, { 0x006b, 0x0043 }, { 0x006d, 0x0043 } }; // ds:0x7496
  1038. //struct{unsigned char[18];} g_tex_descr_table[101] = { { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xaa, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xde, 0xff, 0xff, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0xff, 0xff, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x66, 0x00, 0xff, 0xff, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0xe9, 0xff, 0xff, 0xff, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0xff, 0xff, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xf5, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xdf, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0a, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x09, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x08, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x05, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x04, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x02, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x06, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xaa, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xde, 0xff, 0xff, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0xff, 0xff, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x66, 0x00, 0xff, 0xff, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0xe9, 0xff, 0xff, 0xff, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0xff, 0xff, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xf5, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xdf, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xaa, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xde, 0xff, 0xff, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0xff, 0xff, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x66, 0x00, 0xff, 0xff, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0xe9, 0xff, 0xff, 0xff, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0xff, 0xff, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xf5, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xdf, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x31, 0x00, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x1c, 0x00, 0x0d, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0f, 0x00, 0x07, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x09, 0x00, 0x05, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xaa, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0a, 0x00, 0xde, 0xff, 0xff, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0xff, 0xff, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x66, 0x00, 0xff, 0xff, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x0b, 0x00, 0xe9, 0xff, 0xff, 0xff, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0xff, 0xff, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x38, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xf5, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xdf, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0xe8, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0xf2, 0xff, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0xf7, 0xff, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0xfa, 0xff, 0xf3, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0xfe, 0xff, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xf3, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff } }; // ds:0x750a
  1039. signed char g_visual_field_draw_order[29] = { 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x0f, 0x10, 0x15, 0x14, 0x11, 0x13, 0x12, 0x08, 0x09, 0x0e, 0x0d, 0x0a, 0x0c, 0x0b, 0x03, 0x04, 0x07, 0x06, 0x05, 0x00, 0x02, 0x01 }; // ds:0x7c24
  1040. signed char g_can_merge_group = -1; // ds:0x7c41, {-1,1}
  1041. unsigned char g_c_event_active; // ds:0x7c42, 0 = default, 1 = city event active
  1042. // ?1
  1043. char g_str_bank_deposit_to_big[57] = "TUT MIR LEID, ICH AKZEPTIERE MAXIMAL 30000 SILBERM\x9aNZEN!"; // ds:0x7c44
  1044. char g_str_obviously_closed[28] = "OFFENSICHTLICH GESCHLOSSEN!"; // ds:0x7c7d
  1045. // ?1
  1046. unsigned char g_tmap_double1; // ds:0x7c9a, 1 = unicorn brought a piece you already have
  1047. unsigned char g_tmap_double2; // ds:0x7c9b, 1 = you got a piece you already have from the unicorn
  1048. unsigned char g_swafnild_travelled; // ds:0x7c9c
  1049. unsigned char g_towns_gossip_max[52] = { 0x00, 0x1a, 0x0e, 0x0d, 0x05, 0x09, 0x06, 0x06, 0x07, 0x10, 0x07, 0x0b, 0x08, 0x0a, 0x0c, 0x11, 0x12, 0x0e, 0x10, 0x02, 0x0e, 0x00, 0x09, 0x0c, 0x0d, 0x0c, 0x0b, 0x07, 0x0a, 0x0c, 0x0a, 0x0c, 0x06, 0x0a, 0x09, 0x09, 0x08, 0x11, 0x0e, 0x0c, 0x00, 0x02, 0x07, 0x0f, 0x0b, 0x06, 0x0a, 0x08, 0x09, 0x0b, 0x0a, 0x00 }; // ds:0x7c9d
  1050. unsigned char g_towns_gossip_off[52] = { 0x00, 0x38, 0x06, 0x0a, 0x09, 0x0c, 0x06, 0x04, 0x06, 0x06, 0x0e, 0x05, 0x06, 0x08, 0x05, 0x0e, 0x04, 0x14, 0x1a, 0x05, 0x08, 0x00, 0x09, 0x0c, 0x09, 0x08, 0x0a, 0x05, 0x0d, 0x0c, 0x05, 0x0a, 0x06, 0x0e, 0x05, 0x07, 0x06, 0x0a, 0x0b, 0x18, 0x00, 0x05, 0x0c, 0x0c, 0x09, 0x08, 0x0c, 0x05, 0x0e, 0x04, 0x03, 0x00 }; // ds:0x7cd1
  1051. // ?1
  1052. char g_gossip_str_triple_wildcard[8] = "%s %s%s"; // ds:0x7d06
  1053. //struct{unsigned char r,g,b;} g_palette_fight2[20] = { { 0x00, 0x00, 0x00 }, { 0x3f, 0x00, 0x00 }, { 0x00, 0x3f, 0x00 }, { 0x00, 0x00, 0x3f }, { 0x3f, 0x3f, 0x00 }, { 0x3f, 0x00, 0x3f }, { 0x00, 0x3f, 0x3f }, { 0x3f, 0x1f, 0x1f }, { 0x1f, 0x1f, 0x3f }, { 0x0f, 0x1f, 0x0f }, { 0x0f, 0x0f, 0x1f }, { 0x20, 0x05, 0x00 }, { 0x3f, 0x1f, 0x00 }, { 0x3f, 0x00, 0x1f }, { 0x28, 0x22, 0x00 }, { 0x1f, 0x1f, 0x1f }, { 0x20, 0x00, 0x33 }, { 0x27, 0x13, 0x00 }, { 0x00, 0x30, 0x00 }, { 0x0a, 0x0a, 0x0a } }; // ds:0x7d0e
  1054. unsigned char g_automap_bitmask[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; // ds:0x7d4a, { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }
  1055. unsigned char g_automap_tile_arrowup[49] = { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1 }; // ds:0x7d52
  1056. unsigned char g_automap_tile_arrowright[49] = { 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }; // ds:0x7d83
  1057. unsigned char g_automap_tile_cross[49] = { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 }; // ds:0x7db4
  1058. signed short g_automap_selx = -1; // ds:0x7de5
  1059. signed short g_automap_sely = -1; // ds:0x7de7
  1060. // ?1
  1061. //struct{unsigned char[18];} g_dng_gfxtab_ships[88] = { { 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x04, 0x00, 0x13, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, 0xde, 0xff, 0x00, 0x00, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0x66, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x27, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x24, 0x00, 0x05, 0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x18, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0e, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x55, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x30, 0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x23, 0x00, 0x0c, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x16, 0x00, 0x0a, 0x00, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0d, 0x00, 0x06, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x15, 0x00, 0x13, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x1a, 0x00, 0x17, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x14, 0x00, 0xde, 0xff, 0x00, 0x00, 0x1a, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x10, 0x00, 0x0d, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x08, 0x00, 0x08, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x08, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x08, 0x00, 0x08, 0x00, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x08, 0x00, 0x08, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x08, 0x00, 0x08, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x23, 0x00, 0x20, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x16, 0x00, 0x1b, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0d, 0x00, 0x10, 0x00, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x1a, 0x00, 0x17, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x10, 0x00, 0x0d, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x08, 0x00, 0x08, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x08, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x08, 0x00, 0x08, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x08, 0x00, 0x08, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x08, 0x00, 0x08, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff } }; // ds:0x7dea
  1062. //struct{unsigned char[18];} g_dng_gfxtab_stones[88] = { { 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x04, 0x00, 0x13, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, 0xde, 0xff, 0x00, 0x00, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0x66, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x06, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x02, 0x00, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x02, 0x00, 0x02, 0x00, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x02, 0x00, 0x27, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x07, 0x00, 0x00, 0x00, 0x26, 0x00, 0x07, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x29, 0x00, 0x2a, 0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x16, 0x00, 0x18, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x18, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x27, 0x00, 0x28, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x13, 0x00, 0x13, 0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x18, 0x00, 0x0b, 0x00, 0x09, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x2f, 0x00, 0xf2, 0xff, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x16, 0x00, 0xfa, 0xff, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0d, 0x00, 0xff, 0xff, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x15, 0x00, 0x13, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x23, 0x00, 0x1d, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x14, 0x00, 0xde, 0xff, 0x00, 0x00, 0x1a, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x13, 0x00, 0x12, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x13, 0x00, 0x12, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x13, 0x00, 0x12, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x0b, 0x00, 0x09, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x0b, 0x00, 0x09, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x27, 0x00, 0x20, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x18, 0x00, 0x14, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x0d, 0x00, 0x10, 0x00, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x23, 0x00, 0x1d, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x13, 0x00, 0x12, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x13, 0x00, 0x12, 0x00, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x13, 0x00, 0x12, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x0b, 0x00, 0x09, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x0b, 0x00, 0x09, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x0b, 0x00, 0x09, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x16, 0x00, 0x18, 0x00, 0x2e, 0x00, 0x66, 0x00, 0xfc, 0xff, 0x0a, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x16, 0x00, 0x18, 0x00, 0x2e, 0x00, 0xe9, 0xff, 0xfc, 0xff, 0x10, 0x80 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x13, 0x00, 0x13, 0x00, 0x31, 0x00, 0x66, 0x00, 0xfc, 0xff, 0x0a, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x13, 0x00, 0x13, 0x00, 0x31, 0x00, 0xe9, 0xff, 0xfc, 0xff, 0x10, 0x80 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x04, 0x00, 0x13, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, 0xde, 0xff, 0x00, 0x00, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff } }; // ds:0x841a
  1063. //struct{unsigned char[18];} g_dng_gfxtab_marbles[88] = { { 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x0e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x04, 0x00, 0x13, 0x00, 0xfb, 0xff, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x03, 0x00, 0xde, 0xff, 0xfb, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x66, 0x00, 0xfc, 0xff, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0xe9, 0xff, 0xfc, 0xff, 0x10, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x36, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xf6, 0xff, 0xff, 0xff, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x27, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x28, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x2c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x05, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x12, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x09, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x05, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x11, 0x00, 0xff, 0xff, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x3b, 0x00, 0x04, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x25, 0x00, 0x03, 0x00, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x16, 0x00, 0x03, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x19, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x15, 0x00, 0x13, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x1c, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x14, 0x00, 0xde, 0xff, 0x00, 0x00, 0x1a, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x10, 0x00, 0x08, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x10, 0x00, 0x08, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x10, 0x00, 0x08, 0x00, 0x20, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x08, 0x00, 0x04, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x04, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x08, 0x00, 0x04, 0x00, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x08, 0x00, 0x04, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x08, 0x00, 0x04, 0x00, 0x21, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x35, 0x00, 0x34, 0x00, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x23, 0x00, 0x24, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x15, 0x00, 0x15, 0x00, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x16, 0x00, 0x1c, 0x00, 0x0f, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x66, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x11, 0x00, 0x08, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0x11, 0x00, 0x08, 0x00, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x17, 0x00, 0xe9, 0xff, 0x00, 0x00, 0x1b, 0x80, 0x11, 0x00, 0x08, 0x00, 0x23, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x38, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1c, 0x80, 0x0a, 0x00, 0x02, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x1e, 0x80, 0x0a, 0x00, 0x02, 0x00, 0x24, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x12, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x66, 0x00, 0xfc, 0xff, 0x0a, 0x00 }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x12, 0x00, 0x00, 0x00, 0x2e, 0x00, 0xe9, 0xff, 0xfc, 0xff, 0x10, 0x80 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x11, 0x00, 0xff, 0xff, 0x31, 0x00, 0x66, 0x00, 0xfc, 0xff, 0x0a, 0x00 }, { 0x00, 0x00, 0xfd, 0xff, 0x06, 0x00, 0x11, 0x00, 0xff, 0xff, 0x31, 0x00, 0xe9, 0xff, 0xfc, 0xff, 0x10, 0x80 }, { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xff, 0x00, 0x00, 0x12, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x04, 0x00, 0x13, 0x00, 0xfb, 0xff, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xfc, 0xff, 0x03, 0x00, 0xde, 0xff, 0xfb, 0xff, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x38, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x36, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xf6, 0xff, 0xff, 0xff, 0x11, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }, { 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xf4, 0xff, 0x00, 0x00, 0x13, 0x80, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff } }; // ds:0x8a4a
  1064. unsigned char g_dng_stub3_unkn0[22] = { 0x01, 0xff, 0x02, 0xff, 0x03, 0x04, 0x05, 0xff, 0x06, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0a, 0xff, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0xff }; // ds:0x907a
  1065. unsigned char g_dng_stub3_unkn1[22] = { 0xff, 0xff, 0xff, 0xff, 0x10, 0x11, 0x12, 0xff, 0xff, 0xff, 0x13, 0x14, 0x15, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; // ds:0x9090
  1066. unsigned char g_dng_stub3_unkn2[22] = { 0xff, 0xff, 0xff, 0xff, 0x16, 0x17, 0x18, 0xff, 0xff, 0xff, 0x19, 0x1a, 0x1b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; // ds:0x90a6
  1067. unsigned char g_dng_stub3_unkn3[22] = { 0x01, 0xff, 0x02, 0xff, 0x53, 0x1c, 0x54, 0xff, 0x4b, 0x4b, 0x4c, 0x1d, 0x4d, 0x4e, 0x4e, 0xff, 0x55, 0x56, 0x1e, 0x57, 0x58, 0xff }; // ds:0x90bc
  1068. unsigned char g_dng_stub3_unkn4[22] = { 0x01, 0xff, 0x02, 0xff, 0x53, 0x1f, 0x54, 0xff, 0x4f, 0x4f, 0x50, 0x20, 0x51, 0x52, 0x52, 0xff, 0x55, 0x56, 0x21, 0x57, 0x58, 0xff }; // ds:0x90d2
  1069. unsigned char g_dng_stub3_unkn5[22] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0x22, 0xff, 0xff, 0xff, 0xff, 0xff, 0x23, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x24, 0xff, 0xff, 0xff }; // ds:0x90e8
  1070. unsigned char g_dng_stub3_unkn6[22] = { 0x25, 0xff, 0x26, 0xff, 0x27, 0x28, 0x29, 0xff, 0x2a, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2e, 0xff, 0x2f, 0x30, 0x31, 0x32, 0x33, 0xff }; // ds:0x90fe
  1071. unsigned char g_dng_stub3_unkn7[22] = { 0x25, 0xff, 0x26, 0xff, 0x27, 0x34, 0x29, 0xff, 0x35, 0x35, 0x36, 0x37, 0x38, 0x39, 0x39, 0xff, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0xff }; // ds:0x9114
  1072. unsigned char g_dng_stub3_unkn8[22] = { 0x25, 0xff, 0x26, 0xff, 0x27, 0x42, 0x29, 0xff, 0x2a, 0x2a, 0x43, 0x44, 0x45, 0x2e, 0x2e, 0xff, 0x46, 0x47, 0x48, 0x49, 0x4a, 0xff }; // ds:0x912a
  1073. unsigned char g_dng_stub3_unkn9[22] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0x40, 0x40, 0x40, 0x40, 0x40, 0xff, 0xff, 0x41, 0x41, 0x41, 0x41, 0x41, 0xff }; // ds:0x9140
  1074. signed short g_dng_stub4_unkn0[44] = { 0x0000, 0x0001, -0x0001, -0x0001, 0x00bd, 0x0001, -0x0013, 0x000e, 0x0000, 0x000e, 0x0013, 0x000e, 0x00bd, 0x000e, 0x0167, 0x000e, -0x00fd, 0x002e, -0x0097, 0x002e, -0x0031, 0x0024, 0x0035, 0x0024, 0x009b, 0x0024, 0x0101, 0x002e, 0x0167, 0x002e, -0x005c, 0x0032, -0x0024, 0x0032, 0x0014, 0x0032, 0x004c, 0x0032, 0x0084, 0x0032, 0x00bc, 0x0032, 0x00f4, 0x0032 }; // ds:0x9156
  1075. signed short g_dng_stub4_unkn1[44] = { 0x0000, 0x0001, -0x0001, -0x0001, 0x00bd, 0x0001, -0x0013, 0x000e, 0x0000, 0x000e, 0x0013, 0x000e, 0x00bd, 0x000e, 0x0167, 0x000e, -0x00fd, 0x002e, -0x0097, 0x002e, -0x0031, 0x0024, 0x0035, 0x0024, 0x009b, 0x0024, 0x0101, 0x002e, 0x0167, 0x002e, -0x0001, -0x0001, -0x0024, 0x0032, 0x0014, 0x0032, 0x004c, 0x0032, 0x0084, 0x0032, 0x00bc, 0x0032, -0x0001, -1 }; // ds:0x91ae
  1076. signed short g_dng_stub4_unkn2[44] = { -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, 0x0000, 0x0066, 0x0037, 0x0065, 0x00bc, 0x0066, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, 0x0000, 0x0057, 0x004a, 0x0057, 0x00a0, 0x0057, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -1 }; // ds:0x9206
  1077. signed short g_dng_stub4_unkn3[44] = { -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, 0x0002, 0x0013, 0x003e, 0x0013, 0x00bc, 0x0013, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, 0x0002, 0x0023, 0x0051, 0x0023, 0x00a4, 0x0023, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -0x0001, -1 }; // ds:0x925e
  1078. signed char g_dng_stub4_unkn4[22] = { 0x0f, 0x10, 0x15, 0x14, 0x11, 0x13, 0x12, 0x08, 0x09, 0x0e, 0x0d, 0x0a, 0x0c, 0x0b, 0x03, 0x04, 0x07, 0x06, 0x05, 0x00, 0x02, 0x01 }; // ds:0x92b6
  1079. char g_dng_stub6_str_comma[3] = ", "; // ds:0x92cc
  1080. char g_dng_stub6_str_and[6] = " UND "; // ds:0x92cf
  1081. // ?1
  1082. //RealPt g_dng_handlers[15] = { 0x13d10020, 0x13d70048, 0x13dd0066, 0x13e4003e, 0x13e40043, 0x13e9002a, 0x13ed0020, 0x13f00057, 0x13f60048, 0x13fc003e, 0x14010066, 0x1417002a, 0x141b0043, 0x14080020, 0x1411003e }; // ds:0x92d6
  1083. unsigned short g_dng_level_changed; // ds:0x9312
  1084. //struct{unsigned char[21];} g_dng01_specialchests[9] = { { 0x09, 0x0c, 0xdb, 0x52, 0x00, 0x20, 0x14, 0x25, 0x00, 0x20, 0x14, 0x43, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x15, 0x02, 0x4d, 0x00, 0x20, 0x14, 0x2a, 0x00, 0x20, 0x14, 0x25, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x1e, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x2a, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x3d, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x34, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x13, 0x00, 0x00 }, { 0x06, 0x3e, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x39, 0x00, 0x20, 0x14, 0x34, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x3d, 0x01, 0x48, 0x00, 0xd1, 0x13, 0x4d, 0x00, 0xd1, 0x13, 0x52, 0x00, 0xd1, 0x13, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x4d, 0x01, 0x3e, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x39, 0x00, 0xd1, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9314
  1085. char g_dng01_str_marbo[6] = { 0x4d, 0x41, 0x52, 0x42, 0x4f, 0x00 }; // ds:0x93d1
  1086. // ?1
  1087. //struct{unsigned char[21];} g_dng02_specialchests[8] = { { 0x0b, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x14, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x2a, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x14, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x2f, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x1e, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x70, 0x00, 0x20, 0x14, 0x39, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x11, 0x01, 0x3e, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0xd7, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x93d8
  1088. //struct{unsigned char[21];} g_dng03_specialchests[14] = { { 0x03, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xdd, 0x13, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00 }, { 0x06, 0x0a, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x2f, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x0b, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x61, 0x00, 0x20, 0x14, 0x34, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x09, 0x05, 0x4d, 0x00, 0x20, 0x14, 0x75, 0x00, 0x20, 0x14, 0x39, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x0b, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x3e, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x11, 0x01, 0x4d, 0x00, 0x20, 0x14, 0x7a, 0x00, 0x20, 0x14, 0x48, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x11, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x6b, 0x00, 0x20, 0x14, 0x4d, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x20, 0x4e, 0x00, 0x00 }, { 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x57, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x1a, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x61, 0x00, 0xdd, 0x13, 0x5c, 0x00, 0xdd, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9480
  1089. char g_dng03_str_spinnennetz[12] = "SPINNENNETZ"; // ds:0x95a6
  1090. char g_dng03_str_mactans[8] = "MACTANS"; // ds:0x95b2
  1091. //struct{unsigned char[21];} g_dng04_specialchests[4] = { { 0x07, 0x06, 0x01, 0x25, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x01, 0x01, 0x2f, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x06, 0x01, 0x39, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0xe4, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x95ba
  1092. short g_dng05_trash_flag; // ds:0x960e
  1093. //struct{unsigned char[21];} g_dng06_specialchests[3] = { { 0x03, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xe9, 0x13, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00 }, { 0x04, 0x19, 0x00, 0x4d, 0x00, 0x20, 0x14, 0x61, 0x00, 0x20, 0x14, 0x25, 0x00, 0xe9, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9610
  1094. char g_str_s_war[8] = "%s WAR "; // ds:0x964f
  1095. char g_str_s_und_s_waren[17] = "%s UND %s WAREN "; // ds:0x9657
  1096. //struct{unsigned char[21];} g_dng07_specialchests[2] = { { 0x05, 0x28, 0x05, 0x4d, 0x00, 0x20, 0x14, 0x75, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0xc3, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9668
  1097. //struct{unsigned char[21];} g_dng08_specialchests[7] = { { 0x01, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x0e, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x20, 0x00, 0xf0, 0x13, 0x2f, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x09, 0x00, 0x39, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0d, 0x05, 0x05, 0x48, 0x00, 0xf0, 0x13, 0x5c, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x06, 0x05, 0x4d, 0x00, 0xf0, 0x13, 0x5c, 0x00, 0x20, 0x14, 0x3e, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x06, 0x05, 0x52, 0x00, 0xf0, 0x13, 0x5c, 0x00, 0x20, 0x14, 0x43, 0x00, 0xf0, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9692
  1098. char g_dng08_str_tairach[8] = "TAIRACH"; // ds:0x9725
  1099. // ?1
  1100. //struct{unsigned char[21];} g_dng09_specialchests[8] = { { 0x08, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xf6, 0x13, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00 }, { 0x04, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0xf6, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x0e, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xf6, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x00, 0xf6, 0x13, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00 }, { 0x08, 0x19, 0x08, 0x4d, 0x00, 0x20, 0x14, 0x43, 0x00, 0xf6, 0x13, 0x34, 0x00, 0xf6, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x11, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x39, 0x00, 0xf6, 0x13, 0x00, 0x00, 0xdc, 0x05, 0x00, 0x00 }, { 0x05, 0x11, 0x08, 0x4d, 0x00, 0x20, 0x14, 0x66, 0x00, 0x20, 0x14, 0x3e, 0x00, 0xf6, 0x13, 0x00, 0x00, 0xa8, 0x61, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x972e
  1101. //struct{unsigned char[21];} g_dng10_specialchests[6] = { { 0x02, 0x05, 0x01, 0x25, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x11, 0x00, 0x4d, 0x00, 0x20, 0x14, 0x7a, 0x00, 0x20, 0x14, 0x34, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x00, 0xfc, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x97d6
  1102. //struct{unsigned char[21];} g_dng11_specialchests[15] = { { 0x0c, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00 }, { 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x15, 0x00 }, { 0x0c, 0x0e, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x84, 0x00, 0x20, 0x14, 0x2a, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x0e, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x84, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0d, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x01, 0x14, 0x00, 0x00, 0xe6, 0x00, 0x00, 0x00 }, { 0x0a, 0x01, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x39, 0x00, 0x01, 0x14, 0x00, 0x00, 0xa8, 0x02, 0x00, 0x00 }, { 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x01, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x01, 0x14, 0x00, 0x00, 0xb8, 0x01, 0x00, 0x00 }, { 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x06, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x7f, 0x00, 0x20, 0x14, 0x52, 0x00, 0x01, 0x14, 0x00, 0x00, 0xd0, 0x07, 0x00, 0x00 }, { 0x05, 0x0b, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x7a, 0x00, 0x20, 0x14, 0x57, 0x00, 0x01, 0x14, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00 }, { 0x05, 0x0c, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x7a, 0x00, 0x20, 0x14, 0x5c, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x09, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9854
  1103. // ?1
  1104. //struct{unsigned char[21];} g_dng14_specialchests[9] = { { 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x13, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x25, 0x00, 0x20, 0x14, 0x34, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x14, 0x04, 0x4d, 0x00, 0x20, 0x14, 0x25, 0x00, 0x20, 0x14, 0x39, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x15, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x2f, 0x00, 0x20, 0x14, 0x43, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x3c, 0x28, 0x00, 0x00 }, { 0x02, 0x2d, 0x08, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x2d, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x52, 0x00, 0x0b, 0x14, 0x4d, 0x00, 0x0b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9990
  1105. // ?1
  1106. //struct{unsigned char[21];} g_dng15_specialchests[33] = { { 0x0b, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0d, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x13, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x09, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x08, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x09, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x1e, 0x08, 0x4d, 0x00, 0x20, 0x14, 0x5c, 0x00, 0x20, 0x14, 0x52, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x15, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x26, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0c, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x57, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x09, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x57, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x05, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x37, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x37, 0x03, 0x4d, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x03, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x06, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x11, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9a4e
  1107. // ?1
  1108. //struct{unsigned char[21];} g_dng12_specialchests[3] = { { 0x0a, 0x08, 0x06, 0x4d, 0x00, 0x20, 0x14, 0x84, 0x00, 0x20, 0x14, 0x25, 0x00, 0x17, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x07, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9d04
  1109. signed short g_dng12_obstacle_tries; // ds:0x9d43
  1110. signed short g_dng12_watertrap_bak; // ds:0x9d45
  1111. // ?1
  1112. //struct{unsigned char[21];} g_dng13_specialchests[2] = { { 0x05, 0x0b, 0x01, 0x34, 0x00, 0x1b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x1b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x01, 0x04, 0x01, 0x2f, 0x00, 0x1b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x39, 0x00, 0x1b, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0x9d48
  1113. // ?18
  1114. //RealPt g_dng_specialchest_index[16] = { 0x00000000, 0x14fc9314, 0x14fc93d8, 0x14fc9480, 0x14fc95ba, 0x00000000, 0x14fc9610, 0x14fc9668, 0x14fc9692, 0x14fc972e, 0x14fc97d6, 0x14fc9854, 0x14fc9d04, 0x14fc9d48, 0x14fc9990, 0x14fc9a4e }; // ds:0x9d84
  1115. char g_str_single_space[2] = " "; // ds:0x9dc4
  1116. //struct{char from, to, length, speed_mod, encounters, u1, u2, fights, u3;} g_routes_tab[59] = { { 0x01, 0x2c, 0x22, 0x01, 0x0a, 0x19, 0x00, 0x0a, 0x64 }, { 0x2c, 0x2b, 0x28, 0x01, 0x0a, 0x14, 0x00, 0x0a, 0x64 }, { 0x2b, 0x28, 0x15, 0x01, 0x0a, 0x05, 0x00, 0x0a, 0x64 }, { 0x01, 0x02, 0x09, 0x02, 0x05, 0x64, 0x00, 0x05, 0x64 }, { 0x02, 0x09, 0x1b, 0x02, 0x05, 0x64, 0x00, 0x05, 0x64 }, { 0x09, 0x0a, 0x0f, 0x02, 0x05, 0x64, 0x00, 0x05, 0x64 }, { 0x02, 0x03, 0x24, -0x01, 0x19, 0x0a, 0x00, 0x0a, 0x5a }, { 0x31, 0x0b, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0b, 0x03, 0x1c, 0x00, 0x14, 0x0f, 0x05, 0x14, 0x4b }, { 0x03, 0x04, 0x21, 0x00, 0x19, 0x0f, 0x05, 0x14, 0x4b }, { 0x04, 0x05, 0x1e, 0x00, 0x1e, 0x0f, 0x05, 0x14, 0x4b }, { 0x05, 0x06, 0x26, 0x00, 0x1e, 0x0f, 0x05, 0x14, 0x4b }, { 0x06, 0x07, 0x18, 0x00, 0x23, 0x0f, 0x05, 0x14, 0x4b }, { 0x07, 0x08, 0x1b, -0x01, 0x28, 0x05, 0x05, 0x1e, 0x32 }, { 0x01, 0x31, 0x15, 0x01, 0x0f, 0x41, 0x00, 0x14, 0x64 }, { 0x31, 0x0c, 0x0b, 0x01, 0x0f, 0x37, 0x00, 0x14, 0x64 }, { 0x0c, 0x32, 0x16, 0x01, 0x0f, 0x37, 0x00, 0x19, 0x64 }, { 0x32, 0x0e, 0x0c, 0x01, 0x14, 0x37, 0x00, 0x19, 0x64 }, { 0x32, 0x0d, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0e, 0x0f, 0x18, 0x01, 0x0f, 0x3c, 0x00, 0x1e, 0x64 }, { 0x0f, 0x10, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0f, 0x12, 0x69, -0x01, 0x23, 0x0a, 0x05, 0x2d, 0x64 }, { 0x12, 0x13, 0x11, -0x01, 0x23, 0x19, 0x05, 0x3c, 0x64 }, { 0x12, 0x15, 0x39, -0x02, 0x19, 0x00, 0x00, 0x32, 0x64 }, { 0x2b, 0x0e, 0x34, -0x01, 0x0f, 0x19, 0x05, 0x0f, 0x4b }, { 0x28, 0x29, 0x13, -0x02, 0x0f, 0x05, 0x05, 0x05, 0x28 }, { 0x28, 0x25, 0x24, -0x01, 0x14, 0x05, 0x1e, 0x00, 0x14 }, { 0x25, 0x26, 0x30, -0x01, 0x0f, 0x0a, 0x1e, 0x00, 0x0a }, { 0x26, 0x27, 0x1b, 0x00, 0x0f, 0x19, 0x23, 0x00, 0x05 }, { 0x27, 0x21, 0x22, 0x00, 0x0a, 0x19, 0x1e, 0x00, 0x00 }, { 0x25, 0x1c, 0x41, -0x02, 0x1e, 0x05, 0x0a, 0x05, 0x05 }, { 0x1c, 0x1b, 0x1d, 0x00, 0x0f, 0x1e, 0x19, 0x0a, 0x14 }, { 0x1b, 0x1a, 0x19, 0x00, 0x14, 0x1e, 0x19, 0x0a, 0x0f }, { 0x1a, 0x18, 0x18, 0x00, 0x05, 0x19, 0x14, 0x0a, 0x0a }, { 0x18, 0x17, 0x15, 0x00, 0x0a, 0x1e, 0x19, 0x0a, 0x14 }, { 0x1b, 0x19, 0x2a, -0x02, 0x19, 0x14, 0x0f, 0x05, 0x0f }, { 0x19, 0x18, 0x13, 0x00, 0x14, 0x1e, 0x19, 0x05, 0x14 }, { 0x1a, 0x19, 0x2f, 0x00, 0x14, 0x19, 0x14, 0x05, 0x0f }, { 0x0f, 0x11, 0x0c, 0x01, 0x0f, 0x3c, 0x00, 0x19, 0x64 }, { 0x11, 0x14, 0x14, -0x02, 0x32, 0x05, 0x0a, 0x1e, 0x4b }, { 0x14, 0x16, 0x32, -0x02, 0x32, 0x05, 0x0a, 0x1e, 0x4b }, { 0x16, 0x17, 0x1e, -0x02, 0x32, 0x05, 0x0a, 0x1e, 0x4b }, { 0x17, 0x2d, 0x1c, 0x01, 0x14, 0x28, 0x32, 0x05, 0x0f }, { 0x2d, 0x2e, 0x1d, 0x01, 0x14, 0x1e, 0x32, 0x05, 0x0a }, { 0x11, 0x15, 0x51, -0x03, 0x32, 0x00, 0x00, 0x32, 0x64 }, { 0x14, 0x15, 0x43, -0x03, 0x32, 0x00, 0x00, 0x32, 0x64 }, { 0x29, 0x19, 0x3c, -0x04, 0x28, 0x00, 0x0a, 0x05, 0x0a }, { 0x26, 0x1c, 0x44, -0x04, 0x28, 0x00, 0x05, 0x05, 0x05 }, { 0x08, 0x12, -0x74, -0x04, 0x32, 0x00, 0x00, 0x0a, 0x1e }, { 0x09, 0x05, 0x47, -0x02, 0x19, 0x05, 0x05, 0x0a, 0x32 }, { 0x1c, 0x1e, 0x17, -0x02, 0x19, 0x05, 0x05, 0x00, 0x14 }, { 0x2a, 0x2a, 0x46, -0x03, 0x23, 0x00, 0x00, 0x00, 0x00 }, { 0x2a, 0x33, 0x09, -0x02, 0x28, 0x05, 0x05, 0x00, 0x00 }, { 0x24, 0x34, 0x18, -0x03, 0x1e, 0x00, 0x00, 0x00, 0x00 }, { 0x24, 0x34, 0x11, -0x02, 0x23, 0x05, 0x05, 0x00, 0x00 }, { 0x2f, 0x30, 0x1e, -0x03, 0x23, 0x00, 0x00, 0x00, 0x00 }, { 0x15, 0x15, 0x2f, -0x03, 0x23, 0x00, 0x00, 0x32, 0x64 }, { 0x34, 0x24, 0x1b, -0x03, 0x19, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x32, -0x04, 0x32, 0x00, 0x00, 0x05, 0x09 } }; // ds:0x9dc6
  1117. char g_dirsign_routes[219] = { 0x0f, -0x01, 0x04, -0x01, 0x01, -0x01, 0x04, -0x01, 0x05, 0x07, -0x01, 0x0a, -0x01, 0x07, -0x01, 0x09, -0x01, 0x0b, -0x01, 0x0a, -0x01, 0x32, -0x01, 0x0c, -0x01, 0x0b, -0x01, 0x0c, -0x01, 0x0d, -0x01, 0x0d, -0x01, 0x0e, -0x01, 0x0e, -0x01, 0x31, -0x01, 0x32, -0x01, 0x05, -0x01, 0x06, -0x01, 0x06, -0x01, 0x08, -0x01, 0x09, -0x01, 0x10, -0x01, 0x11, -0x01, 0x13, -0x01, 0x12, -0x01, 0x14, -0x01, 0x19, -0x01, 0x15, -0x01, 0x16, -0x01, 0x14, -0x01, 0x27, -0x01, 0x15, -0x01, 0x27, -0x01, 0x28, -0x01, 0x2d, -0x01, 0x17, -0x01, 0x31, -0x01, 0x16, -0x01, 0x18, -0x01, 0x17, -0x01, 0x28, -0x01, 0x29, -0x01, 0x2e, -0x01, 0x18, 0x2e, 0x2d, 0x39, 0x39, -0x01, 0x29, -0x01, 0x2a, -0x01, 0x2a, -0x01, 0x23, -0x01, 0x2b, -0x01, 0x23, -0x01, 0x25, -0x01, 0x22, -0x01, 0x25, -0x01, 0x24, 0x26, -0x01, 0x2f, -0x01, 0x22, -0x01, 0x21, 0x26, -0x01, 0x24, 0x21, -0x01, 0x20, -0x01, 0x30, 0x1f, -0x01, 0x20, -0x01, 0x33, -0x01, 0x33, -0x01, 0x1e, -0x01, 0x36, -0x01, 0x3a, -0x01, 0x37, -0x01, 0x1b, -0x01, 0x1c, -0x01, 0x1f, -0x01, 0x1c, -0x01, 0x1d, -0x01, 0x30, -0x01, 0x1d, -0x01, 0x1e, -0x01, 0x1b, -0x01, 0x03, -0x01, 0x1a, -0x01, 0x2f, -0x01, 0x1a, -0x01, 0x35, -0x01, 0x34, -0x01, 0x34, -0x01, 0x02, -0x01, 0x19, -0x01, 0x03, -0x01, 0x01, -0x01, 0x02, -0x01, 0x2b, -0x01, 0x2c, -0x01, 0x2c, -0x01, 0x38, -0x01, 0x38, -0x01, 0x10, -0x01, 0x0f, -0x01, 0x08, -0x01, 0x11, -0x01, 0x12, -0x01, 0x13, -0x01, 0x35, -0x01, 0x37, -1 }; // ds:0x9fd9, 105 arrays, each terminated by -1
  1118. //struct{char town, type_id; RealPt routes;} g_direction_signs[106] = { { 0x01, 0x01, 0x14fc9fd9 }, { 0x01, 0x02, 0x14fc9fdb }, { 0x01, 0x04, 0x14fc9fdd }, { 0x02, 0x01, 0x14fc9fdf }, { 0x02, 0x02, 0x14fc9fe1 }, { 0x03, 0x01, 0x14fc9fe4 }, { 0x03, 0x02, 0x14fc9fe6 }, { 0x03, 0x03, 0x14fc9fe8 }, { 0x04, 0x01, 0x14fc9fea }, { 0x04, 0x02, 0x14fc9fec }, { 0x05, 0x01, 0x14fc9fee }, { 0x05, 0x02, 0x14fc9ff0 }, { 0x05, 0x03, 0x14fc9ff2 }, { 0x06, 0x01, 0x14fc9ff4 }, { 0x06, 0x02, 0x14fc9ff6 }, { 0x07, 0x01, 0x14fc9ff8 }, { 0x07, 0x02, 0x14fc9ffa }, { 0x08, 0x01, 0x14fc9ffc }, { 0x08, 0x02, 0x14fc9ffe }, { 0x09, 0x02, 0x14fca000 }, { 0x09, 0x03, 0x14fca002 }, { 0x09, 0x04, 0x14fca004 }, { 0x0a, 0x02, 0x14fca006 }, { 0x0b, 0x01, 0x14fca008 }, { 0x0b, 0x02, 0x14fca00a }, { 0x0c, 0x01, 0x14fca00c }, { 0x0c, 0x02, 0x14fca00e }, { 0x0d, 0x01, 0x14fca010 }, { 0x0e, 0x01, 0x14fca012 }, { 0x0e, 0x02, 0x14fca014 }, { 0x0e, 0x03, 0x14fca016 }, { 0x0f, 0x01, 0x14fca018 }, { 0x0f, 0x02, 0x14fca01a }, { 0x0f, 0x03, 0x14fca01c }, { 0x0f, 0x04, 0x14fca01e }, { 0x10, 0x01, 0x14fca020 }, { 0x11, 0x01, 0x14fca022 }, { 0x11, 0x02, 0x14fca024 }, { 0x11, 0x03, 0x14fca026 }, { 0x12, 0x01, 0x14fca028 }, { 0x12, 0x02, 0x14fca02a }, { 0x12, 0x03, 0x14fca02c }, { 0x12, 0x04, 0x14fca02e }, { 0x13, 0x01, 0x14fca030 }, { 0x14, 0x01, 0x14fca032 }, { 0x14, 0x02, 0x14fca034 }, { 0x14, 0x03, 0x14fca036 }, { 0x15, 0x01, 0x14fca038 }, { 0x16, 0x01, 0x14fca03e }, { 0x16, 0x02, 0x14fca040 }, { 0x17, 0x01, 0x14fca042 }, { 0x17, 0x02, 0x14fca044 }, { 0x17, 0x03, 0x14fca046 }, { 0x18, 0x01, 0x14fca048 }, { 0x18, 0x02, 0x14fca04a }, { 0x18, 0x03, 0x14fca04c }, { 0x19, 0x01, 0x14fca04e }, { 0x19, 0x02, 0x14fca050 }, { 0x19, 0x03, 0x14fca053 }, { 0x1a, 0x01, 0x14fca055 }, { 0x1a, 0x02, 0x14fca057 }, { 0x1b, 0x01, 0x14fca05a }, { 0x1b, 0x02, 0x14fca05d }, { 0x1c, 0x01, 0x14fca05f }, { 0x1c, 0x02, 0x14fca062 }, { 0x1c, 0x03, 0x14fca064 }, { 0x1e, 0x01, 0x14fca066 }, { 0x21, 0x01, 0x14fca068 }, { 0x24, 0x01, 0x14fca06a }, { 0x24, 0x02, 0x14fca06c }, { 0x24, 0x04, 0x14fca06e }, { 0x25, 0x01, 0x14fca070 }, { 0x25, 0x02, 0x14fca072 }, { 0x25, 0x03, 0x14fca074 }, { 0x26, 0x01, 0x14fca076 }, { 0x26, 0x02, 0x14fca078 }, { 0x26, 0x03, 0x14fca07a }, { 0x27, 0x01, 0x14fca07c }, { 0x27, 0x02, 0x14fca07e }, { 0x28, 0x01, 0x14fca080 }, { 0x28, 0x02, 0x14fca082 }, { 0x28, 0x03, 0x14fca084 }, { 0x29, 0x01, 0x14fca086 }, { 0x29, 0x02, 0x14fca088 }, { 0x2a, 0x02, 0x14fca08a }, { 0x2a, 0x03, 0x14fca08c }, { 0x2a, 0x04, 0x14fca08e }, { 0x2b, 0x01, 0x14fca090 }, { 0x2b, 0x02, 0x14fca092 }, { 0x2b, 0x03, 0x14fca094 }, { 0x2c, 0x01, 0x14fca096 }, { 0x2c, 0x02, 0x14fca098 }, { 0x2d, 0x01, 0x14fca09a }, { 0x2d, 0x02, 0x14fca09c }, { 0x2e, 0x01, 0x14fca09e }, { 0x2f, 0x01, 0x14fca0a0 }, { 0x30, 0x01, 0x14fca0a2 }, { 0x31, 0x01, 0x14fca0a4 }, { 0x31, 0x02, 0x14fca0a6 }, { 0x31, 0x03, 0x14fca0a8 }, { 0x32, 0x01, 0x14fca0aa }, { 0x32, 0x02, 0x14fca0ac }, { 0x32, 0x03, 0x14fca0ae }, { 0x33, 0x01, 0x14fca0b0 }, { 0x34, 0x02, 0x14fca0b2 }, { -0x01, 0x00, 0x00000000 } }; // ds:0xa0b4
  1119. char g_harbor_passages[115] = { 0x01, 0x08, 0x21, 0x23, 0x27, -0x01, 0x24, 0x25, -0x01, 0x21, 0x22, 0x24, -0x01, 0x22, 0x23, 0x25, -0x01, 0x1c, 0x1b, 0x26, -0x01, 0x1b, 0x1d, 0x19, -0x01, 0x18, -0x01, 0x06, 0x19, 0x1a, 0x1e, 0x26, 0x17, 0x2d, -0x01, 0x16, 0x17, 0x18, 0x20, -0x01, 0x02, 0x05, 0x07, 0x0a, 0x15, 0x16, -0x01, 0x14, 0x15, -0x01, 0x04, 0x05, 0x13, 0x14, -0x01, 0x12, 0x13, 0x2c, -0x01, 0x0f, 0x11, -0x01, 0x10, 0x11, 0x12, 0x29, 0x2a, 0x2b, -0x01, 0x0d, 0x0c, 0x0b, 0x28, 0x29, -0x01, 0x0d, 0x2a, 0x0e, -0x01, 0x01, 0x02, 0x03, 0x04, 0x0e, 0x0f, 0x10, 0x28, -0x01, 0x0a, 0x0c, -0x01, 0x09, 0x0a, 0x0b, 0x27, -0x01, 0x08, 0x09, -0x01, 0x1a, 0x1c, 0x1d, -0x01, 0x1e, 0x1f, -0x01, 0x03, 0x07, 0x1f, 0x20, 0x2d, -0x01, 0x2b, 0x2c, -1 }; // ds:0xa330, 18 arrays, each terminated by -1
  1120. //struct{char town, type_id; RealPt passages;} g_harbors[26] = { { 0x01, 0x03, 0x14fca330 }, { 0x02, 0x03, 0x14fca336 }, { 0x09, 0x01, 0x14fca339 }, { 0x0a, 0x01, 0x14fca33d }, { 0x18, 0x04, 0x14fca341 }, { 0x1a, 0x03, 0x14fca345 }, { 0x1c, 0x04, 0x14fca349 }, { 0x1d, 0x01, 0x14fca34b }, { 0x1e, 0x02, 0x14fca353 }, { 0x1f, 0x01, 0x14fca358 }, { 0x20, 0x01, 0x14fca35f }, { 0x21, 0x02, 0x14fca362 }, { 0x22, 0x01, 0x14fca367 }, { 0x23, 0x01, 0x14fca36b }, { 0x24, 0x03, 0x14fca36e }, { 0x25, 0x04, 0x14fca375 }, { 0x26, 0x04, 0x14fca37b }, { 0x27, 0x03, 0x14fca37f }, { 0x2a, 0x01, 0x14fca388 }, { 0x2b, 0x04, 0x14fca38b }, { 0x2c, 0x03, 0x14fca390 }, { 0x2e, 0x02, 0x14fca393 }, { 0x2f, 0x02, 0x14fca397 }, { 0x30, 0x02, 0x14fca39a }, { 0x34, 0x02, 0x14fca0b2 }, { -0x01, 0x00, 0x00000000 } }; // ds:0xa3a3
  1121. //struct{signed short x, y;} g_town_positions[52] = { { 0x00bd, 0x0098 }, { 0x00be, 0x00a1 }, { 0x00e2, 0x009e }, { 0x0100, 0x00a7 }, { 0x00fc, 0x00c0 }, { 0x0123, 0x00c4 }, { 0x0131, 0x00b4 }, { 0x0134, 0x009d }, { 0x00b7, 0x00b4 }, { 0x00b2, 0x00c2 }, { 0x00cf, 0x008d }, { 0x00ce, 0x0083 }, { 0x00cc, 0x006e }, { 0x00c5, 0x0063 }, { 0x00cc, 0x0051 }, { 0x00cf, 0x0052 }, { 0x00c4, 0x0049 }, { 0x012b, 0x0029 }, { 0x0135, 0x001c }, { 0x00c6, 0x0038 }, { 0x00f0, 0x0012 }, { 0x00a1, 0x0020 }, { 0x008c, 0x0013 }, { 0x0077, 0x0012 }, { 0x007e, 0x0020 }, { 0x0065, 0x001e }, { 0x0058, 0x002f }, { 0x0049, 0x0046 }, { 0x0045, 0x000b }, { 0x0039, 0x0043 }, { 0x0020, 0x0061 }, { 0x001e, 0x0072 }, { 0x0025, 0x00a0 }, { 0x0039, 0x00b3 }, { 0x0042, 0x00a7 }, { 0x005b, 0x00a7 }, { 0x006e, 0x0069 }, { 0x0047, 0x007b }, { 0x0040, 0x0090 }, { 0x0086, 0x005b }, { 0x008a, 0x004e }, { 0x0077, 0x0070 }, { 0x0091, 0x0069 }, { 0x00af, 0x007f }, { 0x008f, 0x0000 }, { 0x0074, 0x0000 }, { 0x0027, 0x0002 }, { 0x000d, 0x0005 }, { 0x00cd, 0x008d }, { 0x00cb, 0x0070 }, { 0x007c, 0x0076 }, { 0x0062, 0x00b4 } }; // ds:0xa43f
  1122. //struct{unsigned char[10];} g_action_table_travelmap[35] = { { 0x55, 0x00, 0xa4, 0x00, 0x65, 0x00, 0xb6, 0x00, 0x01, 0x00 }, { 0x6d, 0x00, 0x70, 0x00, 0x88, 0x00, 0x7e, 0x00, 0x02, 0x00 }, { 0x60, 0x00, 0x80, 0x00, 0x6a, 0x00, 0x86, 0x00, 0x03, 0x00 }, { 0x5c, 0x00, 0x86, 0x00, 0x61, 0x00, 0x8a, 0x00, 0x03, 0x00 }, { 0x5e, 0x00, 0x9b, 0x00, 0x62, 0x00, 0xa0, 0x00, 0x03, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x15, 0x00, 0x04, 0x00 }, { 0x45, 0x00, 0x7f, 0x00, 0xb9, 0x00, 0xa6, 0x00, 0x05, 0x00 }, { 0x64, 0x00, 0xa6, 0x00, 0xbb, 0x00, 0xbb, 0x00, 0x05, 0x00 }, { 0x75, 0x00, 0x58, 0x00, 0x91, 0x00, 0x70, 0x00, 0x05, 0x00 }, { 0x91, 0x00, 0x70, 0x00, 0xa7, 0x00, 0x7e, 0x00, 0x05, 0x00 }, { 0x2f, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x09, 0x00, 0x06, 0x00 }, { 0x4b, 0x00, 0x00, 0x00, 0x72, 0x00, 0x1a, 0x00, 0x06, 0x00 }, { 0x00, 0x00, 0x16, 0x00, 0x39, 0x00, 0x42, 0x00, 0x07, 0x00 }, { 0x00, 0x00, 0x06, 0x00, 0x14, 0x00, 0x14, 0x00, 0x07, 0x00 }, { 0x3a, 0x00, 0x26, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x07, 0x00 }, { 0x41, 0x00, 0x4b, 0x00, 0x64, 0x00, 0x76, 0x00, 0x08, 0x00 }, { 0x52, 0x00, 0x32, 0x00, 0x6c, 0x00, 0x4a, 0x00, 0x08, 0x00 }, { 0x6d, 0x00, 0x23, 0x00, 0xaa, 0x00, 0x4b, 0x00, 0x08, 0x00 }, { 0xab, 0x00, 0x20, 0x00, 0xd7, 0x00, 0x36, 0x00, 0x08, 0x00 }, { 0xe1, 0x00, 0x57, 0x00, 0xfa, 0x00, 0x6e, 0x00, 0x09, 0x00 }, { 0xfb, 0x00, 0x57, 0x00, 0x17, 0x01, 0x7a, 0x00, 0x09, 0x00 }, { 0x18, 0x01, 0x60, 0x00, 0x3f, 0x01, 0x82, 0x00, 0x09, 0x00 }, { 0xd6, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x82, 0x00, 0x0a, 0x00 }, { 0xfb, 0x00, 0x7b, 0x00, 0x17, 0x01, 0x92, 0x00, 0x0a, 0x00 }, { 0x18, 0x01, 0x83, 0x00, 0x3f, 0x01, 0x99, 0x00, 0x0a, 0x00 }, { 0xa8, 0x00, 0x00, 0x00, 0xdb, 0x00, 0x1f, 0x00, 0x0b, 0x00 }, { 0xee, 0x00, 0x0c, 0x00, 0xfa, 0x00, 0x12, 0x00, 0x0d, 0x00 }, { 0xdc, 0x00, 0x00, 0x00, 0x3f, 0x01, 0x41, 0x00, 0x0c, 0x00 }, { 0x28, 0x01, 0x41, 0x00, 0x3f, 0x01, 0x54, 0x00, 0x0e, 0x00 }, { 0x1a, 0x01, 0x00, 0x00, 0x38, 0x01, 0x35, 0x00, 0x0f, 0x00 }, { 0xd8, 0x00, 0x36, 0x00, 0x25, 0x01, 0x4b, 0x00, 0x0f, 0x00 }, { 0xb9, 0x00, 0x4a, 0x00, 0xd7, 0x00, 0xa0, 0x00, 0x0f, 0x00 }, { 0xd8, 0x00, 0x8c, 0x00, 0xf0, 0x00, 0xaf, 0x00, 0x10, 0x00 }, { 0x95, 0x00, 0x49, 0x00, 0xbd, 0x00, 0x6a, 0x00, 0x11, 0x00 }, { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0xa50f
  1123. //struct{char route_id, place, tevent_id;} g_tevents_tab[155] = { { 0x02, 0x1a, 0x01 }, { 0x03, 0x07, 0x02 }, { 0x04, 0x00, 0x03 }, { 0x07, 0x0d, 0x04 }, { 0x07, 0x13, 0x05 }, { 0x08, 0x00, 0x06 }, { 0x09, 0x0a, 0x07 }, { 0x09, 0x0c, 0x08 }, { 0x0a, 0x11, 0x09 }, { 0x0a, 0x19, 0x0a }, { 0x0b, 0x0a, 0x0b }, { 0x0c, 0x00, 0x0c }, { 0x0c, 0x08, 0x0d }, { 0x0c, 0x10, 0x0e }, { 0x0c, 0x16, 0x0f }, { 0x0d, 0x08, 0x10 }, { 0x0d, 0x13, 0x11 }, { 0x0d, 0x18, 0x12 }, { 0x0e, 0x00, 0x13 }, { 0x0e, 0x08, 0x14 }, { 0x0e, 0x16, 0x15 }, { 0x11, 0x0f, 0x16 }, { 0x13, 0x00, 0x17 }, { 0x14, 0x0a, 0x18 }, { 0x14, 0x12, 0x19 }, { 0x15, 0x00, 0x1a }, { 0x16, 0x00, 0x1b }, { 0x16, 0x14, 0x1c }, { 0x16, 0x1a, 0x1d }, { 0x16, 0x30, 0x1e }, { 0x16, 0x41, 0x1f }, { 0x16, 0x50, 0x20 }, { 0x16, 0x56, 0x21 }, { 0x16, 0x5f, 0x22 }, { 0x18, 0x0d, 0x23 }, { 0x18, 0x16, 0x24 }, { 0x18, 0x1b, 0x25 }, { 0x18, 0x27, 0x26 }, { 0x18, 0x28, 0x27 }, { 0x18, 0x12, -0x70 }, { 0x19, 0x12, 0x28 }, { 0x19, 0x19, 0x29 }, { 0x19, 0x26, 0x2a }, { 0x19, 0x2a, 0x2b }, { 0x1a, 0x0b, 0x2c }, { 0x1b, 0x0c, 0x2d }, { 0x1b, 0x0f, 0x2e }, { 0x1b, 0x16, 0x2f }, { 0x1b, 0x1a, 0x30 }, { 0x1c, 0x13, 0x31 }, { 0x1c, 0x17, 0x32 }, { 0x1c, 0x1b, 0x33 }, { 0x1c, 0x23, 0x34 }, { 0x1c, 0x26, 0x35 }, { 0x1d, 0x12, 0x36 }, { 0x1e, 0x0e, 0x37 }, { 0x1e, 0x17, 0x38 }, { 0x1f, 0x12, 0x39 }, { 0x1f, 0x14, 0x3a }, { 0x1f, 0x16, 0x3b }, { 0x1f, 0x21, 0x3c }, { 0x1f, 0x29, 0x3d }, { 0x1f, 0x2f, 0x3e }, { 0x1f, 0x35, 0x3f }, { 0x1f, 0x3a, 0x40 }, { 0x20, 0x04, 0x41 }, { 0x20, 0x13, 0x42 }, { 0x21, 0x07, 0x43 }, { 0x21, 0x0a, 0x44 }, { 0x24, 0x07, 0x43 }, { 0x24, 0x0a, 0x44 }, { 0x24, 0x11, 0x45 }, { 0x24, 0x1d, 0x46 }, { 0x25, 0x0b, 0x47 }, { 0x26, 0x0f, 0x44 }, { 0x26, 0x16, 0x45 }, { 0x26, 0x22, 0x46 }, { 0x28, 0x07, 0x47 }, { 0x28, 0x0c, 0x48 }, { 0x29, 0x07, 0x49 }, { 0x29, 0x0c, 0x4a }, { 0x29, 0x19, 0x4b }, { 0x29, 0x23, 0x4c }, { 0x29, 0x27, 0x4d }, { 0x2a, 0x0f, 0x4e }, { 0x2a, 0x12, 0x4f }, { 0x2a, 0x15, 0x50 }, { 0x2b, 0x12, 0x51 }, { 0x2d, 0x00, 0x52 }, { 0x2d, 0x09, 0x53 }, { 0x2d, 0x20, 0x54 }, { 0x2d, 0x23, 0x55 }, { 0x2d, 0x35, 0x56 }, { 0x2d, 0x3b, 0x57 }, { 0x2d, 0x40, 0x58 }, { 0x2e, 0x00, 0x59 }, { 0x2e, 0x13, 0x5a }, { 0x2e, 0x19, 0x5b }, { 0x2e, 0x1c, 0x5c }, { 0x2e, 0x22, 0x5d }, { 0x2e, 0x2d, 0x57 }, { 0x2e, 0x32, 0x58 }, { 0x2f, 0x0f, 0x5e }, { 0x2f, 0x12, 0x5f }, { 0x2f, 0x15, 0x60 }, { 0x2f, 0x1d, 0x61 }, { 0x2f, 0x23, 0x62 }, { 0x2f, 0x2c, 0x63 }, { 0x2f, 0x30, 0x64 }, { 0x2f, 0x34, 0x65 }, { 0x30, 0x19, 0x66 }, { 0x30, 0x1d, 0x67 }, { 0x30, 0x22, 0x68 }, { 0x30, 0x26, 0x69 }, { 0x30, 0x32, 0x3e }, { 0x30, 0x38, 0x3f }, { 0x30, 0x3d, 0x40 }, { 0x31, 0x14, 0x6a }, { 0x31, 0x24, 0x6b }, { 0x31, 0x28, 0x6c }, { 0x31, 0x30, 0x6d }, { 0x31, 0x39, 0x6e }, { 0x31, 0x3f, 0x6f }, { 0x31, 0x44, 0x70 }, { 0x31, 0x57, 0x71 }, { 0x31, 0x64, 0x72 }, { 0x31, 0x70, 0x73 }, { 0x31, 0x7a, 0x74 }, { 0x31, 0x7d, 0x75 }, { 0x32, 0x12, 0x76 }, { 0x32, 0x26, 0x77 }, { 0x32, 0x37, 0x78 }, { 0x33, 0x00, 0x79 }, { 0x33, 0x03, 0x7a }, { 0x33, 0x0e, 0x7b }, { 0x33, 0x11, 0x7c }, { 0x34, 0x0d, 0x7d }, { 0x34, 0x2a, 0x7e }, { 0x34, 0x3b, 0x7f }, { 0x36, 0x0f, -0x80 }, { 0x37, 0x0a, -0x7f }, { 0x38, 0x0e, -0x7e }, { 0x38, 0x11, -0x7d }, { 0x38, 0x13, -0x7c }, { 0x39, 0x0c, -0x7b }, { 0x39, 0x11, -0x7a }, { 0x39, 0x14, -0x79 }, { 0x39, 0x18, -0x78 }, { 0x39, 0x1c, -0x77 }, { 0x3a, 0x12, -0x76 }, { 0x3b, 0x0a, -0x75 }, { 0x3b, 0x17, -0x74 }, { 0x3b, 0x1c, -0x73 }, { 0x3b, 0x27, -0x72 }, { 0x3b, 0x2b, -0x71 } }; // ds:0xa66d
  1124. // ?4
  1125. unsigned char g_traveling; // ds:0xa842
  1126. unsigned char g_tevents_repeatable[145] = { 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }; // ds:0xa843
  1127. char g_grammar_articles_table[67] = []{ "DER", "DIE", "DAS", "DES", "DEN", "DEM", "EIN", "EINE", "EINES", "EINER", "EINEN", "EINE", "EINEM", "VON" }; // ds:0xa8d4, []{ , , , , , , , , , , , , ,  }
  1128. //RealPt g_grammar_articles_index[15] = { 0x14fca8d4, 0x14fca8d8, 0x14fca8dc, 0x14fca8e0, 0x14fca8e4, 0x14fca8e8, 0x14fca8ec, 0x14fca8f0, 0x14fca8f5, 0x14fca8fb, 0x14fca901, 0x14fca907, 0x14fca90c, 0x14fca912, 0x14fca913 }; // ds:0xa917
  1129. short g_grammar_def_table[24] = { 0, 1, 2, 3, 0, 3, 4, 1, 2, 5, 0, 5, 1, 1, 1, 0, 0, 0, 1, 1, 1, 4, 4, 4 }; // ds:0xa953, [8], by case, then by gender
  1130. short g_grammar_indef_table[24] = { 0x0006, 0x0007, 0x0006, 0x0008, 0x0009, 0x0008, 0x000a, 0x000b, 0x0006, 0x000c, 0x0009, 0x000c, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d }; // ds:0xa983, [8], by case, then by gender
  1131. short g_grammar_noarticle_table[24] = { 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d, 0x000d }; // ds:0xa9b3, [8], by case, then by gender
  1132. //RealPt g_str_s_s_ptr = 0x14fcab32; // ds:0xa9e3, to STR_S_S
  1133. //RealPt g_str_von_s_s_ptr = 0x14fcab38; // ds:0xa9e7, to STR_VON_S_S
  1134. unsigned short g_grammar_buf_no; // ds:0xa9eb
  1135. signed short g_grammar_gender_bitmasks[3] = { 0x1000, 0x2000, 0x3000 }; // ds:0xa9ed, {0x1000, 0x2000, 0x3000}
  1136. char g_grammar_pronouns_er[3] = "ER"; // ds:0xa9f3
  1137. char g_grammar_pronouns_sie[4] = "SIE"; // ds:0xa9f6
  1138. char g_grammar_pronouns_es[3] = "ES"; // ds:0xa9fa
  1139. char g_grammar_pronouns_sein[5] = "SEIN"; // ds:0xa9fd
  1140. char g_grammar_pronouns_ihr[4] = "IHR"; // ds:0xaa02
  1141. char g_grammar_pronouns_ihn[4] = "IHN"; // ds:0xaa06
  1142. char g_grammar_pronouns_ihm[4] = "IHM"; // ds:0xaa0a
  1143. char g_grammar_pronouns_ihnen[6] = "IHNEN"; // ds:0xaa0e
  1144. //RealPt g_grammar_pronouns_index[7] = { 0x14fca9f3, 0x14fca9f6, 0x14fca9fa, 0x14fca9fd, 0x14fcaa02, 0x14fcaa06, 0x14fcaa0a }; // ds:0xaa14
  1145. unsigned char g_grammar_pronouns_table2[33] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x03, 0x05, 0x01, 0x02, 0x06, 0x04, 0x06, 0x01, 0x01, 0x01, 0x04, 0x04, 0x04, 0x01, 0x01, 0x01, 0x07, 0x07, 0x07, 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff }; // ds:0xaa30, by gender and ??
  1146. //struct{char c, font_id, width;} g_gui_char_width[75] = { { 0x20, 0x00, 0x06 }, { 0x41, 0x01, 0x06 }, { 0x42, 0x02, 0x06 }, { 0x43, 0x03, 0x06 }, { 0x44, 0x04, 0x06 }, { 0x45, 0x05, 0x06 }, { 0x46, 0x06, 0x06 }, { 0x47, 0x07, 0x06 }, { 0x48, 0x08, 0x06 }, { 0x49, 0x09, 0x04 }, { 0x4a, 0x0a, 0x06 }, { 0x4b, 0x0b, 0x06 }, { 0x4c, 0x0c, 0x05 }, { 0x4d, 0x0d, 0x06 }, { 0x4e, 0x0e, 0x06 }, { 0x4f, 0x0f, 0x06 }, { 0x50, 0x10, 0x06 }, { 0x51, 0x11, 0x06 }, { 0x52, 0x12, 0x06 }, { 0x53, 0x13, 0x06 }, { 0x54, 0x14, 0x06 }, { 0x55, 0x15, 0x06 }, { 0x56, 0x16, 0x06 }, { 0x57, 0x17, 0x06 }, { 0x58, 0x18, 0x06 }, { 0x59, 0x19, 0x06 }, { 0x5a, 0x1a, 0x06 }, { -0x72, 0x1b, 0x06 }, { -0x67, 0x1c, 0x06 }, { -0x66, 0x1d, 0x06 }, { 0x2c, 0x1e, 0x03 }, { 0x2e, 0x1f, 0x02 }, { 0x2d, 0x20, 0x06 }, { 0x28, 0x21, 0x04 }, { 0x29, 0x22, 0x04 }, { 0x21, 0x23, 0x03 }, { 0x3f, 0x24, 0x05 }, { 0x30, 0x25, 0x06 }, { 0x31, 0x26, 0x03 }, { 0x32, 0x27, 0x06 }, { 0x33, 0x28, 0x06 }, { 0x34, 0x29, 0x06 }, { 0x35, 0x2a, 0x06 }, { 0x36, 0x2b, 0x06 }, { 0x37, 0x2c, 0x06 }, { 0x38, 0x2d, 0x06 }, { 0x39, 0x2e, 0x06 }, { 0x27, 0x2f, 0x03 }, { 0x3a, 0x30, 0x03 }, { 0x23, 0x31, 0x06 }, { 0x26, 0x32, 0x05 }, { 0x25, 0x33, 0x05 }, { 0x3c, 0x35, 0x05 }, { 0x3e, 0x34, 0x05 }, { 0x2f, 0x36, 0x06 }, { 0x5f, 0x37, 0x06 }, { -0x38, 0x38, 0x06 }, { -0x37, 0x39, 0x06 }, { -0x36, 0x3a, 0x06 }, { -0x35, 0x3b, 0x05 }, { -0x34, 0x3c, 0x05 }, { -0x33, 0x3d, 0x04 }, { -0x32, 0x3e, 0x05 }, { -0x31, 0x3f, 0x05 }, { -0x30, 0x40, 0x02 }, { -0x2f, 0x41, 0x06 }, { -0x2e, 0x42, 0x06 }, { -0x2d, 0x43, 0x05 }, { -0x2c, 0x44, 0x06 }, { -0x2b, 0x45, 0x05 }, { -0x2a, 0x46, 0x06 }, { -0x29, 0x47, 0x05 }, { -0x28, 0x48, 0x06 }, { -0x27, 0x49, 0x05 }, { 0x2b, 0x00, 0x06 } }; // ds:0xaa51
  1147. char g_str_s_s[6] = "%s %s"; // ds:0xab32
  1148. char g_str_von_s_s[9] = "VON%s %s"; // ds:0xab38
  1149. // ?1
  1150. //struct{char c, font_id, height;} g_gui_char_height[67] = { { 0x20, 0x00, 0x08 }, { 0x41, 0x01, 0x08 }, { 0x42, 0x02, 0x08 }, { 0x43, 0x03, 0x07 }, { 0x44, 0x04, 0x07 }, { 0x45, 0x05, 0x07 }, { 0x46, 0x06, 0x07 }, { 0x47, 0x07, 0x08 }, { 0x48, 0x08, 0x08 }, { 0x49, 0x09, 0x06 }, { 0x4a, 0x0a, 0x08 }, { 0x4b, 0x0b, 0x08 }, { 0x4c, 0x0c, 0x06 }, { 0x4d, 0x0d, 0x08 }, { 0x4e, 0x0e, 0x08 }, { 0x4f, 0x0f, 0x08 }, { 0x50, 0x10, 0x07 }, { 0x51, 0x11, 0x08 }, { 0x52, 0x12, 0x08 }, { 0x53, 0x13, 0x07 }, { 0x54, 0x14, 0x07 }, { 0x55, 0x15, 0x08 }, { 0x56, 0x16, 0x08 }, { 0x57, 0x17, 0x08 }, { 0x58, 0x18, 0x07 }, { 0x59, 0x19, 0x07 }, { 0x5a, 0x1a, 0x07 }, { -0x72, 0x1b, 0x08 }, { -0x67, 0x1c, 0x08 }, { -0x66, 0x1d, 0x08 }, { 0x2c, 0x1e, 0x05 }, { 0x2e, 0x1f, 0x04 }, { 0x2d, 0x20, 0x06 }, { 0x28, 0x21, 0x06 }, { 0x29, 0x22, 0x06 }, { 0x21, 0x23, 0x04 }, { 0x3f, 0x24, 0x08 }, { 0x30, 0x25, 0x08 }, { 0x31, 0x26, 0x06 }, { 0x32, 0x27, 0x08 }, { 0x33, 0x28, 0x08 }, { 0x34, 0x29, 0x08 }, { 0x35, 0x2a, 0x08 }, { 0x36, 0x2b, 0x08 }, { 0x37, 0x2c, 0x07 }, { 0x38, 0x2d, 0x08 }, { 0x39, 0x2e, 0x08 }, { 0x27, 0x2f, 0x05 }, { 0x3a, 0x30, 0x05 }, { -0x38, 0x31, 0x08 }, { -0x37, 0x32, 0x08 }, { -0x36, 0x33, 0x06 }, { -0x35, 0x34, 0x05 }, { -0x34, 0x35, 0x06 }, { -0x33, 0x36, 0x06 }, { -0x32, 0x37, 0x07 }, { -0x31, 0x38, 0x06 }, { -0x30, 0x39, 0x03 }, { -0x2f, 0x3a, 0x08 }, { -0x2e, 0x3b, 0x08 }, { -0x2d, 0x3c, 0x06 }, { -0x2c, 0x3d, 0x08 }, { -0x2b, 0x3e, 0x05 }, { -0x2a, 0x3f, 0x08 }, { -0x29, 0x40, 0x06 }, { -0x28, 0x41, 0x08 }, { -0x27, 0x42, 0x06 } }; // ds:0xab42
  1151. unsigned short g_gui_bool_flag; // ds:0xac0b
  1152. // ?1
  1153. signed short g_spell_special_aecost = -1; // ds:0xac0e
  1154. signed short g_ani_heal_picstars[5] = { 0, 1, 2, 1, 0 }; // ds:0xac10
  1155. char g_spell_select_str_keyval[6] = "%s~%d"; // ds:0xac1a
  1156. char g_spell_select_str_key[5] = "\xf2%s\xf0"; // ds:0xac20
  1157. char g_spell_select_str_key_color[3] = "%s"; // ds:0xac25
  1158. char g_spell_select_str_keyval_color[8] = "\xf2%s~%d\xf0; // ds:0xac28, "\xf2%s~%d\xf0
  1159. signed char g_spell_select_ones[12] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; // ds:0xac30
  1160. //struct{signed short item_id, barrier; signed char dtp;} g_analues_items[28] = { { 0x00a2, 0x0002, 0x36 }, { 0x00a5, 0x0003, 0x38 }, { 0x00ab, 0x0004, 0x39 }, { 0x00f5, 0x0004, 0x39 }, { 0x00ac, 0x0003, 0x3a }, { 0x00ad, 0x0006, 0x3b }, { 0x00ae, 0x0000, 0x3c }, { 0x00af, 0x0006, 0x3d }, { 0x00b2, 0x0000, 0x3e }, { 0x00d7, 0x0003, 0x3f }, { 0x00d8, 0x0003, 0x40 }, { 0x00d9, 0x0004, 0x41 }, { 0x009e, 0x0004, 0x42 }, { 0x009f, 0x0004, 0x43 }, { 0x00a0, 0x0004, 0x44 }, { 0x00a1, 0x0006, 0x45 }, { 0x00a3, 0x0002, 0x46 }, { 0x00bc, 0x0000, 0x47 }, { 0x00c6, 0x000f, 0x48 }, { 0x00b7, 0x0007, 0x49 }, { 0x00c7, 0x0005, 0x4a }, { 0x00c5, 0x0005, 0x4b }, { 0x00df, 0x000f, 0x4c }, { 0x00dc, 0x0005, 0x4d }, { 0x00da, 0x0006, 0x4e }, { 0x0046, 0x0002, 0x4f }, { 0x00dd, 0x0000, 0x50 }, { -0x0001, 0x0000, 0x00 } }; // ds:0xac3c
  1161. //RealPt g_hexenknoten_gfx_buf; // ds:0xacc8
  1162. signed short g_monster_spell_cost = -1; // ds:0xaccc
  1163. char g_select_skill_lvlup[6] = "%s~%d"; // ds:0xacce
  1164. signed char g_select_skill_defaults[6] = { 0x2c, 0x2d, 0x2e, -0x01, -0x01, -1 }; // ds:0xacd4, {44, 45, 46, -1, -1, -1}
  1165. //struct{unsigned char[28];} g_alchemy_recipes[13] = { { 0xba, 0x00, 0x1f, 0x00, 0x3c, 0x00, 0x3c, 0x00, 0x40, 0x00, 0x5c, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x91, 0x00, 0x05, 0x00, 0x02, 0x08 }, { 0xf0, 0x00, 0x2a, 0x00, 0x3d, 0x00, 0x3d, 0x00, 0x40, 0x00, 0x5c, 0x00, 0x7e, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x92, 0x00, 0x0c, 0x00, 0x05, 0x18 }, { 0xf1, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x3d, 0x00, 0x3d, 0x00, 0x7c, 0x00, 0x7b, 0x00, 0x7e, 0x00, 0x82, 0x00, 0xff, 0xff, 0xff, 0xff, 0xec, 0x00, 0x19, 0x00, 0x0a, 0x48 }, { 0xca, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x7d, 0x00, 0x7d, 0x00, 0x7e, 0x00, 0x7a, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb4, 0x00, 0x0a, 0x00, 0x05, 0x18 }, { 0xf2, 0x00, 0x1f, 0x00, 0x5b, 0x00, 0x3f, 0x00, 0x40, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xed, 0x00, 0x02, 0x00, 0x02, 0x08 }, { 0xce, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x7e, 0x00, 0x7e, 0x00, 0x9d, 0x00, 0x9d, 0x00, 0x83, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9a, 0x00, 0x07, 0x00, 0x08, 0x30 }, { 0xf3, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x7e, 0x00, 0x7e, 0x00, 0x7e, 0x00, 0x9d, 0x00, 0x9d, 0x00, 0x9d, 0x00, 0x83, 0x00, 0xff, 0xff, 0x9b, 0x00, 0x0f, 0x00, 0x0c, 0x78 }, { 0xa9, 0x00, 0x2a, 0x00, 0x29, 0x00, 0x7a, 0x00, 0x7e, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xa8, 0x00, 0x00, 0x00, 0x05, 0x08 }, { 0xa7, 0x00, 0x2a, 0x00, 0x59, 0x00, 0x7a, 0x00, 0x7a, 0x00, 0x7e, 0x00, 0x7e, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xa6, 0x00, 0x00, 0x00, 0x08, 0x30 }, { 0xf4, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x9d, 0x00, 0x80, 0x00, 0x7a, 0x00, 0x7e, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xee, 0x00, 0x00, 0x00, 0x06, 0x30 }, { 0xcd, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x81, 0x00, 0x7e, 0x00, 0x7c, 0x00, 0x80, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x93, 0x00, 0x0c, 0x00, 0x07, 0x30 }, { 0xcc, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x81, 0x00, 0x7e, 0x00, 0x3f, 0x00, 0x3f, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x99, 0x00, 0x0f, 0x00, 0x08, 0x30 }, { 0xcb, 0x00, 0x1f, 0x00, 0x5c, 0x00, 0x5c, 0x00, 0x59, 0x00, 0x29, 0x00, 0x29, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0x00, 0x00, 0x00, 0x05, 0x08 } }; // ds:0xacda
  1166. unsigned char g_prevent_drop_equipped_items; // ds:0xae46
  1167. // ?1
  1168. //struct{unsigned char[8];} g_hero_startup_items[12] = { { 0x0e, 0x00, 0x62, 0x00, 0x62, 0x00, 0xff, 0xff }, { 0x13, 0x00, 0x0e, 0x00, 0xff, 0xff, 0xff, 0xff }, { 0x01, 0x00, 0x0e, 0x00, 0x35, 0x00, 0xff, 0xff }, { 0x75, 0x00, 0x0e, 0x00, 0x23, 0x00, 0xff, 0xff }, { 0x86, 0x00, 0x03, 0x00, 0x5c, 0x00, 0xff, 0xff }, { 0x42, 0x00, 0x1a, 0x00, 0x1b, 0x00, 0xff, 0xff }, { 0x8c, 0x00, 0x3c, 0x00, 0x3c, 0x00, 0xff, 0xff }, { 0x15, 0x00, 0x3d, 0x00, 0x82, 0x00, 0xff, 0xff }, { 0x85, 0x00, 0x0e, 0x00, 0x24, 0x00, 0x4b, 0x00 }, { 0x13, 0x00, 0x75, 0x00, 0x25, 0x00, 0xff, 0xff }, { 0x8a, 0x00, 0x05, 0x00, 0x2e, 0x00, 0xff, 0xff }, { 0x13, 0x00, 0x04, 0x00, 0x2e, 0x00, 0xff, 0xff } }; // ds:0xae48
  1169. signed short g_hero_startup_items_all[4] = { 0x001e, 0x002d, 0x002d, 0x0031 }; // ds:0xaea8
  1170. long g_use_special_item_handlers[14] = { 0x00000000, 0x14910025, 0x1491002a, 0x1491002f, 0x14910034, 0x14910039, 0x1491003e, 0x14910043, 0x14910048, 0x1491004d, 0x14910052, 0x14910057, 0x1491005c, 0x14910061 }; // ds:0xaeb0
  1171. unsigned short g_light_type; // ds:0xaee8, 0 = none, 1 = torch, 2 = lantern
  1172. long g_travel_event_handlers[146] = { 0x00000000, 0x149b0052, 0x149b0057, 0x149b005c, 0x149b0061, 0x149b0066, 0x149b006b, 0x149b0070, 0x149b0075, 0x149b007a, 0x149b007f, 0x14a7009d, 0x149b0084, 0x14a700a2, 0x14a700a7, 0x14a700ac, 0x14d10039, 0x14a700b1, 0x149b0089, 0x149b008e, 0x14a700b6, 0x14a700bb, 0x14a700c0, 0x149b0093, 0x14a700c5, 0x14a700ca, 0x14a7002f, 0x14a70034, 0x14a70039, 0x14a7003e, 0x14a70043, 0x14a70048, 0x14a7004d, 0x14a70052, 0x14a70057, 0x14a7005c, 0x14a70061, 0x14e70020, 0x14e70025, 0x14a70066, 0x14a7006b, 0x14a70070, 0x14a70075, 0x14a7007a, 0x14a7007f, 0x14a70084, 0x14a70089, 0x14d10057, 0x14a7008e, 0x14a70093, 0x14a70098, 0x14e70034, 0x14e70039, 0x14b40048, 0x14b4004d, 0x14b40052, 0x14b40057, 0x14b4005c, 0x14b40061, 0x14b40066, 0x14b40025, 0x14b4002a, 0x14b4002f, 0x14b40034, 0x14b40039, 0x14b4003e, 0x14b40043, 0x14bb0048, 0x14bb004d, 0x14bb0052, 0x14bb0057, 0x14bb0025, 0x14bb002a, 0x14bb002f, 0x14bb0034, 0x14bb0039, 0x14bb003e, 0x14bb0043, 0x14e7002a, 0x14e7002f, 0x14c20061, 0x14c20066, 0x14c2006b, 0x14c20070, 0x14c20075, 0x14c2007a, 0x14c2007f, 0x14e00061, 0x14c20084, 0x14c20089, 0x14d10020, 0x14d1003e, 0x149b0098, 0x14d10025, 0x14d1002a, 0x14d1002f, 0x14d10034, 0x14c20025, 0x14c2002a, 0x14c2002f, 0x14d1005c, 0x14c20034, 0x14c20039, 0x14c2003e, 0x14c20043, 0x14c20048, 0x14c2004d, 0x14c20052, 0x14c20057, 0x14c2005c, 0x14cb0043, 0x14cb0048, 0x14cb004d, 0x14cb0052, 0x14cb0020, 0x14e00057, 0x14cb0025, 0x14cb002a, 0x14cb002f, 0x14cb0034, 0x14e7003e, 0x14e70043, 0x14cb0039, 0x14cb003e, 0x14e70048, 0x14e7004d, 0x14d10043, 0x14d10048, 0x14d1004d, 0x14d10052, 0x14d80052, 0x14d80057, 0x14d8005c, 0x14d80061, 0x14d80066, 0x14d80020, 0x14d80025, 0x14d8002a, 0x14d8002f, 0x14d80034, 0x14d80039, 0x14d8003e, 0x14d80043, 0x14d80048, 0x14d8004d, 0x14e70052 }; // ds:0xaeea, function pointers,
  1173. signed char g_travel_event_active; // ds:0xb132
  1174. signed short g_travel_event_tx2 = -1; // ds:0xb133
  1175. signed char g_travel_event_axes[6] = { 0x08, 0x0b, 0x21, 0x10, -0x79, -1 }; // ds:0xb135
  1176. char g_empty_string10 = ""; // ds:0xb13b
  1177. char g_empty_string11 = ""; // ds:0xb13c
  1178. char g_empty_string12 = ""; // ds:0xb13d
  1179. //struct{unsigned char[22];} g_tevent014_corpse = { { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0xa7, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0xb13e
  1180. //struct{unsigned char[22];} g_tevent064_chest_descr = { { 0x00, 0x00, 0x0c, 0x4d, 0x00, 0x20, 0x14, 0x66, 0x00, 0x20, 0x14, 0x20, 0x00, 0xb4, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; // ds:0xb154
  1181. char g_tevent067_chest[8] = { 0x71, 0x01, 0x5c, 0x01, -0x57, 0x01, 0x0d, 0x02 }; // ds:0xb16a
  1182. //struct{unsigned char damage_min,damage_max;} g_tevent135_climb_damage[6] = { { 0xff, 0x00 }, { 0x01, 0x05 }, { 0x04, 0x0d }, { 0x07, 0x15 }, { 0x0a, 0x20 }, { 0x0f, 0x28 } }; // ds:0xb172, ; { {0xff,0}, , , , ,  }
  1183. unsigned char g_random_encounter_index[59] = { 1, 1, 1, 1, 1, 1, 3, 0, 2, 3, 3, 4, 4, 4, 1, 1, 1, 3, 0, 3, 0, 5, 5, 5, 4, 4, 1, 1, 1, 3, 7, 4, 4, 1, 1, 4, 3, 4, 4, 4, 6, 4, 3, 1, 5, 5, 6, 7, 7, 7, 1, 1, 1, 1, 1, 7, 5, 7, 7 }; // ds:0xb17e
  1184. //struct{unsigned char[7];} g_random_encounter_descr[14] = { { 0x28, 0x28, 0x1e, 0x19, 0x1e, 0x19, 0x14 }, { 0x00, 0x2d, 0x00, 0x00, 0x28, 0x1e, 0x00 }, { 0x00, 0x32, 0x00, 0x00, 0x2d, 0x00, 0x00 }, { 0x2d, 0x37, 0x23, 0x1e, 0x37, 0x28, 0x1e }, { 0x3c, 0x00, 0x2d, 0x28, 0x00, 0x2d, 0x28 }, { 0x46, 0x41, 0x32, 0x32, 0x41, 0x41, 0x2d }, { 0x55, 0x46, 0x3c, 0x41, 0x00, 0x50, 0x3c }, { 0x00, 0x55, 0x00, 0x00, 0x55, 0x00, 0x00 }, { 0x00, 0x5f, 0x00, 0x00, 0x5f, 0x00, 0x00 }, { 0x5f, 0x64, 0x55, 0x55, 0x00, 0x55, 0x50 }, { 0x00, 0x00, 0x5f, 0x5f, 0x00, 0x00, 0x5a }, { 0x64, 0x00, 0x64, 0x64, 0x00, 0x00, 0x5f }, { 0x00, 0x00, 0x00, 0x00, 0x64, 0x5f, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x64 } }; // ds:0xb1b9
  1185. signed short g_tlk_ruin_hero_counter; // ds:0xb21b
  1186. // ?1
  1187. char g_str_rad1[4] = "RAD"; // ds:0xb21e
  1188. char g_str_rad2[4] = "RAD"; // ds:0xb222
  1189. char g_str_rad3[4] = "RAD"; // ds:0xb226
  1190. unsigned char g_color_white[3] = { 0x3f, 0x3f, 0x3f }; // ds:0xb22a, { 0x3f, 0x3f, 0x3f }
  1191. unsigned char g_color_black[3]; // ds:0xb22d, { 0x00, 0x00, 0x00 }
  1192. //struct{unsigned char r,g,b;} g_palette_unknown2[8] = { { 0x00, 0x00, 0x00 }, { 0x38, 0x30, 0x28 }, { 0x38, 0x30, 0x10 }, { 0x30, 0x28, 0x0c }, { 0x2c, 0x24, 0x08 }, { 0x28, 0x20, 0x04 }, { 0x18, 0x14, 0x00 }, { 0x0b, 0x19, 0x0c } }; // ds:0xb230
  1193. //struct{unsigned char r,g,b;} g_palette_unknown3[3] = { { 0x30, 0x00, 0x00 }, { 0x30, 0x30, 0x00 }, { 0x00, 0x00, 0x30 } }; // ds:0xb248
  1194. //struct{unsigned char r,g,b;} g_palette_unknown4[32] = { { 0x00, 0x00, 0x00 }, { 0x38, 0x30, 0x28 }, { 0x30, 0x24, 0x1c }, { 0x24, 0x18, 0x10 }, { 0x20, 0x14, 0x0c }, { 0x18, 0x0c, 0x08 }, { 0x14, 0x08, 0x04 }, { 0x0c, 0x04, 0x00 }, { 0x3c, 0x38, 0x00 }, { 0x38, 0x28, 0x00 }, { 0x30, 0x1c, 0x00 }, { 0x2c, 0x14, 0x00 }, { 0x3c, 0x24, 0x00 }, { 0x3c, 0x0c, 0x00 }, { 0x3c, 0x00, 0x08 }, { 0x3c, 0x00, 0x20 }, { 0x00, 0x10, 0x00 }, { 0x00, 0x14, 0x00 }, { 0x00, 0x1c, 0x00 }, { 0x04, 0x20, 0x00 }, { 0x04, 0x28, 0x00 }, { 0x1c, 0x38, 0x3c }, { 0x14, 0x2c, 0x34 }, { 0x0c, 0x1c, 0x30 }, { 0x04, 0x0c, 0x28 }, { 0x00, 0x00, 0x24 }, { 0x10, 0x10, 0x10 }, { 0x14, 0x14, 0x14 }, { 0x1c, 0x1c, 0x1c }, { 0x24, 0x24, 0x24 }, { 0x30, 0x30, 0x30 }, { 0x3c, 0x3c, 0x3c } }; // ds:0xb251
  1195. //struct{unsigned char r,g,b;} g_palette_general[32] = { { 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x3f }, { 0x00, 0x00, 0x24 }, { 0x3c, 0x30, 0x28 }, { 0x3c, 0x2c, 0x24 }, { 0x3c, 0x28, 0x1c }, { 0x38, 0x24, 0x18 }, { 0x34, 0x20, 0x14 }, { 0x30, 0x1c, 0x14 }, { 0x28, 0x18, 0x10 }, { 0x24, 0x14, 0x0c }, { 0x1c, 0x10, 0x0c }, { 0x18, 0x0c, 0x08 }, { 0x14, 0x0c, 0x08 }, { 0x38, 0x38, 0x38 }, { 0x30, 0x30, 0x30 }, { 0x2c, 0x2c, 0x2c }, { 0x28, 0x28, 0x28 }, { 0x20, 0x20, 0x20 }, { 0x1c, 0x1c, 0x1c }, { 0x14, 0x14, 0x14 }, { 0x10, 0x10, 0x10 }, { 0x00, 0x3f, 0x00 }, { 0x00, 0x24, 0x00 }, { 0x3c, 0x38, 0x00 }, { 0x34, 0x2c, 0x00 }, { 0x28, 0x20, 0x00 }, { 0x3c, 0x18, 0x10 }, { 0x30, 0x10, 0x08 }, { 0x24, 0x0c, 0x04 }, { 0x10, 0x08, 0x04 }, { 0x3c, 0x3c, 0x3c } }; // ds:0xb2b1
  1196. char g_str_backslash_temp[6] = "\\TEMP"; // ds:0xb311
  1197. char g_str_not_enough_mem[124] = "Not enough memory!\x0a\"Realms of Arkania - Blade of Destiny\" needs %ld Byte more memory!\x0aPlease uninstall resident programs!"; // ds:0xb317, Realms of Arkania - Blade of Destiny\
  1198. char g_str_drive_x[4] = "X:\"; // ds:0xb393
  1199. char g_str_temp_dir_fail[280] = "\xf2!!!!! ACHTUNG !!!!!\xf0\x40\x40DAS SCHWARZE AUGE\x40KANN KEIN TEMPOR\x8eRES VERZEICHNIS ANLEGEN UND IST DAHER NICHT LAUFF\x8eHIG. WAHRSCHEINLICH VERSUCHEN SIE, DAS SPIEL AUF EINEM\xf2 SCHREIBGESCH\x9aTZTEN LAUFWERK\xf0\x40ZU STARTEN. BITTE INSTALLIEREN SIE DAS SPIEL AUF EINE FESTPLATTE.\x40\x40-TASTE ZUM BEENDEN-"; // ds:0xb397
  1200. char g_all_files_wildcard2[4] = "*.*"; // ds:0xb4af
  1201. char g_all_chr_wildcard4[6] = "*.CHR"; // ds:0xb4b3
  1202. char g_all_files_wildcard3[4] = "*.*"; // ds:0xb4b9
  1203. char g_str_gen_exe[8] = "gen.exe"; // ds:0xb4bd
  1204. char g_str_gen_exe2[8] = "gen.exe"; // ds:0xb4c5
  1205. char g_str_gen_b[2] = "b"; // ds:0xb4cd
  1206. char g_str_gen_a[2] = "a"; // ds:0xb4cf
  1207. char g_str_gen_n[2] = "n"; // ds:0xb4d1
  1208. char g_str_gen_1[2] = "1"; // ds:0xb4d3
  1209. char g_str_gen_generation[11] = "Generation"; // ds:0xb4d5
  1210. // ?9
  1211. signed char g_char_type_table[256] = { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x21, 0x21, 0x21, 0x21, 0x21, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x01, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x40, 0x40, 0x40, 0x40, 0x20, 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, 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, 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, 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 }; // ds:0xb4e9
  1212. // ?415
  1213. unsigned short g_bc_filehandle_flags[600] = { 0x6001, 0x6002, 0x6002, 0xa004, 0xa002, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4000, 0xffff, 0x0000, 0x1300, 0x0202, 0x0504, 0x0806, 0x0808, 0x1514, 0x1305, 0x160e, 0x1105, 0x1e02, 0x2c29, 0x2828, 0x2828, 0x2928, 0x282c, 0x2828, 0x0505, 0x1729, 0x0e17, 0x0e0e, 0x0e0e, 0x0e0e, 0x0e0e, 0x0e0e, 0x0e0e, 0x2c0f, 0x0223, 0x0f2c, 0x282a, 0x2828, 0x1b13, 0x021c, 0x0502, 0x020f, 0x2817, 0x132a, 0x0e2a, 0x0e0e, 0x0e0e, 0x0e0e, 0x0e23, 0x281c, 0x2317, 0x1325, 0x0028, 0x0001, 0x0000, 0x432e, 0x4d4f, 0x2e00, 0x5845, 0x0045, 0x4150, 0x4854, 0x0000, 0x6e28, 0x6c75, 0x296c, 0x0000, 0x1414, 0x1401, 0x1415, 0x1414, 0x0214, 0x1400, 0x0403, 0x0914, 0x0505, 0x0505, 0x0505, 0x0505, 0x1405, 0x1414, 0x1414, 0x1414, 0x1414, 0x1414, 0x170f, 0x080f, 0x1414, 0x0714, 0x1614, 0x1414, 0x1414, 0x1414, 0x1414, 0x0d14, 0x1414, 0x1414, 0x1414, 0x1414, 0x1414, 0x0a10, 0x0f0f, 0x080f, 0x140a, 0x0614, 0x1214, 0x0e0b, 0x1414, 0x1411, 0x140c, 0x0d14, 0x1414, 0x1414, 0x1414, 0x0014, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0100, 0x4300, 0x4d4f, 0x4150, 0x0051, 0x7270, 0x6e69, 0x2074, 0x6373, 0x6e61, 0x2066, 0x203a, 0x6c66, 0x616f, 0x6974, 0x676e, 0x7020, 0x696f, 0x746e, 0x6620, 0x726f, 0x616d, 0x7374, 0x6e20, 0x746f, 0x6c20, 0x6e69, 0x656b, 0x0d64, 0x000a, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xb9ae, 0x14fc, 0xb9b6, 0x14fc, 0xb9ce, 0x14fc, 0xb9e8, 0x14fc, 0xb9f7, 0x14fc, 0xba0b, 0x14fc, 0xba1d, 0x14fc, 0xba2d, 0x14fc, 0xba42, 0x14fc, 0xba54, 0x14fc, 0xba71, 0x14fc, 0xba85, 0x14fc, 0xba94, 0x14fc, 0xbaa8, 0x14fc, 0xbab5, 0x14fc, 0xbab6, 0x14fc, 0xbac5, 0x14fc, 0xbaeb, 0x14fc, 0xbafb, 0x14fc, 0xbb09, 0x14fc, 0xbb1a, 0x14fc, 0xbb2b, 0x14fc, 0xbb3d, 0x14fc, 0xbb4f, 0x14fc, 0xbb50, 0x14fc, 0xbb51, 0x14fc, 0xbb52, 0x14fc, 0xbb53, 0x14fc, 0xbb54, 0x14fc, 0xbb55, 0x14fc, 0xbb56, 0x14fc, 0xbb57, 0x14fc, 0xbb58, 0x14fc, 0xbb59, 0x14fc, 0xbb67, 0x14fc, 0xbb78, 0x14fc, 0xbb8c, 0x14fc, 0xbb9e, 0x14fc, 0xbb9f, 0x14fc, 0xbba0, 0x14fc, 0xbba1, 0x14fc, 0xbba2, 0x14fc, 0xbba3, 0x14fc, 0xbba4, 0x14fc, 0xbba5, 0x14fc, 0xbba6, 0x14fc, 0xbba7, 0x14fc, 0xbba8, 0x14fc, 0x0030, 0x7245, 0x6f72, 0x2072, 0x0030, 0x6e49, 0x6176, 0x696c, 0x2064, 0x7566, 0x636e, 0x6974, 0x6e6f, 0x6e20, 0x6d75, 0x6562, 0x0072, 0x6f4e, 0x7320, 0x6375, 0x2068, 0x6966, 0x656c, 0x6f20, 0x2072, 0x6964, 0x6572, 0x7463, 0x726f, 0x0079, 0x6150, 0x6874, 0x6e20, 0x746f, 0x6620, 0x756f, 0x646e, 0x5400, 0x6f6f, 0x6d20, 0x6e61, 0x2079, 0x706f, 0x6e65, 0x6620, 0x6c69, 0x7365, 0x5000, 0x7265, 0x696d, 0x7373, 0x6f69, 0x206e, 0x6564, 0x696e, 0x6465, 0x4200, 0x6461, 0x6620, 0x6c69, 0x2065, 0x756e, 0x626d, 0x7265, 0x4d00, 0x6d65, 0x726f, 0x2079, 0x7261, 0x6e65, 0x2061, 0x7274, 0x7361, 0x6568, 0x0064, 0x6f4e, 0x2074, 0x6e65, 0x756f, 0x6867, 0x6d20, 0x6d65, 0x726f, 0x0079, 0x6e49, 0x6176, 0x696c, 0x2064, 0x656d, 0x6f6d, 0x7972, 0x6220, 0x6f6c, 0x6b63, 0x6120, 0x6464, 0x6572, 0x7373, 0x4900, 0x766e, 0x6c61, 0x6469, 0x6520, 0x766e, 0x7269, 0x6e6f, 0x656d, 0x746e, 0x4900, 0x766e, 0x6c61, 0x6469, 0x6620, 0x726f, 0x616d, 0x0074, 0x6e49, 0x6176, 0x696c, 0x2064, 0x6361, 0x6563, 0x7373, 0x6320, 0x646f, 0x0065, 0x6e49, 0x6176, 0x696c, 0x2064, 0x6164, 0x6174, 0x0000, 0x6f4e, 0x7320, 0x6375, 0x2068, 0x6564, 0x6976, 0x6563, 0x4100, 0x7474, 0x6d65, 0x7470, 0x6465, 0x7420, 0x206f, 0x6572, 0x6f6d, 0x6576, 0x6320, 0x7275, 0x6572, 0x746e, 0x6420, 0x7269, 0x6365, 0x6f74, 0x7972, 0x4e00, 0x746f, 0x7320, 0x6d61, 0x2065, 0x6564, 0x6976, 0x6563, 0x4e00, 0x206f, 0x6f6d, 0x6572, 0x6620, 0x6c69, 0x7365, 0x4900, 0x766e, 0x6c61, 0x6469, 0x6120, 0x6772, 0x6d75, 0x6e65, 0x0074, 0x7241, 0x2067, 0x696c, 0x7473, 0x7420, 0x6f6f, 0x6220, 0x6769, 0x4500, 0x6578, 0x2063, 0x6f66, 0x6d72, 0x7461, 0x6520, 0x7272, 0x726f, 0x4300, 0x6f72, 0x7373, 0x642d, 0x7665, 0x6369, 0x2065, 0x696c, 0x6b6e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4d00, 0x7461, 0x2068, 0x7261, 0x7567, 0x656d, 0x746e, 0x5200, 0x7365, 0x6c75, 0x2074, 0x6f74, 0x206f, 0x616c, 0x6772, 0x0065, 0x6946, 0x656c, 0x6120, 0x726c, 0x6165, 0x7964, 0x6520, 0x6978, 0x7473, 0x0073, 0x6f50, 0x7373, 0x6269, 0x656c, 0x6420, 0x6165, 0x6c64, 0x636f, 0x006b, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x5500, 0x6b6e, 0x6f6e, 0x6e77, 0x6520, 0x7272, 0x726f, 0x2500, 0x3a73, 0x2520, 0x0a73, 0x0000, 0x000d, 0x0000, 0x0000, 0x1c1f, 0x1e1f, 0x1e1f, 0x1f1f, 0x1f1e, 0x1f1e, 0x0000, 0x001f, 0x003b, 0x005a, 0x0078, 0x0097, 0x00b5, 0x00d4, 0x00f3, 0x0111, 0x0130, 0x014e, 0x016d, 0xe726, 0x14fc, 0xe722, 0x14fc, 0x4650, 0x0000, 0x0001, 0x5a54, 0x4500, 0x5453, 0x4500, 0x5444, 0x0000, 0x1960, 0x1965, 0x1965, 0x1965, 0x0101, 0x0d29, 0x1112, 0x0200, 0x1029, 0x0000, 0x1000, 0x1881, 0x0000, 0x1000, 0x2b1f, 0x0000, 0x1000, 0x2c64, 0x0000, 0x1e01, 0x462b, 0x0000, 0x0101, 0x0195, 0x1112 }; // ds:0xb788
  1214. unsigned long g_cd_audio_pause_pos; // ds:0xbc38
  1215. unsigned long g_cd_audio_pause_tod; // ds:0xbc3c
  1216. unsigned short g_cd_audio_track; // ds:0xbc40
  1217. // ?8
  1218. unsigned long g_cd_audio_tod; // ds:0xbc4a
  1219. unsigned long g_cd_audio_pos; // ds:0xbc4e
  1220. unsigned short g_cd_drive_no; // ds:0xbc52
  1221. // ?6
  1222. unsigned short g_sample_ad_length; // ds:0xbc5a
  1223. //struct{signed char; signed char; unsigned long;} g_sample_ad_idx_entry; // ds:0xbc5c
  1224. unsigned char g_playmask_us; // ds:0xbc62, 1 = PLAYM_US, 0 = PLAYM_UK
  1225. char g_gfxbuf_wait_keypress[100]; // ds:0xbc63
  1226. long g_splash_ae; // ds:0xbcc7
  1227. long g_splash_le; // ds:0xbccb
  1228. signed char g_hero_splash_timer[7]; // ds:0xbccf
  1229. unsigned short g_spinlock_flag; // ds:0xbcd6
  1230. unsigned short g_map_townmark_state; // ds:0xbcd8
  1231. unsigned char g_freeze_timers; // ds:0xbcda
  1232. unsigned long g_mouse_handler_bak; // ds:0xbcdb
  1233. unsigned long g_archive_file_offset; // ds:0xbcdf, start offset in SCHICK.DAT
  1234. unsigned long g_archive_file_remaining; // ds:0xbce3, flen - off
  1235. unsigned long g_archive_file_length; // ds:0xbce7
  1236. //RealPt g_ail_digi_driver_buf2; // ds:0xbceb, to buffer of size 5016
  1237. //RealPt g_ail_voc_buffer; // ds:0xbcef
  1238. //RealPt g_ail_digi_driver_buf; // ds:0xbcf3
  1239. //RealPt g_ail_digi_driver_descr; // ds:0xbcf7
  1240. signed short g_ail_digi_driver_id; // ds:0xbcfb
  1241. unsigned short g_use_cdaudio_flag; // ds:0xbcfd
  1242. unsigned short g_load_sound_driver; // ds:0xbcff
  1243. signed short g_sample_ad_handle; // ds:0xbd01
  1244. unsigned short g_ail_timbre_cache_size; // ds:0xbd03
  1245. unsigned long g_ail_state_table_size; // ds:0xbd05
  1246. //RealPt g_ail_music_driver_buf2; // ds:0xbd09
  1247. //RealPt g_ail_midi_buffer; // ds:0xbd0d
  1248. //RealPt g_ail_timbre_cache; // ds:0xbd11
  1249. //RealPt g_ail_state_table; // ds:0xbd15
  1250. //RealPt g_ail_music_driver_buf; // ds:0xbd19
  1251. //RealPt g_ail_music_driver_descr; // ds:0xbd1d
  1252. signed short g_ail_sequence; // ds:0xbd21
  1253. signed short g_ail_music_driver_id; // ds:0xbd23
  1254. unsigned short g_pregame_state; // ds:0xbd25
  1255. unsigned char g_citycamp_city; // ds:0xbd27, {0 = camp in dungeon, 1}
  1256. //RealPt g_current_fight; // ds:0xbd28
  1257. long g_scenario_buf; // ds:0xbd2c
  1258. //RealPt g_fightobj_buf; // ds:0xbd30
  1259. long g_heros; // ds:0xbd34
  1260. signed char g_new_menu_icons[9]; // ds:0xbd38
  1261. // ?12
  1262. unsigned char g_steptarget_front; // ds:0xbd4d
  1263. unsigned char g_steptarget_back; // ds:0xbd4e
  1264. unsigned char g_direction_unkn; // ds:0xbd4f, writeonly (1)
  1265. signed char g_visual_fields_tex[29]; // ds:0xbd50
  1266. // ?1
  1267. unsigned char g_visual_field_vals[29]; // ds:0xbd6e
  1268. // ?1
  1269. //RealPt g_ems_unused_tab; // ds:0xbd8c
  1270. unsigned short g_ems_travel_map; // ds:0xbd90
  1271. unsigned short g_ems_unused_handle; // ds:0xbd92
  1272. unsigned char g_dng_map_size; // ds:0xbd94
  1273. unsigned char g_dng_map[512]; // ds:0xbd95
  1274. //RealPt g_radio_name_list[15]; // ds:0xbf95, used for items, heroes, spells, skills, recipes
  1275. // ?40
  1276. //RealPt g_gui_buffer_unkn; // ds:0xbff9
  1277. signed short g_textbox_width; // ds:0xbffd
  1278. signed short g_textbox_pos_x; // ds:0xbfff, coordinate of upper left corner
  1279. signed short g_textbox_pos_y; // ds:0xc001, coordinate of upper left corner
  1280. signed short g_game_mode; // ds:0xc003, {-1 = Input error, 1 = Beginner, 2 = Advanced }
  1281. //RealPt g_sellitems; // ds:0xc005, also used for repair items
  1282. //RealPt g_buyitems; // ds:0xc009, merchant's assortment
  1283. //RealPt g_pic_copy_dst; // ds:0xc00d
  1284. signed short g_pic_copy_x1; // ds:0xc011
  1285. signed short g_pic_copy_y1; // ds:0xc013
  1286. signed short g_pic_copy_x2; // ds:0xc015
  1287. signed short g_pic_copy_y2; // ds:0xc017
  1288. //RealPt g_pic_copy_src; // ds:0xc019
  1289. unsigned short g_pic_copy_v1; // ds:0xc01d
  1290. unsigned short g_pic_copy_v2; // ds:0xc01f
  1291. unsigned short g_pic_copy_v3; // ds:0xc021
  1292. unsigned short g_pic_copy_v4; // ds:0xc023
  1293. //struct{short pos; char loc, type; short id;} g_locations_tab[150]; // ds:0xc025
  1294. //RealPt g_buffer8_ptr; // ds:0xc3a9, to buffer of size 12008
  1295. //RealPt g_tx2_index; // ds:0xc3ad, to index table of secondary text file
  1296. //RealPt g_tx_index; // ds:0xc3b1, to index table of primary text file
  1297. //RealPt g_text_ltx_index; // ds:0xc3b5, to index table of TEXT.LTX
  1298. // ?6
  1299. signed short g_random_schick_seed2; // ds:0xc3bf
  1300. signed short g_game_state; // ds:0xc3c1, see enum GAME_STATE_*
  1301. // ?2
  1302. unsigned short g_bioskey_event10; // ds:0xc3c5
  1303. unsigned short g_have_mouse; // ds:0xc3c7
  1304. unsigned short g_unused_spinlock_flag; // ds:0xc3c9
  1305. unsigned short g_update_statusline; // ds:0xc3cb
  1306. // ?2
  1307. unsigned short g_mouse1_doubleclick; // ds:0xc3cf
  1308. unsigned short g_mouse1_event1; // ds:0xc3d1
  1309. unsigned short g_mouse2_event; // ds:0xc3d3
  1310. unsigned short g_mouse1_event2; // ds:0xc3d5
  1311. unsigned short g_bioskey_event; // ds:0xc3d7
  1312. unsigned short g_action; // ds:0xc3d9
  1313. //RealPt g_buffer9_ptr; // ds:0xc3db, to buffer of size 180000 (or 203000 if LARGE_BUF), used for NVF
  1314. // ?8
  1315. unsigned short g_ani_width; // ds:0xc3e7
  1316. unsigned short g_ani_unknown1; // ds:0xc3e9
  1317. unsigned short g_ani_unknown2; // ds:0xc3eb
  1318. unsigned char g_ani_height; // ds:0xc3ed
  1319. unsigned char g_ani_areacount; // ds:0xc3ee
  1320. //struct{unsigned char[263];} g_ani_area_table[10]; // ds:0xc3ef
  1321. //RealPt g_ani_main_ptr; // ds:0xce35
  1322. unsigned char g_ani_compr_flag; // ds:0xce39, {0,1 = compressed}
  1323. unsigned char g_ani_palette_size; // ds:0xce3a
  1324. //RealPt g_ani_palette; // ds:0xce3b
  1325. signed short g_ani_posy; // ds:0xce3f
  1326. signed short g_ani_posx; // ds:0xce41
  1327. unsigned long g_ani_unknown4; // ds:0xce43, writeonly (0)
  1328. // ?64
  1329. unsigned char g_gui_text_buffer[64]; // ds:0xce87
  1330. //RealPt g_last_cursor; // ds:0xcec7
  1331. //RealPt g_current_cursor; // ds:0xcecb
  1332. //struct{char[32]; unsigned short mask[16];} g_ggst_cursor; // ds:0xcecf
  1333. unsigned char g_mouse_bg_bak[256]; // ds:0xcf0f
  1334. unsigned short g_dng_init_flag; // ds:0xd00f
  1335. unsigned short g_dng_extra_action; // ds:0xd011, {0 = warehouse,1 = open door,2 = open chest,3 = close door,4 = lever,5 = smash door}
  1336. unsigned short g_redraw_menuicons; // ds:0xd013
  1337. //RealPt g_buffer9_ptr2; // ds:0xd015, copy of BUFFER9_PTR
  1338. //RealPt g_buffer9_ptr3; // ds:0xd019, copy of BUFFER9_PTR
  1339. unsigned long g_buffer_monster_tab[36]; // ds:0xd01d
  1340. unsigned long g_buffer_wfigs_tab[43]; // ds:0xd0ad
  1341. unsigned long g_buffer_mfigs_tab[43]; // ds:0xd159
  1342. unsigned long g_buffer_anis_tab[37]; // ds:0xd205
  1343. //RealPt g_trv_track_pixel_bak; // ds:0xd299, to buffer of size 500
  1344. //RealPt g_fig_star_gfx; // ds:0xd29d
  1345. //RealPt g_monnames_buffer; // ds:0xd2a1
  1346. //RealPt g_buffer5_ptr; // ds:0xd2a5, to buffer of size 3880
  1347. //RealPt g_buffer10_ptr; // ds:0xd2a9, to buffer of size 16771, used for NVF and text
  1348. //RealPt g_popup; // ds:0xd2ad
  1349. //RealPt g_buffer6_ptr; // ds:0xd2b1, to buffer of size 2200, used for NVF
  1350. //RealPt g_buffer7_ptr; // ds:0xd2b5, to buffer of size 10000, used for NVF and text
  1351. //RealPt g_text_ltx_buffer; // ds:0xd2b9, to buffer of size 30500
  1352. //RealPt g_splash_buffer; // ds:0xd2bd, to buffer of size 1000, used for Splashes
  1353. //RealPt g_buf_font6; // ds:0xd2c1
  1354. short g_textcolor; // ds:0xd2c5
  1355. short g_textcolor_bg; // ds:0xd2c7
  1356. short g_textcolor_fg; // ds:0xd2c9
  1357. unsigned short g_init_color1; // ds:0xd2cb, writeonly (0xc8)
  1358. unsigned short g_init_color2; // ds:0xd2cd, writeonly (0xc9)
  1359. unsigned short g_init_color3; // ds:0xd2cf, writeonly (0xca)
  1360. signed short g_gui_text_centered; // ds:0xd2d1
  1361. unsigned short g_textline_unknown; // ds:0xd2d3, writeonly (103)
  1362. unsigned short g_textline_maxlen; // ds:0xd2d5
  1363. unsigned short g_textline_posy; // ds:0xd2d7
  1364. unsigned short g_textline_posx; // ds:0xd2d9
  1365. //RealPt g_fig_figure2_buf; // ds:0xd2db, to buffer of size 20000
  1366. //RealPt g_fig_figure1_buf; // ds:0xd2df
  1367. //RealPt g_objects_nvf_buf; // ds:0xd2e3, to buffer of size 3400
  1368. //RealPt g_buf_icon; // ds:0xd2e7
  1369. //RealPt g_text_output_buf; // ds:0xd2eb, to buffer of size 300
  1370. //RealPt g_text_input_buf; // ds:0xd2ef, to buffer of size 24
  1371. long g_dtp2; // ds:0xd2f3
  1372. //RealPt g_icon; // ds:0xd2f7
  1373. //RealPt g_print_string_buffer; // ds:0xd2fb
  1374. //RealPt g_framebuf_ptr; // ds:0xd2ff
  1375. //RealPt g_renderbuf_ptr; // ds:0xd303, to buffer of size 65000
  1376. // ?2
  1377. unsigned short g_gameinit_flag; // ds:0xd309, writeonly (1)
  1378. signed short g_video_page_bak; // ds:0xd30b
  1379. signed short g_video_mode_bak; // ds:0xd30d
  1380. // ?4
  1381. signed short g_txt_tabpos1; // ds:0xd313
  1382. signed short g_txt_tabpos2; // ds:0xd315
  1383. signed short g_txt_tabpos3; // ds:0xd317
  1384. signed short g_txt_tabpos4; // ds:0xd319
  1385. signed short g_txt_tabpos5; // ds:0xd31b
  1386. signed short g_txt_tabpos6; // ds:0xd31d
  1387. signed short g_txt_tabpos7; // ds:0xd31f
  1388. //RealPt g_townpal_buf; // ds:0xd321
  1389. signed short g_fig_flee_position[4]; // ds:0xd325, see HERO_UNKNOWN9
  1390. signed short g_wildcamp_sleep_quality; // ds:0xd32d
  1391. signed short g_gather_herbs_mod; // ds:0xd32f
  1392. signed short g_replenish_stocks_mod; // ds:0xd331
  1393. //struct{signed short type, damage;} g_fig_msg_data[6]; // ds:0xd333
  1394. //struct{unsigned char[62];} g_enemy_sheets[20]; // ds:0xd34b, struct enemy[20]
  1395. signed char g_fig_move_pathdir[10]; // ds:0xd823
  1396. signed char g_fig_monsters_unkn[30]; // ds:0xd82d, see FIG_ACTION_UNKNOWN2
  1397. signed char g_hero_is_target[7]; // ds:0xd84b
  1398. //RealPt g_chessboard; // ds:0xd852
  1399. //RealPt g_fig_spellgfx_buf; // ds:0xd856
  1400. //RealPt g_fig_shot_bolt_buf; // ds:0xd85a
  1401. //RealPt g_fig_cb_selector_buf; // ds:0xd85e
  1402. //RealPt g_fig_cb_marker_buf; // ds:0xd862
  1403. //RealPt g_spellobj_nvf_buf; // ds:0xd866, to buffer of size 0xf5f
  1404. //RealPt g_weapons_nvf_buf; // ds:0xd86a, to buffer of size 0x1953
  1405. //RealPt g_fightobj_buf_seek_ptr; // ds:0xd86e, points to end of FIGHTOBJ buffer
  1406. short g_nr_of_enemies; // ds:0xd872, ?
  1407. unsigned char g_fightobj_list[90]; // ds:0xd874
  1408. //struct{unsigned char[243];} g_fig_anisheets[8]; // ds:0xd8ce
  1409. //struct{unsigned char[35];} g_fig_list_elem; // ds:0xe066
  1410. unsigned char g_fig_list_array[127]; // ds:0xe089
  1411. //RealPt g_fig_list_head; // ds:0xe108, to a list
  1412. unsigned char g_location_market_flag; // ds:0xe10c
  1413. unsigned short g_wallclock_redraw; // ds:0xe10d
  1414. short g_wallclock_y; // ds:0xe10f
  1415. short g_wallclock_x; // ds:0xe111
  1416. unsigned short g_wallclock_update; // ds:0xe113, 0 = don't update the wallclock
  1417. long g_mem_slots_mon; // ds:0xe115
  1418. long g_mem_slots_wfig; // ds:0xe119
  1419. long g_mem_slots_mfig; // ds:0xe11d
  1420. unsigned long g_mem_slots_anis; // ds:0xe121, to ()[36]
  1421. //RealPt g_monster_dat_buf; // ds:0xe125
  1422. //RealPt g_monnames_index; // ds:0xe129
  1423. signed char g_market_itemsaldo_table[254]; // ds:0xe12d
  1424. long g_itemsdat; // ds:0xe22b
  1425. long g_itemsname; // ds:0xe22f
  1426. // ?1
  1427. signed long g_gfx_spinlock; // ds:0xe234
  1428. signed short g_ani_change_dir[10]; // ds:0xe238
  1429. signed short g_ani_area_status[10]; // ds:0xe24c
  1430. signed short g_ani_area_timeout[10]; // ds:0xe260
  1431. //RealPt g_bc_timer; // ds:0xe274
  1432. //RealPt g_fig_gfxbuffers[8]; // ds:0xe278, 0x508 byte segments in FIGHTOBJ_BUF
  1433. signed short g_fig_figlist_readd[8]; // ds:0xe298
  1434. unsigned short g_fig_ani_state[8]; // ds:0xe2a8
  1435. unsigned short g_fig_actor_grammar_type; // ds:0xe2b8, 2 = hero, 1 = monster
  1436. unsigned short g_fig_actor_grammar_id; // ds:0xe2ba
  1437. unsigned short g_fig_target_grammar_type; // ds:0xe2bc, 2 = hero, 1 = monster
  1438. unsigned short g_fig_target_grammar_id; // ds:0xe2be
  1439. unsigned short g_figobj_unkn_y1; // ds:0xe2c0
  1440. unsigned short g_figobj_unkn_y1_bak; // ds:0xe2c2
  1441. unsigned short g_figobj_unkn_x1; // ds:0xe2c4
  1442. unsigned short g_figobj_unkn_x1_bak; // ds:0xe2c6
  1443. unsigned short g_figobj_unkn_y2; // ds:0xe2c8
  1444. unsigned short g_figobj_unkn_y2_bak; // ds:0xe2ca
  1445. unsigned short g_figobj_unkn_x2; // ds:0xe2cc
  1446. unsigned short g_figobj_unkn_x2_bak; // ds:0xe2ce
  1447. unsigned short g_delay_timer; // ds:0xe2d0
  1448. //RealPt g_saved_files_buf; // ds:0xe2d2
  1449. signed long g_last_save_time; // ds:0xe2d6
  1450. char g_savegame_names[45]; // ds:0xe2da
  1451. // ?1
  1452. //RealPt g_dialog_title; // ds:0xe308
  1453. signed short g_dialog_informer; // ds:0xe30c
  1454. signed short g_dialog_next_state; // ds:0xe30e
  1455. signed short g_dialog_done; // ds:0xe310
  1456. signed short g_dialog_state; // ds:0xe312
  1457. signed short g_tlk_id; // ds:0xe314
  1458. unsigned short g_current_fig_no; // ds:0xe316
  1459. signed short g_autofight; // ds:0xe318
  1460. signed short g_fig_dropped_weapons[30]; // ds:0xe31a
  1461. //RealPt g_chessboard_cpy; // ds:0xe356
  1462. signed char g_fig_twofielded_table[21]; // ds:0xe35a
  1463. signed char g_fig_twofielded_count; // ds:0xe36f
  1464. signed long g_fightobj_buf_freespace; // ds:0xe370
  1465. //RealPt g_buffer_weapanidat; // ds:0xe374, pointer to WEAPANI.DAT
  1466. //RealPt g_buffer_anidat; // ds:0xe378, pointer to ANI.DAT buffer
  1467. //RealPt g_fig_list_buffer; // ds:0xe37c, to buffer of size 4445, initial value of FIG_LIST_HEAD
  1468. //RealPt g_figobj_gfxheight_table; // ds:0xe380, to signed short[63]
  1469. //RealPt g_figobj_gfxwidth_table; // ds:0xe384, to signed short[63]
  1470. //RealPt g_figobj_gfxbuf_table; // ds:0xe388, to RealPt[63]
  1471. unsigned char g_fig_spellgfx_id; // ds:0xe38c
  1472. unsigned char g_fig_shot_bolt_id; // ds:0xe38d
  1473. unsigned char g_fig_cb_makrer_id; // ds:0xe38e
  1474. unsigned char g_fig_cb_selector_id[20]; // ds:0xe38f
  1475. // ?1
  1476. signed short g_spell_illusionen; // ds:0xe3a4, 1 = spell has effect
  1477. signed short g_defender_dead; // ds:0xe3a6
  1478. signed short g_attacker_dead; // ds:0xe3a8
  1479. unsigned short g_defender_attacks; // ds:0xe3aa
  1480. unsigned short g_attacker_attacks_again; // ds:0xe3ac
  1481. //RealPt g_current_cursor_bak; // ds:0xe3ae
  1482. //RealPt g_inc_spells_counter; // ds:0xe3b2
  1483. //RealPt g_inc_skills_counter; // ds:0xe3b6
  1484. //RealPt g_skills_buffer; // ds:0xe3ba
  1485. signed char g_wildcamp_guards[3]; // ds:0xe3be
  1486. signed char g_wildcamp_herbstatus[7]; // ds:0xe3c1
  1487. signed char g_wildcamp_replstatus[7]; // ds:0xe3c8
  1488. signed char g_wildcamp_magicstatus[7]; // ds:0xe3cf
  1489. signed char g_wildcamp_guardstatus[7]; // ds:0xe3d6
  1490. // ?1
  1491. signed char g_citycamp_guards[3]; // ds:0xe3de
  1492. signed char g_citycamp_magicstatus[7]; // ds:0xe3e1
  1493. signed char g_citycamp_guardstatus[7]; // ds:0xe3e8
  1494. // ?1
  1495. signed char g_booked_inn_days; // ds:0xe3f0
  1496. signed char g_sleep_quality; // ds:0xe3f1
  1497. //RealPt g_buy_shopping_cart; // ds:0xe3f2, to buffer of size 250, each item has 4 bytes
  1498. signed short g_price_modificator; // ds:0xe3f6, price modificator for smith and sell
  1499. signed short g_temple_god; // ds:0xe3f8, id of current temple's god
  1500. unsigned char g_sea_travel_sleep_quality; // ds:0xe3fa
  1501. // ?1
  1502. //RealPt g_buffer9_ptr4; // ds:0xe3fc, copy of BUFFER9_PTR
  1503. unsigned char g_city_house_count[4]; // ds:0xe400, counts of the four different kinds of houses on the current map
  1504. //RealPt g_buffer11_ptr; // ds:0xe404, to buffer of size 192, used for palettes
  1505. signed short g_city_refresh_direction; // ds:0xe408
  1506. signed short g_city_refresh_y_target; // ds:0xe40a
  1507. signed short g_city_refresh_x_target; // ds:0xe40c
  1508. unsigned short g_always_zero1; // ds:0xe40e, writeonly (0)
  1509. unsigned short g_always_zero2; // ds:0xe410, writeonly (0)
  1510. signed short g_entrance_angle; // ds:0xe412
  1511. //RealPt g_tex_floor; // ds:0xe414
  1512. //RealPt g_tex_sky; // ds:0xe418
  1513. //RealPt g_tex_house1; // ds:0xe41c
  1514. //RealPt g_tex_house2; // ds:0xe420
  1515. //RealPt g_tex_house3; // ds:0xe424
  1516. //RealPt g_tex_house4; // ds:0xe428
  1517. signed short g_combo_mode; // ds:0xe42c
  1518. char g_str_beorn_hjall[20]; // ds:0xe42e
  1519. unsigned char g_automap_buf[64]; // ds:0xe442
  1520. unsigned short g_dng_refresh_direction; // ds:0xe482
  1521. unsigned short g_dng_refresh_y_target; // ds:0xe484
  1522. unsigned short g_dng_refresh_x_target; // ds:0xe486
  1523. //RealPt g_dng_map_ptr; // ds:0xe488, to DNG_MAP
  1524. unsigned char g_dng_floor_tex; // ds:0xe48c, , changing every timestep
  1525. //RealPt g_dng_gfxtab; // ds:0xe48d, to GFXTAB(_SHIPS|_STONES|_MARBLES)
  1526. // ?1
  1527. signed short g_lockpick_try_counter; // ds:0xe492, {0..4}
  1528. //RealPt g_dungeon_fights_buf; // ds:0xe494, to buffer of size 630
  1529. //RealPt g_dungeon_stairs_buf; // ds:0xe498, to buffer of size 80
  1530. //RealPt g_dungeon_doors_buf; // ds:0xe49c, to buffer of size 225
  1531. signed short g_get_extra_loot; // ds:0xe4a0
  1532. unsigned char g_route59_flag; // ds:0xe4a2, {0, 1 = from Kravik, 2 = from Peilinen, 3 = from Skelellen, 4 = from Rovamund}
  1533. unsigned short g_trv_menu_selection; // ds:0xe4a3
  1534. unsigned short g_current_town_over; // ds:0xe4a5
  1535. unsigned short g_current_town_overy; // ds:0xe4a7
  1536. unsigned short g_current_town_overx; // ds:0xe4a9
  1537. unsigned short g_selected_town_aniy; // ds:0xe4ab
  1538. unsigned short g_selected_town_anix; // ds:0xe4ad
  1539. unsigned short g_current_town_aniy; // ds:0xe4af
  1540. unsigned short g_current_town_anix; // ds:0xe4b1
  1541. // ?1
  1542. unsigned char g_trv_detour_pixel_bak[20]; // ds:0xe4b4
  1543. unsigned char g_good_camp_place; // ds:0xe4c8
  1544. unsigned char g_route_tevent_flags[15]; // ds:0xe4c9
  1545. unsigned char g_gui_print_char; // ds:0xe4d8
  1546. unsigned short g_dialogbox_indent_height; // ds:0xe4d9
  1547. signed short g_dialogbox_indent_width; // ds:0xe4db
  1548. // ?6
  1549. char g_grammar_bufs[201]; // ds:0xe4e3
  1550. unsigned short g_menu_default_select; // ds:0xe5ac
  1551. unsigned short g_menu_input_busy; // ds:0xe5ae
  1552. unsigned short g_menu_selected; // ds:0xe5b0
  1553. signed short g_spelltest_result; // ds:0xe5b2
  1554. //RealPt g_spelltarget_e; // ds:0xe5b4, Pointer to enemy
  1555. long g_spelltarget; // ds:0xe5b8
  1556. long g_spelluser; // ds:0xe5bc
  1557. long g_spelluser_e; // ds:0xe5c0
  1558. short g_alchemy_missing_item; // ds:0xe5c4
  1559. //RealPt g_used_item_desc; // ds:0xe5c6, pointer to the item description
  1560. signed short g_used_item_id; // ds:0xe5ca, used_item ID
  1561. signed short g_used_item_pos; // ds:0xe5cc, used_item position
  1562. //RealPt g_itemuser; // ds:0xe5ce, pointer to hero
  1563. unsigned char g_event_ani_busy; // ds:0xe5d2
  1564. unsigned short g_wallclock_update_bak; // ds:0xe5d3
  1565. unsigned short g_textbox_width_bak; // ds:0xe5d5
  1566. unsigned short g_basepos_y_bak; // ds:0xe5d7
  1567. unsigned short g_basepos_x_bak; // ds:0xe5d9
  1568. // ?1
  1569. unsigned long g_buffersize; // ds:0xe5dc, size of the global buffer
  1570. //RealPt g_global_buffer_ptr; // ds:0xe5e0, points to the start of the global buffer
  1571. signed char g_large_buf; // ds:0xe5e4
  1572. //#Structs: 133, #RealPt: 130
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement