ScummVM API documentation
dimens.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_NOVACANCY_DIMENS_H
23
#define HODJNPODJ_NOVACANCY_DIMENS_H
24
25
namespace
Bagel {
26
namespace
HodjNPodj {
27
namespace
NoVacancy {
28
30
#define NUM_DOOR_CELS 5
//originally 9.
31
#define NUM_LDIE_CELS 12
//originally 22
32
#define NUM_RDIE_CELS 11
//9 //originally 17
33
#define NUM_SINGLE_DIE_CELS NUM_LDIE_CELS
34
#define BOTTLE_CELS 28
35
#define HAT4_CELS 10
36
#define SLEEP_OPENING_TIME (810/NUM_DOOR_CELS)
37
#define SLEEP_CLOSING_TIME (740/NUM_DOOR_CELS)
38
39
40
#define _STRINGTABLE 1
// use stringtable for retrieving string constants.
41
42
#define RULES "novac.txt"
// rules text file.
43
44
#if !_STRINGTABLE
45
47
#define MIDI_FILE "sound\\shotmac.mid"
//background music
48
#define CREAKING_DOOR_CLOSING "sound\\doorclos.wav"
//creaking/slamming door closing.
49
#define CREAKING_DOOR_OPENING "sound\\dooropen.wav"
//creaking door opening.
50
#define ROLLING_DICE_WAVE "sound\\dice2.wav"
//rolling of dice.
51
#define EXTRA "sound\\extra.wav"
// newspaper EasterEgg
52
#define GHOST "sound\\ghost.wav"
// bottle EasterEgg
53
#define HAT "sound\\hat.wav"
54
#define MEOW "sound\\meow.wav"
55
#define HICCUPS "sound\\hiccups.wav"
56
#define SORRY "sound\\sorry.wav"
57
#define SOSORRY "sound\\sosorry.wav"
58
#define NOPE "sound\\nope.wav"
59
#define APPLAUSE "sound\\applause.wav"
60
#define FOOTSTEP "sound\\footstep.wav"
61
#define SINGRAIN "sound\\singrain.wav"
62
#define SHAKE "sound\\SHAKE.WAV"
63
#define ROLL "sound\\ROLL.WAV"
64
65
67
68
#define MINI_GAME_MAP "art\\NOVACSY3.BMP"
//splash screen
69
70
#define ROLLING_LDIE_ANIMATION "art\\ld.bmp"
//the 2-dice case cell strip for leftdie (white bckgnd)
71
#define ROLLING_RDIE_ANIMATION "art\\Rd.bmp"
//the 2-dice case cell strip for r-die (white bckgnd)
72
#define SINGLE_ROLLING_DIE_ANIMATION ROLLING_LDIE_ANIMATION
//the single die case cell strip /////////////---------?
73
#define BOTTLE_STRIP_door_closed "art\\bottle1.bmp"
74
#define HAT4_STRIP_door_open "art\\cat_open.bmp"
75
#define HAT4_STRIP_door_closed "art\\cat_clsd.bmp"
76
77
78
#else
//_STRINGTABLE
79
/* string table constants */
80
#define IDS_RULES 13
// rules text file.
81
83
#define IDS_MIDI_FILE 1
//background music
84
#define IDS_RULES_WAV 2
//rules wave file
85
#define IDS_CREAKING_DOOR_CLOSING 3
//creaking/slamming door closing.
86
#define IDS_CREAKING_DOOR_OPENING 4
//creaking door opening.
87
#define IDS_ROLLING_DICE_WAVE 5
//rolling of dice.
88
#define IDS_SORRY 6
89
#define IDS_SOSORRY 7
90
#define IDS_NOPE 8
91
#define IDS_APPLAUSE 9
92
#define IDS_SHAKE 65
93
#define IDS_ROLL 66
94
95
#define IDS_EXTRA 16
// newspaper EasterEgg
96
#define IDS_GHOST 17
// bottle EasterEgg
97
#define IDS_HAT 18
98
#define IDS_MEOW 19
99
#define IDS_HICCUPS 20
100
#define IDS_FOOTSTEP 21
101
#define IDS_SINGRAIN 22
102
103
105
106
#define IDS_MINI_GAME_MAP 10
//splash screen
107
108
#define IDS_ROLLING_LDIE_ANIMATION 11
//the 2-dice case cell strip for leftdie (white bckgnd)
109
#define IDS_ROLLING_RDIE_ANIMATION 12
//the 2-dice case cell strip for r-die (white bckgnd)
110
#define IDS_SINGLE_ROLLING_DIE_ANIMATION IDS_ROLLING_LDIE_ANIMATION
//the single die case cell strip /////////////---------?
111
#define IDS_BOTTLE_STRIP_door_closed 23
112
#define IDS_HAT4_STRIP_door_open 24
113
#define IDS_HAT4_STRIP_door_closed 25
114
115
117
#define IDS_NO_LEFT_DIE 48
//the bmp of floor below THE LEFt die.
118
#define IDS_lROLLED_1 49
// dice rolls.
119
#define IDS_lROLLED_2 50
120
#define IDS_lROLLED_3 51
121
#define IDS_lROLLED_4 52
122
#define IDS_lROLLED_5 53
123
#define IDS_lROLLED_6 54
124
125
#define IDS_NO_RIGHT_DIE 55
//the bmp of floor below THE right die.
126
#define IDS_rROLLED_1 56
//r-Dice rolls.
127
#define IDS_rROLLED_2 57
128
#define IDS_rROLLED_3 58
129
#define IDS_rROLLED_4 59
130
#define IDS_rROLLED_5 60
131
#define IDS_rROLLED_6 61
132
133
#define IDS_DOOR_MONOLITHE 62
135
136
#define IDS_DICE_MONOLITHE 41
137
138
#define IDS_D1 32
// cell strips of doors.
139
#define IDS_D2 33
140
#define IDS_D3 34
141
#define IDS_D4 35
142
#define IDS_D5 36
143
#define IDS_D6 37
144
#define IDS_D7 38
145
#define IDS_D8 39
146
#define IDS_D9 40
147
#endif
//_STRINGTABLE
148
150
151
#define DOOR1_TOP 116
// dimensions of doors.
152
#define DOOR1_LEFT 61
153
#define DOOR1_BOTTOM (DOOR1_TOP+ 143)
//156
154
#define DOOR1_RIGHT (DOOR1_LEFT+ 52)
155
#define DOOR1_MIDPOINT_X ((DOOR1_LEFT+DOOR1_RIGHT)>>1)
// midpoint of door#1.
156
#define DOOR1_MIDPOINT_Y ((DOOR1_TOP+DOOR1_BOTTOM)>>1)
157
158
#define DOOR2_TOP 116
159
#define DOOR2_LEFT 119
160
#define DOOR2_BOTTOM (DOOR2_TOP+ 142)
//155
161
#define DOOR2_RIGHT (DOOR2_LEFT+ 50)
162
163
#define DOOR3_TOP 114
164
#define DOOR3_LEFT 174
165
#define DOOR3_BOTTOM (DOOR3_TOP+145)
//157
166
#define DOOR3_RIGHT (DOOR3_LEFT+ 52)
167
168
#define DOOR4_TOP 116
169
#define DOOR4_LEFT 232
170
#define DOOR4_BOTTOM (DOOR4_TOP+137)
//156
171
#define DOOR4_RIGHT (DOOR4_LEFT+ 53)
172
173
#define DOOR5_TOP 115
174
#define DOOR5_LEFT 292
175
#define DOOR5_BOTTOM (DOOR5_TOP+156)
176
#define DOOR5_RIGHT (DOOR5_LEFT+ 49)
177
178
#define DOOR6_TOP 115
179
#define DOOR6_LEFT 347
180
#define DOOR6_BOTTOM (DOOR6_TOP+136)
//157
181
#define DOOR6_RIGHT (DOOR6_LEFT+ 51)
182
183
#define DOOR7_TOP 114
184
#define DOOR7_LEFT 404
185
#define DOOR7_BOTTOM (DOOR7_TOP+157 )
186
#define DOOR7_RIGHT (DOOR7_LEFT+ 52)
187
188
#define DOOR8_TOP 114
189
#define DOOR8_LEFT 464
190
#define DOOR8_BOTTOM (DOOR8_TOP+ 156)
191
#define DOOR8_RIGHT (DOOR8_LEFT+ 52)
192
193
#define DOOR9_TOP 114
194
#define DOOR9_LEFT 522
195
#define DOOR9_BOTTOM (DOOR9_TOP+156 )
196
#define DOOR9_RIGHT (DOOR9_LEFT+ 51)
197
198
#define LDIE_LEFT 233
//left hand die
199
#define LDIE_TOP 342
200
#define LDIE_RIGHT LDIE_LEFT+59
201
#define LDIE_BOTTOM LDIE_TOP+61
202
#define LDIE_MIDPOINT_X ((LDIE_LEFT+LDIE_RIGHT)>>1)
// midpoint of L-die.
203
#define LDIE_MIDPOINT_Y ((LDIE_TOP+LDIE_BOTTOM)>>1)
204
205
#define SINGLE_DIE_LEFT LDIE_LEFT
//the die in the single die case
206
#define SINGLE_DIE_TOP LDIE_TOP
207
#define SINGLE_DIE_MIDPOINT_X (SINGLE_DIE_LEFT+10)
// WE ARENT NECESSARILY LOOKIN FOR midpoint OF die.
208
#define SINGLE_DIE_MIDPOINT_Y (SINGLE_DIE_TOP+10)
//Any point in the rectangle spanned by the die will suffice.
209
210
#define RDIE_LEFT 336
//the right hand die
211
#define RDIE_TOP 345
212
#define RDIE_RIGHT RDIE_LEFT+57
213
#define RDIE_BOTTOM RDIE_TOP+60
214
215
#define DOOR_SPACING 58
// average horiz. spacing between...
216
#define SPACING DOOR_SPACING
// midpoints of doors.
217
218
#define PAPER_L 40
219
#define PAPER_T 260
220
#define PAPER_R 79
221
#define PAPER_B 275
222
223
#define aBRSHOES_L 108
224
#define aBRSHOES_T 259
225
#define aBRSHOES_R 133
226
#define aBRSHOES_B 275
227
228
#define bBRSHOES_L 122
229
#define bBRSHOES_T 265
230
#define bBRSHOES_R 152
231
#define bBRSHOES_B 280
232
233
#define BLSHOES_L 575
234
#define BLSHOES_T 260
235
#define BLSHOES_R 609
236
#define BLSHOES_B 270
237
238
#define BOTTLE_L 169
239
#define BOTTLE_T 268
240
#define BOTTLE_R 231
241
#define BOTTLE_B 279
242
#define BOTTLE_SPRITE_L 168
243
#define BOTTLE_SPRITE_T 200
244
245
#define HAT4_L 253
246
#define HAT4_T 259
247
#define HAT4_R 308
248
#define HAT4_B 304
249
#define HAT4_SPRITE_L 224
250
#define HAT4_SPRITE_T 215
251
252
#define HAT6_L 363
253
#define HAT6_T 254
254
#define HAT6_R 389
255
#define HAT6_B 342
256
257
#define STAND_L 457
258
#define STAND_T 206
259
#define STAND_R 463
260
#define STAND_B 272
261
262
#define GLASS_L 517
263
#define GLASS_T 259
264
#define GLASS_R 522
265
#define GLASS_B 270
266
267
}
// namespace NoVacancy
268
}
// namespace HodjNPodj
269
}
// namespace Bagel
270
271
#endif
engines
bagel
hodjnpodj
novacancy
dimens.h
Generated on Sun Nov 22 2026 09:21:31 for ScummVM API documentation by
1.9.4