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