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