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