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