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