rnd-20140301-1-src
[rocksndiamonds.git] / ChangeLog
1 2014-03-01
2         * added ultra-generic, ultra-flexible request door animation handling
3
4 2014-02-18
5         * fixed major bugs in handling single-player and multi-player tapes
6           (for details, see http://www.artsoft.org/forum/viewtopic.php?t=2086)
7
8 2014-02-13
9         * fixed various problems with playfield and requester/tape/editor doors
10           defined to be at non-standard screen positions in artwork config file
11
12 2014-01-28
13         * added envelope style requester dialog (alternative to door requester)
14
15 2014-01-27
16         * fixed problems with window scaling and updating related setup value
17         * added setup option to select anti-aliasing quality of scaled windows
18
19 2014-01-17
20         * improved speed of displaying progress when loading levels and artwork
21         * changed fullscreen and window scaling changes in setup menu to have
22           immediate effect (instead of being effective after leaving setup menu)
23
24 2014-01-15
25         * fixed toons stopping on continuous touch events on Mac OS X
26
27 2014-01-14
28         * fixed bug when displaying game envelope with even sized playfield
29         * added graphic configuration options for request (dialog) buttons
30
31 2014-01-13
32         * fixed some redraw bugs with window scaling under Mac OS X
33
34 2014-01-10
35         * fixed problems with window scaling and updating related setup value
36
37 2014-01-07
38         * fixed problems related to fullscreen switching and window scaling
39
40 2014-01-06
41         * fixed inconsistent custom artwork contant numbering in src/main.h,
42           src/screen.c and src/conf_gfx.c (this really should be cleaned up)
43           (this bug caused custom artwork definition to set wrong variable)
44
45 2014-01-05
46         * fixed using fullscreen mode on Android instead of pseudo-window mode
47         * fixed keeping desktop fullscreen mode when changing viewport size
48
49 2014-01-04
50         * fixed remaining text input problems for non-ASCII keys with modifier
51         * added window scaling options to graphics setup menu
52
53 2014-01-03
54         * fixed key code problems with certain keys for SDL2
55           (keypad keys not being in numerical order; number of function keys)
56         * fixed text input problems for text characters using modifier keys
57
58 2014-01-02
59         * fixed fullscreen option for SDL2 (using only desktop fullscreen now)
60
61 2013-12-28
62         * fixed graphical bugs when using renderer/texture based graphics
63
64 2013-12-23
65         * fixed playing certain sounds (menu navigation sound and counting
66           score sound after solving a level) when "normal sounds" are disabled
67
68 2013-12-16
69         * continued porting Rocks'n'Diamonds to Android (levels now playable)
70
71 2013-12-12
72         * added SDL2 renderer/texture based graphics frame handling to allow for
73           "desktop" style fullscreen mode and scaling of game screen/window
74
75 2013-12-11
76         * removed limitation of artwork files to selected file types (this means
77           that every file type supported by SDL_image and SDL_mixer can be used)
78         * changed default graphics vom PCX to PNG (needed for Android version to
79           prevent painfully slow loading of images, although not compressing PCX
80           files in the assets directory of the APK package might also work fine)
81         * fixed bug with SDL_BlitSurface creating garbage when source and target
82           surface are the same (this bug also existed in versions of SDL 1.2.x)
83
84 2013-12-07
85         * started porting Rocks'n'Diamonds to Android (already shows main menu)
86
87 2013-12-03
88         * ported Rocks'n'Diamonds to SDL2 (first simple version that works)
89
90 2013-12-01
91         * version number set to 3.3.1.3
92
93 2013-11-24
94         * version 3.3.1.2 released
95
96 2013-11-20
97         * improved error handling: display error message on screen (not only in
98           the error file or on the console), and display path of the error file
99
100 2013-11-13
101         * fixed problem with R'n'D restarting with same level set that may have
102           caused a problem (and therefore failing again and again); after an
103           error, the last level set is now deactivated in file "levelsetup.conf"
104           to restart with default level set (which should work without error)
105
106 2013-11-07
107         * fixed determining main game data directory on Mac OS X "Mavericks"
108
109 2013-11-04
110         * version number set to 3.3.1.2
111
112 2013-11-04
113         * version 3.3.1.1 released
114
115 2013-11-03
116         * added scripts directory to distribution package to enable building
117           element definitions after editing artwork config source code files
118
119 2013-10-26
120         * added volume controls for sounds, loops and music to sound setup
121
122 2013-10-24
123         * version number set to 3.3.1.1
124
125 2013-10-23
126         * version 3.3.1.0 released
127
128 2013-10-21
129         * version number set to 3.3.1.0
130
131 2012-10-13
132         * fixed display of level time switching from ascending to descending
133           when making use of the "time orb bug" (see element setting in editor)
134           (see level 053 of set "rnd_equinox_tetrachloride_ii" for an example)
135         * fixed graphics performance problems (especially on Mac OS X) by using
136           whole-playfield redraw on SDL target, while still using the previous
137           single-tile redraw method on X11 target (using redraw tiles threshold)
138
139 2011-10-07
140         * fixed code (esp. random/tape handling) when compiled on 64-bit systems
141           (by replacing all "long" types by "int" types)
142
143 2010-11-19
144         * fixed nasty bug (affecting crumbled graphics) after adding new special
145           graphics suffix ".TAPE" (and messing some things up in src/main.c)
146
147 2010-08-04
148         * fixed wrong argument order in DrawTextBuffer() in gadgets.c
149           (this caused fonts in envelope config in level editor being invisible)
150
151 2010-07-19
152         * fixed some problems with half tile size and even tile sized playfields
153
154 2010-07-12
155         * added level selection screen (when clicking on main menu level number)
156         * added level tracing (played, solved) for use in level selection screen
157           (to display already played or solved levels in different font color)
158
159 2010-06-24
160         * added alternative game mode for playing with half size playfield tiles
161         * fixed another memory violation bug in the native Supaplex game engine
162           (this potential memory bug was also in the original Megaplex code, but
163           apparently only occured under rare conditions triggered by using the
164           additional added preceding playfield memory area to make a few strange
165           levels using dirty off-playfield tricks (bugs) like "12s033.sp" also
166           solvable (this all worked fine in the classic DOS version, of course))
167
168 2010-06-23
169         * added graphics performance optimization to native Supaplex game engine
170         * fixed bug with accidentally removing preceding buffer in SP engine
171         * moved some editor graphics from "RocksDoor.pcx" to "RocksMore.pcx"
172           (to prevent compatibility mapping of these newer graphics to older
173           (custom) versions of "RocksDoor.pcx" which did not contain them yet)
174
175 2010-06-18
176         * added separately configurable game panel background to graphics config
177         * fixed displaying Supaplex time (now based on 35 fps instead of 50 fps)
178
179 2010-06-16
180         * added tape panel graphics and screen positions to graphics config
181
182 2010-06-15
183         * added compatibility stuff for redefined "global.door" (which affects
184           all parts of that image that have their own graphics definition now)
185
186 2010-06-14
187         * added sound button graphics to graphics config
188
189 2010-06-13
190         * added tape button graphics and screen positions to graphics config
191
192 2010-06-09
193         * improved single step mode in R'n'D, EM and SP engines
194
195 2010-06-08
196         * version number set to 3.3.0.2
197
198 2010-06-08
199         * version 3.3.0.1 released
200
201 2010-06-08
202         * added configurable key shortcuts for snap+direction player actions
203           (probably most useful for recording tool-assisted speedrun (TAS)
204           tapes using the single-step mode of the tape recorder)
205
206 2010-05-28
207         * version number set to 3.3.0.1
208
209 2010-05-25
210         * version 3.3.0.0 released
211
212 2010-05-22
213         * fixed missing memory allocation in SP engine when saving engine data
214           for non-SP game engine snapshots (which also stores SP engine part)
215
216 2010-05-21
217         * fixed problem with scrolling in native EM engine in multi-user mode
218           (this bug was just introduced with the experimental viewport stuff)
219         * fixed animation of splashing acid in EM engine with classic artwork
220         * fixed animation of cracking nut in EM engine with classic artwork
221         * fixed (implemented) single step mode in native EM and SP engines
222         * fixed "latest_engine" flag in classic levels (moved to single sets)
223         * updated SDL library DLLs for Windows to the latest release versions
224           (this fixed some mysterious crashes of the game on Windows systems)
225         * replaced EM and SP set in classic level set with native level files
226         * finally added a newly written "CREDITS" file to the game package
227         * removed sampled music loops from classic music set
228
229 2010-04-20
230         * changed native Emerald Mine engine to support different viewport sizes
231
232 2010-04-19
233         * changed native Supaplex engine to support different viewport sizes
234
235 2010-04-07
236         * added initial, experimental support for different viewport properties
237           (with "viewports" being menu/playfield area and doors; currently the
238           size of the menu/playfield area and door positions can be redefined)
239
240 2010-04-02
241         * added initial, experimental support for different window sizes
242
243 2010-03-27
244         * added support for native Sokoban solution files in pure 'udlrUDLR'
245           format with extension ".sln" instead of ".tape" for solution tapes
246
247 2010-03-26
248         * added image config suffix ".class" to be able to define classes of
249           crumbled elements which are then separated against each others when
250           drawing crumbled borders (class names can freely be defined)
251           (Example: "sand.CRUMBLED.class: sand" and "emc_grass.CRUMBLED.class:
252           emc_grass" results in sand and emc_grass being crumbled separately,
253           even if directly adjacent on the playfield.)
254         * added image config suffix ".style" to use two new features for
255           crumbled graphics:
256           - "accurate_borders": try to draw correctly crumbled corners (which
257             means that a row of crumbled elements does not have two crumbled
258             corners for each element in the row, but only at the "real" corners
259             at the start and the end of the row of elements)
260           - "inner_corners": also draw inner corners in concave constructions
261             of several crumbled elements -- this is currently a big kludge: the
262             number of frames for crumbled graphic must be "2", with the first
263             frame as usual (crumbled graphic), while the second frame contains
264             the graphic with inner (crumbled) corners for the crumbled graphic
265           (These two features are mainly intended for bevelled walls, not for
266           diggable elements like sand; "inner_corners" only works reliably for
267           static walls, not for in-game dynamically changing walls using CEs.)
268
269 2010-03-16
270         * finished code cleanup of native Supaplex game engine
271
272 2010-03-14
273         * started code cleanup of native Supaplex game engine
274
275 2010-03-13
276         * integrated playing sound effects into native Supaplex game engine
277
278 2010-03-10
279         * added configurable key shortcuts for the tape recorder buttons
280
281 2010-03-09
282         * added (hidden) function to save native Supaplex levels with tape as
283           native *.sp file containing level with demo (saved with a file name
284           similar to native R'n'D levels, but with ".sp" extension instead of
285           ".level"); to use this functionality, enter ":save-native-level" or
286           ":snl" from the main menu with the native Supaplex level loaded and
287           the appropriate tape loaded to the tape recorder
288         * fixed potential crash bug caused by illegal array access in engine
289           snapshot loading and saving code
290         * changed setting permissions of score files to be world-writable if
291           the program is not installed and running setgid to allow the program
292           to modify existing score files when run as a different user (which
293           allows cheating, of course, as the score files are not protected
294           against modification in this case)
295         * added (commented out) suggestions for RO_GAME_DIR and RW_GAME_DIR to
296           the top level Makefile for Debian / Ubuntu installations
297         * added saving read-only levels from editor into personal level set
298           (thanks to Bela Lubkin for the above four patches)
299
300 2010-03-03
301         * added updating of game values on the panel to Supaplex game engine
302
303 2010-02-23
304         * finished integrating R'n'D graphics engine into Supaplex game engine
305           (although some animations do not support full customizability yet)
306
307 2010-02-22
308         * done integrating R'n'D graphics engine into file "Infotron.c"
309         * done integrating R'n'D graphics engine into file "OrangeDisk.c"
310
311 2010-02-19
312         * integrated engine snapshot functionality into Supaplex game engine
313
314 2010-02-16
315         * fixed bug in native Supaplex engine that broke several demo solutions
316         * fixed bug with re-initializing already existing elements in function
317           RelocatePlayer() in src/game.c (causing problems with Sokoban fields
318           counted a second time, making the currently playing level unsolvable)
319         * done integrating R'n'D graphics engine into file "SnikSnaks.c"
320         * done integrating R'n'D graphics engine into file "Electrons.c"
321         * done integrating R'n'D graphics engine into file "Zonk.c"
322
323 2010-02-14
324         * done integrating R'n'D graphics engine into file "Murphy.c"
325         * done integrating R'n'D graphics engine into file "BugsTerminals.c"
326
327 2010-02-07
328         * started integrating R'n'D graphics engine into Supaplex game engine
329
330 2010-02-02
331         * added small kludge that allows transparent pushing animation over
332           non-black background (by using "game.use_masked_pushing: true")
333         * added editor flag to Sokoban field/object elements to automatically
334           finish solved Sokoban style levels (even if they contain non-Sokoban
335           elements, which prevents auto-enabling this feature for such levels)
336
337 2010-01-10
338         * added new element "from_level_template" which is replaced by element
339           from level template at same playfield position when loaded (currently
340           not accessible from level editor, but only used for special Sokoban
341           level conversion when using "special_flags: load_xsb_to_ces")
342         * added special behaviour for "special_flags: load_xsb_to_ces": global
343           settings of individual level files are overwritten by template level
344           (except playfield size, level name, level author and template flag)
345
346 2010-01-07
347         * added handling of gravity ports when converting Supaplex style R'n'D
348           levels to native Supaplex levels for playing with Supaplex engine
349
350 2010-01-06
351         * fixed bug in Supaplex engine regarding initial screen scroll position
352
353 2009-12-17
354         * fixed EMC style pushing animations in the R'n'D graphics engine (when
355           using ".2nd_movement_tile" for animations having start and end tile)
356         * for this to work (look) properly for two-tile pushing animations with
357           non-black (i.e. opaque) background, the pushing graphics drawing order
358           was changed to first draw the pushed element, then the player (maybe
359           this should be controlled by an ".anim_mode" flag yet to be added)
360         * two-tile animations for moving or pushing should have 7 frames for
361           normal speed, 15 frames for half speed etc. to display correct frames
362         * two-tile animations are also displayed correctly with different speed
363           settings for the player (for pushing animations) or moving elements
364
365 2009-12-16
366         * added searching for template level (file "template.level") not only
367           inside the level set directory, but also in above level directories;
368           this makes is possible to use the same single template level file
369           (placed in a level group directory) for many level sub-directories
370
371 2009-12-10
372         * fixed bug with steel exit being destructible during opening phase
373         * added token "special_flags" to "levelinfo.conf" (currently with the
374           only recognized value "load_xsb_to_ces", doing the same as the flag
375           "-Dload_xsb_to_ces" on the command line, but as a permanent flag for
376           converting all elements in native (XSB) Sokoban level files to CEs)
377
378 2009-12-08
379         * fixed some problems with Supaplex engine when compiling for Windows
380
381 2009-12-05
382         * added special mode to convert elements of Sokoban XSB levels to CEs
383           by adding "-Dload_xsb_to_ces" to the command line starting the game
384           (also adding a dependency to a template level file "template.level")
385
386 2009-12-01
387         * added reading native Sokoban levels and level packages (XSB files)
388
389 2009-11-25
390         * fixed bugs in (auto)scrolling behaviour when passing ports or when
391           wrapping around the playfield through "holes" in the playfield border
392
393 2009-11-24
394         * changed internal playfield bitmap handling from playfield sized bitmap
395           to screen sized bitmap (visible scrolling area), therefore speeding up
396           graphics operations (by eliminating bitmap updates in invisible areas)
397           and removing playfield size limitations due to increasing bitmap size
398           for larger playfield sizes (while the new implementation always uses
399           a fixed playfield bitmap size for arbitrary internal playfield sizes)
400
401 2009-11-12
402         * fixed bug with single step mode (there were some cases where the game
403           did not automatically return to pause mode, e.g. when trying to push
404           things that cannot be pushed or when trying to run against a wall)
405
406 2009-11-01
407         * added support for loading Supaplex levels in MPX level file format
408
409 2009-10-31
410         * fixed SP engine to set "game over" not before lead out counter done
411
412 2009-10-30
413         * fixed (potential) compile error when using GCC option "-std=gnu99"
414           (thanks to Tom "spot" Callaway)
415
416 2009-10-28
417         * fixed array allocation in native Supaplex engine to correctly handle
418           preceding scratch buffers (needed because of missing border checking)
419         * fixed playfield initialization to correctly add raw header bytes as
420           subsequent scratch buffer (needed because of missing border checking)
421
422 2009-10-24
423         * most important parts of native Supaplex engine integration working:
424           - native Supaplex levels can be played in native Supaplex engine
425           - native Supaplex level/demo files ("*.sp" files) can be re-played
426           - all 111 classic original Supaplex levels automatically solvable
427           - native Supaplex engine can be selected and used from level editor
428           - logic of re-playing Supaplex demos migrated to R'n'D tape logic
429
430 2009-09-25
431         * fixed another translation problem from VisualBasic to C (where "int"
432           should be "short") causing unsolvable demos with bugs and terminals
433           ("bugs" being related to the Supaplex "buggy base" element here ;-) )
434
435 2009-09-23
436         * fixed bug when reading Supaplex single level files (preventing loader
437           from seeking to level position like in Supaplex level package files)
438
439 2009-08-01
440         * first classic Supaplex level running and solved by solution/demo tape
441
442 2009-06-20
443         * started with integration of native Supaplex engine, using source code
444           of Megaplex from Frank Schindler, based on original Supaplex engine
445
446 2009-06-16
447         * version number set to 3.2.6.2
448
449 2009-06-15
450         * version 3.2.6.1 released
451
452 2009-05-31
453         * fixed bug with element_info[e].gfx_element not being initialized in
454           early game stage, causing native graphics in EMC level sets to be
455           mapped completely to EL_EMPTY (causing a blank screen when playing)
456           (this only happened when starting the program with an EMC set with
457           native graphics, but not when switching to such a set at runtime)
458
459 2009-03-30
460         * deactivated blit-to-same-surface workaround again (see 2009-03-24)
461           and using self-compiled, patched SDL.dll that solves this problem
462           (interim solution until release of SDL 1.2.14 that should fix this)
463
464 2009-03-26
465         * extended backwards compatibility mode to allow already fixed bug with
466           change actions (see "2008-02-05") for existing levels (especially the
467           Zelda and Zelda II levels and other cool stuff by Alan Bond like FMV)
468
469 2009-03-24
470         * reactivated workaround to prevent program crashes due to blitting to
471           the same SDL surface that apparently only occurs on Windows systems
472           (this is no final solution; this problem needs further investigation)
473
474 2008-11-05
475         * version number set to 3.2.6.1
476
477 2008-11-04
478         * version 3.2.6.0 released
479
480 2008-10-11
481         * fixed behaviour of player option "no centering when relocating" which
482           was incorrect when disabled and relocation target inside visible area
483           and "no scrolling when relocating" enabled at the same time
484
485 2008-10-06
486         * fixed problems with re-mapping players on playfield to input devices:
487           previously, players found on the level playfield were changed to the
488           players connected to input devices (for example, player 3 in the level
489           was changed to player 1 (using artwork of player 3, to be able to use
490           a player with a different color)); this had the disadvantage that CE
491           conditions using player elements did not work (because the players in
492           the level definition are different to those effectively used in-game);
493           the new system uses the same player elements as defined in the level
494           playfield and re-maps the input devices of connected players to the
495           corresponding player elements when playing the level (in the above
496           example, player 3 now really exists in the game and is moved using the
497           events from input device 1); level tapes still store the events from
498           input devices 1 to 4, which are then re-mapped to players accordingly
499           when re-playing the tape (just as it is done when playing the level)
500
501 2008-09-29
502         * fixed bug with player relocation while the player switches an element
503
504 2008-09-24
505         * fixed bug with EM/DC style exit and EM/DC style steel exit which was
506           not walkable (and did not let the player enter) when in process of
507           opening, but not fully open yet (which can cause the player not being
508           able to enter the exit in EM/DC style levels in time)
509
510 2008-08-02
511         * fixed some bugs regarding the new level/CE random seed reset options
512
513 2008-07-14
514         * moved "level settings" and "editor settings" to two tabbed screens in
515           level editor to gain space for additional level property settings
516         * added level setting to start a level with always the same random seed
517         * added CE action "set random seed" to re-initialize random seed in game
518           (this is the only CE action that gets executed before the CE changes,
519           which is needed to use the newly set random seed during the CE change)
520
521 2008-06-16
522         * fixed redraw problem of special editor door when playing from editor
523
524 2008-06-16
525         * fixed initialization of gfx_element for level sketch image creation
526
527 2008-06-15
528         * added switch for EM style dynamite "[ ] explodes with chain reaction"
529           (with default set to "on" for existing levels, but "off" for all new
530           levels), as EM style dynamite does not chain-explode in original EM
531
532 2008-02-05
533         * added optional initial inventory for players (pre-collected elements)
534         * added change page actions "set player inventory" and "set CE artwork"
535         * added recognition of "player" parameter on change pages when player
536           actions are defined, but no trigger player in corresponding condition
537           (this resulted in actions that only affected the first player before)
538         * fixed bug with change actions being executed for newly created custom
539           elements resulting from custom element changes, when the intention was
540           only to check for change actions for the previous custom element
541
542 2008-02-03
543         * changed design and size of element drawing area in level editor
544         * added "element used as action parameter" to element change actions
545
546 2008-01-27
547         * added possibility to reanimate player immediately after his death
548           (for example, by "change to <player> when explosion of <player>")
549
550 2008-01-25
551         * fixed bug with "gray" white door not being uncovered by magnifier
552         * added score for collecting (any) key to the white key config page
553
554 2008-01-22
555         * added condition "deadly when <getting hit by>" for custom elements
556           that behaves a bit like the existing "deadly when <colliding with>",
557           but with the following differences:
558           - it only kills players or friends when it was moving before it hits
559           - it does not kill players or friends that try to run into it
560
561 2008-01-21
562         * fixed the following change conditions where a player element is used
563           as the "element that is triggering the custom element change":
564           - touching <element>
565           - hitting <element>
566           - explosion of <element>
567           - move of <element>
568           (the last two conditions already worked partially, but only for the
569           first player, and not for the "Murphy" player when using "move of")
570
571 2008-01-20
572         * fixed crash bug caused by accessing invalid element (with value -1)
573           in UpdateGameControlValues()
574         * fixed graphical bug when using two-tile movement animations with EMC
575           game engine without explicitly using native EMC graphics engine
576
577 2007-10-31
578         * fixed bug in new "can dig" feature (see below) so that an unsuccessful
579           try to push something (due to push delay) does not cause a dig action
580
581 2007-10-29
582         * fixed bug with reference elements used as trigger elements on custom
583           element change pages not being recognized
584         * fixed bug with reference elements not being removed from the playfield
585         * added engine functionality that allows custom elements that "can dig"
586           other elements not only to do so when moving by themselves, but also
587           when being pushed by the player (therefore adding the functionality to
588           push one element over another element, replacing it with the new one)
589
590 2007-10-23
591         * added command line function to write level sketch images to directory
592
593 2007-10-20
594         * merged override and auto-override options into new override options
595           with a new data type than can take the values "no", "yes" and "auto"
596
597 2007-10-18
598         * fixed growing steel wall to also leave behind steel wall instead of
599           normal, destructible wall
600         * fixed handling of rocks falling through stacks of quicksand with
601           different speed (before, the rocks just got stuck in the quicksand)
602
603 2007-10-09
604         * fixed nasty bug with auto-override and normal override not working on
605           program startup (especially when current level set has custom artwork)
606
607 2007-10-05
608         * version 3.2.5 released as special edition "R'n'D jue"
609
610 2007-10-05
611         * fixed X11 crash bug when blitting masked title screens over background
612
613 2007-10-04
614         * changed build system to support special editions (like "R'n'D jue")
615         * added (hardcoded) loading graphics for "R'n'D jue" special edition
616         * fixed X11 crash bug when scaling images with width/height less than 32
617
618 2007-09-27
619         * added "background.PLAYING" (only visible as two-pixel border in game)
620         * added default level set for first start of special R'n'D version
621         * changed door animations for editor always behaving like "quick doors"
622
623 2007-09-26
624         * added new custom artwork setup option "auto-override non-CE sets" for
625           automatic artwork override that is only used for level sets without
626           custom element artwork (as it does not make much sense to override
627           any artwork that redefines custom element artwork for sets using CEs)
628         * fixed default artwork for "special" R'n'D versions always using the
629           "classic" artwork as the base if base artwork is not explicitly
630           defined in "levelinfo.conf", regardless of different default artwork
631           used by the special R'n'D version -- this is needed because any such
632           custom artwork is designed using the "classic" artwork definitions as
633           the base (including menu definitions and screen positions etc., which
634           would otherwise be taken from the different special default artwork)
635
636 2007-09-17
637         * fixed drawing of animated "quicksand.filling" and "quicksand.emptying"
638           for both EMC and R'n'D graphics engine (heavy workarounds needed due
639           to massively broken handling of quicksand in R'n'D game engine)
640         * fixed off-limits access to array in DrawLevelFieldCrumbledSandExt()
641         * fixed crash bug (hopefully) when scrolling with cursor keys in editor
642
643 2007-09-16
644         * fixed small bug in toon drawing (introduced when fixing the crash bug)
645
646 2007-09-15
647         * added graphics definition "game.panel.highscore" to display the
648           current levels current high score in the game panel
649
650 2007-09-13
651         * version number set to 3.2.5
652
653 2007-09-13
654         * version 3.2.4 released
655
656 2007-09-13
657         * fixed crash bug in toon drawing functions for large step offset values
658
659 2007-09-12
660         * fixed some problems with displaying game panel when quick-loading tape
661
662 2007-09-07
663         * fixed (experimental only) redrawing of every tile per frame (even if
664           unneeded) for the extended (R'n'D based) EMC graphics engine
665         * added optimization to only calculate element count for panel display
666           if really needed (that is, if element count values defined on panel)
667         * fixed problem with special editor door redraw when entering main menu
668
669 2007-09-03
670         * fixed bug with displaying background for title messages on info screen
671         * some code cleanup for the extended (R'n'D based) EMC graphics engine
672
673 2007-09-01
674         * fixed bug with CE action "move player" always resulting in player 4
675           if there was a CE action with no trigger player (because the player
676           element was calculated by using log_2() from trigger player bits with
677           the value PLAYER_BITS_ANY) -- this is now fixed by also storing the
678           triggering player bit mask and handling all players in "move player"
679         * fixed bug when defined artwork cannot be found for artwork that has
680           default artwork cloned from other artwork (without default filename)
681         * added several fixes to the extended (R'n'D based) EMC graphics engine
682
683 2007-08-26
684         * fixed broken editor copy and paste for custom elements between levels
685
686 2007-08-25
687         * title messages are now also searched in graphics artwork directory;
688           those found in graphics directory have precendence over those found
689           in level directory -- this handles title messages stored in graphics
690           directories as part of the artwork set, just like title images; this
691           makes sense, as corresponding special font definitions for messages
692           are usually defined in the same graphics artwork directory, and also
693           because title images and title messages that are combined in a level
694           set introduction should usually not be separated when the level set
695           is used with a different artwork set (e.g. using "override graphics")
696         * fixed problem with door borders on main screen by first drawing doors
697           and then the corresponding border masks, but not vice versa
698         * fixed problem with artwork config entries using the value "[DEFAULT]";
699           this does not what one might expect, but sets the value to an invalid
700           value -- solution: simply ignore such entries, which results in this
701           value keeping its previous (real) default value (in general, entries
702           that should use their default value should just not be defined here)
703         * fixed problem with wrong fading area size from main menu to setup menu
704
705 2007-08-22
706         * fixed problem with broken crumbled graphics after level set changes
707           when using R'n'D custom artwork with level sets using the EMC engine
708
709 2007-05-07
710         * fixed invisible "joysticks deactivated ..." text on setup input screen
711
712 2007-04-27
713         * added use of hashes created from static lists (element tokens, image
714           config, font tokens) to speed up lookup of configuration parameters
715         * fixed bug where element and graphic config token lookup was mixed up
716
717 2007-04-26
718         * added "busy" animation when initializing program and loading artwork
719         * added initialization profiling for program startup (debugging only)
720
721 2007-04-25
722         * fixed(?) very strange bug apparently triggered by memset() when code
723           was cross-compiled with MinGW cross-compiler for Windows XP platform
724           (this only happened when using SDL.dll also self-compiled with MinGW)
725
726 2007-04-19
727         * added graphics engine directive "border.draw_masked_when_fading" that
728           enables/disables drawing of border mask over screen that is just faded
729
730 2007-04-18
731         * fixed small problem with separate fading definition for game screen
732
733 2007-04-14
734         * added additional configuration directives for setup screen draw offset
735           menu.draw_xoffset.SETUP[XXX] and menu.draw_yoffset.SETUP[XXX] with XXX
736           in GAME, EDITOR, GRAPHICS, SOUND, ARTWORK, INPUT, SHORTCUTS_1,
737           SHORTCUTS_2, CHOOSE_ARTWORK, CHOOSE_OTHER (where "CHOOSE_ARTWORK" is
738           used to define draw offset on custom artwork selection screens and
739           "CHOOSE_OTHER" is used on all other list style selection screens, like
740           choosing game speed or screen mode for fullscreen mode)
741         * added additional configuration directives to define main menu buttons:
742           - menu.button_name    and menu.button_name.active
743           - menu.button_levels  and menu.button_levels.active
744           - menu.button_scores  and menu.button_scores.active
745           - menu.button_editor  and menu.button_editor.active
746           - menu.button_info    and menu.button_info.active
747           - menu.button_game    and menu.button_game.active
748           - menu.button_setup   and menu.button_setup.active
749           - menu.button_quit    and menu.button_quit.active
750         * added eight pure decoration graphic definitions for the game panel
751
752 2007-04-08
753         * added support for accessing native Diamond Caves II level packages
754         * fixed displaying of game panel values for Emerald Mine game engine
755         * fixed displaying end-of-level time and score values on new game panel
756
757 2007-04-07
758         * added game panel control to display arbitrary elements on game panel
759         * added game panel control to display custom element score (globally
760           unique for identical custom elements) either as value or as element
761         * added ".draw_masked" and ".draw_order" to game panel control drawing
762
763 2007-04-05
764         * fixed some general bugs with handling of ".active" elements and fonts
765
766 2007-04-04
767         * cleanup of game panel elements (some elements were not really needed)
768         * added displaying of gravity state (on/off) as new game panel control
769         * added animation for game panel elements (similar to game elements)
770
771 2007-04-03
772         * added new pseudo game mode "PANEL" to define panel fonts and graphics
773           - panel fonts now use ".PANEL" suffix instead of ".PLAYING" suffix
774           - panel graphics now use ".PANEL" suffix instead of ".DOOR" suffix
775           (else graphics would have to use ".PLAYING", which would be confusing)
776         * fixed bug when fading out to game screen with border mask defined
777
778 2007-04-02
779         * added attribute ".tile_size" for element style game panel controls
780
781 2007-04-01
782         * added <space> key as additional valid key to use for confirm requester
783
784 2007-03-31
785         * improved menu fading, adding separate fading definitions for entering
786           and leaving a "content" screen (in general), and optional definitions
787           for the special "content" screens SCORES, EDITOR, INFO and PLAYING
788
789 2007-03-30
790         * added (currently invisible) setup option to define scroll delay value
791         * fixed small bug in priority handling when auto-detecting level start
792           position in levels without player element (but player from CE etc.)
793         * added option "game.forced_scroll_delay_value" to override user choice
794           of scroll delay value for certain level sets with "graphicsinfo.conf"
795         * replaced setup option "scroll delay: on/off" by new setup option that
796           directly allows selecting the desired scroll delay value from 0 to 8
797
798 2007-03-28
799         * added displaying of most game panel control elements (not animated)
800
801 2007-03-26
802         * added new configuration directives to display additional game engine
803           values on the game control panel, like the following examples:
804           - game.panel.time_hh/time_mm/time_ss  - level time in HH/MM/SS format
805           - game.panel.penguins                 - number of penguins to rescue
806           - game.panel.level_name               - level name of current level
807
808 2007-03-24
809         * added support for preview tile sizes "1" and "2" (1x1 and 2x2 pixels)
810
811 2007-03-23
812         * added new player option "no centering when relocating" for "invisible"
813           teleportations to level areas that look exactly the same, giving the
814           illusion that the player did not relocate at all (this was the default
815           since 3.2.3, but caused visual problems with room creation in "Zelda")
816         * added new menu fading effect "melt", shamelessly stolen from "DOOM"
817
818 2007-03-21
819         * improved menu fading, adding separate fading definitions for entering
820           and leaving a menu and for fading between menu and "content" screens
821         * fixed small bug with recognizing also ".font_xyz" style definitions
822
823 2007-03-20
824         * improved menu fading, adding separate fading definitions for fading
825           between menu screens and fading between menu and "destination" screens
826
827 2007-03-19
828         * titlemessage_initial_x and titlemessage_x set to "[DEFAULT]" in static
829           configuration (set from "[titlemessage_initial]" and "[titlemessage]")
830         * fading settings of "[titlemessage_initial]" and "[titlemessage]" set
831           to "[DEFAULT]" in static configuration (set from "[title_initial]" and
832           "[title]")
833         * improved title fading, allowing fading animation types "none", "fade"
834           and "crossfade" (including cross-fading of last title to main menu)
835
836 2007-03-18
837         * added configurability of graphics, sounds and music for title screens,
838           which are separated into initial title screens (only shown once at
839           program startup) and title screens shown for a given level set; these
840           title screens can be composed of up to five title images and up to
841           five title text messages (each drawn using an optional background
842           image), also using background music and/or sounds; aspects like
843           background images, sounds and music of title screens can either be
844           defined generally (valid for all title screens) or specifically (and
845           therefore differently for each title screen) using these directives:
846
847           to define a background image, sound or music file for all screens:
848           - background.TITLE_INITIAL (for all title screens for game startup)
849           - background.TITLE         (for all title screens for level sets)
850
851           to define a background image, sound or music file for a single screen:
852           - background.titlescreen_initial_x  (with x in 1,2,3,4,5)
853           - background.titlescreen_x          (with x in 1,2,3,4,5)
854           - background.titlemessage_initial_x (with x in 1,2,3,4,5)
855           - background.titlemessage_x         (with x in 1,2,3,4,5)
856
857           to define the title screen images:
858           - titlescreen_initial_x             (with x in 1,2,3,4,5)
859           - titlescreen_x                     (with x in 1,2,3,4,5)
860
861           to define the title text messages, place text files into the level set
862           directory that have the following file names:
863           - titlemessage_initial_x.txt        (with x in 1,2,3,4,5)
864           - titlemessage_x.txt                (with x in 1,2,3,4,5)
865
866           to define the properties of the text messages, either use directives
867           that affect all text messages:
868           - [titlemessage_initial].<suffix>
869           - [titlemessage].<suffix>
870           or use directives that affect single text messages:
871           - titlemessage_initial_x.<suffix>   (with x in 1,2,3,4,5)
872           - titlemessage_x.<suffix>           (with x in 1,2,3,4,5)
873
874           valid values for <suffix> are the same as for readme.<suffix> below;
875           use ".sort_priority" (default: 0) to define an arbitrary order for
876           title images and title messages (which can therefore be mixed)
877
878 2007-03-14
879         * added full configurability of "readme.txt" screen appearance:
880           - readme.x:              <left position used with alignment>
881           - readme.y:              <top position>
882           - readme.width:          <maximim text width in pixels>
883           - readme.height:         <maximum text height in pixels>
884           - readme.chars:          <maximum number of chars per line>
885           - readme.lines:          <maximum number of lines displayed>
886           - readme.align:          left,center,right (default: center)
887           - readme.top:            top,middle,bottom (default: top)
888           - readme.font:           font name
889           - readme.autowrap:       true,false (default: true)
890           - readme.centered:       true,false (default: false)
891           - readme.parse_comments: true,false (default: true)
892           - readme.sort_priority:  (not used here, but only for title screens)
893           when "readme.chars" and/or "readme.lines" is set to "-1" (this is the
894           default), they are automatically determined from "readme.width" and
895           "readme.height" accordingly; when they are not "-1", they have
896           precedence over "readme.width" and "readme.height"
897         * added internal ad-hoc config settings for displaying text files like
898           title messages or "readme.txt" style level set info files:
899           - .font:           font name  (default: readme.font)
900           - .autowrap:       true,false (default: readme.autowrap)
901           - .centered:       true,false (default: readme.centered)
902           - .parse_comments: true,false (default: readme.parse_comments)
903           (the leading '.' and the separating ':' are mandatory here); to use
904           these ad-hoc settings, they have to be written inside a comment, like
905           "# .autowrap: false" or "# .centered: true"; these settings then
906           override the above global settings (they can even be used more than
907           once, like "# .centered: true", then some text that should be drawn
908           centered, then "# .centered: false" to go back to non-centered text;
909           important note: after using "# .parse_comments: false", or when using
910           "readme.parse_comments: false", detecting and parsing comments inside
911           the file is disabled and comments are just printed like normal text;
912           also be aware that all automatic text size calculations are done with
913           the font defined in "readme.font", while using different fonts using
914           "# .font: <font>" inside the text file may cause unexpected results
915
916 2007-03-08
917         * changed some numerical limits in the level editor from 255 to 999
918
919 2007-03-07
920         * added option "system.sdl_videodriver" to select SDL video driver
921         * added output of SDL video and audio driver to "version info" page
922
923 2007-03-06
924         * added group element drawing to IntelliDraw drawing functions
925         * fixed animation resetting problem again (last try broke Snake Bite)
926         * fixed diagonal scrolling in screen scrolling (last try broke Pac Man)
927
928 2007-03-01
929         * added new (special) "include: <filename>" directive that works in all
930           configuration files (like "graphicsinfo.conf") and that has the same
931           effect as if that directive would be replaced with the content of the
932           specified file (this can be useful to split large configuration files
933           into several smaller ones and include them from one main file, or to
934           store configuration settings that always stay the same into a separate
935           file, while including it and only add those parts that really change)
936
937 2007-02-24
938         * fixed minor bug (screen redraw of player tiles) in EMC graphics engine
939
940 2007-02-23
941         * fixed bug in "InitMovingField()" where treating an integer array as
942           boolean caused wrong resetting of animations while elements are moving
943         * fixed problem with resetting animations when starting element change
944
945 2007-02-08
946         * added sort priority for order of title screens and title messages
947
948 2007-02-07
949         * changed end of game again: do not wait for the user to press a key
950           anymore, but directly ask/confirm tape saving and go to hall of fame
951         * re-enabled quitting of lost game by pressing space or return again
952         * added blanking of mouse pointer when displaying title screens
953         * added remaining menu draw offset definitions for info sub-screens
954
955 2007-02-05
956         * added setup option to select game speed (from very slow to very fast)
957         * improved handling of title text messages (initial and for level set)
958
959 2007-02-03
960         * added new options "auto-wrap" and "centered" for DC2 style envelopes
961
962 2007-01-31
963         * fixed displaying and typing of player name when it is centered
964         * added special characters to be allowed for player name (not only A-Z)
965
966 2007-01-25
967         * fixed blit in ScrollLevel() to same bitmap to not overlap anymore
968           (newer versions of the SDL library seem to not like this anymore)
969
970 2007-01-23
971         * added code for configuration directives for control of game panel
972
973 2007-01-21
974         * fixed small cosmetical bug with underlining property tabs in editor
975
976 2007-01-20
977         * fixed small drawing bug in X11FadeRectangle
978         * added new elements for newly supported Diamond Caves II levels:
979           - EM/DC style exits that disappear after passing
980           - white key and gate (one white key needed for each white gate)
981           - fake gate (there is no key to open/pass this kind of gate!)
982           - extended magic wall which also handles pearls and crystals
983           - fast quicksand
984
985 2007-01-14
986         * changed maximum value for endless loop detection to a higher value
987           (some levels really used very deep recursion without being endless)
988
989 2007-01-13
990         * added new elements for newly supported Diamond Caves II levels:
991           - growing steel walls
992           - snappable land mine
993
994 2007-01-08
995         * added new elements for newly supported Diamond Caves II levels:
996           - steel text elements
997
998 2007-01-06
999         * added level file loader for native Diamond Caves II levels
1000
1001 2007-01-05
1002         * version number set to 3.2.4
1003
1004 2007-01-05
1005         * version 3.2.3 released
1006
1007 2007-01-04
1008         * fixed malloc/free bug when updating EMC artwork entries in level list
1009         * added workaround (warning and request to quit the current game) when
1010           changing elements cause endless recursion loop (which would otherwise
1011           freeze the game, causing a crash-like program exit on some systems)
1012
1013 2006-12-16
1014         * fixed nasty string overflow bug when entering too long envelope text
1015
1016 2006-12-05
1017         * added feedback sounds for menu navigation "menu.item.activating" and
1018           "menu.item.selecting" (for highlighting and executing menu entries)
1019
1020 2006-12-03
1021         * improved "no scrolling when relocating" to also consider scroll delay
1022           (meaning that the player is not automatically centered in this case;
1023           this makes it possible to "invisibly" relocate the player to a region
1024           of the level playfield which looks the same as the old level region)
1025         * fixed bug with not recognizing "main.input.name.align" when active
1026
1027 2006-12-02
1028         * fixed bug with displaying masked borders over title screens when
1029           screen fading is disabled
1030
1031 2006-11-25
1032         * fixed infinite loop / crash bug when killing the player while having
1033           a CE with the setting "kill player X when explosion of <player X>"
1034         * added special editor graphic for "char_space" to distinguish it from
1035           "empty_space" when editing a level (in-game graphics still the same)
1036
1037 2006-11-21
1038         * fixed nasty bug with initialization only done for the first player
1039
1040 2006-11-19
1041         * small change to handle loading empty element/content list micro chunks
1042
1043 2006-11-03
1044         * uploaded pre-release (test) version 3.2.3-0 binary and source code
1045
1046 2006-11-01
1047         * some optimizations on startup speed by reducing initial text output
1048
1049 2006-10-30
1050         * added caching of custom artwork information for faster startup times
1051
1052 2006-10-29
1053         * fixed graphical bug when using fewer menu entries on level selection
1054           screen than usual (with "menu.list_size.LEVELS" directive)
1055         * fixed crash bug (Windows/SDL only) caused by BlitBitmap blitting from
1056           the backbuffer to the backbuffer by error (with identical rectangle)
1057
1058 2006-10-28
1059         * fixed bug when displaying titlescreen with size less than element tile
1060         * fixed bug that caused elements with "change when digging <e>" event
1061           to change for _every_ digged element, not only those specified in <e>
1062         * fixed bug that caused impact style collision when dropping element one
1063           tile over the player that can both fall down and smash players
1064         * fixed bug that caused impact style collision when element changed to
1065           falling/smashing element over the player immediately after movement
1066
1067 2006-10-24
1068         * fixed bug that allowed making engine snapshots from the level editor
1069
1070 2006-10-22
1071         * fixed bugs with player name and current level positions on main screen
1072
1073 2006-10-20
1074         * added configuration directives for control of title screens:
1075           - "title.fade_delay" for fading time
1076           - "title.post_delay" for pause between screens (when not crossfading)
1077           - "title.auto_delay" to automatically continue after some time
1078           these settings can each be overridden by specifying them with titles:
1079           - "titlescreen_initial_{1-5}.{fade_delay,post_delay,auto_delay}"
1080           - "titlescreen_{1-5}.{fade_delay,post_delay,auto_delay}"
1081           fading mode can also be specified:
1082           - "titlescreen_initial_{1-5}.anim_mode: {fade,crossfade}
1083           - "titlescreen_{1-5}.anim_mode: {fade,crossfade}
1084           default is using normal fading for menues and initial title screens,
1085           while using cross-fading for level set title screens
1086         * fixed bug with background not drawn in Hall of Fame after game was won
1087
1088 2006-10-18
1089         * added configuration directives for the remaining main menu items
1090
1091 2006-10-17
1092         * added additional configuration directives for info screen draw offset:
1093           menu.draw_{x,y}offset.INFO[{ELEMENTS,MUSIC,CREDITS,PROGRAM,LEVELSET}]
1094         * added additional configuration directives for preview info text
1095         * limited mouse wheel sensitive screen area to scrollable screen area
1096
1097 2006-10-16
1098         * added highlighted menu text entries to menu navigation when selected
1099
1100 2006-10-14
1101         * fixed bug that prevented player from correctly being created in the
1102           top left corner by a custom element change in a level without player
1103         * fixed bug that prevented player from being killed when indestructible,
1104           non-walkable element is placed on player position by extended change
1105         * added configurable menu button, text and input positions to main menu
1106
1107 2006-10-13
1108         * added page fading effects for remaining info sub-screens
1109         * fixed small bug that caused some delays when answering door request
1110
1111 2006-10-12
1112         * added directives "border.draw_masked.*" for menu/playfield area and
1113           door areas to display overlapping/masked borders from "global.border"
1114
1115 2006-10-09
1116         * fixed bug with CE with move speed "not moving" not being animated
1117         * when changing player artwork by CE action, reset animation frame
1118
1119 2006-10-03
1120         * fixed bug with not unmapping main menu screen gadgets on other screens
1121         * fixed bug with un-pausing a paused game by releasing still pressed key
1122         * fixed bug with not redrawing screen when toggling to/from fullscreen
1123           mode while fast reloading tape (without redrawing playfield contents)
1124         * fixed bug with quick-saving tape snapshot despite answering with "no"
1125
1126 2006-08-30
1127         * version number set to 3.2.3
1128
1129 2006-08-29
1130         * version 3.2.2 released
1131
1132 2006-08-29
1133         * fixed bug with redrawing screen in fullscreen mode after quick tape
1134           reloading when using the EMC game engine
1135         * changed token names from "last_ce_[1-8]" to "prev_ce_[1-8]"
1136
1137 2006-08-28
1138         * fixed bug in GameWon() when level contains no exit (like in Sokoban)
1139
1140 2006-08-23
1141         * added engine snapshot functionality for instant tape reloading (this
1142           only works for the last tape saved using "quick save", and does not
1143           work across program restarts, because it completely works in memory)
1144
1145 2006-08-21
1146         * version number set to 3.2.2
1147
1148 2006-08-20
1149         * version 3.2.1 released
1150
1151 2006-08-20
1152         * fixed nasty bugs with handling error message file on Mac OS X systems
1153
1154 2006-08-19
1155         * general code cleanup (removing many annoying "#if 0" blocks etc.)
1156
1157 2006-08-18
1158         * fixed bug that caused broken tapes when manually appending to tapes
1159           using the "pause before death" functionality, followed by recording
1160         * added setup option to disable fading of screens for faster testing
1161
1162 2006-08-16
1163         * code cleanup of new fading functions
1164
1165 2006-08-15
1166         * changed behaviour after solved game -- do not immediately stop engine
1167         * added some more smooth screen fadings (game start, hall of fame etc.)
1168
1169 2006-08-14
1170         * fixed bug with displaying pushed CE with value/score/delay anim_mode
1171
1172 2006-08-12
1173         * added configurable level preview position, tile size and dimensions
1174         * added configurable game panel value positions (gems, time, score etc.)
1175
1176 2006-08-10
1177         * fixed small bug with time displayed incorrectly when collecting CEs
1178
1179 2006-08-07
1180         * fixed bug with bumpy scrolling with EM engine in double player mode
1181
1182 2006-08-05
1183         * added compatibility code to fix "Snake Bite" style levels that were
1184           broken due to a bugfix regarding EL_SOKOBAN_FIELD_PLAYER in 3.2.0
1185
1186 2006-08-04
1187         * fixed bug with scrollbars inside editor when using the Windows mouse
1188           enhancement tool "True X-Mouse" (which injects key events to the event
1189           queue to insert selected stuff into the Windows clipboard, which gets
1190           confused with the "Insert" key for jumping to the last editor cascade
1191           block in the element list)
1192         * added Rocks'n'Diamonds icon for use as window icon to SDL version
1193         * added key shortcut "Alt + Enter" to toggle fullscreen mode at any time
1194
1195 2006-08-01
1196         * added selection of preferred fullscreen mode to setup / graphics menu
1197           (useful if default mode 800 x 600 does not match screen aspect ratio)
1198
1199 2006-07-30
1200         * improved down-scaling of images for better editor and preview graphics
1201         * changed user data directory for Mac OS X from Unix style to new place
1202
1203 2006-07-26
1204         * improved level number selection in main menu and player selection in
1205           setup menu (input devices section) by using standard button gadgets
1206         * added support for mouse scroll wheel (caused buggy behaviour before)
1207         * added support for scrolling horizontal scrollbars with mouse wheel by
1208           holding "Shift" key pressed while scrolling the wheel
1209         * added support for single step mouse wheel scrolling by holding "Alt"
1210           key pressed while scrolling the wheel (can be combined with "Shift")
1211         * changed output file "stderr.txt" on Windows platform now always to be
1212           created in the R'n'D sub-directory of the personal documents directory
1213         * added Windows message box to direct to "stderr.txt" after error aborts
1214
1215 2006-07-25
1216         * improved general scrollbar handling (when jump-scrolling scrollbars)
1217
1218 2006-07-23
1219         * changed scrollbars to always show last line as first after scrolling
1220           (that means jumping n - 1 screen lines instead of n screen lines)
1221
1222 2006-07-22
1223         * fixed level versions of EMC level loader (from V4 to V1, V2 and V3)
1224         * fixed level time for EMC levels for V2 engine (V2 and V5 levels)
1225         * fixed special handling of vertically stacked acid becoming fake acid
1226
1227 2006-07-16
1228         * fixed bug (very special case) with CE_SCORE_GETS_ZERO, which can
1229           affect multiple instances of the same CE, although this kind of
1230           change condition usually only affects one single custom element
1231
1232 2006-07-16
1233         * version number set to 3.2.1
1234
1235 2006-07-16
1236         * version 3.2.0 released
1237
1238 2006-06-23
1239         * reorganized level editor element list a bit to match engines better
1240
1241 2006-06-21
1242         * fixed newly introduced bug with wrongly initializing clipboard element
1243
1244 2006-06-19
1245         * fixed bug with displaying visible/invisible level border in editor
1246
1247 2006-06-14
1248         * reorganized some elements in the level editor element list
1249
1250 2006-06-06
1251         * fixed bug with displaying any player as "yellow" when moving into acid
1252         * fixed bug with displaying running player when player stopped at border
1253
1254 2006-06-03
1255         * fixed bug with player exploding when moving into acid
1256         * fixed bug with level settings being reset in editor and when playing
1257           (some compatibility settings being set not only after level loading)
1258         * fixed crash bug when number of custom graphic frames was set to zero
1259         * fixed bug with teleporting player on walkable tile not working anymore
1260         * added partial compatibility support for pre-release-only "CONF" chunk
1261           (to make Alan Bond's "color cycle" demo work again :-) )
1262
1263 2006-05-30
1264         * fixed some bugs when displaying title screens from info screen menu
1265         * fixed bug which caused EMC doors #5 to #8 to be passable without keys
1266
1267 2006-05-20
1268         * changed file major version to 3 to reflect level file format changes
1269         * uploaded pre-release (test) version 3.2.0-8 binary and source code
1270
1271 2006-05-19
1272         * added new chunk "NAME" to level file format for level name settings
1273         * added new chunk "NOTE" to level file format for envelope settings
1274         * changed name of chunk "CONF" to "ELEM" (for normal element settings)
1275         * updated magic(5) file to recognize changed and new level file chunks
1276         * removed change events "change when CE value/score changes" as unneeded
1277
1278 2006-05-17
1279         * changed gravity (which only affects the player) from level property
1280           to player property (only makes a difference in multi-player levels)
1281         * added change events "change when CE value/score changes"
1282         * added change events "change when CE value/score changes of <element>"
1283
1284 2006-05-16
1285         * added new chunk "INFO" to level file format for global level settings
1286         * added all element settings from "HEAD" chunk to "CONF" chunk
1287         * added all global level settings from "HEAD" chunk to "INFO" chunk
1288
1289 2006-05-09
1290         * changed level file format by adding two new chunks "CUSX" (for custom
1291           elements, replacing the previous "CUS4" chunk) and "GRPX" (for group
1292           elements, replacing the previous "GRP1" chunk); these new IFF style
1293           chunks use the new and flexible "micro chunks inside chunks" technique
1294           already used with the new "CONF" chunk (for normal element properties)
1295           which makes it possible to easily extend the existing level format
1296           (instead of using fixed-length chunks like before, which are either
1297           too big due to reserved bytes for future use, or too small when those
1298           reserved bytes have all been used and even more data should be stored,
1299           requiring the replacement by new and larger chunks just like it went
1300           with "CUS1" to "CUS4"); this whole problem now does not exist anymore
1301
1302 2006-05-06
1303         * added credits pages to the "credits" section that were really missing
1304         * added some missing element descriptions to the level editor
1305         * added down position of switchgate switch to the level editor
1306           and allowed the use of both switch positions at the same time
1307         * changed use of "Insert" and "Delete" keys to navigate element list in
1308           level editor to start of previous or next cascading block of elements
1309
1310 2006-05-05
1311         * added the possibility to view the title screen to the info screen menu
1312         * fixed some minor bugs with viewing title screens
1313
1314 2006-05-02
1315         * fixed bug with title (cross)fading in/out when using fullscreen mode
1316
1317 2006-04-30
1318         * fixed bug that forced re-defining of menu settings in local graphics
1319           config file which are already defined in existing base config file
1320         * fixed small bug that caused door sounds playing when music is enabled
1321
1322 2006-04-29
1323         * added the possibility to define up to five title screens for each
1324           level set that are displayed after loading using (cross)fading in/out
1325           (this was added to display the various start images of the EMC sets)
1326
1327 2006-04-28
1328         * added "CE score gets zero [of]" to custom element trigger conditions
1329         * added setup option to display element token name in level editor
1330
1331 2006-04-19
1332         * added compatibility code for Juergen Bonhagen's menu artwork settings
1333
1334 2006-04-15
1335         * fixed bug with displaying wrong animation frame 0 after CE changes
1336         * fixed bug with creating invisible elements when light switch is on
1337
1338 2006-04-06
1339         * added selection between ECS and AGA graphics for EMC levels to setup
1340
1341 2006-04-04
1342         * adjusted font handling for various narrow EMC style fonts
1343
1344 2006-04-03
1345         * changed EM engine behaviour back to re-allow initial rolling springs
1346
1347 2006-04-02
1348         * fixed handling of over-large selectboxes (less error-prone now)
1349         * fixed bug when creating GE with walkable element under the player
1350
1351 2006-04-01
1352         * added use of "Insert" and "Delete" keys to navigate element list in
1353           level editor to start of custom elements or start of group elements
1354         * added virtual elements to access CE value and CE score of elements:
1355           - "CE value of triggering element"
1356           - "CE score of triggering element"
1357           - "CE value of current element"
1358           - "CE score of current element"
1359
1360 2006-03-30
1361         * fixed "grass" to "sand" in older EM levels (up to file version V4)
1362
1363 2006-03-29
1364         * changed behaviour of network games with internal errors (because of
1365           different client frame counters) from immediately terminating R'n'D
1366           to displaying an error message requester and stopping only the game
1367           (also to prevent impression of crashes under non command-line runs)
1368         * fixed playing network games with the EMC engine (did not work before)
1369         * fixed bug with not scrolling the screen in multi-player mode with the
1370           focus on player 1 when all players are moving in different directions
1371         * fixed bug with keeping pointer to gadget even after its deallocation
1372         * fixed bug with allowing "focus on all players" in network games
1373         * fixed bug with player focus when playing tapes from network games
1374
1375 2006-03-22
1376         * uploaded pre-release (test) version 3.2.0-7 binary and source code
1377
1378 2006-03-19
1379         * code cleanup for game action control for R'n'D and EMC game engine
1380
1381 2006-03-18
1382         * fixed bug in multi-player movement with focus on both players
1383         * added option to control only the focussed player with all input
1384
1385 2006-03-14
1386         * added player focus switching to level tape recording and re-playing
1387
1388 2006-03-13
1389         * fixed some bugs in player focus switching in EMC and RND game engine
1390
1391 2006-03-11
1392         * added special Supaplex animations for Murphy digging and snapping
1393         * added special Supaplex animations for Murphy being bored and sleeping
1394
1395 2006-03-10
1396         * added four new yam yams with explicit start direction for EMC engine
1397         * fixed bug in src/libgame/text.c with printing text outside the window
1398
1399 2006-03-09
1400         * fixed small bug in EMC level loader (copyright sign in EM II levels)
1401
1402 2006-03-08
1403         * added delayed ignition of EM style dynamite when used in R'n'D engine
1404         * added limited movement range to EMC engine when focus on all players
1405
1406 2006-03-06
1407         * fixed bug with missing (zero) score values for native Supaplex levels
1408
1409 2006-03-05
1410         * added "continuous snapping" (snapping many elements while holding the
1411           snap key pressed, without releasing the snap key after each element)
1412           as a new player setting for more compatibility with the classic games
1413
1414 2006-03-04
1415         * finished scrolling for "focus on all players" in EMC graphics engine
1416
1417 2006-02-28
1418         * level sets with "levels: 0" are ignored for levels, but not artwork
1419         * fixed bug when scanning empty level group directories (endless loop)
1420
1421 2006-02-26
1422         * fixed bug with explosion graphic for player using "Murphy" graphic
1423         * fixed bug with explosion graphic if player leaves explosion in time
1424         * changed some descriptive text in setup menu to use medium-width font
1425         * added key shortcut settings for switching player focus to setup menu
1426
1427 2006-02-25
1428         * fixed bug with random value initialization when recording tapes
1429         * fixed bug with playing single player tapes when team mode activated
1430
1431 2006-02-22
1432         * fixed little bug when trying to switch to player that does not exist
1433
1434 2006-02-19
1435         * added player switching (visual and quick) to R'n'D and EM game engine
1436         * added setup option to select visual or quick in-game player switching
1437
1438 2006-02-16
1439         * added use of "Home" and "End" keys to handle element list in editor
1440
1441 2006-02-15
1442         * fixed bug with adding score when playing tape with EMC game engine
1443         * added steel wall border for levels using EMC engine without border
1444         * finally fixed delayed scrolling in EMC engine also for small levels
1445
1446 2006-02-12
1447         * fixed potential crash bug in WarnBuggyBase() (missing boundary check)
1448
1449 2006-02-11
1450         * fixed bug with CE change order in TestIfElementTouchesCustomElement()
1451         * fixed bug when displaying info element without action, but direction
1452
1453 2006-02-09
1454         * fixed minor graphical problems with springs smashing and slurping
1455           (when using R'n'D style graphics instead of EMC style graphics)
1456
1457 2006-02-07
1458         * added scroll delay (as configured in setup) to EMC graphics engine
1459
1460 2006-02-06
1461         * improved screen redraw for EMC graphics engine (faster and smoother)
1462         * when not scrolling, do not redraw the whole playfield if not needed
1463
1464 2006-02-03
1465         * added multi-player mode for EMC game engine (with up to four players)
1466
1467 2006-01-28
1468         * added android (can clone elements) from EMC engine to R'n'D engine
1469
1470 2006-01-14
1471         * added spring bumper (reflects spring) from EMC engine to R'n'D engine
1472
1473 2006-01-11
1474         * added selectbox for initial player speed to player settings in editor
1475
1476 2006-01-11
1477         * version 3.1.2 created that is basically version 3.1.1, but with a
1478           major bug fixed that prevented editing your own private levels
1479         * version 3.1.2 released
1480
1481 2006-01-09
1482         * added magic ball (creates elements) from EMC engine to R'n'D engine
1483
1484 2006-01-07
1485         * uploaded fixed pre-release version 3.2.0-6 binary and source code
1486
1487 2006-01-07
1488         * fixed bug when using "CE can leave behind <trigger element>"
1489         * added new change condition "(after/when) creation of <element>"
1490         * added new change condition "(after/when) digging <element>"
1491         * fixed bug accessing invalid gadget that caused crashes under Windows
1492         * deactivated new possibility for multiple CE changes per frame
1493
1494 2006-01-04
1495         * uploaded pre-release (test) version 3.2.0-6 binary and source code
1496
1497 2006-01-02
1498         * added animation types "ce_value" and "ce_score" to graphicsinfo.conf
1499         * fixed bug with not keeping CE value for moving CEs with only action
1500         * changed CE action selectboxes in editor to be only reset when needed
1501
1502 2006-01-01
1503         * added option "use artwork from element" for custom player artwork
1504         * added option "use explosion from element" for player explosions
1505
1506 2005-12-30
1507         * added cascaded element lists in the level editor
1508         * added persistence for cascaded element lists by "editorcascade.conf"
1509         * added dynamic element list with all elements used in current level
1510         * added possibility for multiple CE changes per frame (experimental)
1511
1512 2005-12-28
1513         * uploaded pre-release (test) version 3.2.0-5 binary and source code
1514
1515 2005-12-27
1516         * changed "score for each 10 seconds/steps left" to "1 second/step"
1517         * added own score for collecting "extra time" instead of sharing it
1518         * added change events "switched by player" and "player switches <e>"
1519         * added change events "snapped by player" and "player snaps <e>"
1520         * added "set player artwork: <element choice>" to CE action options
1521         * added change event "move of <element>"
1522
1523 2005-12-22
1524         * added "set player shield: off / normal / deadly" to CE action options
1525         * added new player option "use level start element" in level editor
1526           to set the correct focus at level start to elements from which the
1527           player is created later (this did not work before for cascaded CE
1528           changes resulting in creation of the player; it is now also possible
1529           to create the player from a yam yam which is smashed at level start)
1530
1531 2005-12-20
1532         * added "set player speed: frozen (not moving)" to CE action options
1533         * added "move player: l/r/u/d/trigger/-trigger" to CE action options
1534
1535 2005-12-17
1536         * added new player option "block snap field" (enabled by default) to
1537           make it possible to show a snapping animation like in Emerald Mine
1538
1539 2005-12-16
1540         * added dynamic selectboxes to custom element action settings in editor
1541         * added "CE value" counter for custom elements (instead of "CE count")
1542         * added option to use the last "CE value" after custom element change
1543         * added option to use the "CE value" of other elements in CE actions
1544         * fixed odd behaviour when pressing time orb in levels w/o time limit
1545         * added checkbox "use time orb bug" for older levels that use this bug
1546
1547 2005-12-15
1548         * added missing configuration settings for the following elements:
1549           - EL_TIMEGATE_SWITCH          (time of open time gate)
1550           - EL_LIGHT_SWITCH_ACTIVE      (time of light switched on)
1551           - EL_SHIELD_NORMAL            (time of shield duration)
1552           - EL_SHIELD_DEADLY            (time of shield duration)
1553           - EL_EXTRA_TIME               (time added to level time)
1554           - EL_TIME_ORB_FULL            (time added to level time)
1555
1556 2005-12-14
1557         * added "wind direction" as a movement pattern for custom elements
1558         * added initial wind direction for balloon / custom elements to editor
1559         * added functionality for EL_BALLOON_SWITCH_NONE to R'n'D game engine
1560
1561 2005-12-13
1562         * added parameters for "game of life" and "biomaze" elements to editor
1563
1564 2005-12-12
1565         * added level file chunk "CONF" for generic level and element settings
1566
1567 2005-12-11
1568         * uploaded pre-release (test) version 3.2.0-4 binary and source code
1569
1570 2005-12-11
1571         * skip empty level sets (with "levels: 0"; may be artwork base sets)
1572         * added sound action ".page[1]" to ".page[32]" for each CE change page
1573
1574 2005-12-10
1575         * added image config suffix ".clone_from" to copy whole image settings
1576         * fixed bug with invalid ("undefined") CE settings in old level files
1577
1578 2005-12-05
1579         * fixed graphical bug with smashing elements falling faster than player
1580
1581 2005-12-03
1582         * fixed major bug which prevented private levels from being edited
1583         * fixed bug with precedence of general and special font definitions
1584
1585 2005-12-02
1586         * fixed graphical bug with player animation when player moves slowly
1587
1588 2005-11-29
1589         * uploaded pre-release (test) version 3.2.0-3 binary and source code
1590
1591 2005-11-28
1592         * fixed bug which prevented "global.num_toons: 0" from working
1593
1594 2005-11-27
1595         * major code cleanup (removed all these annoying "#if 0" blocks)
1596
1597 2005-11-26
1598         * added custom element actions for CE change page in level editor
1599
1600 2005-11-19
1601         * fixed music initialization bug in init.c (thanks to David Binderman)
1602         * fixed mouse wheel "button" bug in editor (thanks to Tomi Belan)
1603           (this bug must probably be fixed at other places, too)
1604
1605 2005-10-16
1606         * fixed buggy '#include "SDL.h"' statements in src/libgame/sdl.h
1607           (should be '#include <SDL.h>' instead)
1608
1609 2005-08-20
1610         * fixed bug which prevented "walkable from no direction" from working
1611           (due to compatibility code overwriting this setting after loading)
1612
1613 2005-08-15
1614         * fixed bug on Mac OS X (use of reserved name "Random") in EM engine
1615
1616 2005-08-07
1617         * version number temporarily set to 3.1.1 (intermediate bugfix release)
1618         * version 3.1.1 released
1619
1620 2005-08-07
1621         * changed some va_arg() arguments from 'long' to 'int', fixing problems
1622           on 64-bit architecture systems with LP64 data model
1623
1624 2005-08-06
1625         * fixed bug with bombs not exploding when hitting the last level line
1626           (introduced after the release of 3.1.0)
1627
1628 2005-08-06
1629         * added support for dumping small-sized level sketches from editor
1630
1631 2005-07-24
1632         * added recognition of "trigger element" for "change digged element to"
1633           (this is not really what the "trigger element" was made for, but its
1634           use may seem obvious for leaving back digged elements unchanged)
1635
1636 2005-07-23
1637         * fixed multiple warnings about failed joystick device initialization
1638
1639 2005-06-27
1640         * fixed bug with dynamite dropped on top of just dropped custom element
1641           (collect dynamite, collect CE, drop CE => dynamite was also dropped);
1642           dynamite can still be dropped, but drop key must be released before
1643
1644 2005-06-27
1645         * fixed bug with wrong start directory when started from file browser
1646           (due to this bug, R'n'D could not be started from KDE's Konqueror)
1647
1648 2005-06-26
1649         * fixed bug causing "change when impact" on player not working
1650         * fixed wrong priority of "hitting something" over "hitting <element>"
1651         * fixed wrong priority of "hit by something" over "hit by <element>"
1652
1653 2005-06-14
1654         * fixed graphical bug which caused the player (being Murphy) to show
1655           collecting animations although the element was collected by penguin
1656
1657 2005-06-08
1658         * fixed two bugs causing wrong door background graphics in system.c
1659           (in functions "SetBackgroundBitmap()" and "DrawingOnBackground()")
1660
1661 2005-06-06
1662         * fixed graphic bug with exploding bomb and R'n'D graphics in EM engine
1663         * added "no direction" to "walkable/passable from" selectbox options
1664
1665 2005-06-05
1666         * enhanced tape autoplay to accept "autoplay <set> [<nr> ...]" format
1667         * in tape autoplay, not only report broken, but also missing tapes
1668
1669 2005-05-31
1670         * uploaded pre-release (test) version 3.2.0-2 binary and source code
1671
1672 2005-05-27
1673         * fixed small bug with "linear" animation not working for active lamp
1674
1675 2005-05-24
1676         * fixed bug with moving up despite gravity due to "block last field"
1677         * fixed small bug with wrong draw offset when typing name in main menu
1678         * when reading user names from "passwd", ignore data after first comma
1679         * when creating new "levelinfo.conf", only write some selected entries
1680
1681 2005-04-28
1682         * fixed displaying "imported from/by" on preview with empty string
1683         * fixed ignoring draw offset for fonts used for level preview texts
1684
1685 2005-04-24
1686         * fixed a delay problem with SDL and too many mouse motion events
1687         * added setup option "skip levels" and level skipping functionality
1688
1689 2005-03-19
1690         * added move speed "not moving" for non-moving CEs, but with direction
1691
1692 2005-03-06
1693         * fixed mapping of obsolete element token names in "editorsetup.conf"
1694         * fixed bug with sound "acid.splashing" treated as a loop sound
1695         * fixed some little sound bugs in native EM engine
1696
1697 2005-02-20
1698         * fixed small bug when dragging scrollbars to end positions
1699
1700 2005-02-14
1701         * added editor element descriptions written by Aaron Davidson
1702
1703 2005-02-02
1704         * improved fallback handling when configured artwork is not available
1705           (now using default artwork instead of exiting when files not found)
1706
1707 2005-02-01
1708         * fixed bug on level selection screen when dragging scrollbar
1709
1710 2005-01-19
1711         * fixed bug which caused broken tapes when appending to EM engine tapes
1712
1713 2005-01-17
1714         * uploaded pre-release (test) version 3.2.0-1 binary and source code
1715
1716 2005-01-17
1717         * added code to replace changed artwork config tokens with other tokens
1718           (needed for backwards compatibility, so that older tokens still work)
1719
1720 2005-01-16
1721         * added native R'n'D graphics for some new EMC elements in EM engine
1722
1723 2005-01-15
1724         * fixed some bugs in the EM engine integration code
1725         * changed EM engine code to allow diagonal movement
1726         * changed EM engine code to allow use of separate snap and drop keys
1727
1728 2005-01-03
1729         * fixed some redraw bugs when using EM engine
1730
1731 2005-01-02
1732         * fixed bug with not converting RND levels which are set to use native
1733           engine to native level structure when loading
1734
1735 2005-01-01
1736         * uploaded pre-release (test) version 3.2.0-0 binary and source code
1737
1738 2005-01-01
1739         * version number set to 3.2.0
1740
1741 2004-12-30
1742         * level data now reset to defaults after attempt to load invalid file
1743
1744 2004-11-13
1745         * added use of "editorsetup.conf" for different level sets
1746
1747 2004-10-26
1748         * added auto-detection for various types of Emerald Mine level files
1749
1750 2004-10-17
1751         * fixed bug with scrollbars getting too small when list is very large
1752
1753 2004-10-09
1754         * fixed bug with 3+3 (cross) sized explosion not making explosion sound
1755
1756 2004-10-04
1757         * added most level editor configuration gadgets for new EMC elements
1758
1759 2004-10-01
1760         * added more element and graphic definitions for new EMC elements
1761
1762 2004-09-27
1763         * modified native EM engine to use integrated R'n'D sound system
1764
1765 2004-09-21
1766         * added SDL support to graphics functions in native EM engine
1767           (by always using generic libgame interface functions)
1768
1769 2004-09-20
1770         * fixed bug in frame synchronization in native EM engine
1771
1772 2004-09-18
1773         * added code to convert levels between R'n'D and native EM engine
1774
1775 2004-08-23
1776         * new Emerald Mine engine can now play levels selected in main menu
1777
1778 2004-08-16
1779         * fixed big memory leak in function "CreateBitmapWithSmallBitmaps()"
1780           (which creates scaled down graphics for level editor and preview);
1781           there's still a memory leak somewhere in the artwork handling code
1782         * added "scale image up" functionality to X11 version of zoom function
1783
1784 2004-08-14
1785         * first attempts to integrate new, native Emerald Mine Club engine
1786
1787 2004-08-07
1788         * fixed bug in gadget code which caused reset of CEs in level editor
1789           (example: pressing 'b' [grab brush] on CE config page erased values)
1790           (solution: check if gadgets in ClickOnGadget() are really mapped)
1791         * improved level change detection in editor (settings now also checked)
1792         * fixed bug with "can move into acid" and "don't collide with" state
1793
1794 2004-07-29
1795         * fixed maze runner style CEs to use the configured move delay value
1796
1797 2004-06-27
1798         * added Aaron Davidson's tutorial level set to the "Tutorials" section
1799
1800 2004-06-20
1801         * fixed engine change that broke 3.0.8 levels like "Walpurgis Gardens"
1802         * fixed the above fix because it broke level set "machine" (*sigh*)
1803         * fixed random element placement in level editor to work as expected
1804         * fixed undefined graphic of runtime element "EL_AMOEBA_TO_DIAMOND"
1805
1806 2004-06-15
1807         * re-recorded tape for BD2K3, level 010 (broken due to bugfix)
1808
1809 2004-06-13
1810         * fixed bug (missing array boundary check) which caused broken tapes
1811         * fixed bug (when loading level template) which caused broken levels
1812         * fixed bug with new block last field code when using non-yellow player
1813
1814 2004-06-12
1815         * fixed bug when pressing "stop, pause, stop, play" on tape recorder
1816         * internal change of how the player blocks the last field when moving
1817         * fixed blocking delay of last field for EM and SP style block delay
1818         * fixed bug where the player had to wait for the usual move delay after
1819           unsuccessfully trying to move, when he directly could move after that
1820         * the last two changes should make original Supaplex level 93 solvable
1821         * improved use of random number generator to make it less predictable
1822         * fixed behaviour of slippery SP elements to let slip left, then right
1823
1824 2004-06-11
1825         * fixed bug with wrong door state after trying to quickload empty tape
1826         * fixed waste of static memory usage of the binary, making it smaller
1827         * fixed very little graphical bug in Supaplex explosion
1828
1829 2004-06-07
1830         * version number set to 3.1.1
1831
1832 2004-06-07
1833         * version 3.1.0 released
1834
1835 2004-06-07
1836         * fixed bug with crash when writing user levelinfo.conf the first time
1837
1838 2004-06-06
1839         * added option "convert LEVELDIR [NR]" to command line batch commands
1840         * re-converted Supaplex levels to apply latest engine fixes
1841         * changed "use graphic/sound of element" to "use graphic of element"
1842           due to compatibility problems with some levels ("bug machine" etc.)
1843
1844 2004-05-23
1845         * fixed bug with CE change replacing player with same or other player
1846
1847 2004-05-16
1848         * fixed bug with opaque font in envelope with background graphic when
1849           background graphic is not transparent itself
1850
1851 2004-05-12
1852         * added "gravity on" and "gravity off" ports for Supaplex compatibility
1853         * corrected original Supaplex level loading code to use these new ports
1854         * also corrected Supaplex loader to auto-count infotrons if set to zero
1855
1856 2004-05-10
1857         * fixed bug with missing initialization of "modified" flag for GEs
1858
1859 2004-05-09
1860         * fixed bug that caused endless recursion loop when relocating player
1861         * fixed tape recorder bug in "step mode" when using "pause before end"
1862         * fixed tape recorder bug when changing from "warp forward" mode
1863
1864 2004-05-08
1865         * fixed bug with "when touching" for pushed elements at last position
1866
1867 2004-05-05
1868         * fixed bug that caused two activated toolbox buttons in level editor
1869         * fixed bug with exploding dynabomb under player due to other explosion
1870
1871 2004-05-02
1872         * fixed bug with creating walkable custom element under player (again)
1873         * fixed bug with not copying explosion type when copying CEs in editor
1874         * fixed graphical bug when drawing player in setup menu (input devices)
1875         * fixed graphical bug when the player is pushing an accessible element
1876         * fixed bug with classic switchable elements triggering CE changes
1877         * fixed bug with entering/leaving walkable element in RelocatePlayer()
1878         * fixed crash bug when CE leaves behind the trigger player element
1879
1880 2004-04-30
1881         * fixed bug with broken tubes after placing/exploding dynamite in them
1882         * fixed bug with exploding dynamite under player due to other explosion
1883         * fixed bug with not resetting push delay under certain circumstances
1884
1885 2004-04-27
1886         * added option "handicap" for "levelinfo.conf" (thanks to Niko Böhm)
1887         * added network multiplayer code for Windows (thanks to Niko Böhm)
1888
1889 2004-04-25
1890         * added option "reachable despite gravity" for gravity movement
1891         * changed gravity movement of most classic walkable and passable
1892           elements back to "not reachable" (for compatibility reasons)
1893
1894 2004-04-24
1895         * fixed (removed) "indestructible" / "can explode" dependency in editor
1896         * fixed (removed) "accessible inside" / "protected" dependency
1897         * fixed (removed) "step mode" / "shield time" dependency
1898
1899 2004-04-23
1900         * fixed dynabombs exploding now into anything diggable
1901         * fixed Supaplex style gravity movement into buggy base now impossible
1902         * added pressing key "space" as valid action to select menu options
1903
1904 2004-04-20
1905         * added "replace when walkable" to relocate player to walkable element
1906         * added "enter"/"leave" event for elements affected by relocation
1907         * fixed "direct"/"indirect" change order also for "when change" event
1908         * fixed graphical bug when pushing things from elements walkable inside
1909
1910 2004-04-18
1911         * fixed graphic bug when player is snapping while moving in old levels
1912         * fixed bug when a moving custom element leaves a player element behind
1913         * fixed bug with mole not disappearing when moving into acid pool
1914         * fixed bug with incomplete path setting when using "--basepath" option
1915         * moving CE can now leave walkable elements behind under the player
1916         * when relocating, player can be set on walkable element now
1917         * fixed another gravity movement bug
1918
1919 2004-04-12
1920         * uploaded pre-release (test) version 3.1.0-2 binary and source code
1921
1922 2004-04-10
1923         * added "collectible" and "removable" to extended replacement types
1924           (where "removable" replaces "diggable" and "collectible" elements)
1925         * added "collectible & throwable" (to throw element to the next field)
1926         * fixed bug with CEs digging elements that are just about to explode
1927         * changed mouse cursor now always being visible when game is paused
1928
1929 2004-04-09
1930         * added possibility to push/press accessible elements from a side that
1931           is not accessible
1932         * fixed bug with not setting actual date when appending to tape
1933
1934 2004-04-07
1935         * fixed bug with incorrectly initialized custom element editor graphics
1936
1937 2004-04-04
1938         * corrected set "Contributions_1995-2000/rnd_kjell_kristiansson":
1939           - number of levels corrected from 18 to 17 in "levelinfo.conf"
1940
1941 2004-03-31
1942         * fixed bug with destroyed robot wheel still attracting robots forever
1943         * fixed bug with time gate switch deactivating after robot wheel time
1944           (while the time gate itself is not affected by this misbehaviour)
1945         * changed behaviour of BD style amoeba to always get blocked by player
1946           (before it was different when there were non-BD elements in level)
1947         * fixed bug with player destroying indestructable elements with shield
1948
1949 2004-03-26
1950         * added option to make growing elements grow into anything diggable
1951           (for the various amoeba types, biomaze and "game of life")
1952
1953 2004-03-24
1954         * fixed bug with movable elements not moving after left behind by CEs
1955         * changed gravity movement to anything diggable, not only sand/base
1956         * optionally allowing passing to walkable element, not only empty space
1957         * added option "can pass to walkable element" for players
1958         * finally fixed gravity movement (hopefully)
1959
1960 2004-03-23
1961         * fixed bug with movable elements not moving anymore after falling down
1962
1963 2004-03-22
1964         * fixed another bug with custom elements digging and leaving elements
1965         * fixed bug with "along left/right side" and automatic start direction
1966         * trigger elements now also displayed when "more custom" deactivated
1967         * fixed bug with clipboard element initialized when loading new level
1968         * added option "drop delay" to set delay before dropping next element
1969
1970 2004-03-21
1971         * uploaded pre-release (test) version 3.1.0-1 binary and source code
1972
1973 2004-03-20
1974         * added copy and paste functions for custom change pages
1975         * enhanced graphical display and functionality of tape recorder
1976         * fixed bug with custom elements digging and leaving elements
1977
1978 2004-03-19
1979         * added move speed faster than "very fast" for custom elements
1980         * fixed bug with 3+3 style explosions and missing border content
1981         * fixed little bug when copying custom elements in the editor
1982         * enhanced custom element changes by more side trigger actions
1983
1984 2004-03-16
1985         * added option "no scrolling when relocating" for instant teleporting
1986         * uploaded pre-release (test) version 3.1.0-0 binary and source code
1987
1988 2004-03-15
1989         * added trigger element and trigger player to use as target elements
1990         * added copy and paste functions for custom and group elements
1991
1992 2004-03-14
1993         * fixed graphical bug when displaying explosion animations
1994         * fixed bug when appending to tapes, resulting in broken tapes
1995         * re-recorded a few tapes broken by fixing gravity checking bug
1996
1997 2004-03-13
1998         * "can move into acid" property now for all elements independently
1999         * "can fall into acid" property for player stored in same bitfield now
2000         * added option for deadliness of Supaplex 'sniksnak' and 'electron'
2001         * version number set to 3.1.0 (finally!)
2002
2003 2004-03-09
2004         * changed tape recording to only record input, not programmed actions
2005
2006 2004-03-08
2007         * fixed totally broken (every 8th frame skipped) step-by-step recording
2008         * fixed bug with requester not displayed when quick-loading interrupted
2009         * added option "can fall into acid (with gravity)" for players
2010         * fixed bug with player not falling when snapping down with gravity
2011
2012 2004-03-07
2013         * fixed bug which messed up key config when using keypad number keys
2014
2015 2004-03-03
2016         * fixed bug which allowed moving upwards even when gravity was active
2017         * fixed bug with missing error handling when dumping levels or tapes
2018
2019 2004-03-02
2020         * added different colored editor graphics for Supaplex gravity tubes
2021
2022 2004-03-01
2023         * fixed bug that allowed solvable tapes for unsolvable levels
2024
2025 2004-02-28
2026         * use unlimited number of droppable elements when "count" set to zero
2027         * added option to use step limit instead of time limit for level
2028
2029 2004-02-27
2030         * added player and change page as trigger for custom element change
2031
2032 2004-02-24
2033         * fixed bug with exploding amoeba (explosion 3x3 instead of 1x1)
2034
2035 2004-02-22
2036         * fixed bug with dark yamyam changing to acid when moving over acid
2037         * fixed handling of levels with more than 999 seconds level time
2038           (example: level 76 of "Denmine")
2039
2040 2004-02-21
2041         * "spring push bug" reintroduced as configurable element property
2042         * fixed bug with missing properties for "mole"
2043         * fixed bug that showed up when fixing the above "mole" properties bug
2044         * added option "can move into acid" for all movable elements
2045         * fixed graphical bug for elements moving into acid
2046         * changed event handling to handle all pending events before going on
2047
2048 2004-02-17
2049         * fixed bug which caused all CE change pages to be ignored which had
2050           the same change event, but used a different element side
2051           (reported by Simon Forsberg)
2052
2053         * fixed bug which caused elements that can move and fall and that are
2054           transported by a conveyor belt to continue moving into that direction
2055           after leaving the conveyor belt, regardless of their own movement
2056           type; only elements which can not move are transported now
2057           (reported by Simon Forsberg)
2058
2059         * fixed bug which could cause an array overflow in RelocatePlayer()
2060           (reported by Niko Böhm)
2061
2062         * changed Emerald Mine style "passable / over" elements to "protected"
2063           (fixing unsolvable level 10 of "Bondmine 9" with bug beside gate)
2064
2065         * added new option to select from which side a "walkable/passable"
2066           element can be entered
2067
2068 2004-02-16
2069         * added explosion and ignition delay for elements that can explode
2070
2071 2004-02-05
2072         * fixed bug which caused player not being protected against enemies
2073           when a CE was "walkable / inside" and was not "indestructible"
2074         * added "walkable/passable" fields to be "protected/unprotected"
2075           against enemies, even if not accessible "inside" but "over/under"
2076
2077 2004-02-04
2078         * corrected move pattern to 32 bit and initial move direction to 8 bit
2079
2080 2004-02-03
2081         * added second custom element base configuration page
2082
2083 2004-02-02
2084         * added some special EMC mappings to Emerald Mine level loader
2085           (also covering previously unknown element in level 0 of "Bondmine 8")
2086
2087 2004-01-30
2088         * added option to block last field when player is moving (for Supaplex)
2089         * adjusted push delay of Supaplex elements
2090         * removed delays for envelopes etc. when replaying with maximum speed
2091         * fixed bug when dropping element on a field that just changed to empty
2092
2093 2004-01-29
2094         * fixed bug: infotrons can now smash yellow disks
2095         * fixed bug: when gravity active, port above player can now be entered
2096         * removed "one white dot" mouse pointer which irritated some people
2097
2098 2004-01-26
2099         * added "choice type" for group element selection
2100
2101 2004-01-25
2102         * fixed bug with initial invulnerability of non-yellow player
2103
2104 2004-01-23
2105         * added level loader for loading native Supaplex packed levels
2106           (including multi-part levels like the "splvls99" levels)
2107
2108 2004-01-19
2109         * fixed bug which allowed creating emeralds by escaping explosions
2110
2111 2004-01-18
2112         * custom elements can change (limited) or leave (unlimited) elements
2113         * finally added multiple matches using group elements
2114         * added shortcut to dump brush (type ":DB" in editor) for use in forum
2115
2116 2004-01-17
2117         * added new start movement type "previous" for continued CE movement
2118         * added new start movement type "random" for random CE movement start
2119
2120 2004-01-17
2121         * added new element "sokoban_field_player" needed for Sokoban levels
2122           (thanks to Ed Booker for pointing this out!)
2123
2124 2004-01-15
2125         * added elements that can be digged or left behind by custom elements
2126
2127 2004-01-12
2128         * added group elements for multiple matches and random element creation
2129
2130 2004-01-11
2131         * fixed some graphical errors displayed in old levels
2132
2133 2004-01-10
2134         * fixed wrong double speed movement after passing closing gates
2135
2136 2004-01-03
2137         * added level loader for loading native Emerald Mine levels
2138
2139 2004-01-02
2140         * changes for "shooting" style CE movement
2141
2142 2004-01-01
2143         * Happy New Year! ;-)
2144
2145 2003-12-27
2146         * changed default snap/drop keys from left/right Shift to Control keys
2147
2148 2003-12-27
2149         * fixed bug with dead player getting reanimated from custom element
2150
2151 2003-12-14
2152         * fixed bug with wrong penguin graphics (when entering exit)
2153
2154 2003-12-14
2155         * fixed bug with wrong "Murphy" graphics (when digging etc.)
2156
2157 2003-12-14
2158         * version number set to 3.0.9
2159
2160 2003-12-14
2161         * version 3.0.8 released
2162
2163 2003-12-13
2164         * added function checked_free()
2165
2166 2003-12-13
2167         * fixed bug with double nut cracking sound
2168           (by eliminating "default element action sound" assignment in init.c)
2169
2170 2003-12-10
2171         * fixed crash when no music info files are available
2172
2173 2003-12-07
2174         * fixed boring and sleeping sounds
2175
2176 2003-12-05
2177         * added "maze runner" and "maze hunter" movement types
2178         * added extended collision conditions for custom elements
2179
2180 2003-12-03
2181         * added warnings for undefined token values in artwork config files
2182
2183 2003-12-02
2184         * added menu entry for level set information to the info screen
2185
2186 2003-12-02
2187         * fixed bug with wrong default impact sound for colored emeralds
2188
2189 2003-11-30
2190         * added several sub-screens for the info screen
2191         * menu text now also clickable (not only blue/red sphere left of it)
2192
2193 2003-11-25
2194         * added configurable "bored" and "sleeping" animations for the player
2195         * added "awakening" sound for player when waking up after sleeping
2196
2197 2003-11-22
2198         * added "copy" and "exchange" functions for custom elements to editor
2199
2200 2003-11-21
2201         * added configurable element animations for info screen
2202
2203 2003-11-20
2204         * added configurable music credits for info screen
2205
2206 2003-11-19
2207         * finally fixed tape recording when player is created from CE change
2208
2209 2003-11-18
2210         * added "editorsetup.conf" for editor element list configuration
2211
2212 2003-11-16
2213         * added "musicinfo.conf" for menu and level music configuration
2214
2215 2003-11-14
2216         * fixed a very nasty bug in dragon turning code in TurnRoundExt()
2217           (that only showed up on Linux, but not on Windows systems)
2218
2219 2003-11-13
2220         * fixed turning movement of butterflies and fireflies (no frame reset)
2221         * enhanced sniksnak turning movement (two steps instead of only one)
2222
2223 2003-11-10
2224         * version number set to 3.0.8
2225
2226 2003-11-10
2227         * version 3.0.7 released
2228
2229 2003-11-09
2230         * fixed reset of player animation frame when, for example,
2231           walking, digging or collecting share the same animation
2232         * fixed CE with "deadly when touching" exploding when touching amoeba
2233
2234 2003-11-08
2235         * fixed tape recording when player is created from CE element change
2236
2237 2003-11-04
2238         * introduced "turning..." action graphic for elements with move delay
2239           (non-CE: bug, spaceship, sniksnak, mole, pacman, yamyam)
2240         * added turning animations for bug, spaceship and sniksnak
2241
2242 2003-11-03
2243         * prevent "extended" changed elements from delay change in same frame
2244
2245 2003-11-02
2246         * fixed bug when pushing element that can move away to the side
2247           (like pushing falling elements, but now with moving elements)
2248
2249 2003-11-01
2250         * finally fixed serious bug in code for delayed element pushing (again)
2251
2252 2003-10-19
2253         * unavailable setup options now marked as "n/a" instead of "off"
2254         * new boolean directive "latest_engine" for "levelinfo.conf": when set
2255           to "true", levels are always played with the latest game engine,
2256           which is desired for levels that are imported from other games; all
2257           other levels are played with the engine version stored in level file
2258           (which is normally the engine version the level was created with)
2259
2260 2003-10-18
2261         * fixed serious bug in code for delayed element pushing
2262         * fixed little bug in animation frame selection for pushed elements
2263         * speed-up of reading config file for verbose output
2264
2265 2003-10-08
2266         * added configuration option for opening and closing Supaplex exit
2267         * added configuration option for moving up/down animation for Murphy
2268         * fixed incorrectly displayed animation for attacking dragon
2269         * fixed bug with not setting initial gravity for each new game
2270         * fixed bug with teleportation of player by custom element change
2271         * fixed bug with player not getting smashed by rock sometimes
2272
2273 2003-10-06
2274         * version number set to 3.0.7
2275
2276 2003-10-06
2277         * version 3.0.6 released
2278
2279 2003-10-05
2280         * added support for MP3 music for SDL version through SMPEG library
2281
2282 2003-10-03
2283         * fixed bug when initializing font graphic structure
2284         * fixed bug with animation mode "pingpong" when using only 1 frame
2285         * fixed bug with extended change target introduced in 3.0.5
2286         * fixed bug where passing over moving element doubles player speed
2287         * fixed bug with elements continuing to move into push direction
2288         * fixed bug with duplicated player when dropping bomb with shield on
2289         * added "switching" event for custom elements ("pressing" only once)
2290         * fixed switching bug (resetting flag when not switching but not idle)
2291
2292 2003-09-29
2293         * fixed element tokens for certain file elements with ".active" etc.
2294
2295 2003-09-29
2296         * version number set to 3.0.6
2297
2298 2003-09-29
2299         * version 3.0.5 released
2300
2301 2003-09-28
2302         * now four envelope elements available
2303         * font, background, animation and sound for envelope now configurable
2304         * main menu doors opening/closing animation type now configurable
2305
2306 2003-09-27
2307         * active/inactive sides configurable for custom element changes
2308         * new movement type "move when pushed" available for custom elements
2309
2310 2003-09-20
2311         * fixed bug in multiple config pages loader code that caused crashes
2312
2313 2003-09-13
2314         * enhanced (remaining low-resolution) Supaplex graphics
2315
2316 2003-09-13
2317         * version number set to 3.0.5
2318
2319 2003-09-13
2320         * version 3.0.4 released
2321
2322 2003-09-12      src/tools.c
2323         * fixed bug in custom definition of crumbled element graphics
2324
2325 2003-09-11      src/files.c
2326         * fixed bug in multiple config pages code that caused crashes
2327
2328 2003-09-08
2329         * version number set to 3.0.4
2330
2331 2003-09-08
2332         * version 3.0.3 released
2333
2334 2003-09-07
2335         * added music to Supaplex classic level set
2336
2337 2003-09-07      src/libgame/misc.c
2338         * added support for loading various music formats through SDL_mixer
2339
2340 2003-09-06      (various source files)
2341         * fixed several nasty bugs that may have caused crashes on some systems
2342         * added envelope content which gets displayed when collecting envelope
2343         * added multiple change event pages for custom elements
2344
2345 2003-08-24      src/game.c
2346         * fixed problem with player animation when snapping and moving
2347
2348 2003-08-23      src/screens.c, src/cartoons.c, src/libgame/toons.c
2349         * fixed problem with flickering when drawing toon animations
2350
2351 2003-08-23      src/libgame/sdl.c
2352         * fixed problem with setting mouse cursor in SDL version in fullscreen
2353
2354 2003-08-23      src/game.c
2355         * fixed bug (missing array boundary check) which could crash the game
2356
2357 2003-08-23
2358         * version number set to 3.0.3
2359
2360 2003-08-22
2361         * version 3.0.2 released
2362
2363 2003-08-21      src/game.c
2364         * fixed bug with creating inaccessible elements at player position
2365
2366 2003-08-20      src/init.c
2367         * fixed bug with not finding current level artwork directory
2368
2369 2003-08-20      src/files.c
2370         * fixed bug with choosing wrong engine version when playing tapes
2371         * fixed bug with messing up custom element properties in 3.0.0 levels
2372
2373 2003-08-18
2374         * version number set to 3.0.2
2375
2376 2003-08-18
2377         * version 3.0.1 released
2378
2379 2003-08-17      (no source files affected)
2380         * changed all "classic" PCX image files with 16 colors or less to
2381           256 color (8 bit) storage format, because the Allegro game library
2382           cannot handle PCX files with less than 256 colors (contributed
2383           graphics are not affected and might look wrong in the DOS version)
2384
2385 2003-08-16      src/init.c
2386         * fixed bug which (for example) crashed the level editor when defining
2387           "dynamite.EDITOR:  [NONE]", because graphics may not be undefined
2388           (only set to default) -- invalid graphics now set to default graphic
2389
2390 2003-08-16      src/init.c
2391         * fixed graphical bug of player digging/collecting/snapping element
2392           when no corresponding graphic/animation is defined for this action,
2393           resulting in player being drawn as EL_EMPTY (which should only be
2394           done to elements being collected, but not to the player)
2395
2396 2003-08-16      src/game.c
2397         * fixed small graphical bug of player not totally moving into exit
2398
2399 2003-08-16      src/libgame/setup.c
2400         * fixed bug with wrong MS-DOS 8.3 filename conversion
2401
2402 2003-08-16      src/tools.c
2403         * fixed bug with invisible mouse cursor when pressing ESC while playing
2404
2405 2003-08-16      (various source files)
2406         * added another 128 custom elements (disabled in editor by default)
2407
2408 2003-08-16      src/editor.c
2409         * fixed NULL string bug causing Solaris to crash in sprintf()
2410
2411 2003-08-16      src/screen.c
2412         * fixed drawing over scrollbar on level selection with custom fonts
2413
2414 2003-08-15      src/game.c
2415         * cleanup of simple sounds / loop sounds / music settings
2416
2417 2003-08-08      (various source files)
2418         * added custom element property for dropping collected elements
2419
2420 2003-08-08      src/conf_gfx.c
2421         * fixed bug with missing graphic for active red disk bomb
2422
2423 2003-08-07      src/files.c, src/editor.c src/game.c, src/main.h
2424         * extended variable "level.gravity" to "level.initial_gravity" and
2425           "game.current_gravity" to prevent level setting from being changed
2426           by playing the level (keeping the runtime value after playing)
2427
2428         * fixed graphics bug when digging element that has 'crumbled' graphic
2429           definition, but not 'diggable' graphic definition
2430
2431 2003-08-06
2432         * version number set to 3.0.1
2433
2434 2003-08-05
2435         * version 3.0.0 released
2436
2437 2003-08-05
2438         * various bug fixes; among others:
2439           - fixed bug with pushing spring over empty space
2440           - fixed bug with leaving tube while placing dynamite
2441           - fixed bug with explosion of smashed penguins
2442           - allow Murphy player graphic in levels with non-Supaplex elements
2443
2444 2003-04-07
2445         * various changes
2446         * I have forgotten to document changes for some time
2447
2448 2002-12-31
2449         * pre-release version 2.2.0rc1 released
2450
2451 2002-08-25
2452         * version number set to 2.1.2
2453
2454 2002-08-13
2455         * version 2.1.1 released
2456
2457 2002-08-10
2458         * version number set to 2.1.1
2459
2460 2002-08-05
2461         * version 2.1.0 released
2462         
2463 2002-05-19
2464         * version number set to 2.1.0
2465
2466 2002-04-03 to 2002-05-19        (various source files)
2467         * graphics, sounds and music now fully configurable
2468         * bug fixed that prevented walking through tubes when gravity on
2469
2470 2002-04-02      src/events.c, src/editor.c
2471         * Make Escape key less aggressive when playing or when editing level.
2472           This can be configured as an option in the setup menu. (Default is
2473           "less aggressive" which means "ask user if something can be lost"
2474           when pressing the Escape key.)
2475
2476 2002-04-02      src/screen.c
2477         * Added "graphics setup" screen.
2478
2479 2002-04-01      src/screen.c
2480         * Changed "choose level" setup screen stuff to be more generic (to
2481           make it easier to add more "choose from generic tree" setup screens).
2482
2483 2002-04-01      src/config.c, src/timestamp.h
2484         * Added source files "src/config.[ch]" and "src/timestamp.h" (which
2485           automatically gets created by "src/Makefile" and contains an actual
2486           compile-time timestamp to identify development versions of the game).
2487
2488 2002-03-31      src/tape.c, src/events.c
2489         * Added quick game/tape save/load functions to tape stuff which can be
2490           invoked by a keyboard shortcut. Default: "F1" saves game/tape, "F2"
2491           loads previously recorded tape and directly goes into recording mode
2492           from the end of the tape (therefore appending to the tape).
2493
2494 2002-03-31      src/tape.c
2495         * Added "index mark" function to tape recorder. When playing or
2496           recording, "eject" button changes to "index" button. Setting index
2497           mark is not yet implemented, but pressing index button when playing
2498           allows very quick advancing to end of tape (when normal playing),
2499           very fast forward mode (when playing with normal fast forward) or
2500           very fast reaching of "pause before end of tape" (when playing with
2501           "pause before end" playing mode).
2502
2503 2002-03-30      src/cartoons.c
2504         * Moved some stuff from cartoons.c to the new "src/libgame/toons.c".
2505
2506 2002-03-29      src/screen.c
2507         * Changed setup screen stuff to be more generic (to make it easier
2508           to add more setup screens).
2509
2510 2002-03-23      src/main.c, src/main.h
2511         * Various changes due to the introduction of the new libgame files
2512           "setup.c" and "joystick.c".
2513
2514 2002-03-23      src/files.c
2515         * Generic parts of "src/files.c" (mainly setup and level directory
2516           stuff) moved to new libgame file "src/libgame/setup.c".
2517
2518 2002-03-23      src/joystick.c
2519         * File "src/joystick.c" moved to libgame source tree, with
2520           correspondig changes.
2521
2522 2002-03-22      src/screens.c
2523         * "HandleChooseLevel()": Another bug in level series navigation fixed.
2524           (Wrong level series information displayed when entering main group.)
2525
2526 2002-03-22      src/editor.c
2527         * Slight change to support new gadget event "GD_EVENT_INFO_LEAVING".
2528
2529 2002-03-22      src/editor.c
2530         * Changed behaviour of "Escape" key in level editor to be more
2531           intuitive: When in "Element Properties" or "Level Info" mode,
2532           return to "Drawing Mode" instead of leaving the level editor.
2533
2534 2002-03-21      src/game.c, src/editor.c, src/files.c
2535         * 2.0.1 introduced the corrected "Emerald Mine" style behaviour of
2536           gems (emeralds, diamonds, ...) slipping down from normal wall,
2537           steel wall and growing wall (as in E.M.C. style levels). Although
2538           the behaviour of contributed and private levels wasn't changed (due
2539           to the use of "level.game_version"; see previous entry), editing
2540           those levels will (of course) change the behaviour accordingly.
2541
2542           This change seems a bit too hard after thinking about it, because
2543           the EM style behaviour is not the "expected" behaviour (gems would
2544           normally only slip down from "rounded" walls). Therefore this was
2545           now changed to an element property for gem style elements, with the
2546           default setting "off" (which means: no special EM style behaviour).
2547           To fix older converted levels, this flag is set to "on" for pre-2.0
2548           levels that are neither contributed nor private levels.
2549
2550 2002-03-20      src/files.h
2551         * Corrected settings for "level.game_version" depending of level type.
2552           (Contributed and private levels always get played with game engine
2553           version they were created with, while converted levels always get
2554           played with the most recent version of the game engine, to let new
2555           corrections of the emulation behaviour take effect.)
2556
2557 2002-03-20      src/main.h
2558         * Added "#include <time.h>". This seems to be needed by "tape.c" for
2559           compiling the SDL version on some systems.
2560           Thanks to the several people who pointed this out.
2561
2562 2002-03-19
2563         * Version number set to 2.0.2.
2564
2565 2002-03-19
2566         * Version 2.0.1 released.
2567
2568 2002-03-18      src/screens.c
2569         * "HandleChooseLevel()": Small bug in level series navigation fixed.
2570
2571 2002-03-18      src/files.c [src/libgame/misc.c]
2572         * Moved some common functions from src/files.c to src/libgame/misc.c.
2573
2574 2002-03-18      src/files.c [src/libgame/misc.c]
2575         * Changed permissions for new directories and saved files (especially
2576           score files) according to suggestions of Debian users and mantainers.
2577           Thanks to Drew Parsons <dparsons@emerall.com> for the patch.
2578
2579 2002-03-17      src/files.c
2580         * Changed "{Load|Save}{Level|Tape}()" to IFF style file format:
2581           Replaced "cookie" header string ("ROCKSNDIAMONDS_...\n") with
2582           real IFF style header "RND1....XXXX" (where "XXXX" is "CAVE"
2583           for levels and "TAPE" for tapes). Old "cookie" style format is
2584           still supported for reading. New level and tape files are written
2585           in new format.
2586
2587         * New IFF chunk "VERS" contains version numbers for file and game
2588           (where "game version" is the version of the program that wrote the
2589           file, and "file version" is a version number to distinguish files
2590           with different format, for example after adding new features).
2591
2592 2002-03-15      src/screen.c
2593         * "DrawHallOfFame()": "FadeSounds()" when entering the hall of fame.
2594           (Before, you heard a mixture of the in-game music and the
2595           hall-of-fame music.)
2596
2597 2002-03-14      src/events.c
2598         * Function "DumpTape()" (files.c) now available by pressing 't' from
2599           main menu (when in DEBUG mode).
2600
2601 2002-03-14      src/game.c
2602         * "GameWon()": When game was won playing a tape, now there is no delay
2603           raising the score and no corresponding sound is played.
2604
2605 2002-03-14      src/files.c
2606         * Changed "LoadTape()" for real chunk support and also adjusted
2607           "SaveTape()" accordingly.
2608
2609 2002-03-14      src/game.c, src/tape.c, src/files.c
2610         * Important changes to tape format: The old tape format stored all
2611           actions with a real effect with a corresponding delay between the
2612           stored actions. This had some major disadvantages (for example,
2613           push delays had to be ignored, pressing a button for some seconds
2614           mutated to several single button presses because of the non-action
2615           delays between two action frames etc.). The new tape format just
2616           stupidly records all device actions and replays them later. I really
2617           don't know why I haven't solved it that way before?! Old-style tapes
2618           (with tape file version less than 2.0) get converted to the new
2619           format on-the-fly when loading and can therefore still be played;
2620           only some minor parts of the old-style tape handling code was needed.
2621           (A perfect conversion is not possible, because there is information
2622           missing about the device actions between two action frames.)
2623
2624 2002-03-14      src/files.c
2625         * New function "DumpTape()" to dump the contents of the current tape
2626           in a human readable format.
2627
2628 2002-03-14      src/game.c
2629         * Small tape bug fixed: When automatically advancing to next level
2630           after a game was won, the tape from the previous level still was
2631           loaded as a tape for the new level.
2632
2633 2002-03-14      src/tape.c
2634         * Small graphical bug fixed: When pressing ""Record" or "Play" on
2635           tape, cartoons did not get completely removed because
2636           StopAnimation() was not called.
2637
2638 2002-03-13      src/files.c
2639         * Changed "LoadLevel()" and "SaveLevel()" to add new chunk "CNT2".
2640           Fixed bug of "CONT" and "BODY" (chunk size was set to 8-bit element
2641           size even when using 16-bit elements). Added new chunk "CNT2" for
2642           16-bit amoeba content (previously written in 8-bit field in "HEAD"
2643           chunk even when content was 16-bit element). "CNT2" should now be
2644           able to store content for arbitrary elements (up to eight blocks of
2645           3 x 3 element arrays). All "CNT2" elements will always be stored as
2646           16-bit elements. "CONT" (with 8/16-bit elements) now obsolete.
2647
2648 2002-03-13      src/files.c
2649         * Changed "LoadLevel()" for real chunk support.
2650
2651 2002-03-12      src/game.c
2652         * Fixed problem (introduced after 2.0.0 release) with penguins
2653           not getting killed by enemies
2654
2655 2002-02-24      src/game.c, src/main.h
2656         * Added "player->is_moving"; now "player->last_move_dir" does
2657           not contain any information if the player is just moving at
2658           the moment or not.
2659           Before, "player->last_move_dir" was misused for this purpose
2660           for  the robot stuff (robots don't kill players when they are
2661           moving). But setting "player->last_move_dir" to MV_NO_MOVING
2662           broke tapes when walking through pipes!
2663           ("IS_MOVING()" uses "MovPos[][]", but this fails when it is 0
2664           in a continuous movement. This fact is ignored for friends and
2665           enemies, though.)