rnd-20040129-1-src
[rocksndiamonds.git] / ChangeLog
1 2004-01-29
2         * fixed bug: infotron can now smash yellow disks
3
4 2004-01-26
5         * added "choice type" for group element selection
6
7 2004-01-25
8         * fixed bug with initial invulnerability of non-yellow player
9
10 2004-01-23
11         * added level loader for loading native Supaplex packed levels
12           (including multi-part levels like the "splvls99" levels)
13
14 2004-01-19
15         * fixed bug which allowed creating emeralds by escaping explosions
16
17 2004-01-18
18         * custom elements can change (limited) or leave (unlimited) elements
19         * finally added multiple matches using group elements
20         * added shortcut to dump brush (type ":DB" in editor) for use in forum
21
22 2004-01-17
23         * added new start movement type "previous" for continued CE movement
24         * added new start movement type "random" for random CE movement start
25
26 2004-01-17
27         * added new element "sokoban_field_player" needed for Sokoban levels
28           (thanks to Ed Booker for pointing this out!)
29
30 2004-01-15
31         * added elements that can be digged or left behind by custom elements
32
33 2004-01-12
34         * added group elements for multiple matches and random element creation
35
36 2004-01-11
37         * fixed some graphical errors displayed in old levels
38
39 2004-01-10
40         * fixed wrong double speed movement after passing closing gates
41
42 2004-01-03
43         * added level loader for loading native Emerald Mine levels
44
45 2004-01-02
46         * changes for "shooting" style CE movement
47
48 2004-01-01
49         * Happy New Year! ;-)
50
51 2003-12-27
52         * changed default snap/drop keys from left/right Shift to Control keys
53
54 2003-12-27
55         * fixed bug with dead player getting reanimated from custom element
56
57 2003-12-14
58         * fixed bug with wrong penguin graphics (when entering exit)
59
60 2003-12-14
61         * fixed bug with wrong "Murphy" graphics (when digging etc.)
62
63 2003-12-14
64         * Version number set to 3.0.9.
65
66 2003-12-14
67         * Version 3.0.8 released.
68
69 2003-12-13
70         * added function checked_free()
71
72 2003-12-13
73         * fixed bug with double nut cracking sound
74           (by eliminating "default element action sound" assignment in init.c)
75
76 2003-12-10
77         * fixed crash when no music info files are available
78
79 2003-12-07
80         * fixed boring and sleeping sounds
81
82 2003-12-05
83         * added "maze runner" and "maze hunter" movement types
84         * added extended collision conditions for custom elements
85
86 2003-12-03
87         * added warnings for undefined token values in artwork config files
88
89 2003-12-02
90         * added menu entry for level set information to the info screen
91
92 2003-12-02
93         * fixed bug with wrong default impact sound for colored emeralds
94
95 2003-11-30
96         * added several sub-screens for the info screen
97         * menu text now also clickable (not only blue/red sphere left of it)
98
99 2003-11-25
100         * added configurable "bored" and "sleeping" animations for the player
101         * added "awakening" sound for player when waking up after sleeping
102
103 2003-11-22
104         * added "copy" and "exchange" functions for custom elements to editor
105
106 2003-11-21
107         * added configurable element animations for info screen
108
109 2003-11-20
110         * added configurable music credits for info screen
111
112 2003-11-19
113         * finally fixed tape recording when player is created from CE change
114
115 2003-11-18
116         * added "editorsetup.conf" for editor element list configuration
117
118 2003-11-16
119         * added "musicinfo.conf" for menu and level music configuration
120
121 2003-11-14
122         * fixed a very nasty bug in dragon turning code in TurnRoundExt()
123           (that only showed up on Linux, but not on Windows systems)
124
125 2003-11-13
126         * fixed turning movement of butterflies and fireflies (no frame reset)
127         * enhanced sniksnak turning movement (two steps instead of only one)
128
129 2003-11-10
130         * Version number set to 3.0.8.
131
132 2003-11-10
133         * Version 3.0.7 released.
134
135 2003-11-09
136         * fixed reset of player animation frame when, for example,
137           walking, digging or collecting share the same animation
138         * fixed CE with "deadly when touching" exploding when touching amoeba
139
140 2003-11-08
141         * fixed tape recording when player is created from CE element change
142
143 2003-11-04
144         * introduced "turning..." action graphic for elements with move delay
145           (non-CE: bug, spaceship, sniksnak, mole, pacman, yamyam)
146         * added turning animations for bug, spaceship and sniksnak
147
148 2003-11-03
149         * prevent "extended" changed elements from delay change in same frame
150
151 2003-11-02
152         * fixed bug when pushing element that can move away to the side
153           (like pushing falling elements, but now with moving elements)
154
155 2003-11-01
156         * finally fixed serious bug in code for delayed element pushing (again)
157
158 2003-10-19
159         * unavailable setup options now marked as "n/a" instead of "off"
160         * new boolean directive "latest_engine" for "levelinfo.conf": when set
161           to "true", levels are always played with the latest game engine,
162           which is desired for levels that are imported from other games; all
163           other levels are played with the engine version stored in level file
164           (which is normally the engine version the level was created with)
165
166 2003-10-18
167         * fixed serious bug in code for delayed element pushing
168         * fixed little bug in animation frame selection for pushed elements
169         * speed-up of reading config file for verbose output
170
171 2003-10-08
172         * added configuration option for opening and closing Supaplex exit
173         * added configuration option for moving up/down animation for Murphy
174         * fixed incorrectly displayed animation for attacking dragon
175         * fixed bug with not setting initial gravity for each new game
176         * fixed bug with teleportation of player by custom element change
177         * fixed bug with player not getting smashed by rock sometimes
178
179 2003-10-06
180         * Version number set to 3.0.7.
181
182 2003-10-06
183         * Version 3.0.6 released.
184
185 2003-10-05
186         * added support for MP3 music for SDL version through SMPEG library
187
188 2003-10-03
189         * fixed bug when initializing font graphic structure
190         * fixed bug with animation mode "pingpong" when using only 1 frame
191         * fixed bug with extended change target introduced in 3.0.5
192         * fixed bug where passing over moving element doubles player speed
193         * fixed bug with elements continuing to move into push direction
194         * fixed bug with duplicated player when dropping bomb with shield on
195         * added "switching" event for custom elements ("pressing" only once)
196         * fixed switching bug (resetting flag when not switching but not idle)
197
198 2003-09-29
199         * fixed element tokens for certain file elements with ".active" etc.
200
201 2003-09-29
202         * Version number set to 3.0.6.
203
204 2003-09-29
205         * Version 3.0.5 released.
206
207 2003-09-28
208         * now four envelope elements available
209         * font, background, animation and sound for envelope now configurable
210         * main menu doors opening/closing animation type now configurable
211
212 2003-09-27
213         * active/inactive sides configurable for custom element changes
214         * new movement type "move when pushed" available for custom elements
215
216 2003-09-20
217         * fixed bug in multiple config pages loader code that caused crashes
218
219 2003-09-13
220         * enhanced (remaining low-resolution) Supaplex graphics
221
222 2003-09-13
223         * Version number set to 3.0.5.
224
225 2003-09-13
226         * Version 3.0.4 released.
227
228 2003-09-12      src/tools.c
229         * fixed bug in custom definition of crumbled element graphics
230
231 2003-09-11      src/files.c
232         * fixed bug in multiple config pages code that caused crashes
233
234 2003-09-08
235         * Version number set to 3.0.4.
236
237 2003-09-08
238         * Version 3.0.3 released.
239
240 2003-09-07
241         * added music to Supaplex classic level set
242
243 2003-09-07      src/libgame/misc.c
244         * added support for loading various music formats through SDL_mixer
245
246 2003-09-06      (various source files)
247         * fixed several nasty bugs that may have caused crashes on some systems
248         * added envelope content which gets displayed when collecting envelope
249         * added multiple change event pages for custom elements
250
251 2003-08-24      src/game.c
252         * fixed problem with player animation when snapping and moving
253
254 2003-08-23      src/screens.c, src/cartoons.c, src/libgame/toons.c
255         * fixed problem with flickering when drawing toon animations
256
257 2003-08-23      src/libgame/sdl.c
258         * fixed problem with setting mouse cursor in SDL version in fullscreen
259
260 2003-08-23      src/game.c
261         * fixed bug (missing array boundary check) which could crash the game
262
263 2003-08-23
264         * Version number set to 3.0.3.
265
266 2003-08-22
267         * Version 3.0.2 released.
268
269 2003-08-21      src/game.c
270         * fixed bug with creating inaccessible elements at player position
271
272 2003-08-20      src/init.c
273         * fixed bug with not finding current level artwork directory
274
275 2003-08-20      src/files.c
276         * fixed bug with choosing wrong engine version when playing tapes
277         * fixed bug with messing up custom element properties in 3.0.0 levels
278
279 2003-08-18
280         * Version number set to 3.0.2.
281
282 2003-08-18
283         * Version 3.0.1 released.
284
285 2003-08-17      (no source files affected)
286         * changed all "classic" PCX image files with 16 colors or less to
287           256 color (8 bit) storage format, because the Allegro game library
288           cannot handle PCX files with less than 256 colors (contributed
289           graphics are not affected and might look wrong in the DOS version)
290
291 2003-08-16      src/init.c
292         * fixed bug which (for example) crashed the level editor when defining
293           "dynamite.EDITOR:  [NONE]", because graphics may not be undefined
294           (only set to default) -- invalid graphics now set to default graphic
295
296 2003-08-16      src/init.c
297         * fixed graphical bug of player digging/collecting/snapping element
298           when no corresponding graphic/animation is defined for this action,
299           resulting in player being drawn as EL_EMPTY (which should only be
300           done to elements being collected, but not to the player)
301
302 2003-08-16      src/game.c
303         * fixed small graphical bug of player not totally moving into exit
304
305 2003-08-16      src/libgame/setup.c
306         * fixed bug with wrong MS-DOS 8.3 filename conversion
307
308 2003-08-16      src/tools.c
309         * fixed bug with invisible mouse cursor when pressing ESC while playing
310
311 2003-08-16      (various source files)
312         * added another 128 custom elements (disabled in editor by default)
313
314 2003-08-16      src/editor.c
315         * fixed NULL string bug causing Solaris to crash in sprintf()
316
317 2003-08-16      src/screen.c
318         * fixed drawing over scrollbar on level selection with custom fonts
319
320 2003-08-15      src/game.c
321         * cleanup of simple sounds / loop sounds / music settings
322
323 2003-08-08      (various source files)
324         * added custom element property for dropping collected elements
325
326 2003-08-08      src/conf_gfx.c
327         * fixed bug with missing graphic for active red disk bomb
328
329 2003-08-07      src/files.c, src/editor.c src/game.c, src/main.h
330         * Extended variable "level.gravity" to "level.initial_gravity" and
331           "game.current_gravity" to prevent level setting from being changed
332           by playing the level (keeping the runtime value after playing).
333
334         * Fixed graphics bug when digging element that has 'crumbled' graphic
335           definition, but not 'diggable' graphic definition.
336
337 2003-08-06
338         * Version number set to 3.0.1.
339
340 2003-08-05
341         * Version 3.0.0 released.
342
343 2003-08-05
344         * various bug fixes; among others:
345           - fixed bug with pushing spring over empty space
346           - fixed bug with leaving tube while placing dynamite
347           - fixed bug with explosion of smashed penguins
348           - allow Murphy player graphic in levels with non-Supaplex elements
349
350 2003-04-07
351         * Various changes.
352         * I have forgotten to document changes for some time.
353
354 2002-12-31
355         * Pre-Release Version 2.2.0rc1 released.
356
357 2002-08-25
358         * Version number set to 2.1.2.
359
360 2002-08-13
361         * Version 2.1.1 released.
362
363 2002-08-10
364         * Version number set to 2.1.1.
365
366 2002-08-05
367         * Version 2.1.0 released.
368         
369 2002-05-19
370         * Version number set to 2.1.0.
371
372 2002-04-03 to 2002-05-19        (various source files)
373         * graphics, sounds and music now fully configurable
374         * bug fixed that prevented walking through tubes when gravity on
375
376 2002-04-02      src/events.c, src/editor.c
377         * Make Escape key less aggressive when playing or when editing level.
378           This can be configured as an option in the setup menu. (Default is
379           "less aggressive" which means "ask user if something can be lost"
380           when pressing the Escape key.)
381
382 2002-04-02      src/screen.c
383         * Added "graphics setup" screen.
384
385 2002-04-01      src/screen.c
386         * Changed "choose level" setup screen stuff to be more generic (to
387           make it easier to add more "choose from generic tree" setup screens).
388
389 2002-04-01      src/config.c, src/timestamp.h
390         * Added source files "src/config.[ch]" and "src/timestamp.h" (which
391           automatically gets created by "src/Makefile" and contains an actual
392           compile-time timestamp to identify development versions of the game).
393
394 2002-03-31      src/tape.c, src/events.c
395         * Added quick game/tape save/load functions to tape stuff which can be
396           invoked by a keyboard shortcut. Default: "F1" saves game/tape, "F2"
397           loads previously recorded tape and directly goes into recording mode
398           from the end of the tape (therefore appending to the tape).
399
400 2002-03-31      src/tape.c
401         * Added "index mark" function to tape recorder. When playing or
402           recording, "eject" button changes to "index" button. Setting index
403           mark is not yet implemented, but pressing index button when playing
404           allows very quick advancing to end of tape (when normal playing),
405           very fast forward mode (when playing with normal fast forward) or
406           very fast reaching of "pause before end of tape" (when playing with
407           "pause before end" playing mode).
408
409 2002-03-30      src/cartoons.c
410         * Moved some stuff from cartoons.c to the new "src/libgame/toons.c".
411
412 2002-03-29      src/screen.c
413         * Changed setup screen stuff to be more generic (to make it easier
414           to add more setup screens).
415
416 2002-03-23      src/main.c, src/main.h
417         * Various changes due to the introduction of the new libgame files
418           "setup.c" and "joystick.c".
419
420 2002-03-23      src/files.c
421         * Generic parts of "src/files.c" (mainly setup and level directory
422           stuff) moved to new libgame file "src/libgame/setup.c".
423
424 2002-03-23      src/joystick.c
425         * File "src/joystick.c" moved to libgame source tree, with
426           correspondig changes.
427
428 2002-03-22      src/screens.c
429         * "HandleChooseLevel()": Another bug in level series navigation fixed.
430           (Wrong level series information displayed when entering main group.)
431
432 2002-03-22      src/editor.c
433         * Slight change to support new gadget event "GD_EVENT_INFO_LEAVING".
434
435 2002-03-22      src/editor.c
436         * Changed behaviour of "Escape" key in level editor to be more
437           intuitive: When in "Element Properties" or "Level Info" mode,
438           return to "Drawing Mode" instead of leaving the level editor.
439
440 2002-03-21      src/game.c, src/editor.c, src/files.c
441         * 2.0.1 introduced the corrected "Emerald Mine" style behaviour of
442           gems (emeralds, diamonds, ...) slipping down from normal wall,
443           steel wall and growing wall (as in E.M.C. style levels). Although
444           the behaviour of contributed and private levels wasn't changed (due
445           to the use of "level.game_version"; see previous entry), editing
446           those levels will (of course) change the behaviour accordingly.
447
448           This change seems a bit too hard after thinking about it, because
449           the EM style behaviour is not the "expected" behaviour (gems would
450           normally only slip down from "rounded" walls). Therefore this was
451           now changed to an element property for gem style elements, with the
452           default setting "off" (which means: no special EM style behaviour).
453           To fix older converted levels, this flag is set to "on" for pre-2.0
454           levels that are neither contributed nor private levels.
455
456 2002-03-20      src/files.h
457         * Corrected settings for "level.game_version" depending of level type.
458           (Contributed and private levels always get played with game engine
459           version they were created with, while converted levels always get
460           played with the most recent version of the game engine, to let new
461           corrections of the emulation behaviour take effect.)
462
463 2002-03-20      src/main.h
464         * Added "#include <time.h>". This seems to be needed by "tape.c" for
465           compiling the SDL version on some systems.
466           Thanks to the several people who pointed this out.
467
468 2002-03-19
469         * Version number set to 2.0.2.
470
471 2002-03-19
472         * Version 2.0.1 released.
473
474 2002-03-18      src/screens.c
475         * "HandleChooseLevel()": Small bug in level series navigation fixed.
476
477 2002-03-18      src/files.c [src/libgame/misc.c]
478         * Moved some common functions from src/files.c to src/libgame/misc.c.
479
480 2002-03-18      src/files.c [src/libgame/misc.c]
481         * Changed permissions for new directories and saved files (especially
482           score files) according to suggestions of Debian users and mantainers.
483           Thanks to Drew Parsons <dparsons@emerall.com> for the patch.
484
485 2002-03-17      src/files.c
486         * Changed "{Load|Save}{Level|Tape}()" to IFF style file format:
487           Replaced "cookie" header string ("ROCKSNDIAMONDS_...\n") with
488           real IFF style header "RND1....XXXX" (where "XXXX" is "CAVE"
489           for levels and "TAPE" for tapes). Old "cookie" style format is
490           still supported for reading. New level and tape files are written
491           in new format.
492
493         * New IFF chunk "VERS" contains version numbers for file and game
494           (where "game version" is the version of the program that wrote the
495           file, and "file version" is a version number to distinguish files
496           with different format, for example after adding new features).
497
498 2002-03-15      src/screen.c
499         * "DrawHallOfFame()": "FadeSounds()" when entering the hall of fame.
500           (Before, you heard a mixture of the in-game music and the
501           hall-of-fame music.)
502
503 2002-03-14      src/events.c
504         * Function "DumpTape()" (files.c) now available by pressing 't' from
505           main menu (when in DEBUG mode).
506
507 2002-03-14      src/game.c
508         * "GameWon()": When game was won playing a tape, now there is no delay
509           raising the score and no corresponding sound is played.
510
511 2002-03-14      src/files.c
512         * Changed "LoadTape()" for real chunk support and also adjusted
513           "SaveTape()" accordingly.
514
515 2002-03-14      src/game.c, src/tape.c, src/files.c
516         * Important changes to tape format: The old tape format stored all
517           actions with a real effect with a corresponding delay between the
518           stored actions. This had some major disadvantages (for example,
519           push delays had to be ignored, pressing a button for some seconds
520           mutated to several single button presses because of the non-action
521           delays between two action frames etc.). The new tape format just
522           stupidly records all device actions and replays them later. I really
523           don't know why I haven't solved it that way before?! Old-style tapes
524           (with tape file version less than 2.0) get converted to the new
525           format on-the-fly when loading and can therefore still be played;
526           only some minor parts of the old-style tape handling code was needed.
527           (A perfect conversion is not possible, because there is information
528           missing about the device actions between two action frames.)
529
530 2002-03-14      src/files.c
531         * New function "DumpTape()" to dump the contents of the current tape
532           in a human readable format.
533
534 2002-03-14      src/game.c
535         * Small tape bug fixed: When automatically advancing to next level
536           after a game was won, the tape from the previous level still was
537           loaded as a tape for the new level.
538
539 2002-03-14      src/tape.c
540         * Small graphical bug fixed: When pressing ""Record" or "Play" on
541           tape, cartoons did not get completely removed because
542           StopAnimation() was not called.
543
544 2002-03-13      src/files.c
545         * Changed "LoadLevel()" and "SaveLevel()" to add new chunk "CNT2".
546           Fixed bug of "CONT" and "BODY" (chunk size was set to 8-bit element
547           size even when using 16-bit elements). Added new chunk "CNT2" for
548           16-bit amoeba content (previously written in 8-bit field in "HEAD"
549           chunk even when content was 16-bit element). "CNT2" should now be
550           able to store content for arbitrary elements (up to eight blocks of
551           3 x 3 element arrays). All "CNT2" elements will always be stored as
552           16-bit elements. "CONT" (with 8/16-bit elements) now obsolete.
553
554 2002-03-13      src/files.c
555         * Changed "LoadLevel()" for real chunk support.
556
557 2002-03-12      src/game.c
558         * Fixed problem (introduced after 2.0.0 release) with penguins
559           not getting killed by enemies
560
561 2002-02-24      src/game.c, src/main.h
562         * Added "player->is_moving"; now "player->last_move_dir" does
563           not contain any information if the player is just moving at
564           the moment or not.
565           Before, "player->last_move_dir" was misused for this purpose
566           for  the robot stuff (robots don't kill players when they are
567           moving). But setting "player->last_move_dir" to MV_NO_MOVING
568           broke tapes when walking through pipes!
569           ("IS_MOVING()" uses "MovPos[][]", but this fails when it is 0
570           in a continuous movement. This fact is ignored for friends and
571           enemies, though.)