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