ScummVM API documentation
game2.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 HODJNPODJ_PEGGLE_GAME2_H
23
#define HODJNPODJ_PEGGLE_GAME2_H
24
25
namespace
Bagel {
26
namespace
HodjNPodj {
27
namespace
Peggle {
28
29
// Sprite identification types
30
#define SPRITE_GLASS 0
31
#define SPRITE_HOLE 1
32
#define SPRITE_INVALID 2
33
34
// midi sound file
35
36
#define GAME_THEME "sound\\PEGGLEBO.MID"
37
38
// Wave sound files
39
40
#define WAV_UNDO "sound\\SOUND208.WAV"
41
#define WAV_WON "sound\\SOUNDWON.WAV"
42
#define WAV_DONE "sound\\SOUND216.WAV"
43
#define WAV_MOVE "sound\\SOUND169.WAV"
44
#define WAV_NOMOVE "sound\\OLD169.WAV"
45
46
// Title display offsets
47
48
#define TITLE_X 14
49
#define TITLE_Y 3
50
#define TITLE_DX 219
51
#define TITLE_DY 17
52
53
// Bottle display offsets
54
55
#define BOTTLE_X 195
56
#define BOTTLE_Y 84
57
#define BOTTLE_DX 46
58
#define BOTTLE_DY 149
59
60
// DART display offsets
61
62
#define DART_X 268
63
#define DART_Y 106
64
#define DART_DX 279
65
#define DART_DY 63
66
#define NUM_DART_CELS 21
67
68
// DART Easter Egg hotspot offsets
69
70
#define EE_DART_X 487
71
#define EE_DART_Y 108
72
#define EE_DART_DX 58
73
#define EE_DART_DY 60
74
75
// KEG display offsets
76
77
#define KEG_X 15
78
#define KEG_Y 121
79
#define KEG_DX 125
80
#define KEG_DY 40
81
#define NUM_KEG_CELS 17
82
#define KEG_CEL_OFFSET 7
83
84
// STOOL display offsets
85
86
#define STOOL_X 14
87
#define STOOL_Y 148
88
#define STOOL_DX 98
89
#define STOOL_DY 125
90
#define NUM_STOOL_CELS 25
91
92
#define DART_SLEEP 80
// In milliseconds 70
93
#define KEG_SLEEP 115
// In milliseconds 150 130
94
#define STOOL_SLEEP 55
// In milliseconds
95
96
// Audio easter egg info:
97
#define NET_X 205
98
#define NET_Y 35
99
#define NET_DX 122
100
#define NET_DY 50
101
#define NET_SOUND "sound\\ANCHORS.WAV"
102
103
#define OAR_X 20
104
#define OAR_Y 53
105
#define OAR_DX 185
106
#define OAR_DY 52
107
#define OAR_SOUND "sound\\ROWBOAT.WAV"
108
109
#define SIGN_X 355
110
#define SIGN_Y 25
111
#define SIGN_DX 67
112
#define SIGN_DY 36
113
#define SIGN_SOUND "sound\\TAVERN.WAV"
114
115
#define TABLE_X 314
116
#define TABLE_Y 170
117
#define TABLE_DX 122
118
#define TABLE_DY 42
119
#define TABLE_SOUND "sound\\FRINIGHT.WAV"
120
121
#define CANDLENR_X 595
122
#define CANDLENR_Y 208
123
#define CANDLENR_DX 30
124
#define CANDLENR_DY 50
125
126
#define CANDLEFR_X 530
127
#define CANDLEFR_Y 183
128
#define CANDLEFR_DX 20
129
#define CANDLEFR_DY 20
130
#define CANDLE_SOUND "sound\\STNICMSG.WAV"
131
132
// Board display offsets
133
134
#define CROSS_BOARD_DX 210
135
#define CROSS_BOARD_DY 194
136
#define CROSS_PLUS_BOARD_DX 210
137
#define CROSS_PLUS_BOARD_DY 194
138
#define TRI_BOARD_DX 305
139
#define TRI_BOARD_DY 224
140
#define TRI_PLUS_BOARD_DX 304
141
#define TRI_PLUS_BOARD_DY 197
142
143
// Shot glass display offsets
144
145
#define CROSS_SHOTGLASS_DX 10
146
#define CROSS_SHOTGLASS_DDX 31
147
#define CROSS_SHOTGLASS_DDDX 3
148
#define CROSS_SHOTGLASS_DY 27
149
#define CROSS_PLUS_SHOTGLASS_DX 10
150
#define CROSS_PLUS_SHOTGLASS_DDX 31
151
#define CROSS_PLUS_SHOTGLASS_DDDX 3
152
#define CROSS_PLUS_SHOTGLASS_DY 27
153
#define TRI_SHOTGLASS_DX 24
154
#define TRI_SHOTGLASS_DY 27
155
#define TRI_PLUS_SHOTGLASS_DX 24
156
#define TRI_PLUS_SHOTGLASS_DY 27
157
158
// Array Status:
159
160
#define EMPTY 0
161
#define PEGGED 1
162
#define NO_HOLE 2
163
164
// Board Selection:
165
166
#define BOARD_COUNT 4
167
#define BOARD_BASE 10
168
169
#define CROSS 10
170
#define CROSS_PLUS 11
171
#define TRIANGLE 12
172
#define TRIANGLE_PLUS 13
173
174
#define GRID_SIZE 7
// may be changed later
175
176
// Sprite size:
177
#define SPRITE_SIZE_DX 15
178
#define SPRITE_SIZE_DY 25
179
180
#define HAND_SIZE 48
181
182
}
// namespace Peggle
183
}
// namespace HodjNPodj
184
}
// namespace Bagel
185
186
#endif
engines
bagel
hodjnpodj
peggle
game2.h
Generated on Sun Nov 22 2026 09:21:31 for ScummVM API documentation by
1.9.4