ScummVM API documentation
mem_mapping.h
1/* ScummVM - Graphic Adventure Engine
2*
3* ScummVM is the legal property of its developers, whose names
4* are too numerous to list here. Please refer to the COPYRIGHT
5* file distributed with this source distribution.
6*
7* This program is free software: you can redistribute it and/or modify
8* it under the terms of the GNU General Public License as published by
9* the Free Software Foundation, either version 3 of the License, or
10* (at your option) any later version.
11*
12* This program is distributed in the hope that it will be useful,
13* but WITHOUT ANY WARRANTY; without even the implied warranty of
14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15* GNU General Public License for more details.
16*
17* You should have received a copy of the GNU General Public License
18* along with this program. If not, see <http://www.gnu.org/licenses/>.
19*
20*/
21
22#ifndef SNATCHER_MEM_MAPPING_H
23#define SNATCHER_MEM_MAPPING_H
24
25#include "common/scummsys.h"
26
27namespace Snatcher {
28
29namespace MemMapping {
30
31extern uint32 MEM_GFXDATA_00;
32extern uint32 MEM_GFXDATA_01;
33extern uint32 MEM_GFXDATA_02;
34extern uint32 MEM_RAWDATA_00;
35extern uint32 MEM_UIDATA_00;
36extern uint32 MEM_VERBDATA_00;
37extern uint32 MEM_VERBDATA_01;
38extern uint32 MEM_VERBDATA_02;
39extern uint32 MEM_VERBDATA_03;
40extern uint32 MEM_UIDATA_01;
41extern uint32 MEM_UIDATA_02;
42extern uint32 MEM_UIDATA_03;
43extern uint32 MEM_UIDATA_04;
44extern uint32 MEM_VERBDATA_04;
45extern uint32 MEM_VERBDATA_05;
46extern uint32 MEM_UIDATA_05;
47extern uint32 MEM_PALDATA_00;
48extern uint32 MEM_PALDATA_01;
49extern uint32 MEM_PALDATA_02;
50extern uint32 MEM_PALDATA_03;
51extern uint32 MEM_PALDATA_04;
52extern uint32 MEM_GFXDATA_04;
53extern uint32 MEM_GFXDATA_05;
54extern uint32 MEM_GFXDATA_06;
55extern uint32 MEM_GFXDATA_07;
56extern uint32 MEM_ACTIONSEQDATA_00;
57extern uint32 MEM_ACTIONSEQDATA_01;
58extern uint32 MEM_ACTIONSEQDATA_02;
59extern uint32 MEM_ACTIONSEQDATA_03;
60extern uint32 MEM_ACTIONSEQDATA_04;
61extern uint32 MEM_ACTIONSEQDATA_05;
62extern uint32 MEM_ACTIONSEQDATA_06;
63extern uint32 MEM_ACTIONSEQDATA_07;
64extern uint32 MEM_ACTIONSEQDATA_08;
65extern uint32 MEM_ACTIONSEQDATA_09;
66extern uint32 MEM_ACTIONSEQDATA_10;
67extern uint32 MEM_ACTIONSEQDATA_11;
68extern uint32 MEM_ACTIONSEQDATA_12;
69extern uint32 MEM_ACTIONSEQDATA_13;
70extern uint32 MEM_ACTIONSEQDATA_14;
71extern uint32 MEM_ACTIONSEQDATA_15;
72extern uint32 MEM_ACTIONSEQDATA_16;
73extern uint32 MEM_ACTIONSEQDATA_17;
74extern uint32 MEM_ACTIONSEQDATA_18;
75extern uint32 MEM_ACTIONSEQDATA_19;
76extern uint32 MEM_ACTIONSEQDATA_20;
77extern uint32 MEM_ACTIONSEQDATA_21;
78extern uint32 MEM_UIDATA_06;
79extern uint32 MEM_PALDATA_05;
80extern uint32 MEM_UIDATA_07;
81extern uint32 MEM_UIDATA_08;
82extern uint32 MEM_UIDATA_09;
83extern uint32 MEM_UIDATA_10;
84extern uint32 MEM_PALDATA_06;
85extern uint32 MEM_RAWDATA_01;
86extern uint32 MEM_RAWDATA_02;
87extern uint32 MEM_RAWDATA_03;
88extern uint32 MEM_PALDATA_07;
89extern uint32 MEM_GFXDATA_10;
90extern uint32 MEM_RAWDATA_04;
91extern uint32 MEM_RAWDATA_05;
92extern uint32 MEM_RAWDATA_06;
93extern uint32 MEM_PALDATA_10;
94extern uint32 MEM_PALDATA_11;
95extern uint32 MEM_PALDATA_12;
96extern uint32 MEM_TIMERDATA_00;
97extern uint32 MEM_TIMERDATA_01;
98extern uint32 MEM_PALDATA_20;
99extern uint32 MEM_PALDATA_21;
100extern uint32 MEM_PALDATA_22;
101extern uint32 MEM_PALDATA_23;
102extern uint32 MEM_PALDATA_30;
103extern uint32 MEM_PALDATA_31;
104extern uint32 MEM_TIMERDATA_02;
105extern uint32 MEM_PALDATA_40;
106extern uint32 MEM_PALDATA_41;
107extern uint32 MEM_PALDATA_42;
108
109extern uint32 MEM_MODULE_LOCATION;
110extern uint32 MEM_SCRIPT_LOCATION;
111extern uint32 MEM_SCRIPT_TEXT_LOCATION;
112extern uint32 MEM_SUBCODE_LOCATION;
113
114extern void initMapping(int mappingNum);
115
116} // End of namespace MemMapping
117
118} // End of namespace Snatcher
119
120#endif // SNATCHER_MEM_MAPPING_H
121