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