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