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