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