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