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