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