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