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