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