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