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