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