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