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