ScummVM API documentation
scene_data.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 HOLLYWOOD_MONSTERS_SCENES_SCENE_DATA_H
23#define HOLLYWOOD_MONSTERS_SCENES_SCENE_DATA_H
24
25#include "common/types.h"
26
27namespace Hollywood {
28
29struct ScenePoint {
30 int16 x;
31 int16 y;
32};
33
34enum SceneMetadataOffset {
35 kActorDepthThresholds = 0x0000,
36 kPaletteDeltaTable = 0x002a,
37 kPaletteAdjustTable = 0x003f,
38 kRouteBoundaryPoints = 0x007d,
39 kRouteBoundarySteps = 0x1529,
40 kSceneItemDefaultStrip = 0x35e4,
41 kSceneItemInteractionPoints = 0x35f9,
42 kSceneItemApproachPoints = 0x364d,
43 kSceneItemFacing = 0x36a1,
44 kSceneVerbActionRecords = 0x36b6,
45 kSceneRelationRecords = 0x3956,
46 kSceneMode2RelationOverlay = 0x610a
47};
48
49enum ScenePaletteMapOffset {
50 kScenePaletteRegionMap = 0x000,
51 kSceneColorToItemMap = 0x100,
52 kSceneColorToActorDepthClassMap = 0x200,
53 kSceneColorToActorPaletteDeltaClassMap = 0x300,
54 kSceneColorToActorPaletteAdjustmentClassMap = 0x400,
55 kSceneColorToFootstepSoundMap = 0x500,
56 kScenePresentationPaletteRemapMap = 0x600,
57 kScenePaletteMapPageSize = 0x100,
58 kScenePaletteMapByteCount = 0x700
59};
60
61} // End of namespace Hollywood
62
63#endif // HOLLYWOOD_MONSTERS_SCENES_SCENE_DATA_H
Definition: scene_data.h:29