rocksndiamonds.git
7 weeks agofixed (not) pushing already moving elements in BD engine 4.4.0.0-test-5
Holger Schemel [Sun, 8 Dec 2024 00:09:47 +0000 (01:09 +0100)]
fixed (not) pushing already moving elements in BD engine

7 weeks agofixed moving already moving elements on conveyor belt in BD engine
Holger Schemel [Sat, 7 Dec 2024 23:44:01 +0000 (00:44 +0100)]
fixed moving already moving elements on conveyor belt in BD engine

This changes commit c1a2e3cc to be more generic: Generally prevent
moving any elements on (or under) a conveyor belt that are already
moving.

7 weeks agofixed some issues found by Cppcheck (static C/C++ code analysis tool)
Holger Schemel [Fri, 6 Dec 2024 19:49:33 +0000 (20:49 +0100)]
fixed some issues found by Cppcheck (static C/C++ code analysis tool)

7 weeks agofixed accessing invalid array position
Holger Schemel [Fri, 6 Dec 2024 19:13:19 +0000 (20:13 +0100)]
fixed accessing invalid array position

7 weeks agoadded support for player dying sound for native BD engine
Holger Schemel [Fri, 6 Dec 2024 19:07:26 +0000 (20:07 +0100)]
added support for player dying sound for native BD engine

7 weeks agoadded sounds for BD style bubble when moving/pushing
Holger Schemel [Fri, 6 Dec 2024 18:40:09 +0000 (19:40 +0100)]
added sounds for BD style bubble when moving/pushing

7 weeks agofixed sound action for BD style bubble changing to (growing) clock
Holger Schemel [Fri, 6 Dec 2024 18:37:13 +0000 (19:37 +0100)]
fixed sound action for BD style bubble changing to (growing) clock

7 weeks agochanged graphics for BD style waiting rock when moving/pushing
Holger Schemel [Fri, 6 Dec 2024 18:06:31 +0000 (19:06 +0100)]
changed graphics for BD style waiting rock when moving/pushing

7 weeks agochanged graphics for magic wall for native BD engine
Holger Schemel [Fri, 6 Dec 2024 17:45:50 +0000 (18:45 +0100)]
changed graphics for magic wall for native BD engine

7 weeks agoadded checking for NULL pointer for drawing wrapped info text
Holger Schemel [Fri, 6 Dec 2024 17:01:55 +0000 (18:01 +0100)]
added checking for NULL pointer for drawing wrapped info text

7 weeks agoadded checking for NULL pointer for UTF-8 conversion functions
Holger Schemel [Fri, 6 Dec 2024 17:00:32 +0000 (18:00 +0100)]
added checking for NULL pointer for UTF-8 conversion functions

8 weeks agoremoved old color template bitmap functions
Holger Schemel [Wed, 4 Dec 2024 21:05:34 +0000 (22:05 +0100)]
removed old color template bitmap functions

8 weeks agoadded color template bitmap functions to support color ranges
Holger Schemel [Wed, 4 Dec 2024 20:58:32 +0000 (21:58 +0100)]
added color template bitmap functions to support color ranges

8 weeks agoadded delayed game over if BD player can be re-created from effect
Holger Schemel [Wed, 4 Dec 2024 19:41:20 +0000 (20:41 +0100)]
added delayed game over if BD player can be re-created from effect

8 weeks agominor code cleanup
Holger Schemel [Wed, 4 Dec 2024 19:35:16 +0000 (20:35 +0100)]
minor code cleanup

8 weeks agofixed always marking player as seen for player birth elements
Holger Schemel [Wed, 4 Dec 2024 19:29:44 +0000 (20:29 +0100)]
fixed always marking player as seen for player birth elements

8 weeks agofixed initializing color template images before fading out game screen
Holger Schemel [Tue, 3 Dec 2024 19:58:21 +0000 (20:58 +0100)]
fixed initializing color template images before fading out game screen

8 weeks agoadded setup option for suicide key for BD game engine
Holger Schemel [Tue, 3 Dec 2024 18:59:34 +0000 (19:59 +0100)]
added setup option for suicide key for BD game engine

8 weeks agoadded support for suicide key for BD game engine
Holger Schemel [Tue, 3 Dec 2024 18:56:19 +0000 (19:56 +0100)]
added support for suicide key for BD game engine

8 weeks agominor changes (no functional changes)
Holger Schemel [Tue, 3 Dec 2024 18:48:38 +0000 (19:48 +0100)]
minor changes (no functional changes)

8 weeks agominor whitespace changes
Holger Schemel [Tue, 3 Dec 2024 18:15:33 +0000 (19:15 +0100)]
minor whitespace changes

8 weeks agofixed crash bug
Holger Schemel [Tue, 3 Dec 2024 18:07:27 +0000 (19:07 +0100)]
fixed crash bug

8 weeks agoadded editor graphics definitions for BD style firefly and butterfly
Holger Schemel [Mon, 2 Dec 2024 17:36:45 +0000 (18:36 +0100)]
added editor graphics definitions for BD style firefly and butterfly

8 weeks agoversion number set to 4.4.0.0-test-5
Holger Schemel [Mon, 2 Dec 2024 17:14:57 +0000 (18:14 +0100)]
version number set to 4.4.0.0-test-5

8 weeks agoadded setting increased BD cave time also in main game engine 4.4.0.0-test-4
Holger Schemel [Sun, 1 Dec 2024 15:35:18 +0000 (16:35 +0100)]
added setting increased BD cave time also in main game engine

This change is required if the BD cave time was increased by
collecting clocks; else the game is running out of time too early in
the main game engine, which still uses the previous level time, even
though the BD cave time is displayed correctly in the game panel.

However, a decreased BD cave time (for example, if a voodoo doll was
destroyed) may not be set in the main engine, as it may result in an
immediate "out of time" event, which is handled separately in the main
game engine.

8 weeks agofixed playing non-native sounds at wrap-around BD cave positions
Holger Schemel [Sun, 1 Dec 2024 14:50:19 +0000 (15:50 +0100)]
fixed playing non-native sounds at wrap-around BD cave positions

8 weeks agofixed playing BD style rocket sound if no rocket launched (diagonally)
Holger Schemel [Sun, 1 Dec 2024 14:14:54 +0000 (15:14 +0100)]
fixed playing BD style rocket sound if no rocket launched (diagonally)

8 weeks agoadded missing editor graphics for BD style time penalty element
Holger Schemel [Sun, 1 Dec 2024 13:49:02 +0000 (14:49 +0100)]
added missing editor graphics for BD style time penalty element

8 weeks agoadded game element descriptions for even more BD style game elements
Holger Schemel [Sun, 1 Dec 2024 13:28:35 +0000 (14:28 +0100)]
added game element descriptions for even more BD style game elements

8 weeks agoadded time penalty counter also to time penalty element in editor
Holger Schemel [Sun, 1 Dec 2024 13:15:26 +0000 (14:15 +0100)]
added time penalty counter also to time penalty element in editor

So far, this counter was only displayed for the "voodoo doll" game
element in the game element settings of the level editor.

8 weeks agoadded game element descriptions for some BD style game elements
Holger Schemel [Sun, 1 Dec 2024 13:13:07 +0000 (14:13 +0100)]
added game element descriptions for some BD style game elements

2 months agofixed determining non-stable version number in Android build script
Holger Schemel [Sat, 30 Nov 2024 12:08:16 +0000 (13:08 +0100)]
fixed determining non-stable version number in Android build script

2 months agofixed calculating tape engine version sub-types
Holger Schemel [Sat, 30 Nov 2024 10:23:10 +0000 (11:23 +0100)]
fixed calculating tape engine version sub-types

2 months agofixed version types for platforms with 32-bit "long" type
Holger Schemel [Sat, 30 Nov 2024 10:15:35 +0000 (11:15 +0100)]
fixed version types for platforms with 32-bit "long" type

2 months agoadded including math header file
Holger Schemel [Sat, 30 Nov 2024 09:34:07 +0000 (10:34 +0100)]
added including math header file

2 months agofixed wrong operand in "if" clause
Holger Schemel [Sat, 30 Nov 2024 09:02:42 +0000 (10:02 +0100)]
fixed wrong operand in "if" clause

2 months agoadded using empty buffer to determine required size for vsnprintf
Holger Schemel [Sat, 30 Nov 2024 08:50:26 +0000 (09:50 +0100)]
added using empty buffer to determine required size for vsnprintf

2 months agofixed crash bug caused by using va_list twice
Holger Schemel [Sat, 30 Nov 2024 08:46:08 +0000 (09:46 +0100)]
fixed crash bug caused by using va_list twice

2 months agoadded separating standard and extended game version numbers
Holger Schemel [Fri, 29 Nov 2024 19:48:49 +0000 (20:48 +0100)]
added separating standard and extended game version numbers

2 months agoadded newly born player being invulnerable for exactly one frame
Holger Schemel [Fri, 29 Nov 2024 19:04:55 +0000 (20:04 +0100)]
added newly born player being invulnerable for exactly one frame

If player is hatched from inbox and all pre-birth effect elements are
processed, add one single game frame of invulnerability for the player
against being instantly killed by enemies by using a special element.

by using a special element This is needed to be able to solve level 017 of "Arno Dash 02".

2 months agoadded using old BD engine for tapes from 4.4.0.0-test-3 and earlier
Holger Schemel [Wed, 27 Nov 2024 20:20:46 +0000 (21:20 +0100)]
added using old BD engine for tapes from 4.4.0.0-test-3 and earlier

2 months agoversion number set to 4.4.0.0-test-4
Holger Schemel [Wed, 27 Nov 2024 20:17:44 +0000 (21:17 +0100)]
version number set to 4.4.0.0-test-4

2 months agoadded tape file chunk to store extended versions
Holger Schemel [Wed, 27 Nov 2024 20:13:58 +0000 (21:13 +0100)]
added tape file chunk to store extended versions

2 months agoadded using extended game version
Holger Schemel [Wed, 27 Nov 2024 20:10:20 +0000 (21:10 +0100)]
added using extended game version

2 months agoadded macros for extended version numbers
Holger Schemel [Wed, 27 Nov 2024 20:04:44 +0000 (21:04 +0100)]
added macros for extended version numbers

2 months agochanged using different macro (with same functionality)
Holger Schemel [Wed, 27 Nov 2024 19:52:47 +0000 (20:52 +0100)]
changed using different macro (with same functionality)

2 months agomoved function to different source file
Holger Schemel [Wed, 27 Nov 2024 19:50:17 +0000 (20:50 +0100)]
moved function to different source file

2 months agominor code change
Holger Schemel [Wed, 27 Nov 2024 19:40:28 +0000 (20:40 +0100)]
minor code change

2 months agominor change of output when dumping tape
Holger Schemel [Wed, 27 Nov 2024 19:36:06 +0000 (20:36 +0100)]
minor change of output when dumping tape

2 months agofixed redrawing level (set) info icons when using color template
Holger Schemel [Wed, 27 Nov 2024 18:39:25 +0000 (19:39 +0100)]
fixed redrawing level (set) info icons when using color template

2 months agofixed setting BD style image color template after changing artwork
Holger Schemel [Wed, 27 Nov 2024 18:27:28 +0000 (19:27 +0100)]
fixed setting BD style image color template after changing artwork

As each (BD style) level may change the image color template using new
colors for game graphics as defined in the level file for this level,
new custom artwork (with color template definitions) must always be
reloaded before loading the level file (and adjusting the image color
template according to the colors defined in the level file).

2 months agochanged internal version number format
Holger Schemel [Sun, 24 Nov 2024 11:39:24 +0000 (12:39 +0100)]
changed internal version number format

2 months agoadded missing editor graphics for some BD style game elements
Holger Schemel [Fri, 22 Nov 2024 19:46:35 +0000 (20:46 +0100)]
added missing editor graphics for some BD style game elements

- falling grass ball
- falling loose grass
- explodable steel wall

2 months agochanged BD engine to match new GDash code (C64 import, part three)
Holger Schemel [Wed, 20 Nov 2024 23:19:53 +0000 (00:19 +0100)]
changed BD engine to match new GDash code (C64 import, part three)

2 months agochanged BD engine to match new GDash code (C64 import, part two)
Holger Schemel [Wed, 20 Nov 2024 18:52:47 +0000 (19:52 +0100)]
changed BD engine to match new GDash code (C64 import, part two)

2 months agochanged BD engine to match new GDash code (C64 import, part one)
Holger Schemel [Wed, 20 Nov 2024 18:32:40 +0000 (19:32 +0100)]
changed BD engine to match new GDash code (C64 import, part one)

2 months agochanged BD engine to match new GDash code (BRC import)
Holger Schemel [Wed, 20 Nov 2024 17:53:38 +0000 (18:53 +0100)]
changed BD engine to match new GDash code (BRC import)

2 months agoadded comments
Holger Schemel [Wed, 20 Nov 2024 00:10:13 +0000 (01:10 +0100)]
added comments

2 months agochanged BD engine to match new GDash code (default values)
Holger Schemel [Wed, 20 Nov 2024 00:03:33 +0000 (01:03 +0100)]
changed BD engine to match new GDash code (default values)

2 months agofixed comment
Holger Schemel [Tue, 19 Nov 2024 23:39:33 +0000 (00:39 +0100)]
fixed comment

2 months agominor whitespace change
Holger Schemel [Tue, 19 Nov 2024 23:34:29 +0000 (00:34 +0100)]
minor whitespace change

2 months agofixed comment
Holger Schemel [Tue, 19 Nov 2024 23:16:57 +0000 (00:16 +0100)]
fixed comment

2 months agochanged BD engine to match new GDash code (extra ckdelay for animations)
Holger Schemel [Tue, 19 Nov 2024 23:04:58 +0000 (00:04 +0100)]
changed BD engine to match new GDash code (extra ckdelay for animations)

2 months agofixed crash bug when running in headless mode
Holger Schemel [Tue, 19 Nov 2024 22:46:50 +0000 (23:46 +0100)]
fixed crash bug when running in headless mode

2 months agominor change (no functional change)
Holger Schemel [Tue, 19 Nov 2024 20:50:10 +0000 (21:50 +0100)]
minor change (no functional change)

2 months agochanged detecting native BD level info by file type (not game engine)
Holger Schemel [Mon, 18 Nov 2024 20:15:07 +0000 (21:15 +0100)]
changed detecting native BD level info by file type (not game engine)

2 months agofixed crash bug
Holger Schemel [Mon, 18 Nov 2024 19:49:03 +0000 (20:49 +0100)]
fixed crash bug

2 months agofixed also showing native BD level story on level info screen
Holger Schemel [Mon, 18 Nov 2024 19:31:22 +0000 (20:31 +0100)]
fixed also showing native BD level story on level info screen

Make sure that level story is only displayed from info menu, but not
from main menu.

This fixes commit 6f7f7a0c.

2 months agoadded disabling centered level info text if too long
Holger Schemel [Mon, 18 Nov 2024 19:25:17 +0000 (20:25 +0100)]
added disabling centered level info text if too long

2 months agoadded also showing native BD level story on level info screen
Holger Schemel [Mon, 18 Nov 2024 19:13:03 +0000 (20:13 +0100)]
added also showing native BD level story on level info screen

2 months agoadded selecting level from the level info screen
Holger Schemel [Mon, 18 Nov 2024 00:06:57 +0000 (01:06 +0100)]
added selecting level from the level info screen

2 months agomoved re-creating gadgets to main info screen function
Holger Schemel [Sun, 17 Nov 2024 23:26:47 +0000 (00:26 +0100)]
moved re-creating gadgets to main info screen function

2 months agofixed subtitle for empty level story info screen
Holger Schemel [Sun, 17 Nov 2024 23:16:15 +0000 (00:16 +0100)]
fixed subtitle for empty level story info screen

2 months agorenamed variable
Holger Schemel [Sun, 17 Nov 2024 23:09:40 +0000 (00:09 +0100)]
renamed variable

2 months agomoved code to separate function
Holger Schemel [Sun, 17 Nov 2024 23:08:47 +0000 (00:08 +0100)]
moved code to separate function

2 months agofixed detecting if level (set) info is shown from main menu
Holger Schemel [Sat, 16 Nov 2024 00:40:35 +0000 (01:40 +0100)]
fixed detecting if level (set) info is shown from main menu

2 months agofixed info menu screen for empty level story
Holger Schemel [Sat, 16 Nov 2024 00:21:18 +0000 (01:21 +0100)]
fixed info menu screen for empty level story

2 months agoadded separate info menu screen for level story
Holger Schemel [Sat, 16 Nov 2024 00:10:46 +0000 (01:10 +0100)]
added separate info menu screen for level story

2 months agoadded showing full level and level set information for BDCFF levels
Holger Schemel [Fri, 15 Nov 2024 23:47:19 +0000 (00:47 +0100)]
added showing full level and level set information for BDCFF levels

For level and level set information screens accessible from main menu,
only a subset of information is shown (story, remark and description
for level sets, remark and description for levels, as level stories
are already shown when starting the game).

Complete information (including name, author, date etc.) is shown only
from the info menu.

2 months agoadded support for level stories in "docs/stories/XXX.txt"
Holger Schemel [Fri, 15 Nov 2024 23:28:30 +0000 (00:28 +0100)]
added support for level stories in "docs/stories/XXX.txt"

By placing a text file into "docs/stories/XXX.txt" inside the level
set directory, it will be shown before starting the game.

2 months agoreplaced code by function calls doing the same
Holger Schemel [Fri, 15 Nov 2024 20:39:34 +0000 (21:39 +0100)]
replaced code by function calls doing the same

2 months agochanged handling some conditions
Holger Schemel [Fri, 15 Nov 2024 20:30:05 +0000 (21:30 +0100)]
changed handling some conditions

2 months agoadded unescaping fixed-sized strings in BDCFF files
Holger Schemel [Fri, 15 Nov 2024 20:13:39 +0000 (21:13 +0100)]
added unescaping fixed-sized strings in BDCFF files

2 months agoimproved wrapper function for vsnprintf()
Holger Schemel [Fri, 15 Nov 2024 20:12:24 +0000 (21:12 +0100)]
improved wrapper function for vsnprintf()

2 months agoadded setup option to save setup without "save and exit" menu entry
Holger Schemel [Tue, 12 Nov 2024 19:52:02 +0000 (20:52 +0100)]
added setup option to save setup without "save and exit" menu entry

2 months agoadded leaving story screen to main menu with "cursor left" key
Holger Schemel [Tue, 12 Nov 2024 18:37:13 +0000 (19:37 +0100)]
added leaving story screen to main menu with "cursor left" key

2 months agochanged level story related settings from ".INFO[STORY]" to ".STORY"
Holger Schemel [Tue, 12 Nov 2024 17:48:47 +0000 (18:48 +0100)]
changed level story related settings from ".INFO[STORY]" to ".STORY"

2 months agoadded converting single newlines for native BD cave (set) stories
Holger Schemel [Mon, 11 Nov 2024 18:58:52 +0000 (19:58 +0100)]
added converting single newlines for native BD cave (set) stories

2 months agoadded missing definition for story screen
Holger Schemel [Mon, 11 Nov 2024 18:47:59 +0000 (19:47 +0100)]
added missing definition for story screen

This change was missing for commit 484e3440.

2 months agofixed screen width calculation for level story title
Holger Schemel [Sat, 9 Nov 2024 15:56:23 +0000 (16:56 +0100)]
fixed screen width calculation for level story title

2 months agofixed font width calculation for level story title
Holger Schemel [Sat, 9 Nov 2024 15:53:28 +0000 (16:53 +0100)]
fixed font width calculation for level story title

2 months agoadded using native level name when showing story before game start
Holger Schemel [Sat, 9 Nov 2024 15:50:45 +0000 (16:50 +0100)]
added using native level name when showing story before game start

2 months agoadded separate title font for showing story before starting the game
Holger Schemel [Sat, 9 Nov 2024 15:24:28 +0000 (16:24 +0100)]
added separate title font for showing story before starting the game

2 months agofixed bug when escaping from level info screen on game start
Holger Schemel [Sat, 9 Nov 2024 13:51:40 +0000 (14:51 +0100)]
fixed bug when escaping from level info screen on game start

2 months agoadded separate screen for showing level info before starting the game
Holger Schemel [Sat, 9 Nov 2024 13:45:31 +0000 (14:45 +0100)]
added separate screen for showing level info before starting the game

2 months agofixed use of wrong constant
Holger Schemel [Fri, 8 Nov 2024 20:52:33 +0000 (21:52 +0100)]
fixed use of wrong constant

2 months agoadded converting additional UTF-8 characters to internal format
Holger Schemel [Fri, 8 Nov 2024 20:18:40 +0000 (21:18 +0100)]
added converting additional UTF-8 characters to internal format

2 months agoadded converting cave (set) story text to internal text format
Holger Schemel [Fri, 8 Nov 2024 20:16:41 +0000 (21:16 +0100)]
added converting cave (set) story text to internal text format

2 months agoadded showing native BD cave (set) story as level (set) info
Holger Schemel [Fri, 8 Nov 2024 20:01:42 +0000 (21:01 +0100)]
added showing native BD cave (set) story as level (set) info

2 months agoadded setting pointer to cave set for native BD levels
Holger Schemel [Fri, 8 Nov 2024 19:27:30 +0000 (20:27 +0100)]
added setting pointer to cave set for native BD levels