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