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