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