rocksndiamonds.git
4 weeks agofixed bug with scrolling screen towards initially created player
Holger Schemel [Wed, 1 Jan 2025 13:32:30 +0000 (14:32 +0100)]
fixed bug with scrolling screen towards initially created player

4 weeks agofixed bugs with potentially using off-playfield position
Holger Schemel [Wed, 1 Jan 2025 13:27:23 +0000 (14:27 +0100)]
fixed bugs with potentially using off-playfield position

4 weeks agoadded setting color type and colors for editor after loading level
Holger Schemel [Tue, 31 Dec 2024 15:33:33 +0000 (16:33 +0100)]
added setting color type and colors for editor after loading level

4 weeks agochanged setting random colors for BD style levels for new levels only
Holger Schemel [Tue, 31 Dec 2024 15:23:42 +0000 (16:23 +0100)]
changed setting random colors for BD style levels for new levels only

Without this change, levels loaded from existing level files may get
wrong colors, as default colors (that are not stored in level file)
have been replaced with random colors before, which is wrong.

4 weeks agorenamed variable
Holger Schemel [Tue, 31 Dec 2024 15:21:44 +0000 (16:21 +0100)]
renamed variable

4 weeks agofixed saving BD style snap element in level file
Holger Schemel [Tue, 31 Dec 2024 14:11:15 +0000 (15:11 +0100)]
fixed saving BD style snap element in level file

4 weeks agofixed multi-line request text overlapping with request buttons
Holger Schemel [Mon, 30 Dec 2024 18:08:14 +0000 (19:08 +0100)]
fixed multi-line request text overlapping with request buttons

4 weeks agochanged code to use narrow request font (no functional change)
Holger Schemel [Mon, 30 Dec 2024 18:06:43 +0000 (19:06 +0100)]
changed code to use narrow request font (no functional change)

4 weeks agofixed bug with sounds not being played in native BD sound engine
Holger Schemel [Fri, 27 Dec 2024 15:10:51 +0000 (16:10 +0100)]
fixed bug with sounds not being played in native BD sound engine

This fixes a bug where sounds (when using the native BD sound engine)
were not played because other sounds with higher precedence were
already playing. However, this should only be true for two sounds to
be played at the same time, while a sound with lower precedence may
be played if another sound with higher precedence is already playing
for some time.

4 weeks agofixed sound action ".growing" to be non-looping in native BD engine
Holger Schemel [Fri, 27 Dec 2024 14:42:56 +0000 (15:42 +0100)]
fixed sound action ".growing" to be non-looping in native BD engine

4 weeks agoversion number set to 4.4.0.1-test-1
Holger Schemel [Fri, 27 Dec 2024 14:37:56 +0000 (15:37 +0100)]
version number set to 4.4.0.1-test-1

5 weeks agoversion number set to 4.4.0.0 (stable) master-next-major-release 4.4.0.0
Holger Schemel [Mon, 23 Dec 2024 12:55:42 +0000 (13:55 +0100)]
version number set to 4.4.0.0 (stable)

5 weeks agofixed playing native BD replays with correct engine version
Holger Schemel [Sun, 22 Dec 2024 12:19:56 +0000 (13:19 +0100)]
fixed playing native BD replays with correct engine version

5 weeks agoadded renaming already existing level directory when dropping zip file
Holger Schemel [Fri, 20 Dec 2024 21:14:37 +0000 (22:14 +0100)]
added renaming already existing level directory when dropping zip file

5 weeks agomoved static local strings to global structure for zip support
Holger Schemel [Fri, 20 Dec 2024 19:11:14 +0000 (20:11 +0100)]
moved static local strings to global structure for zip support

5 weeks agochanged checking for directory in zip file in last step
Holger Schemel [Fri, 20 Dec 2024 18:58:56 +0000 (19:58 +0100)]
changed checking for directory in zip file in last step

5 weeks agoadded storing state of checked zip file
Holger Schemel [Fri, 20 Dec 2024 18:33:23 +0000 (19:33 +0100)]
added storing state of checked zip file

5 weeks agoadded command line option to list available SDL render drivers
Holger Schemel [Fri, 20 Dec 2024 17:46:57 +0000 (18:46 +0100)]
added command line option to list available SDL render drivers

6 weeks agochanged threshold for fast counting down remaining BD engine level time
Holger Schemel [Tue, 17 Dec 2024 19:15:23 +0000 (20:15 +0100)]
changed threshold for fast counting down remaining BD engine level time

Changed from 60 to 100 seconds, else it looks a bit strange if level
time counter quickly counts from 100 to 60, then counting down slower.

6 weeks agofixed playing time bonus sound in BD engine with R'n'D sound engine
Holger Schemel [Tue, 17 Dec 2024 19:16:56 +0000 (20:16 +0100)]
fixed playing time bonus sound in BD engine with R'n'D sound engine

Without this addition, no time bonus sound is played while counting
down the last few seconds after a game is won, using the native BD
game engine while using the non-native (R'n'D) sound engine.

6 weeks agoimproved graphics for digging crumbled BD style sloped sand
Holger Schemel [Tue, 17 Dec 2024 19:05:30 +0000 (20:05 +0100)]
improved graphics for digging crumbled BD style sloped sand

6 weeks agochanged positions of some BD style graphics inside image file
Holger Schemel [Tue, 17 Dec 2024 18:15:46 +0000 (19:15 +0100)]
changed positions of some BD style graphics inside image file

6 weeks agoadded crumbled graphics support for more BD style game elements
Holger Schemel [Tue, 17 Dec 2024 18:09:12 +0000 (19:09 +0100)]
added crumbled graphics support for more BD style game elements

- bdx_sand_sloped_up_left
- bdx_sand_sloped_up_right
- bdx_sand_sloped_down_left
- bdx_sand_sloped_down_right

6 weeks agofixed broken BDCFF token for BD engine
Holger Schemel [Tue, 17 Dec 2024 18:06:16 +0000 (19:06 +0100)]
fixed broken BDCFF token for BD engine

6 weeks agoadded separate level editor graphics for BD style non-sloped wall
Holger Schemel [Mon, 16 Dec 2024 22:14:45 +0000 (23:14 +0100)]
added separate level editor graphics for BD style non-sloped wall

6 weeks agoimproved support for player dying sound for native BD engine
Holger Schemel [Mon, 16 Dec 2024 22:00:16 +0000 (23:00 +0100)]
improved support for player dying sound for native BD engine

6 weeks agoadded sound support for some enemies for the BD engine
Holger Schemel [Mon, 16 Dec 2024 20:00:30 +0000 (21:00 +0100)]
added sound support for some enemies for the BD engine

6 weeks agofixed amoeba sounds for BD engine
Holger Schemel [Mon, 16 Dec 2024 19:06:32 +0000 (20:06 +0100)]
fixed amoeba sounds for BD engine

6 weeks agofixed smoothing player movement with variable cave speed in BD engine
Holger Schemel [Mon, 16 Dec 2024 18:40:44 +0000 (19:40 +0100)]
fixed smoothing player movement with variable cave speed in BD engine

6 weeks agofixed drawing graphics for crumbled sand with BD game engine
Holger Schemel [Sun, 15 Dec 2024 20:33:08 +0000 (21:33 +0100)]
fixed drawing graphics for crumbled sand with BD game engine

This change handles another special case when using non-standard cave
scheduling (that is, using either non-milliseconds scheduling, or
using a game cycle delay other than 160 ms).

6 weeks agoversion number set to 4.4.0.0-test-7
Holger Schemel [Sun, 15 Dec 2024 12:02:11 +0000 (13:02 +0100)]
version number set to 4.4.0.0-test-7

6 weeks agoadded classic BD level set using native BD game engine 4.4.0.0-test-6
Holger Schemel [Sun, 15 Dec 2024 08:44:51 +0000 (09:44 +0100)]
added classic BD level set using native BD game engine

6 weeks agoadded sound for opening exit in native BD game engine
Holger Schemel [Sat, 14 Dec 2024 18:16:44 +0000 (19:16 +0100)]
added sound for opening exit in native BD game engine

6 weeks agofixed graphics when digging crumbled sand with BD game engine
Holger Schemel [Sat, 14 Dec 2024 18:10:30 +0000 (19:10 +0100)]
fixed graphics when digging crumbled sand with BD game engine

This change is needed for BD1 cave scheduling where animation cycle is
not always in sync with the game engine.

6 weeks agofixed playing loop sounds when using native BD game engine
Holger Schemel [Sat, 14 Dec 2024 17:18:25 +0000 (18:18 +0100)]
fixed playing loop sounds when using native BD game engine

When using the native BD game engine, but not using the native BD
sound engine, loop sounds were not played anymore due to a bug with
off-playfield sound positions.

This bug was introduced by commit 386e26cf.

6 weeks agoremoved unused BD background color in level editor
Holger Schemel [Sat, 14 Dec 2024 14:23:57 +0000 (15:23 +0100)]
removed unused BD background color in level editor

6 weeks agoadded converting BD style grass for R'n'D game engine
Holger Schemel [Fri, 13 Dec 2024 20:11:38 +0000 (21:11 +0100)]
added converting BD style grass for R'n'D game engine

6 weeks agoadded variable to be set when using extended color template colors
Holger Schemel [Fri, 13 Dec 2024 20:04:27 +0000 (21:04 +0100)]
added variable to be set when using extended color template colors

6 weeks agoreplaced BD color index numbers with meaningful constants
Holger Schemel [Fri, 13 Dec 2024 20:00:22 +0000 (21:00 +0100)]
replaced BD color index numbers with meaningful constants

6 weeks agocleanup of BD style color definitions
Holger Schemel [Fri, 13 Dec 2024 19:39:29 +0000 (20:39 +0100)]
cleanup of BD style color definitions

6 weeks agoadded support for two extra colors for color templates
Holger Schemel [Fri, 13 Dec 2024 19:26:31 +0000 (20:26 +0100)]
added support for two extra colors for color templates

7 weeks agoadded crumbled graphics support for more BD style game elements
Holger Schemel [Thu, 12 Dec 2024 00:20:13 +0000 (01:20 +0100)]
added crumbled graphics support for more BD style game elements

- bdx_grass
- bdx_sand_glued
- bdx_biter_switch_1/2/3/4

7 weeks agoadded digging and crumbled graphics definitions for BD style sand
Holger Schemel [Wed, 11 Dec 2024 21:07:57 +0000 (22:07 +0100)]
added digging and crumbled graphics definitions for BD style sand

7 weeks agoadded more generic handling of crumbled graphics in BD graphics engine
Holger Schemel [Wed, 11 Dec 2024 21:03:58 +0000 (22:03 +0100)]
added more generic handling of crumbled graphics in BD graphics engine

7 weeks agoadded support for digging (crumbled) sand for BD graphics engine
Holger Schemel [Wed, 11 Dec 2024 20:10:00 +0000 (21:10 +0100)]
added support for digging (crumbled) sand for BD graphics engine

7 weeks agoadded support for crumbled sand for native BD graphics engine
Holger Schemel [Tue, 10 Dec 2024 20:00:50 +0000 (21:00 +0100)]
added support for crumbled sand for native BD graphics engine

7 weeks agofixed bug with covering screen when loading next level
Holger Schemel [Tue, 10 Dec 2024 19:40:25 +0000 (20:40 +0100)]
fixed bug with covering screen when loading next level

7 weeks agofixed two color template default colors currently not editable
Holger Schemel [Tue, 10 Dec 2024 19:33:17 +0000 (20:33 +0100)]
fixed two color template default colors currently not editable

7 weeks agochanged some BD style game elements in editor palette
Holger Schemel [Tue, 10 Dec 2024 19:31:33 +0000 (20:31 +0100)]
changed some BD style game elements in editor palette

7 weeks agomoved EMC style game elements to correct editor palette section
Holger Schemel [Tue, 10 Dec 2024 19:01:57 +0000 (20:01 +0100)]
moved EMC style game elements to correct editor palette section

7 weeks agoremoved unused black area in image file
Holger Schemel [Tue, 10 Dec 2024 18:57:03 +0000 (19:57 +0100)]
removed unused black area in image file

7 weeks agoadded function to free tile cursor (snow) textures
Holger Schemel [Mon, 9 Dec 2024 18:40:35 +0000 (19:40 +0100)]
added function to free tile cursor (snow) textures

7 weeks agoadded function to free all textures
Holger Schemel [Mon, 9 Dec 2024 18:32:56 +0000 (19:32 +0100)]
added function to free all textures

7 weeks agofixed initializing snow using changed window size
Holger Schemel [Mon, 9 Dec 2024 18:25:14 +0000 (19:25 +0100)]
fixed initializing snow using changed window size

7 weeks agofixed (and added warning when) trying to free already freed textures
Holger Schemel [Mon, 9 Dec 2024 18:21:06 +0000 (19:21 +0100)]
fixed (and added warning when) trying to free already freed textures

7 weeks agocleanup of functions to free bitmap surfaces and textures
Holger Schemel [Mon, 9 Dec 2024 18:16:11 +0000 (19:16 +0100)]
cleanup of functions to free bitmap surfaces and textures

7 weeks agofixed playing diamond sounds at wrap-around BD cave positions
Holger Schemel [Sun, 8 Dec 2024 17:21:04 +0000 (18:21 +0100)]
fixed playing diamond sounds at wrap-around BD cave positions

7 weeks agofixed playing sounds at wrap-around BD cave positions
Holger Schemel [Sun, 8 Dec 2024 17:18:03 +0000 (18:18 +0100)]
fixed playing sounds at wrap-around BD cave positions

This change completes commit daf84901, which only fixed sounds at
wrap-around BD cave positions when using the non-native sound engine.

7 weeks agofixed playing BD engine levels if preferred network player changed
Holger Schemel [Sun, 8 Dec 2024 14:48:48 +0000 (15:48 +0100)]
fixed playing BD engine levels if preferred network player changed

7 weeks agofixed macro to detect BD style player
Holger Schemel [Sun, 8 Dec 2024 14:47:59 +0000 (15:47 +0100)]
fixed macro to detect BD style player

7 weeks agoimproved code readability regarding calculation precedence
Holger Schemel [Sun, 8 Dec 2024 11:03:22 +0000 (12:03 +0100)]
improved code readability regarding calculation precedence

7 weeks agomoved RequestInfo structure into MenuInfo structure
Holger Schemel [Sun, 8 Dec 2024 10:53:08 +0000 (11:53 +0100)]
moved RequestInfo structure into MenuInfo structure

7 weeks agoversion number set to 4.4.0.0-test-6
Holger Schemel [Sun, 8 Dec 2024 10:36:37 +0000 (11:36 +0100)]
version number set to 4.4.0.0-test-6

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