1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * (c) 1995-2002 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
14 #include "libgame/libgame.h"
18 /* List values that are not defined in the configuration file are set to
19 reliable default values. If that value is GFX_ARG_UNDEFINED, it will
20 be dynamically determined, using some of the other list values. */
22 struct ConfigInfo helpanim_config[] =
24 { "player_1.moving.down", "16" },
25 { "player_1.moving.up", "16" },
26 { "player_1.moving.left", "16" },
27 { "player_1.moving.right", "16" },
28 { "player_1.pushing.left", "16" },
29 { "player_1.pushing.right", "16" },
33 { "sand.digging.left", "8" },
34 { "empty_space", "10" },
36 { "sand.digging.right", "8" },
37 { "empty_space", "10" },
39 { "sand.digging.up", "8" },
40 { "empty_space", "10" },
42 { "sand.digging.down", "8" },
43 { "empty_space", "10" },
46 { "empty_space", "-1" },
49 { "quicksand_empty", "-1" },
52 { "steelwall", "-1" },
58 { "expandable_wall.growing.left", "20" },
60 { "expandable_wall.growing.right", "20" },
62 { "expandable_wall.growing.up", "20" },
64 { "expandable_wall.growing.down", "20" },
66 { "empty_space", "20" },
69 { "invisible_wall", "-1" },
72 { "wall_slippery", "-1" },
75 { "char_space", "10" },
76 { "char_exclam", "10" },
77 { "char_quotedbl", "10" },
78 { "char_numbersign", "10" },
79 { "char_dollar", "10" },
80 { "char_procent", "10" },
81 { "char_ampersand", "10" },
82 { "char_apostrophe", "10" },
83 { "char_parenleft", "10" },
84 { "char_parenright", "10" },
85 { "char_asterisk", "10" },
86 { "char_plus", "10" },
87 { "char_comma", "10" },
88 { "char_minus", "10" },
89 { "char_period", "10" },
90 { "char_slash", "10" },
101 { "char_colon", "10" },
102 { "char_semicolon", "10" },
103 { "char_less", "10" },
104 { "char_equal", "10" },
105 { "char_greater", "10" },
106 { "char_question", "10" },
134 { "char_bracketleft", "10" },
135 { "char_backslash", "10" },
136 { "char_bracketright", "10" },
137 { "char_asciicircum", "10" },
138 { "char_underscore", "10" },
139 { "char_copyright", "10" },
140 { "char_aumlaut", "10" },
141 { "char_oumlaut", "10" },
142 { "char_uumlaut", "10" },
143 { "char_degree", "10" },
144 { "char_trademark", "10" },
145 { "char_cursor", "10" },
149 { "emerald.collecting", "8" },
150 { "empty_space", "10" },
154 { "diamond.collecting", "8" },
155 { "empty_space", "10" },
158 { "bd_diamond", "50" },
159 { "bd_diamond.collecting", "8" },
160 { "empty_space", "10" },
163 { "emerald_yellow", "50" },
164 { "emerald_yellow.collecting", "8" },
165 { "empty_space", "10" },
166 { "emerald_red", "50" },
167 { "emerald_red.collecting", "8" },
168 { "empty_space", "10" },
169 { "emerald_purple", "50" },
170 { "emerald_purple.collecting", "8" },
171 { "empty_space", "10" },
178 { "bomb.exploding", "16" },
179 { "empty_space", "10" },
183 { "nut.breaking", "6" },
187 { "wall_emerald", "100" },
188 { "wall_emerald.exploding", "16" },
192 { "wall_diamond", "100" },
193 { "wall_diamond.exploding", "16" },
197 { "wall_bd_diamond", "100" },
198 { "wall_bd_diamond.exploding", "16" },
199 { "bd_diamond", "20" },
202 { "wall_emerald_yellow", "100" },
203 { "wall_emerald_yellow.exploding", "16" },
204 { "emerald_yellow", "20" },
205 { "wall_emerald_red", "100" },
206 { "wall_emerald_red.exploding", "16" },
207 { "emerald_red", "20" },
208 { "wall_emerald_purple", "100" },
209 { "wall_emerald_purple.exploding", "16" },
210 { "emerald_purple", "20" },
228 { "gate_1_gray", "50" },
229 { "gate_2_gray", "50" },
230 { "gate_3_gray", "50" },
231 { "gate_4_gray", "50" },
234 { "dynamite", "-1" },
237 { "dynamite.active", "96" },
238 { "dynamite.exploding", "16" },
239 { "empty_space", "20" },
242 { "dynabomb.active", "100" },
243 { "dynabomb.exploding", "16" },
244 { "empty_space", "20" },
247 { "dynabomb_increase_number", "-1" },
250 { "dynabomb_increase_size", "-1" },
253 { "dynabomb_increase_power", "-1" },
256 { "spaceship.turning_from_right.up", "8" },
257 { "spaceship.turning_from_up.left", "8" },
258 { "spaceship.turning_from_left.down", "8" },
259 { "spaceship.turning_from_down.right", "8" },
262 { "bug.turning_from_right.up", "8" },
263 { "bug.turning_from_up.left", "8" },
264 { "bug.turning_from_left.down", "8" },
265 { "bug.turning_from_down.right", "8" },
268 { "bd_butterfly", "-1" },
271 { "bd_firefly", "-1" },
274 { "pacman.right", "16" },
275 { "pacman.up", "16" },
276 { "pacman.left", "16" },
277 { "pacman.down", "16" },
283 { "dark_yamyam", "-1" },
289 { "mole.moving.right", "16" },
290 { "mole.moving.up", "16" },
291 { "mole.moving.left", "16" },
292 { "mole.moving.down", "16" },
295 { "penguin.moving.right", "16" },
296 { "penguin.moving.up", "16" },
297 { "penguin.moving.left", "16" },
298 { "penguin.moving.down", "16" },
301 { "pig.moving.right", "16" },
302 { "pig.moving.up", "16" },
303 { "pig.moving.left", "16" },
304 { "pig.moving.down", "16" },
307 { "dragon.moving.right", "16" },
308 { "dragon.moving.up", "16" },
309 { "dragon.moving.left", "16" },
310 { "dragon.moving.down", "16" },
313 { "satellite", "-1" },
316 { "robot_wheel", "50" },
317 { "robot_wheel.active", "100" },
321 { "lamp.active", "50" },
324 { "time_orb_full", "50" },
325 { "time_orb_empty", "50" },
328 { "amoeba_drop", "50" },
329 { "amoeba.growing", "6" },
330 { "amoeba_wet", "20" },
333 { "amoeba_dead", "-1" },
336 { "amoeba_wet", "-1" },
339 { "amoeba_wet", "100" },
340 { "amoeba.growing", "6" },
343 { "amoeba_full", "50" },
344 { "amoeba_dead", "50" },
345 { "amoeba.exploding", "16" },
349 { "game_of_life", "-1" },
355 { "magic_wall.active", "-1" },
358 { "bd_magic_wall.active", "-1" },
361 { "exit_closed", "200" },
362 { "exit.opening", "30" },
363 { "exit_open", "100" },
364 { "exit.closing", "30" },
367 { "exit_open", "-1" },
370 { "sokoban_object", "-1" },
373 { "sokoban_field_empty", "-1" },
376 { "sokoban_field_full", "-1" },
379 { "speed_pill", "-1" },
385 struct ConfigInfo helptext_config[] =
389 "THE HERO: (Is _this_ guy good old Rockford?)"
393 "Normal sand: You can dig through it"
397 "Empty field: You can walk through it"
401 "Quicksand: You cannot pass it, but rocks can fall through it"
405 "Massive Wall: Nothing can go through it"
409 "Normal Wall: You can't go through it, but you can bomb it away"
413 "Growing Wall: Grows in several directions if there is an empty field"
417 "Invisible Wall: Behaves like normal wall, but is invisible"
421 "Old Wall: Like normal wall, but some things can fall down from it"
425 "Letter Wall: Looks like a letter, behaves like a normal wall"
429 "Emerald: You must collect enough of them to finish a level"
433 "Diamond: Counts as 3 emeralds, but can be destroyed by rocks"
437 "Diamond (BD style): Counts like one emerald and behaves a bit different"
441 "Colorful Gems: Seem to behave like Emeralds"
445 "Rock: Smashes several things; Can be moved by the player"
449 "Bomb: You can move it, but be careful when dropping it"
453 "Nut: Throw a rock on it to open it; Each nut contains an emerald"
457 "Wall with an emerald inside: Bomb the wall away to get it"
461 "Wall with a diamond inside: Bomb the wall away to get it"
465 "Wall with BD style diamond inside: Bomb the wall away to get it"
468 "wall_emerald_yellow",
469 "Wall with colorful gem inside: Bomb the wall away to get it"
473 "Acid: Things that fall in are gone forever (including our hero)"
477 "Key: Opens the door that has the same color (red/yellow/green/blue)"
481 "Door: Can be opened by the key with the same color"
485 "Door: You have to find out the right color of the key for it"
489 "Dynamite: Collect it and use it to destroy walls or kill enemies"
493 "Dynamite: This one explodes after a few seconds"
497 "Dyna Bomb: Explodes in 4 directions with variable explosion size"
500 "dynabomb_increase_number",
501 "Dyna Bomb: Increases the number of dyna bombs available at a time"
504 "dynabomb_increase_size",
505 "Dyna Bomb: Increases the size of explosion of dyna bombs"
508 "dynabomb_increase_power",
509 "Dyna Bomb: Increases the power of explosion of dyna bombs"
513 "Spaceship: Moves at the left side of walls; don't touch it!"
517 "Bug: Moves at the right side of walls; don't touch it!"
521 "Butterfly: Moves at the right side of walls; don't touch it!"
525 "Firefly: Moves at the left side of walls; don't touch it!"
529 "Pacman: Eats the amoeba and you, if you're not careful"
533 "Yam Yam: Eats diamonds and you, if you're not careful"
537 "Dark Yam Yam: Eats almost everything"
541 "Robot: Tries to kill the player"
545 "The mole: Eats the amoeba and turns empty space into normal sand"
549 "The penguin: Guide him to the exit, but keep him away from monsters!"
553 "The Pig: Harmless, but eats all gems it can get"
557 "The Dragon: Breathes fire, especially to some monsters"
561 "Sonde: Follows you everywhere; harmless, but may block your way"
565 "Magic Wheel: Touch it to get rid of the robots for some seconds"
569 "Light Bulb: All of them must be switched on to finish a level"
573 "Extra Time Orb: Adds some seconds to the time available for the level"
577 "Amoeba Drop: Grows to an amoeba on the ground - don't touch it"
581 "Dead Amoeba: Does not grow, but can still kill bugs and spaceships"
585 "Normal Amoeba: Grows through empty fields, sand and quicksand"
589 "Dropping Amoeba: This one makes drops that grow to a new amoeba"
593 "Living Amoeba (BD style): Contains other element, when surrounded"
597 "Game Of Life: Behaves like the well known 'Game Of Life' (2333 style)"
601 "Biomaze: A bit like the 'Game Of Life', but builds crazy mazes"
605 "Magic Wall: Changes rocks, emeralds and diamonds when they pass it"
609 "Magic Wall (BD style): Changes rocks and BD style diamonds"
613 "Exit door: Opens if you have enough emeralds to finish the level"
617 "Open exit door: Enter here to leave the level and exit the actual game"
621 "Sokoban element: Object which must be pushed to an empty field"
624 "sokoban_field_empty",
625 "Sokoban element: Empty field where a Sokoban object can be placed on"
628 "sokoban_field_full",
629 "Sokoban element: Field with object which can be pushed away"
633 "Speed pill: Lets the player run twice as fast as normally"