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