ScummVM API documentation
globals.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 BAGEL_HODJNPODJ_GLOBALS_H
23
#define BAGEL_HODJNPODJ_GLOBALS_H
24
25
#include "bagel/boflib/palette.h"
26
27
namespace
Bagel {
28
namespace
HodjNPodj {
29
30
/*
31
* Hodj 'n' Podj .INI file name
32
*/
33
#define INI_FILENAME "HODJPODJ.INI"
34
35
#define PATHSPECSIZE 256
36
37
/*
38
* Main Window positioning constants
39
*/
40
#define GAME_WIDTH 640
41
#define GAME_HEIGHT 480
42
#define GAME_TOP_BORDER_WIDTH 24
43
#define GAME_BOTTOM_BORDER_WIDTH 16
44
#define GAME_LEFT_BORDER_WIDTH 16
45
#define GAME_RIGHT_BORDER_WIDTH 16
46
47
// Scroll button size and positioning information
48
#define SCROLL_BUTTON_X 250
49
#define SCROLL_BUTTON_Y 0
50
#define SCROLL_BUTTON_DX 140
51
#define SCROLL_BUTTON_DY 23
52
#define SCROLLUP_BMP "ART/SCROLLUP.BMP"
53
#define SCROLLDOWN_BMP "ART/SCROLLDN.BMP"
54
#define SCROLLUP 461
55
#define SCROLLDOWN 462
56
57
// New Game button area
58
#define NEWGAME_LOCATION_X 15
59
#define NEWGAME_LOCATION_Y 0
60
#define NEWGAME_WIDTH 217
61
#define NEWGAME_HEIGHT 20
62
63
}
// namespace HodjNPodj
64
}
// namespace Bagel
65
66
#endif
engines
bagel
hodjnpodj
globals.h
Generated on Sun Nov 22 2026 09:13:13 for ScummVM API documentation by
1.9.4