ScummVM API documentation
uimetrcs.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 * Based on the original sources
22 * Faery Tale II -- The Halls of the Dead
23 * (c) 1993-1996 The Wyrmkeep Entertainment Co.
24 */
25
26#ifndef SAGA2_UIMETRCS_H
27#define SAGA2_UIMETRCS_H
28
29namespace Saga2 {
30
31const int kIconWidth = 32,
32 kIconHeight = 32,
33 kIconSpacingX = 14,
34 kIconSpacingY = 14,
35 kIconOriginX = kIconWidth / 2,
36 kIconOriginY = kIconHeight / 2;
37
38const int kBackWidth = 42,
39 kBackHeight = 42,
40 kBackSpacingX = 12,
41 kBackSpacingY = 12,
42 kBackOriginX = kBackWidth / 4,
43 kBackOriginY = kBackHeight / 4 - 8;
44
45// control button position defines
46const int16 kNumButtons = 7;
47const int16 kYContOffset = 150;
48
49// facial button position defines
50const int16 kYFaceOffset = 150;
51
52extern Rect16 julFrameBox, phiFrameBox,
53 kevFrameBox, julPlateBox,
54 phiPlateBox, kevPlateBox;
55
56} // end of namespace Saga2
57
58#endif