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