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