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