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