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