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