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