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