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