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