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