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