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