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