aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.h
blob: 037fd2ad2a1a5db072144f00addcf5ed8bbdafa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
#ifndef TASMRECOVER_DREAMGEN_STUBS_H__
#define TASMRECOVER_DREAMGEN_STUBS_H__

/* PLEASE DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE LOST! LOOK FOR README FOR DETAILS */

/* ScummVM - Graphic Adventure Engine
 *
 * ScummVM is the legal property of its developers, whose names
 * are too numerous to list here. Please refer to the COPYRIGHT
 * file distributed with this source distribution.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */




#include "dreamweb/runtime.h"

namespace DreamGen {
#include "structs.h"
class DreamGenContext : public Context {
public:
	void __start();
	void __dispatch_call(uint16 addr);
#include "stubs.h" // Allow hand-reversed functions to have a signature different than void f()

	static const uint16 addr_dreamweb = 0xc948;
	static const uint16 addr_keyboardread = 0xcbb4;
	static const uint16 addr_resetkeyboard = 0xcbb0;
	static const uint16 addr_setkeyboardint = 0xcbac;
	static const uint16 addr_readfromfile = 0xcba8;
	static const uint16 addr_closefile = 0xcba4;
	static const uint16 addr_openforsave = 0xcba0;
	static const uint16 addr_openfilenocheck = 0xcb9c;
	static const uint16 addr_makename = 0xcb98;
	static const uint16 addr_openfilefromc = 0xcb94;
	static const uint16 addr_openfile = 0xcb90;
	static const uint16 addr_createfile = 0xcb8c;
	static const uint16 addr_readsetdata = 0xcb88;
	static const uint16 addr_getridoftempsp = 0xcb84;
	static const uint16 addr_getridoftempcharset = 0xcb80;
	static const uint16 addr_getridoftemp3 = 0xcb7c;
	static const uint16 addr_getridoftemp2 = 0xcb78;
	static const uint16 addr_getridoftemptext = 0xcb74;
	static const uint16 addr_getridoftemp = 0xcb70;
	static const uint16 addr_fillspace = 0xcb6c;
	static const uint16 addr_allocateload = 0xcb68;
	static const uint16 addr_dontloadseg = 0xcb64;
	static const uint16 addr_readheader = 0xcb60;
	static const uint16 addr_getroomdata = 0xcb5c;
	static const uint16 addr_findroominloc = 0xcb58;
	static const uint16 addr_findxyfrompath = 0xcb54;
	static const uint16 addr_disablepath = 0xcb50;
	static const uint16 addr_startloading = 0xcb4c;
	static const uint16 addr_sortoutmap = 0xcb48;
	static const uint16 addr_restoreall = 0xcb44;
	static const uint16 addr_restorereels = 0xcb40;
	static const uint16 addr_getridofall = 0xcb3c;
	static const uint16 addr_getridofreels = 0xcb38;
	static const uint16 addr_loadroomssample = 0xcb34;
	static const uint16 addr_loadroom = 0xcb30;
	static const uint16 addr_loadtemptext = 0xcb2c;
	static const uint16 addr_standardload = 0xcb28;
	static const uint16 addr_loadtempcharset = 0xcb24;
	static const uint16 addr_loadintotemp3 = 0xcb20;
	static const uint16 addr_loadintotemp2 = 0xcb1c;
	static const uint16 addr_loadintotemp = 0xcb18;
	static const uint16 addr_loadtraveltext = 0xcb14;
	static const uint16 addr_hangon = 0xcb10;
	static const uint16 addr_randomnum2 = 0xcb08;
	static const uint16 addr_randomnum1 = 0xcb04;
	static const uint16 addr_readkey = 0xcafc;
	static const uint16 addr_readmouse4 = 0xcaf8;
	static const uint16 addr_readmouse3 = 0xcaf4;
	static const uint16 addr_readmouse2 = 0xcaf0;
	static const uint16 addr_readmouse1 = 0xcaec;
	static const uint16 addr_mousecall = 0xcae8;
	static const uint16 addr_readmouse = 0xcae4;
	static const uint16 addr_setmouse = 0xcae0;
	static const uint16 addr_animpointer = 0xcadc;
	static const uint16 addr_deltextline = 0xcad4;
	static const uint16 addr_undertextline = 0xcad0;
	static const uint16 addr_dumppointer = 0xcacc;
	static const uint16 addr_delpointer = 0xcac8;
	static const uint16 addr_showpointer = 0xcac4;
	static const uint16 addr_crosshair = 0xcac0;
	static const uint16 addr_putunderzoom = 0xcabc;
	static const uint16 addr_dumpzoom = 0xcab8;
	static const uint16 addr_getunderzoom = 0xcab4;
	static const uint16 addr_hangoncurs = 0xcab0;
	static const uint16 addr_hangonw = 0xcaac;
	static const uint16 addr_hangonp = 0xcaa8;
	static const uint16 addr_allpointer = 0xcaa4;
	static const uint16 addr_blank = 0xcaa0;
	static const uint16 addr_worktoscreenm = 0xca9c;
	static const uint16 addr_dumpblink = 0xca98;
	static const uint16 addr_showblink = 0xca94;
	static const uint16 addr_zoomicon = 0xca90;
	static const uint16 addr_gettime = 0xca8c;
	static const uint16 addr_showwatch = 0xca88;
	static const uint16 addr_panelicons1 = 0xca84;
	static const uint16 addr_showexit = 0xca80;
	static const uint16 addr_usetempcharset = 0xca7c;
	static const uint16 addr_usecharset1 = 0xca78;
	static const uint16 addr_roomname = 0xca74;
	static const uint16 addr_showpanel = 0xca70;
	static const uint16 addr_showman = 0xca6c;
	static const uint16 addr_middlepanel = 0xca68;
	static const uint16 addr_showicon = 0xca64;
	static const uint16 addr_findobname = 0xca60;
	static const uint16 addr_copyname = 0xca5c;
	static const uint16 addr_getroomspaths = 0xca58;
	static const uint16 addr_workoutframes = 0xca54;
	static const uint16 addr_bresenhams = 0xca50;
	static const uint16 addr_checkdest = 0xca4c;
	static const uint16 addr_autosetwalk = 0xca48;
	static const uint16 addr_setwalk = 0xca44;
	static const uint16 addr_getflagunderp = 0xca40;
	static const uint16 addr_walktotext = 0xca3c;
	static const uint16 addr_personnametext = 0xca38;
	static const uint16 addr_blocknametext = 0xca34;
	static const uint16 addr_printmessage2 = 0xca30;
	static const uint16 addr_printmessage = 0xca2c;
	static const uint16 addr_commandonly = 0xca28;
	static const uint16 addr_commandwithob = 0xca24;
	static const uint16 addr_examineobtext = 0xca20;
	static const uint16 addr_finishedwalking = 0xca1c;
	static const uint16 addr_obname = 0xca18;
	static const uint16 addr_afterintroroom = 0xca14;
	static const uint16 addr_walkintoroom = 0xca10;
	static const uint16 addr_atmospheres = 0xca0c;
	static const uint16 addr_afternewroom = 0xca08;
	static const uint16 addr_checkifpathison = 0xca04;
	static const uint16 addr_turnanypathoff = 0xca00;
	static const uint16 addr_turnanypathon = 0xc9fc;
	static const uint16 addr_turnpathoff = 0xc9f8;
	static const uint16 addr_turnpathon = 0xc9f4;
	static const uint16 addr_findfirstpath = 0xc9f0;
	static const uint16 addr_findpathofpoint = 0xc9ec;
	static const uint16 addr_isitdescribed = 0xc9e8;
	static const uint16 addr_checkiffree = 0xc9e4;
	static const uint16 addr_checkifex = 0xc9e0;
	static const uint16 addr_checkifset = 0xc9dc;
	static const uint16 addr_checkifperson = 0xc9d8;
	static const uint16 addr_identifyob = 0xc9d4;
	static const uint16 addr_checkcoords = 0xc9d0;
	static const uint16 addr_madmanrun = 0xc9cc;
	static const uint16 addr_mainscreen = 0xc9c8;
	static const uint16 addr_walkandexamine = 0xcbb8;
	static const uint16 addr_convnum = 0xc9c4;
	static const uint16 addr_showword = 0xc9c0;
	static const uint16 addr_twodigitnum = 0xc9bc;
	static const uint16 addr_onedigit = 0xc9b8;
	static const uint16 addr_showbyte = 0xc9b4;
	static const uint16 addr_dumpwatch = 0xc9b0;
	static const uint16 addr_showtime = 0xc9ac;
	static const uint16 addr_watchcount = 0xc9a8;
	static const uint16 addr_checkforshake = 0xc9a4;
	static const uint16 addr_watchreel = 0xc9a0;
	static const uint16 addr_screenupdate = 0xc99c;
	static const uint16 addr_startup1 = 0xc998;
	static const uint16 addr_startup = 0xc994;
	static const uint16 addr_parseblaster = 0xc990;
	static const uint16 addr_allocatemem = 0xc988;
	static const uint16 addr_deallocatemem = 0xc984;
	static const uint16 addr_clearrest = 0xc980;
	static const uint16 addr_clearreels = 0xc97c;
	static const uint16 addr_clearbeforeload = 0xc978;
	static const uint16 addr_clearchanges = 0xc974;
	static const uint16 addr_clearbuffers = 0xc970;
	static const uint16 addr_allocatebuffers = 0xc96c;
	static const uint16 addr_checkbasemem = 0xc968;
	static const uint16 addr_checkforemm = 0xc964;
	static const uint16 addr_removeemm = 0xc960;
	static const uint16 addr_setupemm = 0xc95c;
	static const uint16 addr_pickupob = 0xc958;
	static const uint16 addr_initialinv = 0xc954;
	static const uint16 addr_entryanims = 0xc950;
	static const uint16 addr_entrytexts = 0xc94c;
	static const uint16 addr_pitinterupt = 0xc944;
	static const uint16 addr_getridofpit = 0xc940;
	static const uint16 addr_setuppit = 0xc93c;
	static const uint16 addr_startdmablock = 0xc938;
	static const uint16 addr_dmaend = 0xc934;
	static const uint16 addr_domix = 0xc930;
	static const uint16 addr_restoreems = 0xc92c;
	static const uint16 addr_saveems = 0xc928;
	static const uint16 addr_bothchannels = 0xc924;
	static const uint16 addr_channel0tran = 0xc920;
	static const uint16 addr_channel1only = 0xc91c;
	static const uint16 addr_channel0only = 0xc918;
	static const uint16 addr_loopchannel0 = 0xc90c;
	static const uint16 addr_volumeadjust = 0xc908;
	static const uint16 addr_makenextblock = 0xc904;
	static const uint16 addr_playchannel1 = 0xc900;
	static const uint16 addr_playchannel0 = 0xc8fc;
	static const uint16 addr_out22c = 0xc8f8;
	static const uint16 addr_soundend = 0xc8f4;
	static const uint16 addr_interupttest = 0xc8f0;
	static const uint16 addr_disablesoundint = 0xc8ec;
	static const uint16 addr_enablesoundint = 0xc8e8;
	static const uint16 addr_checksoundint = 0xc8e4;
	static const uint16 addr_setsoundoff = 0xc8e0;
	static const uint16 addr_trysoundalloc = 0xc8dc;
	static const uint16 addr_soundstartup = 0xc8d8;
	static const uint16 addr_loadsecondsample = 0xc8d4;
	static const uint16 addr_loadsample = 0xc8d0;
	static const uint16 addr_createname = 0xc8cc;
	static const uint16 addr_loadspeech = 0xc8c8;
	static const uint16 addr_loadold = 0xc8c4;
	static const uint16 addr_doload = 0xcbbc;
	static const uint16 addr_newgame = 0xc8c0;
	static const uint16 addr_showdecisions = 0xc8bc;
	static const uint16 addr_decide = 0xc8b8;
	static const uint16 addr_scanfornames = 0xc8b4;
	static const uint16 addr_findlen = 0xc8b0;
	static const uint16 addr_saveseg = 0xc8ac;
	static const uint16 addr_storeit = 0xc8a8;
	static const uint16 addr_makeheader = 0xc8a4;
	static const uint16 addr_loadseg = 0xc8a0;
	static const uint16 addr_loadposition = 0xc89c;
	static const uint16 addr_saveposition = 0xc898;
	static const uint16 addr_savefileread = 0xc894;
	static const uint16 addr_savefilewrite = 0xc890;
	static const uint16 addr_oldtonames = 0xc88c;
	static const uint16 addr_namestoold = 0xc888;
	static const uint16 addr_error = 0xc884;
	static const uint16 addr_generalerror = 0xcbc0;
	static const uint16 addr_dosreturn = 0xc880;
	static const uint16 addr_shownames = 0xc87c;
	static const uint16 addr_showslots = 0xc878;
	static const uint16 addr_selectslot = 0xc874;
	static const uint16 addr_showsaveops = 0xc870;
	static const uint16 addr_showloadops = 0xc86c;
	static const uint16 addr_showopbox = 0xc868;
	static const uint16 addr_getnamepos = 0xc864;
	static const uint16 addr_checkinput = 0xc860;
	static const uint16 addr_selectslot2 = 0xc85c;
	static const uint16 addr_actualload = 0xc858;
	static const uint16 addr_actualsave = 0xc854;
	static const uint16 addr_savegame = 0xc850;
	static const uint16 addr_discops = 0xc84c;
	static const uint16 addr_getbacktoops = 0xc848;
	static const uint16 addr_loadgame = 0xc844;
	static const uint16 addr_loadsavebox = 0xc840;
	static const uint16 addr_showdiscops = 0xc83c;
	static const uint16 addr_showmainops = 0xc838;
	static const uint16 addr_getbackfromops = 0xc834;
	static const uint16 addr_dosaveload = 0xc830;
	static const uint16 addr_saveload = 0xc82c;
	static const uint16 addr_zoomonoff = 0xc828;
	static const uint16 addr_findtext1 = 0xc824;
	static const uint16 addr_showdiarypage = 0xc820;
	static const uint16 addr_diarykeyn = 0xc81c;
	static const uint16 addr_diarykeyp = 0xc818;
	static const uint16 addr_dumpdiarykeys = 0xc814;
	static const uint16 addr_showdiarykeys = 0xc810;
	static const uint16 addr_showdiary = 0xc80c;
	static const uint16 addr_usediary = 0xc808;
	static const uint16 addr_dumpsymbox = 0xc804;
	static const uint16 addr_updatesymbolbot = 0xc800;
	static const uint16 addr_updatesymboltop = 0xc7fc;
	static const uint16 addr_nextsymbol = 0xc7f8;
	static const uint16 addr_showsymbol = 0xc7f4;
	static const uint16 addr_dumpsymbol = 0xc7f0;
	static const uint16 addr_setbotright = 0xc7ec;
	static const uint16 addr_setbotleft = 0xc7e8;
	static const uint16 addr_settopright = 0xc7e4;
	static const uint16 addr_settopleft = 0xc7e0;
	static const uint16 addr_quitsymbol = 0xc7dc;
	static const uint16 addr_entersymbol = 0xc7d8;
	static const uint16 addr_showrightpage = 0xc7d4;
	static const uint16 addr_showleftpage = 0xc7d0;
	static const uint16 addr_folderexit = 0xc7cc;
	static const uint16 addr_showfolder = 0xc7c8;
	static const uint16 addr_loadfolder = 0xc7c4;
	static const uint16 addr_lastfolder = 0xc7c0;
	static const uint16 addr_folderhints = 0xc7bc;
	static const uint16 addr_nextfolder = 0xc7b8;
	static const uint16 addr_viewfolder = 0xc7b4;
	static const uint16 addr_loadmenu = 0xc7b0;
	static const uint16 addr_showmenu = 0xc7ac;
	static const uint16 addr_showoutermenu = 0xc7a8;
	static const uint16 addr_putundermenu = 0xc7a4;
	static const uint16 addr_getundermenu = 0xc7a0;
	static const uint16 addr_dumpmenu = 0xc79c;
	static const uint16 addr_usemenu = 0xc798;
	static const uint16 addr_dumpkeypad = 0xc794;
	static const uint16 addr_singlekey = 0xc790;
	static const uint16 addr_showkeypad = 0xc78c;
	static const uint16 addr_showouterpad = 0xc788;
	static const uint16 addr_buttonpress = 0xc784;
	static const uint16 addr_buttonenter = 0xc780;
	static const uint16 addr_buttonnought = 0xc77c;
	static const uint16 addr_buttonnine = 0xc778;
	static const uint16 addr_buttoneight = 0xc774;
	static const uint16 addr_buttonseven = 0xc770;
	static const uint16 addr_buttonsix = 0xc76c;
	static const uint16 addr_buttonfive = 0xc768;
	static const uint16 addr_buttonfour = 0xc764;
	static const uint16 addr_buttonthree = 0xc760;
	static const uint16 addr_buttontwo = 0xc75c;
	static const uint16 addr_buttonone = 0xc758;
	static const uint16 addr_addtopresslist = 0xc754;
	static const uint16 addr_quitkey = 0xc750;
	static const uint16 addr_loadkeypad = 0xc74c;
	static const uint16 addr_entercode = 0xc748;
	static const uint16 addr_usewinch = 0xc744;
	static const uint16 addr_useplate = 0xc740;
	static const uint16 addr_usebuttona = 0xc73c;
	static const uint16 addr_useshield = 0xc738;
	static const uint16 addr_usegun = 0xc734;
	static const uint16 addr_usechurchgate = 0xc730;
	static const uint16 addr_usewall = 0xc72c;
	static const uint16 addr_edenscdplayer = 0xc728;
	static const uint16 addr_setuptimedtemp = 0xc720;
	static const uint16 addr_setuptimeduse = 0xc71c;
	static const uint16 addr_dumptimedtext = 0xc718;
	static const uint16 addr_autoappear = 0xc70c;
	static const uint16 addr_dochange = 0xc708;
	static const uint16 addr_setallchanges = 0xc704;
	static const uint16 addr_switchryanoff = 0xc700;
	static const uint16 addr_switchryanon = 0xc6fc;
	static const uint16 addr_findormake = 0xc6f8;
	static const uint16 addr_removefreeobject = 0xc6f4;
	static const uint16 addr_placefreeobject = 0xc6f0;
	static const uint16 addr_issetobonmap = 0xc6ec;
	static const uint16 addr_removesetobject = 0xc6e8;
	static const uint16 addr_placesetobject = 0xc6e4;
	static const uint16 addr_findpuztext = 0xc6e0;
	static const uint16 addr_showpuztext = 0xc6dc;
	static const uint16 addr_putbackobstuff = 0xc6d8;
	static const uint16 addr_usetext = 0xc6d4;
	static const uint16 addr_checkinside = 0xc6d0;
	static const uint16 addr_isryanholding = 0xc6cc;
	static const uint16 addr_findexobject = 0xc6c8;
	static const uint16 addr_findsetobject = 0xc6c4;
	static const uint16 addr_compare = 0xc6c0;
	static const uint16 addr_selectob = 0xc6bc;
	static const uint16 addr_withwhat = 0xc6b8;
	static const uint16 addr_useelvdoor = 0xc6b4;
	static const uint16 addr_useaxe = 0xc6b0;
	static const uint16 addr_usecooker = 0xc6ac;
	static const uint16 addr_usestereo = 0xc6a8;
	static const uint16 addr_usekey = 0xc6a4;
	static const uint16 addr_useelevator5 = 0xc6a0;
	static const uint16 addr_useelevator2 = 0xc69c;
	static const uint16 addr_useelevator4 = 0xc698;
	static const uint16 addr_useelevator3 = 0xc694;
	static const uint16 addr_showfirstuse = 0xc690;
	static const uint16 addr_useelevator1 = 0xc68c;
	static const uint16 addr_usehandle = 0xc688;
	static const uint16 addr_usewire = 0xc684;
	static const uint16 addr_usehatch = 0xc680;
	static const uint16 addr_usecontrol = 0xc67c;
	static const uint16 addr_moneypoke = 0xc678;
	static const uint16 addr_lookatcard = 0xc674;
	static const uint16 addr_usecashcard = 0xc670;
	static const uint16 addr_usecardreader3 = 0xc66c;
	static const uint16 addr_usecardreader2 = 0xc668;
	static const uint16 addr_usecardreader1 = 0xc664;
	static const uint16 addr_showseconduse = 0xc660;
	static const uint16 addr_uselighter = 0xc65c;
	static const uint16 addr_usepoolreader = 0xc658;
	static const uint16 addr_calledensdlift = 0xc654;
	static const uint16 addr_calledenslift = 0xc650;
	static const uint16 addr_callhotellift = 0xc64c;
	static const uint16 addr_trapdoor = 0xc648;
	static const uint16 addr_grafittidoor = 0xc644;
	static const uint16 addr_openhoteldoor2 = 0xc640;
	static const uint16 addr_openhoteldoor = 0xc63c;
	static const uint16 addr_drawitall = 0xc638;
	static const uint16 addr_isitright = 0xc634;
	static const uint16 addr_opensarters = 0xc630;
	static const uint16 addr_openeden = 0xc62c;
	static const uint16 addr_openpoolboss = 0xc628;
	static const uint16 addr_openryan = 0xc624;
	static const uint16 addr_usebalcony = 0xc620;
	static const uint16 addr_usewindow = 0xc61c;
	static const uint16 addr_openyourneighbour = 0xc618;
	static const uint16 addr_nextcolon = 0xc614;
	static const uint16 addr_openlouis = 0xc610;
	static const uint16 addr_usedryer = 0xc60c;
	static const uint16 addr_opentvdoor = 0xc608;
	static const uint16 addr_usealtar = 0xc604;
	static const uint16 addr_usehole = 0xc600;
	static const uint16 addr_usechurchhole = 0xc5fc;
	static const uint16 addr_sitdowninbar = 0xc5f8;
	static const uint16 addr_wearshades = 0xc5f4;
	static const uint16 addr_wearwatch = 0xc5f0;
	static const uint16 addr_useopenbox = 0xc5ec;
	static const uint16 addr_userailing = 0xc5e8;
	static const uint16 addr_usecoveredbox = 0xc5e4;
	static const uint16 addr_useclearbox = 0xc5e0;
	static const uint16 addr_usecart = 0xc5dc;
	static const uint16 addr_useslab = 0xc5d8;
	static const uint16 addr_slabdoorf = 0xc5d4;
	static const uint16 addr_slabdoore = 0xc5d0;
	static const uint16 addr_slabdoorc = 0xc5cc;
	static const uint16 addr_slabdoord = 0xc5c8;
	static const uint16 addr_slabdoorb = 0xc5c4;
	static const uint16 addr_slabdoora = 0xc5c0;
	static const uint16 addr_useladderb = 0xc5bc;
	static const uint16 addr_useladder = 0xc5b8;
	static const uint16 addr_chewy = 0xc5b4;
	static const uint16 addr_useplinth = 0xc5b0;
	static const uint16 addr_usefullcart = 0xc5ac;
	static const uint16 addr_usepipe = 0xc5a8;
	static const uint16 addr_nothelderror = 0xc5a4;
	static const uint16 addr_usetrainer = 0xc5a0;
	static const uint16 addr_opentomb = 0xc59c;
	static const uint16 addr_hotelbell = 0xc598;
	static const uint16 addr_hotelcontrol = 0xc594;
	static const uint16 addr_playguitar = 0xc590;
	static const uint16 addr_runtap = 0xc58c;
	static const uint16 addr_wheelsound = 0xc588;
	static const uint16 addr_useroutine = 0xc584;
	static const uint16 addr_useobject = 0xc580;
	static const uint16 addr_delcurs = 0xc57c;
	static const uint16 addr_printcurs = 0xc578;
	static const uint16 addr_triggermessage = 0xc574;
	static const uint16 addr_processtrigger = 0xc570;
	static const uint16 addr_monmessage = 0xc56c;
	static const uint16 addr_showcurrentfile = 0xc568;
	static const uint16 addr_printlogo = 0xc564;
	static const uint16 addr_monitorlogo = 0xc560;
	static const uint16 addr_scrollmonitor = 0xc558;
	static const uint16 addr_parser = 0xc554;
	static const uint16 addr_searchforstring = 0xc550;
	static const uint16 addr_getkeyandlogo = 0xc54c;
	static const uint16 addr_dirfile = 0xc548;
	static const uint16 addr_read = 0xc544;
	static const uint16 addr_showkeys = 0xc540;
	static const uint16 addr_signon = 0xc53c;
	static const uint16 addr_searchforfiles = 0xc538;
	static const uint16 addr_dircom = 0xc534;
	static const uint16 addr_neterror = 0xc530;
	static const uint16 addr_execcommand = 0xc52c;
	static const uint16 addr_delchar = 0xc528;
	static const uint16 addr_makecaps = 0xc524;
	static const uint16 addr_input = 0xc520;
	static const uint16 addr_locklightoff = 0xc51c;
	static const uint16 addr_locklighton = 0xc518;
	static const uint16 addr_accesslightoff = 0xc514;
	static const uint16 addr_accesslighton = 0xc510;
	static const uint16 addr_powerlightoff = 0xc50c;
	static const uint16 addr_powerlighton = 0xc508;
	static const uint16 addr_randomaccess = 0xc504;
	static const uint16 addr_turnonpower = 0xc500;
	static const uint16 addr_lookininterface = 0xc4fc;
	static const uint16 addr_loadcart = 0xc4f8;
	static const uint16 addr_loadnews = 0xc4f4;
	static const uint16 addr_loadpersonal = 0xc4f0;
	static const uint16 addr_printoutermon = 0xc4ec;
	static const uint16 addr_usemon = 0xc4e8;
	static const uint16 addr_readcitypic = 0xc4e4;
	static const uint16 addr_readdesticon = 0xc4e0;
	static const uint16 addr_resetlocation = 0xc4dc;
	static const uint16 addr_setlocation = 0xc4d8;
	static const uint16 addr_getlocation = 0xc4d4;
	static const uint16 addr_destselect = 0xc4d0;
	static const uint16 addr_lastdest = 0xc4cc;
	static const uint16 addr_nextdest = 0xc4c8;
	static const uint16 addr_showarrows = 0xc4c4;
	static const uint16 addr_getdestinfo = 0xc4c0;
	static const uint16 addr_locationpic = 0xc4bc;
	static const uint16 addr_putundercentre = 0xc4b8;
	static const uint16 addr_getundercentre = 0xc4b4;
	static const uint16 addr_lookatplace = 0xc4b0;
	static const uint16 addr_showcity = 0xc4ac;
	static const uint16 addr_selectlocation = 0xc4a8;
	static const uint16 addr_newplace = 0xc4a4;
	static const uint16 addr_redes = 0xc4a0;
	static const uint16 addr_hangonpq = 0xc49c;
	static const uint16 addr_dosometalk = 0xc498;
	static const uint16 addr_moretalk = 0xc494;
	static const uint16 addr_getpersontext = 0xc490;
	static const uint16 addr_starttalk = 0xc48c;
	static const uint16 addr_getpersframe = 0xc488;
	static const uint16 addr_convicons = 0xc484;
	static const uint16 addr_talk = 0xc480;
	static const uint16 addr_getback1 = 0xc47c;
	static const uint16 addr_redrawmainscrn = 0xc478;
	static const uint16 addr_dolook = 0xc474;
	static const uint16 addr_look = 0xc470;
	static const uint16 addr_autolook = 0xc46c;
	static const uint16 addr_getyad = 0xc468;
	static const uint16 addr_getxad = 0xc464;
	static const uint16 addr_getmapad = 0xc460;
	static const uint16 addr_adjustlen = 0xc45c;
	static const uint16 addr_finalframe = 0xc458;
	static const uint16 addr_calcfrframe = 0xc454;
	static const uint16 addr_showallex = 0xc450;
	static const uint16 addr_showallfree = 0xc44c;
	static const uint16 addr_makebackob = 0xc448;
	static const uint16 addr_showallobs = 0xc444;
	static const uint16 addr_drawflags = 0xc43c;
	static const uint16 addr_addlength = 0xc438;
	static const uint16 addr_addalong = 0xc434;
	static const uint16 addr_getdimension = 0xc430;
	static const uint16 addr_calcmapad = 0xc42c;
	static const uint16 addr_drawfloor = 0xc428;
	static const uint16 addr_blockget = 0xc424;
	static const uint16 addr_deleteextext = 0xc420;
	static const uint16 addr_deleteexframe = 0xc41c;
	static const uint16 addr_deleteexobject = 0xc418;
	static const uint16 addr_purgeanitem = 0xc414;
	static const uint16 addr_emergencypurge = 0xc410;
	static const uint16 addr_purgealocation = 0xc40c;
	static const uint16 addr_getexpos = 0xc408;
	static const uint16 addr_transfertext = 0xc404;
	static const uint16 addr_transfercontoex = 0xc400;
	static const uint16 addr_pickupconts = 0xc3fc;
	static const uint16 addr_transfertoex = 0xc3f8;
	static const uint16 addr_outofopen = 0xc3f4;
	static const uint16 addr_checkobjectsize = 0xc3f0;
	static const uint16 addr_errormessage3 = 0xc3ec;
	static const uint16 addr_errormessage2 = 0xc3e8;
	static const uint16 addr_errormessage1 = 0xc3e4;
	static const uint16 addr_useopened = 0xc3e0;
	static const uint16 addr_selectopenob = 0xc3dc;
	static const uint16 addr_removeobfrominv = 0xc3d8;
	static const uint16 addr_wornerror = 0xc3d4;
	static const uint16 addr_cantdrop = 0xc3d0;
	static const uint16 addr_droperror = 0xc3cc;
	static const uint16 addr_dropobject = 0xc3c8;
	static const uint16 addr_findopenpos = 0xc3c4;
	static const uint16 addr_findinvpos = 0xc3c0;
	static const uint16 addr_getsetad = 0xc3bc;
	static const uint16 addr_getopenedsize = 0xc3b8;
	static const uint16 addr_getanyaddir = 0xc3b4;
	static const uint16 addr_getanyad = 0xc3b0;
	static const uint16 addr_geteitherad = 0xc3ac;
	static const uint16 addr_getexad = 0xc3a8;
	static const uint16 addr_getfreead = 0xc3a4;
	static const uint16 addr_outofinv = 0xc3a0;
	static const uint16 addr_deletetaken = 0xc39c;
	static const uint16 addr_intoinv = 0xc398;
	static const uint16 addr_swapwithopen = 0xc394;
	static const uint16 addr_swapwithinv = 0xc390;
	static const uint16 addr_reexfromopen = 0xc38c;
	static const uint16 addr_reexfrominv = 0xc388;
	static const uint16 addr_examinventory = 0xc384;
	static const uint16 addr_setpickup = 0xc380;
	static const uint16 addr_inventory = 0xc37c;
	static const uint16 addr_findnextcolon = 0xc378;
	static const uint16 addr_searchforsame = 0xc374;
	static const uint16 addr_getobtextstart = 0xc370;
	static const uint16 addr_obsthatdothings = 0xc36c;
	static const uint16 addr_additionaltext = 0xc368;
	static const uint16 addr_describeob = 0xc364;
	static const uint16 addr_obpicture = 0xc360;
	static const uint16 addr_examicon = 0xc35c;
	static const uint16 addr_obicons = 0xc358;
	static const uint16 addr_openob = 0xc354;
	static const uint16 addr_showryanpage = 0xc350;
	static const uint16 addr_openinv = 0xc34c;
	static const uint16 addr_incryanpage = 0xc348;
	static const uint16 addr_getbackfromob = 0xc344;
	static const uint16 addr_makemainscreen = 0xc340;
	static const uint16 addr_examineob = 0xc33c;
	static const uint16 addr_makeworn = 0xc338;
	static const uint16 addr_isitworn = 0xc334;
	static const uint16 addr_obtoinv = 0xc330;
	static const uint16 addr_findallopen = 0xc32c;
	static const uint16 addr_findallryan = 0xc328;
	static const uint16 addr_fillopen = 0xc324;
	static const uint16 addr_fillryan = 0xc320;
	static const uint16 addr_monprint = 0xc314;
	static const uint16 addr_waitframes = 0xc308;
	static const uint16 addr_realcredits = 0xc2f8;
	static const uint16 addr_set16colpalette = 0xc2f4;
	static const uint16 addr_mode640x480 = 0xc2f0;
	static const uint16 addr_loadintroroom = 0xc2ec;
	static const uint16 addr_runendseq = 0xc2e8;
	static const uint16 addr_runintroseq = 0xc2e4;
	static const uint16 addr_intro = 0xc2e0;
	static const uint16 addr_hangone = 0xc2dc;
	static const uint16 addr_biblequote = 0xc2d8;
	static const uint16 addr_credits = 0xc2d4;
	static const uint16 addr_gettingshot = 0xc2d0;
	static const uint16 addr_showmonk = 0xc2cc;
	static const uint16 addr_monkspeaking = 0xc2c8;
	static const uint16 addr_endgame = 0xc2c4;
	static const uint16 addr_titles = 0xc2c0;
	static const uint16 addr_initialmoncols = 0xc2bc;
	static const uint16 addr_fadeupyellows = 0xc2b8;
	static const uint16 addr_fadeupmonfirst = 0xc2b4;
	static const uint16 addr_fadeupmon = 0xc2b0;
	static const uint16 addr_fadedownmon = 0xc2ac;
	static const uint16 addr_dumpcurrent = 0xc2a8;
	static const uint16 addr_allpalette = 0xc2a4;
	static const uint16 addr_paltoendpal = 0xc2a0;
	static const uint16 addr_startpaltoend = 0xc29c;
	static const uint16 addr_endpaltostart = 0xc298;
	static const uint16 addr_paltostartpal = 0xc294;
	static const uint16 addr_showgroup = 0xc290;
	static const uint16 addr_greyscalesum = 0xc28c;
	static const uint16 addr_fadecalculation = 0xc288;
	static const uint16 addr_rollem = 0xc284;
	static const uint16 addr_rollendcredits2 = 0xc280;
	static const uint16 addr_showgun = 0xc27c;
	static const uint16 addr_clearstartpal = 0xc278;
	static const uint16 addr_fadescreendowns = 0xc274;
	static const uint16 addr_fadescreendown = 0xc270;
	static const uint16 addr_fadescreenuphalf = 0xc26c;
	static const uint16 addr_fadescreendownhalf = 0xc268;
	static const uint16 addr_fadescreenups = 0xc264;
	static const uint16 addr_fadefromwhite = 0xc260;
	static const uint16 addr_fadetowhite = 0xc25c;
	static const uint16 addr_fadescreenup = 0xc258;
	static const uint16 addr_clearpalette = 0xc254;
	static const uint16 addr_clearendpal = 0xc250;
	static const uint16 addr_dofade = 0xc24c;
	static const uint16 addr_fadedos = 0xc248;
	static const uint16 addr_transfermap = 0xc244;
	static const uint16 addr_transferinv = 0xc240;
	static const uint16 addr_doblocks = 0xc228;
	static const uint16 addr_delthisone = 0xc214;
	static const uint16 addr_zoom = 0xc210;
	static const uint16 addr_doshake = 0xc20c;
	static const uint16 addr_vsync = 0xc208;
	static const uint16 addr_clearwork = 0xc204;
	static const uint16 addr_createpanel2 = 0xc200;
	static const uint16 addr_createpanel = 0xc1fc;
	static const uint16 addr_pixelcheckset = 0xc1f8;
	static const uint16 addr_dumpmap = 0xc1f4;
	static const uint16 addr_maptopanel = 0xc1f0;
	static const uint16 addr_paneltomap = 0xc1ec;
	static const uint16 addr_setmode = 0xc1dc;
	static const uint16 addr_loadpalfromiff = 0xc1d8;
	static const uint16 addr_showpcx = 0xc1cc;
	static const uint16 addr_allocatework = 0xc1c8;
	static const uint16 addr_dumpeverything = 0xc1c4;
	static const uint16 addr_deleverything = 0xc1c0;
	static const uint16 addr_showreelframe = 0xc1bc;
	static const uint16 addr_getreelstart = 0xc1b8;
	static const uint16 addr_movemap = 0xc1b4;
	static const uint16 addr_dealwithspecial = 0xc1b0;
	static const uint16 addr_reconstruct = 0xc1ac;
	static const uint16 addr_soundonreels = 0xc1a8;
	static const uint16 addr_plotreel = 0xc1a4;
	static const uint16 addr_reelsonscreen = 0xc1a0;
	static const uint16 addr_getreelframeax = 0xc19c;
	static const uint16 addr_updatepeople = 0xc198;
	static const uint16 addr_widedoor = 0xc18c;
	static const uint16 addr_doorway = 0xc188;
	static const uint16 addr_constant = 0xc184;
	static const uint16 addr_steady = 0xc180;
	static const uint16 addr_random = 0xc17c;
	static const uint16 addr_liftnoise = 0xc178;
	static const uint16 addr_backobject = 0xc170;
	static const uint16 addr_showrain = 0xc16c;
	static const uint16 addr_getblockofpixel = 0xc168;
	static const uint16 addr_splitintolines = 0xc164;
	static const uint16 addr_initrain = 0xc160;
	static const uint16 addr_reminders = 0xc15c;
	static const uint16 addr_adjustright = 0xc158;
	static const uint16 addr_adjustleft = 0xc154;
	static const uint16 addr_adjustup = 0xc150;
	static const uint16 addr_adjustdown = 0xc14c;
	static const uint16 addr_checkforexit = 0xc148;
	static const uint16 addr_facerightway = 0xc144;
	static const uint16 addr_aboutturn = 0xc13c;
	static const uint16 addr_mainman = 0xc138;
	static const uint16 addr_findsource = 0xc130;
	static const uint16 addr_checkone = 0xc12c;
	static const uint16 addr_delsprite = 0xc11c;
	static const uint16 addr_checkspeed = 0xc110;
	static const uint16 addr_showgamereel = 0xc10c;
	static const uint16 addr_addtopeoplelist = 0xc108;
	static const uint16 addr_train = 0xc104;
	static const uint16 addr_sparky = 0xc100;
	static const uint16 addr_copper = 0xc0fc;
	static const uint16 addr_advisor = 0xc0f8;
	static const uint16 addr_drunk = 0xc0f4;
	static const uint16 addr_textformonk = 0xc0f0;
	static const uint16 addr_textforend = 0xc0ec;
	static const uint16 addr_priesttext = 0xc0e8;
	static const uint16 addr_madmode = 0xc0e4;
	static const uint16 addr_madmantext = 0xc0e0;
	static const uint16 addr_madman = 0xc0dc;
	static const uint16 addr_madmanstelly = 0xc0d8;
	static const uint16 addr_priest = 0xc0d4;
	static const uint16 addr_rollendcredits = 0xc0d0;
	static const uint16 addr_endgameseq = 0xc0cc;
	static const uint16 addr_monkandryan = 0xc0c8;
	static const uint16 addr_intro3text = 0xc0c4;
	static const uint16 addr_intro2text = 0xc0c0;
	static const uint16 addr_intro1text = 0xc0bc;
	static const uint16 addr_monks2text = 0xc0b8;
	static const uint16 addr_handclap = 0xc0b4;
	static const uint16 addr_intromonks2 = 0xc0b0;
	static const uint16 addr_intromonks1 = 0xc0ac;
	static const uint16 addr_intromagic3 = 0xc0a8;
	static const uint16 addr_intromagic2 = 0xc0a4;
	static const uint16 addr_gates = 0xc0a0;
	static const uint16 addr_candles2 = 0xc09c;
	static const uint16 addr_candles = 0xc098;
	static const uint16 addr_intromagic1 = 0xc094;
	static const uint16 addr_smallcandle = 0xc090;
	static const uint16 addr_candles1 = 0xc08c;
	static const uint16 addr_keeper = 0xc088;
	static const uint16 addr_carparkdrip = 0xc084;
	static const uint16 addr_sparkydrip = 0xc080;
	static const uint16 addr_gamer = 0xc07c;
	static const uint16 addr_bossman = 0xc078;
	static const uint16 addr_heavy = 0xc074;
	static const uint16 addr_security = 0xc070;
	static const uint16 addr_poolguard = 0xc06c;
	static const uint16 addr_businessman = 0xc068;
	static const uint16 addr_aide = 0xc064;
	static const uint16 addr_mugger = 0xc060;
	static const uint16 addr_helicopter = 0xc05c;
	static const uint16 addr_rockstar = 0xc058;
	static const uint16 addr_soldier1 = 0xc054;
	static const uint16 addr_interviewer = 0xc050;
	static const uint16 addr_barwoman = 0xc04c;
	static const uint16 addr_othersmoker = 0xc048;
	static const uint16 addr_bartender = 0xc044;
	static const uint16 addr_drinker = 0xc040;
	static const uint16 addr_tattooman = 0xc03c;
	static const uint16 addr_mansatstill = 0xc038;
	static const uint16 addr_manasleep2 = 0xc034;
	static const uint16 addr_louischair = 0xc030;
	static const uint16 addr_louis = 0xc02c;
	static const uint16 addr_femalefan = 0xc028;
	static const uint16 addr_malefan = 0xc024;
	static const uint16 addr_edeninbath = 0xc020;
	static const uint16 addr_eden = 0xc01c;
	static const uint16 addr_manasleep = 0xc018;
	static const uint16 addr_attendant = 0xc014;
	static const uint16 addr_smokebloke = 0xc010;
	static const uint16 addr_receptionist = 0xc00c;
	static const uint16 addr_foghornsound = 0xc008;
	static const uint16 addr_intromusic = 0xc004;
	static const uint16 addr_alleybarksound = 0xc000;
	const static uint16 kStartvars = 0;
	const static uint16 kProgresspoints = 1;
	const static uint16 kWatchon = 2;
	const static uint16 kShadeson = 3;
	const static uint16 kSecondcount = 4;
	const static uint16 kMinutecount = 5;
	const static uint16 kHourcount = 6;
	const static uint16 kZoomon = 7;
	const static uint16 kLocation = 8;
	const static uint16 kExpos = 9;
	const static uint16 kExframepos = 10;
	const static uint16 kExtextpos = 12;
	const static uint16 kCard1money = 14;
	const static uint16 kListpos = 16;
	const static uint16 kRyanpage = 18;
	const static uint16 kWatchingtime = 19;
	const static uint16 kReeltowatch = 21;
	const static uint16 kEndwatchreel = 23;
	const static uint16 kSpeedcount = 25;
	const static uint16 kWatchspeed = 26;
	const static uint16 kReeltohold = 27;
	const static uint16 kEndofholdreel = 29;
	const static uint16 kWatchmode = 31;
	const static uint16 kDestafterhold = 32;
	const static uint16 kNewsitem = 33;
	const static uint16 kLiftflag = 34;
	const static uint16 kLiftpath = 35;
	const static uint16 kLockstatus = 36;
	const static uint16 kDoorpath = 37;
	const static uint16 kCounttoopen = 38;
	const static uint16 kCounttoclose = 39;
	const static uint16 kRockstardead = 40;
	const static uint16 kGeneraldead = 41;
	const static uint16 kSartaindead = 42;
	const static uint16 kAidedead = 43;
	const static uint16 kBeenmugged = 44;
	const static uint16 kGunpassflag = 45;
	const static uint16 kCanmovealtar = 46;
	const static uint16 kTalkedtoattendant = 47;
	const static uint16 kTalkedtosparky = 48;
	const static uint16 kTalkedtoboss = 49;
	const static uint16 kTalkedtorecep = 50;
	const static uint16 kCardpassflag = 51;
	const static uint16 kMadmanflag = 52;
	const static uint16 kKeeperflag = 53;
	const static uint16 kLasttrigger = 54;
	const static uint16 kMandead = 55;
	const static uint16 kSeed = 56;
	const static uint16 kNeedtotravel = 59;
	const static uint16 kThroughdoor = 60;
	const static uint16 kNewobs = 61;
	const static uint16 kRyanon = 62;
	const static uint16 kCombatcount = 63;
	const static uint16 kLastweapon = 64;
	const static uint16 kDreamnumber = 65;
	const static uint16 kRoomafterdream = 66;
	const static uint16 kShakecounter = 67;
	const static uint16 kSpeechcount = 68;
	const static uint16 kCharshift = 69;
	const static uint16 kKerning = 71;
	const static uint16 kBrightness = 72;
	const static uint16 kRoomloaded = 73;
	const static uint16 kDidzoom = 74;
	const static uint16 kLinespacing = 75;
	const static uint16 kTextaddressx = 77;
	const static uint16 kTextaddressy = 79;
	const static uint16 kTextlen = 81;
	const static uint16 kLastxpos = 82;
	const static uint16 kIcontop = 84;
	const static uint16 kIconleft = 86;
	const static uint16 kItemframe = 88;
	const static uint16 kItemtotran = 89;
	const static uint16 kRoomad = 90;
	const static uint16 kOldsubject = 92;
	const static uint16 kWithobject = 94;
	const static uint16 kWithtype = 95;
	const static uint16 kLookcounter = 96;
	const static uint16 kCommand = 98;
	const static uint16 kCommandtype = 99;
	const static uint16 kOldcommandtype = 100;
	const static uint16 kObjecttype = 101;
	const static uint16 kGetback = 102;
	const static uint16 kInvopen = 103;
	const static uint16 kMainmode = 104;
	const static uint16 kPickup = 105;
	const static uint16 kLastinvpos = 106;
	const static uint16 kExamagain = 107;
	const static uint16 kNewtextline = 108;
	const static uint16 kOpenedob = 109;
	const static uint16 kOpenedtype = 110;
	const static uint16 kOldmapadx = 111;
	const static uint16 kOldmapady = 113;
	const static uint16 kMapadx = 115;
	const static uint16 kMapady = 117;
	const static uint16 kMapoffsetx = 119;
	const static uint16 kMapoffsety = 121;
	const static uint16 kMapxstart = 123;
	const static uint16 kMapystart = 125;
	const static uint16 kMapxsize = 127;
	const static uint16 kMapysize = 128;
	const static uint16 kHavedoneobs = 129;
	const static uint16 kManisoffscreen = 130;
	const static uint16 kRainspace = 131;
	const static uint16 kFacing = 132;
	const static uint16 kLeavedirection = 133;
	const static uint16 kTurntoface = 134;
	const static uint16 kTurndirection = 135;
	const static uint16 kMaintimer = 136;
	const static uint16 kIntrocount = 138;
	const static uint16 kArrowad = 139;
	const static uint16 kCurrentkey = 141;
	const static uint16 kOldkey = 142;
	const static uint16 kUseddirection = 143;
	const static uint16 kCurrentkey2 = 144;
	const static uint16 kTimercount = 145;
	const static uint16 kOldtimercount = 146;
	const static uint16 kMapx = 147;
	const static uint16 kMapy = 148;
	const static uint16 kNewscreen = 149;
	const static uint16 kRyanx = 150;
	const static uint16 kRyany = 151;
	const static uint16 kLastflag = 152;
	const static uint16 kLastflagex = 153;
	const static uint16 kFlagx = 154;
	const static uint16 kFlagy = 155;
	const static uint16 kCurrentex = 156;
	const static uint16 kCurrentfree = 157;
	const static uint16 kCurrentframe = 158;
	const static uint16 kFramesad = 160;
	const static uint16 kDataad = 162;
	const static uint16 kFrsegment = 164;
	const static uint16 kObjectx = 166;
	const static uint16 kObjecty = 168;
	const static uint16 kOffsetx = 170;
	const static uint16 kOffsety = 172;
	const static uint16 kSavesize = 174;
	const static uint16 kSavesource = 176;
	const static uint16 kSavex = 178;
	const static uint16 kSavey = 179;
	const static uint16 kCurrentob = 180;
	const static uint16 kPrioritydep = 181;
	const static uint16 kDestpos = 182;
	const static uint16 kReallocation = 183;
	const static uint16 kRoomnum = 184;
	const static uint16 kNowinnewroom = 185;
	const static uint16 kResetmanxy = 186;
	const static uint16 kNewlocation = 187;
	const static uint16 kAutolocation = 188;
	const static uint16 kMustload = 189;
	const static uint16 kAnswered = 190;
	const static uint16 kSaidno = 191;
	const static uint16 kDoorcheck1 = 192;
	const static uint16 kDoorcheck2 = 193;
	const static uint16 kDoorcheck3 = 194;
	const static uint16 kDoorcheck4 = 195;
	const static uint16 kMousex = 196;
	const static uint16 kMousey = 198;
	const static uint16 kMousebutton = 200;
	const static uint16 kMousebutton1 = 202;
	const static uint16 kMousebutton2 = 204;
	const static uint16 kMousebutton3 = 206;
	const static uint16 kMousebutton4 = 208;
	const static uint16 kOldbutton = 210;
	const static uint16 kOldx = 212;
	const static uint16 kOldy = 214;
	const static uint16 kLastbutton = 216;
	const static uint16 kOldpointerx = 218;
	const static uint16 kOldpointery = 220;
	const static uint16 kDelherex = 222;
	const static uint16 kDelherey = 224;
	const static uint16 kPointerxs = 226;
	const static uint16 kPointerys = 227;
	const static uint16 kDelxs = 228;
	const static uint16 kDelys = 229;
	const static uint16 kPointerframe = 230;
	const static uint16 kPointerpower = 231;
	const static uint16 kAuxpointerframe = 232;
	const static uint16 kPointermode = 233;
	const static uint16 kPointerspeed = 234;
	const static uint16 kPointercount = 235;
	const static uint16 kInmaparea = 236;
	const static uint16 kReelpointer = 237;
	const static uint16 kSlotdata = 239;
	const static uint16 kThisslot = 240;
	const static uint16 kSlotflags = 241;
	const static uint16 kTakeoff = 242;
	const static uint16 kTalkmode = 244;
	const static uint16 kTalkpos = 245;
	const static uint16 kCharacter = 246;
	const static uint16 kPersondata = 247;
	const static uint16 kTalknum = 249;
	const static uint16 kNumberinroom = 250;
	const static uint16 kCurrentcel = 251;
	const static uint16 kOldselection = 252;
	const static uint16 kStopwalking = 253;
	const static uint16 kMouseon = 254;
	const static uint16 kPlayed = 255;
	const static uint16 kTimer1 = 257;
	const static uint16 kTimer2 = 258;
	const static uint16 kTimer3 = 259;
	const static uint16 kWholetimer = 260;
	const static uint16 kTimer1to = 262;
	const static uint16 kTimer2to = 263;
	const static uint16 kTimer3to = 264;
	const static uint16 kWatchdump = 265;
	const static uint16 kCurrentset = 266;
	const static uint16 kLogonum = 268;
	const static uint16 kOldlogonum = 269;
	const static uint16 kNewlogonum = 270;
	const static uint16 kNetseg = 271;
	const static uint16 kNetpoint = 273;
	const static uint16 kKeynum = 275;
	const static uint16 kCursorstate = 276;
	const static uint16 kPressed = 277;
	const static uint16 kPresspointer = 278;
	const static uint16 kGraphicpress = 280;
	const static uint16 kPresscount = 281;
	const static uint16 kKeypadax = 282;
	const static uint16 kKeypadcx = 284;
	const static uint16 kLightcount = 286;
	const static uint16 kFolderpage = 287;
	const static uint16 kDiarypage = 288;
	const static uint16 kMenucount = 289;
	const static uint16 kSymboltopx = 290;
	const static uint16 kSymboltopnum = 291;
	const static uint16 kSymboltopdir = 292;
	const static uint16 kSymbolbotx = 293;
	const static uint16 kSymbolbotnum = 294;
	const static uint16 kSymbolbotdir = 295;
	const static uint16 kSymboltolight = 296;
	const static uint16 kSymbol1 = 297;
	const static uint16 kSymbol2 = 298;
	const static uint16 kSymbol3 = 299;
	const static uint16 kSymbolnum = 300;
	const static uint16 kDumpx = 301;
	const static uint16 kDumpy = 303;
	const static uint16 kWalkandexam = 305;
	const static uint16 kWalkexamtype = 306;
	const static uint16 kWalkexamnum = 307;
	const static uint16 kCursloc = 308;
	const static uint16 kCurslocx = 310;
	const static uint16 kCurslocy = 312;
	const static uint16 kCurpos = 314;
	const static uint16 kMonadx = 316;
	const static uint16 kMonady = 318;
	const static uint16 kGotfrom = 320;
	const static uint16 kMonsource = 322;
	const static uint16 kNumtodo = 324;
	const static uint16 kTimecount = 326;
	const static uint16 kCounttotimed = 328;
	const static uint16 kTimedseg = 330;
	const static uint16 kTimedoffset = 332;
	const static uint16 kTimedy = 334;
	const static uint16 kTimedx = 335;
	const static uint16 kNeedtodumptimed = 336;
	const static uint16 kHandle = 337;
	const static uint16 kLoadingorsave = 339;
	const static uint16 kCurrentslot = 340;
	const static uint16 kCursorpos = 341;
	const static uint16 kColourpos = 342;
	const static uint16 kFadedirection = 343;
	const static uint16 kNumtofade = 344;
	const static uint16 kFadecount = 345;
	const static uint16 kAddtogreen = 346;
	const static uint16 kAddtored = 347;
	const static uint16 kAddtoblue = 348;
	const static uint16 kLastsoundreel = 349;
	const static uint16 kSoundbuffer = 351;
	const static uint16 kSoundbufferad = 353;
	const static uint16 kSoundbufferpage = 355;
	const static uint16 kSoundtimes = 356;
	const static uint16 kNeedsoundbuff = 357;
	const static uint16 kOldint9seg = 358;
	const static uint16 kOldint9add = 360;
	const static uint16 kOldint8seg = 362;
	const static uint16 kOldint8add = 364;
	const static uint16 kOldsoundintseg = 366;
	const static uint16 kOldsoundintadd = 368;
	const static uint16 kSoundbaseadd = 370;
	const static uint16 kDsp_status = 372;
	const static uint16 kDsp_write = 374;
	const static uint16 kDmaaddress = 376;
	const static uint16 kSoundint = 377;
	const static uint16 kSounddmachannel = 378;
	const static uint16 kSampleplaying = 379;
	const static uint16 kTestresult = 380;
	const static uint16 kCurrentirq = 381;
	const static uint16 kSpeechloaded = 382;
	const static uint16 kSpeechlength = 383;
	const static uint16 kVolume = 385;
	const static uint16 kVolumeto = 386;
	const static uint16 kVolumedirection = 387;
	const static uint16 kVolumecount = 388;
	const static uint16 kPlayblock = 389;
	const static uint16 kWongame = 390;
	const static uint16 kLasthardkey = 391;
	const static uint16 kBufferin = 392;
	const static uint16 kBufferout = 394;
	const static uint16 kExtras = 396;
	const static uint16 kWorkspace = 398;
	const static uint16 kMapstore = 400;
	const static uint16 kCharset1 = 402;
	const static uint16 kTempcharset = 404;
	const static uint16 kIcons1 = 406;
	const static uint16 kIcons2 = 408;
	const static uint16 kBuffers = 410;
	const static uint16 kMainsprites = 412;
	const static uint16 kBackdrop = 414;
	const static uint16 kMapdata = 416;
	const static uint16 kSounddata = 418;
	const static uint16 kSounddata2 = 420;
	const static uint16 kRecordspace = 422;
	const static uint16 kFreedat = 424;
	const static uint16 kSetdat = 426;
	const static uint16 kReel1 = 428;
	const static uint16 kReel2 = 430;
	const static uint16 kReel3 = 432;
	const static uint16 kRoomdesc = 434;
	const static uint16 kFreedesc = 436;
	const static uint16 kSetdesc = 438;
	const static uint16 kBlockdesc = 440;
	const static uint16 kSetframes = 442;
	const static uint16 kFreeframes = 444;
	const static uint16 kPeople = 446;
	const static uint16 kReels = 448;
	const static uint16 kCommandtext = 450;
	const static uint16 kPuzzletext = 452;
	const static uint16 kTraveltext = 454;
	const static uint16 kTempgraphics = 456;
	const static uint16 kTempgraphics2 = 458;
	const static uint16 kTempgraphics3 = 460;
	const static uint16 kTempsprites = 462;
	const static uint16 kTextfile1 = 464;
	const static uint16 kTextfile2 = 466;
	const static uint16 kTextfile3 = 468;
	const static uint16 kBlinkframe = 470;
	const static uint16 kBlinkcount = 471;
	const static uint16 kReasseschanges = 472;
	const static uint16 kPointerspath = 473;
	const static uint16 kManspath = 474;
	const static uint16 kPointerfirstpath = 475;
	const static uint16 kFinaldest = 476;
	const static uint16 kDestination = 477;
	const static uint16 kLinestartx = 478;
	const static uint16 kLinestarty = 480;
	const static uint16 kLineendx = 482;
	const static uint16 kLineendy = 484;
	const static uint16 kIncrement1 = 486;
	const static uint16 kIncrement2 = 488;
	const static uint16 kLineroutine = 490;
	const static uint16 kLinepointer = 491;
	const static uint16 kLinedirection = 492;
	const static uint16 kLinelength = 493;
	const static uint16 kLiftsoundcount = 494;
	const static uint16 kEmmhandle = 495;
	const static uint16 kEmmpageframe = 497;
	const static uint16 kEmmhardwarepage = 499;
	const static uint16 kCh0emmpage = 500;
	const static uint16 kCh0offset = 502;
	const static uint16 kCh0blockstocopy = 504;
	const static uint16 kCh0playing = 506;
	const static uint16 kCh0repeat = 507;
	const static uint16 kCh0oldemmpage = 508;
	const static uint16 kCh0oldoffset = 510;
	const static uint16 kCh0oldblockstocopy = 512;
	const static uint16 kCh1playing = 514;
	const static uint16 kCh1emmpage = 515;
	const static uint16 kCh1offset = 517;
	const static uint16 kCh1blockstocopy = 519;
	const static uint16 kCh1blocksplayed = 521;
	const static uint16 kSoundbufferwrite = 523;
	const static uint16 kSoundemmpage = 525;
	const static uint16 kSpeechemmpage = 527;
	const static uint16 kCurrentsample = 529;
	const static uint16 kRoomssample = 530;
	const static uint16 kGameerror = 531;
	const static uint16 kHowmuchalloc = 532;
	const static uint16 kReelroutines = 534;
	const static uint16 kReelcalls = 991;
	const static uint16 kRoombyroom = 1214;
	const static uint16 kR0 = 1326;
	const static uint16 kR1 = 1327;
	const static uint16 kR2 = 1331;
	const static uint16 kR6 = 1350;
	const static uint16 kR8 = 1357;
	const static uint16 kR9 = 1373;
	const static uint16 kR10 = 1380;
	const static uint16 kR11 = 1384;
	const static uint16 kR12 = 1388;
	const static uint16 kR13 = 1392;
	const static uint16 kR14 = 1405;
	const static uint16 kR20 = 1439;
	const static uint16 kR22 = 1461;
	const static uint16 kR23 = 1492;
	const static uint16 kR25 = 1505;
	const static uint16 kR26 = 1527;
	const static uint16 kR27 = 1549;
	const static uint16 kR28 = 1574;
	const static uint16 kR29 = 1593;
	const static uint16 kR45 = 1609;
	const static uint16 kR46 = 1616;
	const static uint16 kR47 = 1653;
	const static uint16 kR52 = 1666;
	const static uint16 kR53 = 1670;
	const static uint16 kR55 = 1677;
	const static uint16 kSpritename1 = 1819;
	const static uint16 kSpritename3 = 1832;
	const static uint16 kIdname = 1845;
	const static uint16 kCharacterset1 = 1857;
	const static uint16 kCharacterset2 = 1870;
	const static uint16 kCharacterset3 = 1883;
	const static uint16 kSamplename = 1896;
	const static uint16 kBasicsample = 1909;
	const static uint16 kIcongraphics0 = 1922;
	const static uint16 kIcongraphics1 = 1935;
	const static uint16 kExtragraphics1 = 1948;
	const static uint16 kIcongraphics8 = 1961;
	const static uint16 kMongraphicname = 1974;
	const static uint16 kMongraphics2 = 1987;
	const static uint16 kCityname = 2000;
	const static uint16 kTravelgraphic1 = 2013;
	const static uint16 kTravelgraphic2 = 2026;
	const static uint16 kDiarygraphic = 2039;
	const static uint16 kMonitorfile1 = 2052;
	const static uint16 kMonitorfile2 = 2065;
	const static uint16 kMonitorfile10 = 2078;
	const static uint16 kMonitorfile11 = 2091;
	const static uint16 kMonitorfile12 = 2104;
	const static uint16 kMonitorfile13 = 2117;
	const static uint16 kMonitorfile20 = 2130;
	const static uint16 kMonitorfile21 = 2143;
	const static uint16 kMonitorfile22 = 2156;
	const static uint16 kMonitorfile23 = 2169;
	const static uint16 kMonitorfile24 = 2182;
	const static uint16 kFoldertext = 2195;
	const static uint16 kDiarytext = 2208;
	const static uint16 kPuzzletextname = 2221;
	const static uint16 kTraveltextname = 2234;
	const static uint16 kIntrotextname = 2247;
	const static uint16 kEndtextname = 2260;
	const static uint16 kCommandtextname = 2273;
	const static uint16 kVolumetabname = 2286;
	const static uint16 kFoldergraphic1 = 2299;
	const static uint16 kFoldergraphic2 = 2312;
	const static uint16 kFoldergraphic3 = 2325;
	const static uint16 kSymbolgraphic = 2338;
	const static uint16 kGungraphic = 2351;
	const static uint16 kMonkface = 2364;
	const static uint16 kTitle0graphics = 2377;
	const static uint16 kTitle1graphics = 2390;
	const static uint16 kTitle2graphics = 2403;
	const static uint16 kTitle3graphics = 2416;
	const static uint16 kTitle4graphics = 2429;
	const static uint16 kTitle5graphics = 2442;
	const static uint16 kTitle6graphics = 2455;
	const static uint16 kTitle7graphics = 2468;
	const static uint16 kPalettescreen = 2481;
	const static uint16 kCurrentfile = 2970;
	const static uint16 kDmaaddresses = 5118;
	const static uint16 kFileheader = 6091;
	const static uint16 kFiledata = 6141;
	const static uint16 kExtradata = 6181;
	const static uint16 kRoomdata = 6187;
	const static uint16 kMadeuproomdat = 7979;
	const static uint16 kRoomscango = 8011;
	const static uint16 kRoompics = 8027;
	const static uint16 kOplist = 8042;
	const static uint16 kInputline = 8045;
	const static uint16 kLinedata = 8173;
	const static uint16 kPresslist = 8573;
	const static uint16 kSavenames = 8579;
	const static uint16 kSavefiles = 8698;
	const static uint16 kRecname = 8789;
	const static uint16 kQuitrequested = 8802;
	const static uint16 kSubtitles = 8803;
	const static uint16 kForeignrelease = 8804;
	const static uint16 kStak = 8805;
	const static uint16 kBlocktextdat = (0);
	const static uint16 kPersonframes = (0);
	const static uint16 kDebuglevel1 = (0);
	const static uint16 kDebuglevel2 = (0);
	const static uint16 kPlayback = (0);
	const static uint16 kMap = (0);
	const static uint16 kSettextdat = (0);
	const static uint16 kSpanish = (0);
	const static uint16 kFramedata = (0);
	const static uint16 kRecording = (0);
	const static uint16 kFlags = (0);
	const static uint16 kGerman = (0);
	const static uint16 kTextunder = (0);
	const static uint16 kPathdata = (0);
	const static uint16 kDemo = (0);
	const static uint16 kExframedata = (0);
	const static uint16 kIntextdat = (0);
	const static uint16 kFreetextdat = (0);
	const static uint16 kFrframedata = (0);
	const static uint16 kSettext = (0+(130*2));
	const static uint16 kOpeninvlist = (0+(228*13));
	const static uint16 kRyaninvlist = (0+(228*13)+32);
	const static uint16 kPointerback = (0+(228*13)+32+60);
	const static uint16 kMapflags = (0+(228*13)+32+60+(32*32));
	const static uint16 kStartpal = (0+(228*13)+32+60+(32*32)+(11*10*3));
	const static uint16 kEndpal = (0+(228*13)+32+60+(32*32)+(11*10*3)+768);
	const static uint16 kMaingamepal = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768);
	const static uint16 kSpritetable = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768);
	const static uint16 kSetlist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32));
	const static uint16 kFreelist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5));
	const static uint16 kExlist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5));
	const static uint16 kPeoplelist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5));
	const static uint16 kZoomspace = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5));
	const static uint16 kPrintedlist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40));
	const static uint16 kListofchanges = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80));
	const static uint16 kUndertimedtext = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80)+(250*4));
	const static uint16 kRainlist = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80)+(250*4)+(256*30));
	const static uint16 kInitialreelrouts = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80)+(250*4)+(256*30)+(6*64));
	const static uint16 kInitialvars = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80)+(250*4)+(256*30)+(6*64)+991-534);
	const static uint16 kLengthofbuffer = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40)+(5*80)+(250*4)+(256*30)+(6*64)+991-534+68-0);
	const static uint16 kReellist = (0+(36*144));
	const static uint16 kIntext = (0+(38*2));
	const static uint16 kLengthofmap = (0+(66*60));
	const static uint16 kFreetext = (0+(82*2));
	const static uint16 kBlocktext = (0+(98*2));
	const static uint16 kBlocks = (0+192);
	const static uint16 kFrframes = (0+2080);
	const static uint16 kExframes = (0+2080);
	const static uint16 kFrames = (0+2080);
	const static uint16 kExdata = (0+2080+30000);
	const static uint16 kExtextdat = (0+2080+30000+(16*114));
	const static uint16 kExtext = (0+2080+30000+(16*114)+((114+2)*2));
	const static uint16 kLengthofextra = (0+2080+30000+(16*114)+((114+2)*2)+18000);
	const static uint16 kPersontxtdat = (0+24);
	const static uint16 kPersontext = (0+24+(1026*2));
	const static uint16 kInputport = (0x63);
	const static uint16 kForeign = (1);
	const static uint16 kCd = (1);
	const static uint16 kNumexobjects = (114);
	const static uint16 kUndertextsizey = (13);
	const static uint16 kZoomy = (132);
	const static uint16 kFreedatlen = (16*80);
	const static uint16 kExtextlen = (18000);
	const static uint16 kLenofmapstore = (22*8*20*8);
	const static uint16 kUndertextsizex = (228);
	const static uint16 kNumchanges = (250);
	const static uint16 kUndertimedysize = (30);
	const static uint16 kExframeslen = (30000);
	const static uint16 kTablesize = (32);
	const static uint16 kScreenwidth = (320);
	const static uint16 kKeypadx = (36+112);
	const static uint16 kItempicsize = (44);
	const static uint16 kDiaryy = (48+12);
	const static uint16 kOpsy = (52);
	const static uint16 kSymboly = (56);
	const static uint16 kInventy = (58);
	const static uint16 kMenuy = (60);
	const static uint16 kOpsx = (60);
	const static uint16 kMaplength = (60);
	const static uint16 kHeaderlen = (6187-6091);
	const static uint16 kSymbolx = (64);
	const static uint16 kSetdatlen = (64*128);
	const static uint16 kMapwidth = (66);
	const static uint16 kTextstart = (66*2);
	const static uint16 kMaplen = (66*60);
	const static uint16 kDiaryx = (68+24);
	const static uint16 kLengthofvars = (68-0);
	const static uint16 kKeypady = (72);
	const static uint16 kZoomx = (8);
	const static uint16 kInventx = (80);
	const static uint16 kMenux = (80+40);
	const static uint16 kLenofreelrouts = (991-534);

	void bothchannels();
	void usewire();
	void getnamepos();
	void drawitall();
	void clearstartpal();
	void femalefan();
	void showgamereel();
	void identifyob();
	void trysoundalloc();
	void uselighter();
	void showmenu();
	void usepoolreader();
	void showgroup();
	void startdmablock();
	void useopenbox();
	void clearbuffers();
	void neterror();
	void storeit();
	//void lockeddoorway();
	void isitworn();
	//void putundertimed();
	void dumpmap();
	//void multidump();
	void channel0only();
	void worktoscreenm();
	void removeemm();
	//void frameoutbh();
	void getobtextstart();
	void loadfolder();
	void decide();
	void dumppointer();
	void reelsonscreen();
	void getridofreels();
	void readkey();
	void louis();
	void entrytexts();
	void getreelstart();
	void buttonenter();
	void checkinput();
	void crosshair();
	void bresenhams();
	void getbackfromops();
	//void frameoutv();
	void restoreall();
	void screenupdate();
	void addlength();
	void wornerror();
	void putundercentre();
	void checkobjectsize();
	void commandonly();
	void adjustlen();
	void deallocatemem();
	void mainscreen();
	void watchreel();
	void showfolder();
	void turnanypathoff();
	void openfilefromc();
	void gettime();
	void clearwork();
	void loadtraveltext();
	//void worktoscreen();
	void getexpos();
	void fadedos();
	//void multiget();
	void fadeupmonfirst();
	void drawfloor();
	void loadkeypad();
	void findsource();
	void clearendpal();
	void findtext1();
	void isryanholding();
	void interupttest();
	void usecashcard();
	void usewall();
	void opentomb();
	void buttonfour();
	void animpointer();
	//void lockmon();
	void dochange();
	void getanyaddir();
	void showsaveops();
	void intromonks1();
	void resetlocation();
	void oldtonames();
	void showdiscops();
	void advisor();
	void additionaltext();
	//void kernchars();
	void othersmoker();
	void autosetwalk();
	void setuptimedtemp();
	void blocknametext();
	void useelevator5();
	void useelevator4();
	void useelevator1();
	void attendant();
	void useelevator3();
	void useelevator2();
	void buttonone();
	void keyboardread();
	void deltextline();
	void entercode();
	void getopenedsize();
	void getpersframe();
	void doshake();
	void resetkeyboard();
	void showpanel();
	void soundstartup();
	void slabdoora();
	void fadeupyellows();
	void slabdoorc();
	void slabdoorb();
	void slabdoore();
	void slabdoord();
	void adjustup();
	void readsetdata();
	void loadintotemp();
	void loadintroroom();
	void saveseg();
	void showblink();
	void mousecall();
	void train();
	void watchcount();
	void fadedownmon();
	void loadcart();
	void splitintolines();
	void bartender();
	void eden();
	void showdiary();
	void purgealocation();
	void updatepeople();
	void slabdoorf();
	void addtopeoplelist();
	void hangoncurs();
	void sparkydrip();
	//void modifychar();
	void compare();
	void printcurs();
	//void convertkey();
	void outofopen();
	void dealwithspecial();
	//void eraseoldobs();
	void dircom();
	//void liftsprite();
	void dumpkeypad();
	void dumpzoom();
	void endgameseq();
	//void cancelch0();
	void setbotleft();
	void findfirstpath();
	void fadescreenup();
	void loadold();
	void loadtempcharset();
	void useslab();
	void aboutturn();
	void usealtar();
	void createpanel2();
	void turnonpower();
	void manasleep2();
	void moretalk();
	//void printslow();
	void loadroom();
	void starttalk();
	void delchar();
	void getanyad();
	void endgame();
	void monprint();
	void usepipe();
	void startloading();
	void getunderzoom();
	void candles();
	void backobject();
	void rollendcredits2();
	void reminders();
	void selectslot2();
	void runtap();
	void domix();
	void priesttext();
	void paneltomap();
	void obname();
	void getridoftemp3();
	void getridoftemp2();
	void usebalcony();
	void runendseq();
	void dumpdiarykeys();
	void disablesoundint();
	void checkifset();
	void showallex();
	void showrain();
	void openpoolboss();
	void buttontwo();
	void fillopen();
	//void usetimedtext();
	void delsprite();
	void getroomspaths();
	//void dumptextline();
	void fadescreendownhalf();
	void useplate();
	void candles1();
	void lookininterface();
	void manasleep();
	void isitdescribed();
	void hotelbell();
	void loadspeech();
	//void cls();
	//void printsprites();
	void checkifperson();
	void showallobs();
	//void getnumber();
	void adjustleft();
	void calledenslift();
	void useclearbox();
	void entryanims();
	void nextfolder();
	void getfreead();
	void showarrows();
	void walkintoroom();
	void getridoftemptext();
	void printoutermon();
	void setuppit();
	void showpcx();
	void showdecisions();
	void checkspeed();
	//void printchar();
	void showkeypad();
	void obtoinv();
	void removeobfrominv();
	void usecoveredbox();
	void openyourneighbour();
	void fadescreenuphalf();
	void getridoftempcharset();
	void heavy();
	void endpaltostart();
	void showkeys();
	void usekey();
	void locklighton();
	void useladderb();
	//void spriteupdate();
	void usetempcharset();
	void discops();
	//void printdirect();
	void delthisone();
	void makebackob();
	void middlepanel();
	void dumpwatch();
	void saveload();
	void monitorlogo();
	void loadposition();
	void entersymbol();
	void showword();
	void dirfile();
	void setmode();
	void walktotext();
	void pickupconts();
	void locklightoff();
	void wearwatch();
	void runintroseq();
	void doblocks();
	void showbyte();
	void allpalette();
	void findormake();
	void nextsymbol();
	void monks2text();
	void poolguard();
	void clearpalette();
	void cantdrop();
	void maptopanel();
	void calcmapad();
	void getridofall();
	void copper();
	void folderhints();
	void openhoteldoor();
	void removesetobject();
	void dumptimedtext();
	//void frameoutfx();
	void blank();
	void drinker();
	void nextcolon();
	void placefreeobject();
	void delpointer();
	void loopchannel0();
	void initrain();
	void showleftpage();
	void rockstar();
	void adjustright();
	void putunderzoom();
	void vsync();
	void turnpathoff();
	void findinvpos();
	void usetext();
	void hangonpq();
	void liftnoise();
	void workoutframes();
	void getbackfromob();
	void dumpsymbox();
	void loadgame();
	void getridoftemp();
	void showcity();
	void dumpsymbol();
	void disablepath();
	void buttonsix();
	void intro2text();
	void showouterpad();
	void getkeyandlogo();
	void selectob();
	void checkcoords();
	void dumpmenu();
	void chewy();
	void accesslighton();
	void dosreturn();
	void titles();
	//void quickquit();
	void showpointer();
	void usecooker();
	void loadmenu();
	void checkforemm();
	void checkifpathison();
	void smallcandle();
	void receptionist();
	void selectslot();
	void edenscdplayer();
	//void readoneblock();
	void fadeupmon();
	void paltoendpal();
	void fadetowhite();
	void textformonk();
	void loadsavebox();
	void soundend();
	void redes();
	void errormessage1();
	void clearchanges();
	void errormessage3();
	void deletetaken();
	void putundermenu();
	void checkifex();
	void intromagic2();
	void findobname();
	void edeninbath();
	void intromagic1();
	void showdiarypage();
	void useshield();
	void getbacktoops();
	void rollendcredits();
	void intro1text();
	void getmapad();
	void playchannel1();
	void playchannel0();
	void usemon();
	void steady();
	void pixelcheckset();
	void reexfrominv();
	void fillspace();
	void talk();
	void usedryer();
	void dumpeverything();
	void usehatch();
	void zoom();
	void outofinv();
	void viewfolder();
	//void walking();
	void diarykeyp();
	//void readabyte();
	//void showframe();
	void random();
	void obicons();
	void mansatstill();
	void channel1only();
	void playguitar();
	void lastfolder();
	void transfermap();
	void showreelframe();
	void showmonk();
	void diarykeyn();
	void set16colpalette();
	void convicons();
	void interviewer();
	void sparky();
	void purgeanitem();
	void madman();
	void createpanel();
	void turnpathon();
	void showmainops();
	void madmanstelly();
	void constant();
	void loadroomssample();
	void getblockofpixel();
	void paltostartpal();
	void bossman();
	void getridofpit();
	void convnum();
	void nothelderror();
	void readheader();
	void getsetad();
	void getyad();
	void reconstruct();
	void soldier1();
	void getundercentre();
	void checkforexit();
	void loadseg();
	void makeheader();
	void setkeyboardint();
	void priest();
	void readmouse();
	void powerlighton();
	void savefilewrite();
	void printmessage2();
	void loadnews();
	void rollem();
	void makeworn();
	void examineobtext();
	void startup();
	void savegame();
	void startpaltoend();
	void showicon();
	void findopenpos();
	void describeob();
	void deleteexframe();
	void folderexit();
	void useplinth();
	void wheelsound();
	void actualsave();
	void autolook();
	void checkbasemem();
	void transfertext();
	void searchforsame();
	void enablesoundint();
	void getback1();
	void setlocation();
	void fadefromwhite();
	void checksoundint();
	void usewindow();
	void wearshades();
	void onedigit();
	void pitinterupt();
	void deleverything();
	void fadescreendown();
	void findxyfrompath();
	void namestoold();
	void getxad();
	void openinv();
	void lookatplace();
	void useaxe();
	void examineob();
	void buttonnought();
	void useelvdoor();
	void putbackobstuff();
	void useladder();
	void realcredits();
	void handclap();
	void smokebloke();
	void showexit();
	//void printundermon();
	void buttonnine();
	void findallopen();
	void loadintotemp3();
	void loadintotemp2();
	void gamer();
	void personnametext();
	void quitsymbol();
	void readfromfile();
	void initialinv();
	void showslots();
	void dofade();
	void hangon();
	void settopright();
	void findsetobject();
	void singlekey();
	//void seecommandtail();
	//void getundertimed();
	void hangone();
	void carparkdrip();
	void usediary();
	void deleteexobject();
	//void frameoutnm();
	void moneypoke();
	void destselect();
	void restoreems();
	void lastdest();
	void removefreeobject();
	void trapdoor();
	void openlouis();
	void buttonthree();
	void getundermenu();
	//void randomnumber();
	void lookatcard();
	void helicopter();
	void scrollmonitor();
	void setsoundoff();
	void setpickup();
	void dropobject();
	void printmessage();
	void reexfromopen();
	void fillryan();
	void loadtemptext();
	void usestereo();
	void showcurrentfile();
	void copyname();
	void look();
	void setmouse();
	void checkone();
	void transferinv();
	void candles2();
	void pickupob();
	void error();
	void showopbox();
	//void cancelch1();
	void clearbeforeload();
	void biblequote();
	void doload();
	void afterintroroom();
	void blockget();
	void usetrainer();
	void allocatework();
	void addtopresslist();
	void walkandexamine();
	void dmaend();
	//void quickquit2();
	void twodigitnum();
	void madmantext();
	void dumpcurrent();
	void textforend();
	void showdiarykeys();
	void dontloadseg();
	void madmode();
	void intro3text();
	void allocatemem();
	void sortoutmap();
	void doorway();
	void useopened();
	void inventory();
	void powerlightoff();
	void getroomdata();
	void showoutermenu();
	void signon();
	void deleteextext();
	void foghornsound();
	void showrightpage();
	void openhoteldoor2();
	void examicon();
	void showgun();
	void switchryanon();
	void louischair();
	void saveems();
	void locationpic();
	void getflagunderp();
	void dolook();
	void opentvdoor();
	void triggermessage();
	void finalframe();
	void plotreel();
	void swapwithopen();
	//void makesprite();
	void dreamweb();
	void droperror();
	void openfilenocheck();
	void calledensdlift();
	void checkinside();
	void gates();
	void selectlocation();
	void showwatch();
	void turnanypathon();
	void restorereels();
	void setwalk();
	//void printboth();
	void useroutine();
	void zoomicon();
	void hotelcontrol();
	void findpathofpoint();
	void issetobonmap();
	void getdestinfo();
	void drunk();
	void dumpblink();
	void setuptimeduse();
	void grafittidoor();
	void input();
	void nextdest();
	void getdimension();
	void makecaps();
	void read();
	void fadescreenups();
	void checkdest();
	//void initman();
	void loadpalfromiff();
	void facerightway();
	void startup1();
	void findlen();
	void showsymbol();
	void mugger();
	void atmospheres();
	void out22c();
	void loadpersonal();
	void gettingshot();
	void settopleft();
	void searchforstring();
	//void clearsprites();
	void obpicture();
	void selectopenob();
	void widedoor();
	void security();
	//void printasprite();
	void buttonfive();
	void soundonreels();
	void usegun();
	void autoappear();
	void findnextcolon();
	void readmouse4();
	void openryan();
	void readmouse1();
	void showman();
	void readmouse2();
	void newplace();
	void movemap();
	void loadsample();
	void usecardreader1();
	void usecardreader2();
	void usecardreader3();
	void tattooman();
	void usehandle();
	void quitkey();
	void openfile();
	void usecharset1();
	void makenextblock();
	void showpuztext();
	void addalong();
	//void width160();
	void incryanpage();
	//void dodoor();
	void greyscalesum();
	void buttoneight();
	void opensarters();
	void findexobject();
	void errormessage2();
	void usechurchhole();
	void searchforfiles();
	void monkspeaking();
	void fadecalculation();
	void waitframes();
	void clearrest();
	void getreelframeax();
	void barwoman();
	void roomname();
	void credits();
	void madmanrun();
	void randomnum1();
	void keeper();
	void afternewroom();
	void getexad();
	void aide();
	void openforsave();
	void closefile();
	void delcurs();
	void randomaccess();
	void calcfrframe();
	void intromagic3();
	void initialmoncols();
	void checkforshake();
	void usebuttona();
	void showallfree();
	//void getnextword();
	void generalerror();
	void actualload();
	void allocateload();
	void saveposition();
	void mode640x480();
	void openeden();
	void execcommand();
	void obsthatdothings();
	void updatesymbolbot();
	void findpuztext();
	void usechurchgate();
	void monkandryan();
	void allocatebuffers();
	void swapwithinv();
	void usecontrol();
	void buttonseven();
	void redrawmainscrn();
	void finishedwalking();
	void findallryan();
	void channel0tran();
	void buttonpress();
	void parseblaster();
	void callhotellift();
	void makemainscreen();
	void intromonks2();
	void usewinch();
	void setbotright();
	void readmouse3();
	void showfirstuse();
	void setupemm();
	void usefullcart();
	void transfertoex();
	void getlocation();
	void geteitherad();
	void placesetobject();
	void drawflags();
	void zoomonoff();
	void updatesymboltop();
	void showryanpage();
	void printlogo();
	void allpointer();
	void showseconduse();
	void clearreels();
	void malefan();
	void dosaveload();
	void createname();
	void readcitypic();
	void getpersontext();
	void intoinv();
	void showtime();
	void parser();
	void hangonw();
	void intro();
	void hangonp();
	void fadescreendowns();
	void showloadops();
	void getridoftempsp();
	void scanfornames();
	void setallchanges();
	void newgame();
	void examinventory();
	void standardload();
	void undertextline();
	void findroominloc();
	void sitdowninbar();
	void shownames();
	void savefileread();
	void emergencypurge();
	void usemenu();
	void alleybarksound();
	void dosometalk();
	void usecart();
	void intromusic();
	void makename();
	void processtrigger();
	void monmessage();
	void readdesticon();
	void randomnum2();
	void loadsecondsample();
	void transfercontoex();
	//void multiput();
	void isitright();
	void businessman();
	void switchryanoff();
	void commandwithob();
	void panelicons1();
	void adjustdown();
	void withwhat();
	void openob();
	void createfile();
	void userailing();
	void accesslightoff();
	void usehole();
	void useobject();
	void mainman();
	void volumeadjust();
	void checkiffree();
};
}

#endif