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