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