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