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