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