ScummVM API documentation
icon_menu_pc.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 * Additional copyright for this file:
8 * Copyright (C) 1999-2000 Revolution Software Ltd.
9 * This code is based on source code created by Revolution Software,
10 * used with permission.
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27#ifndef ICB_ICONMENU_PC_H_INCLUDED
28#define ICB_ICONMENU_PC_H_INCLUDED
29
30namespace ICB {
31
32#define ICON_X_SIZE 60
33
34#define ICON_Y_SIZE 40
35#define ICON_Y_SIZE_ED 61
36
37// And this defines the space between them when we draw them.
38#define ICON_SPACING 4
39
40// This is the default row to draw the chooser at.
41#define ICON_MENU_PIXEL_X ICON_SPACING
42
43#define ICON_MENU_PIXEL_Y 420
44#define ICON_MENU_PIXEL_Y_ED 410
45
46// These position the flashing icon when medipacks and ammo clips are added.
47#define ICON_ADDING_X 570
48#define ICON_ADDING_Y 420
49
50// These define the sizes of some commonly used rectangles.
51extern LRECT ICON_BITMAP_RECT;
52extern LRECT ICON_ADDING_RECT;
53
54} // End of namespace ICB
55
56#endif // #ifndef ICONMENU_PC_H_INCLUDED