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