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