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