rnd-20040224-1-src
[rocksndiamonds.git] / ChangeLog
1 2004-02-22
2         * fixed bug with dark yamyam changing to acid when moving over acid
3         * fixed handling of levels with more than 999 seconds level time
4
5 2004-02-21
6         * "spring push bug" reintroduced as configurable element property
7         * fixed bug with missing properties for "mole"
8         * fixed bug that showed up when fixing the above "mole" properties bug
9         * added option "can move into acid" for all movable elements
10         * fixed graphical bug for elements moving into acid
11         * changed event handling to handle all pending events before going on
12
13 2004-02-17
14         * fixed bug which caused all CE change pages to be ignored which had
15           the same change event, but used a different element side
16           (reported by Simon Forsberg)
17
18         * fixed bug which caused elements that can move and fall and that are
19           transported by a conveyor belt to continue moving into that direction
20           after leaving the conveyor belt, regardless of their own movement
21           type; only elements which can not move are transported now
22           (reported by Simon Forsberg)
23
24         * fixed bug which could cause an array overflow in RelocatePlayer()
25           (reported by Niko Böhm)
26
27         * changed Emerald Mine style "passable / over" elements to "protected"
28           (fixing unsolvable level 10 of "Bondmine 9" with bug beside gate)
29
30         * added new option to select from which side a "walkable/passable"
31           element can be entered
32
33 2004-02-16
34         * added explosion and ignition delay for elements that can explode
35
36 2004-02-05
37         * fixed bug which caused player not being protected against enemies
38           when a CE was "walkable / inside" and was not "indestructible"
39         * added "walkable/passable" fields to be "protected/unprotected"
40           against enemies, even if not accessible "inside" but "over/under"
41
42 2004-02-04
43         * corrected move pattern to 32 bit and initial move direction to 8 bit
44
45 2004-02-03
46         * added second custom element base configuration page
47
48 2004-02-02
49         * added some special EMC mappings to Emerald Mine level loader
50           (also covering previously unknown element in level 0 of "Bondmine 8")
51
52 2004-01-30
53         * added option to block last field when player is moving (for Supaplex)
54         * adjusted push delay of Supaplex elements
55         * removed delays for envelopes etc. when replaying with maximum speed
56         * fixed bug when dropping element on a field that just changed to empty
57
58 2004-01-29
59         * fixed bug: infotrons can now smash yellow disks
60         * fixed bug: when gravity active, port above player can now be entered
61         * removed "one white dot" mouse pointer which irritated some people
62
63 2004-01-26
64         * added "choice type" for group element selection
65
66 2004-01-25
67         * fixed bug with initial invulnerability of non-yellow player
68
69 2004-01-23
70         * added level loader for loading native Supaplex packed levels
71           (including multi-part levels like the "splvls99" levels)
72
73 2004-01-19
74         * fixed bug which allowed creating emeralds by escaping explosions
75
76 2004-01-18
77         * custom elements can change (limited) or leave (unlimited) elements
78         * finally added multiple matches using group elements
79         * added shortcut to dump brush (type ":DB" in editor) for use in forum
80
81 2004-01-17
82         * added new start movement type "previous" for continued CE movement
83         * added new start movement type "random" for random CE movement start
84
85 2004-01-17
86         * added new element "sokoban_field_player" needed for Sokoban levels
87           (thanks to Ed Booker for pointing this out!)
88
89 2004-01-15
90         * added elements that can be digged or left behind by custom elements
91
92 2004-01-12
93         * added group elements for multiple matches and random element creation
94
95 2004-01-11
96         * fixed some graphical errors displayed in old levels
97
98 2004-01-10
99         * fixed wrong double speed movement after passing closing gates
100
101 2004-01-03
102         * added level loader for loading native Emerald Mine levels
103
104 2004-01-02
105         * changes for "shooting" style CE movement
106
107 2004-01-01
108         * Happy New Year! ;-)
109
110 2003-12-27
111         * changed default snap/drop keys from left/right Shift to Control keys
112
113 2003-12-27
114         * fixed bug with dead player getting reanimated from custom element
115
116 2003-12-14
117         * fixed bug with wrong penguin graphics (when entering exit)
118
119 2003-12-14
120         * fixed bug with wrong "Murphy" graphics (when digging etc.)
121
122 2003-12-14
123         * Version number set to 3.0.9.
124
125 2003-12-14
126         * Version 3.0.8 released.
127
128 2003-12-13
129         * added function checked_free()
130
131 2003-12-13
132         * fixed bug with double nut cracking sound
133           (by eliminating "default element action sound" assignment in init.c)
134
135 2003-12-10
136         * fixed crash when no music info files are available
137
138 2003-12-07
139         * fixed boring and sleeping sounds
140
141 2003-12-05
142         * added "maze runner" and "maze hunter" movement types
143         * added extended collision conditions for custom elements
144
145 2003-12-03
146         * added warnings for undefined token values in artwork config files
147
148 2003-12-02
149         * added menu entry for level set information to the info screen
150
151 2003-12-02
152         * fixed bug with wrong default impact sound for colored emeralds
153
154 2003-11-30
155         * added several sub-screens for the info screen
156         * menu text now also clickable (not only blue/red sphere left of it)
157
158 2003-11-25
159         * added configurable "bored" and "sleeping" animations for the player
160         * added "awakening" sound for player when waking up after sleeping
161
162 2003-11-22
163         * added "copy" and "exchange" functions for custom elements to editor
164
165 2003-11-21
166         * added configurable element animations for info screen
167
168 2003-11-20
169         * added configurable music credits for info screen
170
171 2003-11-19
172         * finally fixed tape recording when player is created from CE change
173
174 2003-11-18
175         * added "editorsetup.conf" for editor element list configuration
176
177 2003-11-16
178         * added "musicinfo.conf" for menu and level music configuration
179
180 2003-11-14
181         * fixed a very nasty bug in dragon turning code in TurnRoundExt()
182           (that only showed up on Linux, but not on Windows systems)
183
184 2003-11-13
185         * fixed turning movement of butterflies and fireflies (no frame reset)
186         * enhanced sniksnak turning movement (two steps instead of only one)
187
188 2003-11-10
189         * Version number set to 3.0.8.
190
191 2003-11-10
192         * Version 3.0.7 released.
193
194 2003-11-09
195         * fixed reset of player animation frame when, for example,
196           walking, digging or collecting share the same animation
197         * fixed CE with "deadly when touching" exploding when touching amoeba
198
199 2003-11-08
200         * fixed tape recording when player is created from CE element change
201
202 2003-11-04
203         * introduced "turning..." action graphic for elements with move delay
204           (non-CE: bug, spaceship, sniksnak, mole, pacman, yamyam)
205         * added turning animations for bug, spaceship and sniksnak
206
207 2003-11-03
208         * prevent "extended" changed elements from delay change in same frame
209
210 2003-11-02
211         * fixed bug when pushing element that can move away to the side
212           (like pushing falling elements, but now with moving elements)
213
214 2003-11-01
215         * finally fixed serious bug in code for delayed element pushing (again)
216
217 2003-10-19
218         * unavailable setup options now marked as "n/a" instead of "off"
219         * new boolean directive "latest_engine" for "levelinfo.conf": when set
220           to "true", levels are always played with the latest game engine,
221           which is desired for levels that are imported from other games; all
222           other levels are played with the engine version stored in level file
223           (which is normally the engine version the level was created with)
224
225 2003-10-18
226         * fixed serious bug in code for delayed element pushing
227         * fixed little bug in animation frame selection for pushed elements
228         * speed-up of reading config file for verbose output
229
230 2003-10-08
231         * added configuration option for opening and closing Supaplex exit
232         * added configuration option for moving up/down animation for Murphy
233         * fixed incorrectly displayed animation for attacking dragon
234         * fixed bug with not setting initial gravity for each new game
235         * fixed bug with teleportation of player by custom element change
236         * fixed bug with player not getting smashed by rock sometimes
237
238 2003-10-06
239         * Version number set to 3.0.7.
240
241 2003-10-06
242         * Version 3.0.6 released.
243
244 2003-10-05
245         * added support for MP3 music for SDL version through SMPEG library
246
247 2003-10-03
248         * fixed bug when initializing font graphic structure
249         * fixed bug with animation mode "pingpong" when using only 1 frame
250         * fixed bug with extended change target introduced in 3.0.5
251         * fixed bug where passing over moving element doubles player speed
252         * fixed bug with elements continuing to move into push direction
253         * fixed bug with duplicated player when dropping bomb with shield on
254         * added "switching" event for custom elements ("pressing" only once)
255         * fixed switching bug (resetting flag when not switching but not idle)
256
257 2003-09-29
258         * fixed element tokens for certain file elements with ".active" etc.
259
260 2003-09-29
261         * Version number set to 3.0.6.
262
263 2003-09-29
264         * Version 3.0.5 released.
265
266 2003-09-28
267         * now four envelope elements available
268         * font, background, animation and sound for envelope now configurable
269         * main menu doors opening/closing animation type now configurable
270
271 2003-09-27
272         * active/inactive sides configurable for custom element changes
273         * new movement type "move when pushed" available for custom elements
274
275 2003-09-20
276         * fixed bug in multiple config pages loader code that caused crashes
277
278 2003-09-13
279         * enhanced (remaining low-resolution) Supaplex graphics
280
281 2003-09-13
282         * Version number set to 3.0.5.
283
284 2003-09-13
285         * Version 3.0.4 released.
286
287 2003-09-12      src/tools.c
288         * fixed bug in custom definition of crumbled element graphics
289
290 2003-09-11      src/files.c
291         * fixed bug in multiple config pages code that caused crashes
292
293 2003-09-08
294         * Version number set to 3.0.4.
295
296 2003-09-08
297         * Version 3.0.3 released.
298
299 2003-09-07
300         * added music to Supaplex classic level set
301
302 2003-09-07      src/libgame/misc.c
303         * added support for loading various music formats through SDL_mixer
304
305 2003-09-06      (various source files)
306         * fixed several nasty bugs that may have caused crashes on some systems
307         * added envelope content which gets displayed when collecting envelope
308         * added multiple change event pages for custom elements
309
310 2003-08-24      src/game.c
311         * fixed problem with player animation when snapping and moving
312
313 2003-08-23      src/screens.c, src/cartoons.c, src/libgame/toons.c
314         * fixed problem with flickering when drawing toon animations
315
316 2003-08-23      src/libgame/sdl.c
317         * fixed problem with setting mouse cursor in SDL version in fullscreen
318
319 2003-08-23      src/game.c
320         * fixed bug (missing array boundary check) which could crash the game
321
322 2003-08-23
323         * Version number set to 3.0.3.
324
325 2003-08-22
326         * Version 3.0.2 released.
327
328 2003-08-21      src/game.c
329         * fixed bug with creating inaccessible elements at player position
330
331 2003-08-20      src/init.c
332         * fixed bug with not finding current level artwork directory
333
334 2003-08-20      src/files.c
335         * fixed bug with choosing wrong engine version when playing tapes
336         * fixed bug with messing up custom element properties in 3.0.0 levels
337
338 2003-08-18
339         * Version number set to 3.0.2.
340
341 2003-08-18
342         * Version 3.0.1 released.
343
344 2003-08-17      (no source files affected)
345         * changed all "classic" PCX image files with 16 colors or less to
346           256 color (8 bit) storage format, because the Allegro game library
347           cannot handle PCX files with less than 256 colors (contributed
348           graphics are not affected and might look wrong in the DOS version)
349
350 2003-08-16      src/init.c
351         * fixed bug which (for example) crashed the level editor when defining
352           "dynamite.EDITOR:  [NONE]", because graphics may not be undefined
353           (only set to default) -- invalid graphics now set to default graphic
354
355 2003-08-16      src/init.c
356         * fixed graphical bug of player digging/collecting/snapping element
357           when no corresponding graphic/animation is defined for this action,
358           resulting in player being drawn as EL_EMPTY (which should only be
359           done to elements being collected, but not to the player)
360
361 2003-08-16      src/game.c
362         * fixed small graphical bug of player not totally moving into exit
363
364 2003-08-16      src/libgame/setup.c
365         * fixed bug with wrong MS-DOS 8.3 filename conversion
366
367 2003-08-16      src/tools.c
368         * fixed bug with invisible mouse cursor when pressing ESC while playing
369
370 2003-08-16      (various source files)
371         * added another 128 custom elements (disabled in editor by default)
372
373 2003-08-16      src/editor.c
374         * fixed NULL string bug causing Solaris to crash in sprintf()
375
376 2003-08-16      src/screen.c
377         * fixed drawing over scrollbar on level selection with custom fonts
378
379 2003-08-15      src/game.c
380         * cleanup of simple sounds / loop sounds / music settings
381
382 2003-08-08      (various source files)
383         * added custom element property for dropping collected elements
384
385 2003-08-08      src/conf_gfx.c
386         * fixed bug with missing graphic for active red disk bomb
387
388 2003-08-07      src/files.c, src/editor.c src/game.c, src/main.h
389         * Extended variable "level.gravity" to "level.initial_gravity" and
390           "game.current_gravity" to prevent level setting from being changed
391           by playing the level (keeping the runtime value after playing).
392
393         * Fixed graphics bug when digging element that has 'crumbled' graphic
394           definition, but not 'diggable' graphic definition.
395
396 2003-08-06
397         * Version number set to 3.0.1.
398
399 2003-08-05
400         * Version 3.0.0 released.
401
402 2003-08-05
403         * various bug fixes; among others:
404           - fixed bug with pushing spring over empty space
405           - fixed bug with leaving tube while placing dynamite
406           - fixed bug with explosion of smashed penguins
407           - allow Murphy player graphic in levels with non-Supaplex elements
408
409 2003-04-07
410         * Various changes.
411         * I have forgotten to document changes for some time.
412
413 2002-12-31
414         * Pre-Release Version 2.2.0rc1 released.
415
416 2002-08-25
417         * Version number set to 2.1.2.
418
419 2002-08-13
420         * Version 2.1.1 released.
421
422 2002-08-10
423         * Version number set to 2.1.1.
424
425 2002-08-05
426         * Version 2.1.0 released.
427         
428 2002-05-19
429         * Version number set to 2.1.0.
430
431 2002-04-03 to 2002-05-19        (various source files)
432         * graphics, sounds and music now fully configurable
433         * bug fixed that prevented walking through tubes when gravity on
434
435 2002-04-02      src/events.c, src/editor.c
436         * Make Escape key less aggressive when playing or when editing level.
437           This can be configured as an option in the setup menu. (Default is
438           "less aggressive" which means "ask user if something can be lost"
439           when pressing the Escape key.)
440
441 2002-04-02      src/screen.c
442         * Added "graphics setup" screen.
443
444 2002-04-01      src/screen.c
445         * Changed "choose level" setup screen stuff to be more generic (to
446           make it easier to add more "choose from generic tree" setup screens).
447
448 2002-04-01      src/config.c, src/timestamp.h
449         * Added source files "src/config.[ch]" and "src/timestamp.h" (which
450           automatically gets created by "src/Makefile" and contains an actual
451           compile-time timestamp to identify development versions of the game).
452
453 2002-03-31      src/tape.c, src/events.c
454         * Added quick game/tape save/load functions to tape stuff which can be
455           invoked by a keyboard shortcut. Default: "F1" saves game/tape, "F2"
456           loads previously recorded tape and directly goes into recording mode
457           from the end of the tape (therefore appending to the tape).
458
459 2002-03-31      src/tape.c
460         * Added "index mark" function to tape recorder. When playing or
461           recording, "eject" button changes to "index" button. Setting index
462           mark is not yet implemented, but pressing index button when playing
463           allows very quick advancing to end of tape (when normal playing),
464           very fast forward mode (when playing with normal fast forward) or
465           very fast reaching of "pause before end of tape" (when playing with
466           "pause before end" playing mode).
467
468 2002-03-30      src/cartoons.c
469         * Moved some stuff from cartoons.c to the new "src/libgame/toons.c".
470
471 2002-03-29      src/screen.c
472         * Changed setup screen stuff to be more generic (to make it easier
473           to add more setup screens).
474
475 2002-03-23      src/main.c, src/main.h
476         * Various changes due to the introduction of the new libgame files
477           "setup.c" and "joystick.c".
478
479 2002-03-23      src/files.c
480         * Generic parts of "src/files.c" (mainly setup and level directory
481           stuff) moved to new libgame file "src/libgame/setup.c".
482
483 2002-03-23      src/joystick.c
484         * File "src/joystick.c" moved to libgame source tree, with
485           correspondig changes.
486
487 2002-03-22      src/screens.c
488         * "HandleChooseLevel()": Another bug in level series navigation fixed.
489           (Wrong level series information displayed when entering main group.)
490
491 2002-03-22      src/editor.c
492         * Slight change to support new gadget event "GD_EVENT_INFO_LEAVING".
493
494 2002-03-22      src/editor.c
495         * Changed behaviour of "Escape" key in level editor to be more
496           intuitive: When in "Element Properties" or "Level Info" mode,
497           return to "Drawing Mode" instead of leaving the level editor.
498
499 2002-03-21      src/game.c, src/editor.c, src/files.c
500         * 2.0.1 introduced the corrected "Emerald Mine" style behaviour of
501           gems (emeralds, diamonds, ...) slipping down from normal wall,
502           steel wall and growing wall (as in E.M.C. style levels). Although
503           the behaviour of contributed and private levels wasn't changed (due
504           to the use of "level.game_version"; see previous entry), editing
505           those levels will (of course) change the behaviour accordingly.
506
507           This change seems a bit too hard after thinking about it, because
508           the EM style behaviour is not the "expected" behaviour (gems would
509           normally only slip down from "rounded" walls). Therefore this was
510           now changed to an element property for gem style elements, with the
511           default setting "off" (which means: no special EM style behaviour).
512           To fix older converted levels, this flag is set to "on" for pre-2.0
513           levels that are neither contributed nor private levels.
514
515 2002-03-20      src/files.h
516         * Corrected settings for "level.game_version" depending of level type.
517           (Contributed and private levels always get played with game engine
518           version they were created with, while converted levels always get
519           played with the most recent version of the game engine, to let new
520           corrections of the emulation behaviour take effect.)
521
522 2002-03-20      src/main.h
523         * Added "#include <time.h>". This seems to be needed by "tape.c" for
524           compiling the SDL version on some systems.
525           Thanks to the several people who pointed this out.
526
527 2002-03-19
528         * Version number set to 2.0.2.
529
530 2002-03-19
531         * Version 2.0.1 released.
532
533 2002-03-18      src/screens.c
534         * "HandleChooseLevel()": Small bug in level series navigation fixed.
535
536 2002-03-18      src/files.c [src/libgame/misc.c]
537         * Moved some common functions from src/files.c to src/libgame/misc.c.
538
539 2002-03-18      src/files.c [src/libgame/misc.c]
540         * Changed permissions for new directories and saved files (especially
541           score files) according to suggestions of Debian users and mantainers.
542           Thanks to Drew Parsons <dparsons@emerall.com> for the patch.
543
544 2002-03-17      src/files.c
545         * Changed "{Load|Save}{Level|Tape}()" to IFF style file format:
546           Replaced "cookie" header string ("ROCKSNDIAMONDS_...\n") with
547           real IFF style header "RND1....XXXX" (where "XXXX" is "CAVE"
548           for levels and "TAPE" for tapes). Old "cookie" style format is
549           still supported for reading. New level and tape files are written
550           in new format.
551
552         * New IFF chunk "VERS" contains version numbers for file and game
553           (where "game version" is the version of the program that wrote the
554           file, and "file version" is a version number to distinguish files
555           with different format, for example after adding new features).
556
557 2002-03-15      src/screen.c
558         * "DrawHallOfFame()": "FadeSounds()" when entering the hall of fame.
559           (Before, you heard a mixture of the in-game music and the
560           hall-of-fame music.)
561
562 2002-03-14      src/events.c
563         * Function "DumpTape()" (files.c) now available by pressing 't' from
564           main menu (when in DEBUG mode).
565
566 2002-03-14      src/game.c
567         * "GameWon()": When game was won playing a tape, now there is no delay
568           raising the score and no corresponding sound is played.
569
570 2002-03-14      src/files.c
571         * Changed "LoadTape()" for real chunk support and also adjusted
572           "SaveTape()" accordingly.
573
574 2002-03-14      src/game.c, src/tape.c, src/files.c
575         * Important changes to tape format: The old tape format stored all
576           actions with a real effect with a corresponding delay between the
577           stored actions. This had some major disadvantages (for example,
578           push delays had to be ignored, pressing a button for some seconds
579           mutated to several single button presses because of the non-action
580           delays between two action frames etc.). The new tape format just
581           stupidly records all device actions and replays them later. I really
582           don't know why I haven't solved it that way before?! Old-style tapes
583           (with tape file version less than 2.0) get converted to the new
584           format on-the-fly when loading and can therefore still be played;
585           only some minor parts of the old-style tape handling code was needed.
586           (A perfect conversion is not possible, because there is information
587           missing about the device actions between two action frames.)
588
589 2002-03-14      src/files.c
590         * New function "DumpTape()" to dump the contents of the current tape
591           in a human readable format.
592
593 2002-03-14      src/game.c
594         * Small tape bug fixed: When automatically advancing to next level
595           after a game was won, the tape from the previous level still was
596           loaded as a tape for the new level.
597
598 2002-03-14      src/tape.c
599         * Small graphical bug fixed: When pressing ""Record" or "Play" on
600           tape, cartoons did not get completely removed because
601           StopAnimation() was not called.
602
603 2002-03-13      src/files.c
604         * Changed "LoadLevel()" and "SaveLevel()" to add new chunk "CNT2".
605           Fixed bug of "CONT" and "BODY" (chunk size was set to 8-bit element
606           size even when using 16-bit elements). Added new chunk "CNT2" for
607           16-bit amoeba content (previously written in 8-bit field in "HEAD"
608           chunk even when content was 16-bit element). "CNT2" should now be
609           able to store content for arbitrary elements (up to eight blocks of
610           3 x 3 element arrays). All "CNT2" elements will always be stored as
611           16-bit elements. "CONT" (with 8/16-bit elements) now obsolete.
612
613 2002-03-13      src/files.c
614         * Changed "LoadLevel()" for real chunk support.
615
616 2002-03-12      src/game.c
617         * Fixed problem (introduced after 2.0.0 release) with penguins
618           not getting killed by enemies
619
620 2002-02-24      src/game.c, src/main.h
621         * Added "player->is_moving"; now "player->last_move_dir" does
622           not contain any information if the player is just moving at
623           the moment or not.
624           Before, "player->last_move_dir" was misused for this purpose
625           for  the robot stuff (robots don't kill players when they are
626           moving). But setting "player->last_move_dir" to MV_NO_MOVING
627           broke tapes when walking through pipes!
628           ("IS_MOVING()" uses "MovPos[][]", but this fails when it is 0
629           in a continuous movement. This fact is ignored for friends and
630           enemies, though.)