rocksndiamonds.git
12 days agoadded support for BD game engine to Makefile for Android master-next-major-release 4.4.0.0-test-1
Holger Schemel [Wed, 8 May 2024 23:13:50 +0000 (01:13 +0200)]
added support for BD game engine to Makefile for Android

12 days agofixed some more compiler warnings
Holger Schemel [Wed, 8 May 2024 22:58:14 +0000 (00:58 +0200)]
fixed some more compiler warnings

12 days agofixed compiler warning
Holger Schemel [Wed, 8 May 2024 22:15:25 +0000 (00:15 +0200)]
fixed compiler warning

12 days agofixed wrong sound position in BD engine
Holger Schemel [Wed, 8 May 2024 22:14:49 +0000 (00:14 +0200)]
fixed wrong sound position in BD engine

12 days agoversion number set to 4.4.0.0-test-1
Holger Schemel [Wed, 8 May 2024 19:49:45 +0000 (21:49 +0200)]
version number set to 4.4.0.0-test-1

13 days agoadded fast uncovering of native BD games when started from editor
Holger Schemel [Tue, 7 May 2024 23:05:17 +0000 (01:05 +0200)]
added fast uncovering of native BD games when started from editor

13 days agoadded functions to check if native BD cave or caveset has levels
Holger Schemel [Tue, 7 May 2024 21:58:11 +0000 (23:58 +0200)]
added functions to check if native BD cave or caveset has levels

2 weeks agochanged naming of "ECS/AGA" graphics setup to more generic "old/new"
Holger Schemel [Sun, 5 May 2024 23:35:34 +0000 (01:35 +0200)]
changed naming of "ECS/AGA" graphics setup to more generic "old/new"

2 weeks agoadded new graphics for BD engine amoeba elements
Holger Schemel [Sun, 5 May 2024 23:25:13 +0000 (01:25 +0200)]
added new graphics for BD engine amoeba elements

2 weeks agochanged order of BD style graphics and sounds (no functional change)
Holger Schemel [Sun, 5 May 2024 22:56:41 +0000 (00:56 +0200)]
changed order of BD style graphics and sounds (no functional change)

2 weeks agofixed default graphics for growing or exploding BD engine elements
Holger Schemel [Sun, 5 May 2024 22:47:29 +0000 (00:47 +0200)]
fixed default graphics for growing or exploding BD engine elements

2 weeks agochanged prefix for native BD engine game element description files
Holger Schemel [Sun, 5 May 2024 22:29:24 +0000 (00:29 +0200)]
changed prefix for native BD engine game element description files

2 weeks agoadded credits for the native BD engine
Holger Schemel [Sun, 5 May 2024 21:54:28 +0000 (23:54 +0200)]
added credits for the native BD engine

2 weeks agofixed handling enter key just before asking to play again
Holger Schemel [Sun, 5 May 2024 18:57:41 +0000 (20:57 +0200)]
fixed handling enter key just before asking to play again

2 weeks agoadded handling player running into enemy from top or left in BD engine
Holger Schemel [Sun, 5 May 2024 18:52:06 +0000 (20:52 +0200)]
added handling player running into enemy from top or left in BD engine

2 weeks agoadded property for growing BD engine game elements
Holger Schemel [Sun, 5 May 2024 18:44:19 +0000 (20:44 +0200)]
added property for growing BD engine game elements

2 weeks agofixed two small bugs for BD amoeba properties in editor
Holger Schemel [Tue, 30 Apr 2024 23:49:27 +0000 (01:49 +0200)]
fixed two small bugs for BD amoeba properties in editor

2 weeks agochanged some default settings for native BD engine
Holger Schemel [Tue, 30 Apr 2024 23:32:50 +0000 (01:32 +0200)]
changed some default settings for native BD engine

2 weeks agofixed default explosion definition for native BD engine
Holger Schemel [Tue, 30 Apr 2024 23:27:44 +0000 (01:27 +0200)]
fixed default explosion definition for native BD engine

2 weeks agoadded command line option to dump level set info
Holger Schemel [Tue, 30 Apr 2024 22:46:20 +0000 (00:46 +0200)]
added command line option to dump level set info

2 weeks agomoved code to separate function
Holger Schemel [Tue, 30 Apr 2024 22:40:42 +0000 (00:40 +0200)]
moved code to separate function

2 weeks agoadded some safety checks
Holger Schemel [Tue, 30 Apr 2024 20:32:43 +0000 (22:32 +0200)]
added some safety checks

2 weeks agoremoved function (used only once)
Holger Schemel [Tue, 30 Apr 2024 20:27:00 +0000 (22:27 +0200)]
removed function (used only once)

2 weeks agofixed compiler warning
Holger Schemel [Tue, 30 Apr 2024 19:58:15 +0000 (21:58 +0200)]
fixed compiler warning

3 weeks agochanged prefix for all game elements only used by the native BD engine
Holger Schemel [Mon, 29 Apr 2024 21:31:25 +0000 (23:31 +0200)]
changed prefix for all game elements only used by the native BD engine

While the last commit added all native BD style game elements that
were shared with the R'n'D game engine before, this change renames
all game elements only supported by the native BD game engine by
changing their prefix from "bd_" to "bdx_" (so the remaining game
elements left with prefix "bd_" are those only supported by the
R'n'D game engine).

This way, game elements for the native BD game engine are finally
named consistently (to be able to easily distinguish BD style game
elements used by the R'n'D engine from those exclusively used by the
native BD engine). The ugly "_native" suffixes could be removed with
this change.

3 weeks agoadded all BD engine elements shared with R'n'D engine as native elements
Holger Schemel [Mon, 22 Apr 2024 16:47:32 +0000 (18:47 +0200)]
added all BD engine elements shared with R'n'D engine as native elements

There were a number of game elements covered by the native BD engine
that already existed in the R'n'D engine for a long time. So far,
these BD style game elements were "shared" between both game engines,
which had some implications and unwanted ambiguities (like defining
explosion animations which are played with different duration in both
game engines, resulting in graphical glitches, or differences in
game element properties which also requires different descriptions in
the level editor, which would simply be impossible with "shared" game
elements).

The following game elements had to be duplicated for the BD engine:

- bd_wall         -> bd_wall_native
- bd_rock         -> bd_rock_native
- bd_diamond      -> bd_diamond_native
- bd_magic_wall   -> bd_magic_wall_native
- bd_butterfly    -> bd_butterfly_1
- bd_firefly      -> bd_firefly_1
- bd_amoeba       -> bd_amoeba_1

This change does not make game element token names for artwork config
files nicer, but makes sure that there are no unwanted side effects as
described between both game engines anymore.

3 weeks agofixed scaling wrong images when using "clone_from" graphics parameter
Holger Schemel [Sun, 28 Apr 2024 00:34:22 +0000 (02:34 +0200)]
fixed scaling wrong images when using "clone_from" graphics parameter

When cloning graphic definitions using the ".clone_from" parameter in
custom graphics configurations, only the graphic parameters are cloned
(including bitmap pointers), but the position of the image file of the
cloned graphic does not change. This may lead to the wrong image being
scaled if the ".scale_up_factor" parameter is used to scale the cloned
graphic (which may cause further unintended side effects if the scaled
image was also used by other graphics definitions which do not intend
to scale this image).

This bug occurred when the game was started with the original Boulder
Dash graphics (used by a native Boulder Dash level set), followed by
selecting a level set which uses the classic default R'n'D graphics,
leading to broken (scaled up and truncated) fonts in the main menu.

3 weeks agoremoved function (directly using function code instead)
Holger Schemel [Sat, 27 Apr 2024 12:02:32 +0000 (14:02 +0200)]
removed function (directly using function code instead)

3 weeks agoremoved redundant code
Holger Schemel [Sat, 27 Apr 2024 11:55:16 +0000 (13:55 +0200)]
removed redundant code

3 weeks agofixed playfield graphics for BD runtime elements in level editor
Holger Schemel [Sat, 27 Apr 2024 11:52:38 +0000 (13:52 +0200)]
fixed playfield graphics for BD runtime elements in level editor

3 weeks agomoved workaround for BD runtime elements in editor to separate function
Holger Schemel [Sat, 27 Apr 2024 11:49:01 +0000 (13:49 +0200)]
moved workaround for BD runtime elements in editor to separate function

3 weeks agofixed element graphic on properties page in level editor
Holger Schemel [Sat, 27 Apr 2024 11:42:59 +0000 (13:42 +0200)]
fixed element graphic on properties page in level editor

3 weeks agoadded definitions and macro for BD engine runtime elements
Holger Schemel [Sat, 27 Apr 2024 11:39:32 +0000 (13:39 +0200)]
added definitions and macro for BD engine runtime elements

3 weeks agorenamed function
Holger Schemel [Fri, 26 Apr 2024 14:57:14 +0000 (16:57 +0200)]
renamed function

3 weeks agoadded missing code for new 3-state setup option type
Holger Schemel [Fri, 26 Apr 2024 14:55:26 +0000 (16:55 +0200)]
added missing code for new 3-state setup option type

3 weeks agorenamed preprocessor constants
Holger Schemel [Fri, 26 Apr 2024 14:39:14 +0000 (16:39 +0200)]
renamed preprocessor constants

3 weeks agoadded separate 3-state type values for "true" and "false" states
Holger Schemel [Fri, 26 Apr 2024 14:19:13 +0000 (16:19 +0200)]
added separate 3-state type values for "true" and "false" states

3 weeks agoadded new, 3-state setup option to allow skipping levels (yes/no/ask)
Holger Schemel [Fri, 26 Apr 2024 13:46:28 +0000 (15:46 +0200)]
added new, 3-state setup option to allow skipping levels (yes/no/ask)

This new setup option replaces the two previous setup options "Force
Solving Levels: yes/no" and "Allow Skipping Levels: yes/no" with a new
option "Allow Skipping Levels: yes/no/ask". This should simplify the
three (useful) combinations of the two previous setup options, as
follows:

- "Force Solving Levels: yes" and "Allow Skipping Levels: yes"
  => "Allow Skipping Levels: ask"

- "Force Solving Levels: yes" and "Allow Skipping Levels: no"
  => "Allow Skipping Levels: no"

- "Force Solving Levels: no" (and "Allow Skipping Levels: yes/no")
  => "Allow Skipping Levels: yes"

This hopefully makes configuring if (and how) unsolved levels may be
skipped or not easier to understand.

3 weeks agoadded new setup option type "yes/no/ask"
Holger Schemel [Fri, 26 Apr 2024 11:29:09 +0000 (13:29 +0200)]
added new setup option type "yes/no/ask"

3 weeks agorenamed another preprocessor constant
Holger Schemel [Fri, 26 Apr 2024 10:49:45 +0000 (12:49 +0200)]
renamed another preprocessor constant

3 weeks agorenamed preprocessor constant
Holger Schemel [Fri, 26 Apr 2024 10:33:51 +0000 (12:33 +0200)]
renamed preprocessor constant

3 weeks agochanged showing standard element properties for some engines in editor
Holger Schemel [Fri, 26 Apr 2024 10:15:17 +0000 (12:15 +0200)]
changed showing standard element properties for some engines in editor

3 weeks agofixed typo in game element descriptions
Holger Schemel [Fri, 26 Apr 2024 10:05:09 +0000 (12:05 +0200)]
fixed typo in game element descriptions

3 weeks agoadded alternative suffixes ".old/.new" for "graphics_set.ecs/.aga"
Holger Schemel [Fri, 26 Apr 2024 08:46:07 +0000 (10:46 +0200)]
added alternative suffixes ".old/.new" for "graphics_set.ecs/.aga"

3 weeks agofixed crash bug with wrongly covering the screen for native BD engine
Holger Schemel [Thu, 25 Apr 2024 18:01:30 +0000 (20:01 +0200)]
fixed crash bug with wrongly covering the screen for native BD engine

This crash bug happened when starting a new game with the native BD
game engine by using a restart button from the main menu. (The bug
did not occur when restarting during a running game.)

3 weeks agorenamed function
Holger Schemel [Thu, 25 Apr 2024 05:58:19 +0000 (07:58 +0200)]
renamed function

3 weeks agoremoved unused array for SDL key state
Holger Schemel [Thu, 25 Apr 2024 05:54:31 +0000 (07:54 +0200)]
removed unused array for SDL key state

3 weeks agoadded configurable keys for fast and slow playing speed
Holger Schemel [Thu, 25 Apr 2024 05:49:27 +0000 (07:49 +0200)]
added configurable keys for fast and slow playing speed

3 weeks agoadded missing editor graphics for BD engine game elements
Holger Schemel [Wed, 24 Apr 2024 17:36:39 +0000 (19:36 +0200)]
added missing editor graphics for BD engine game elements

4 weeks agoadded setup option to select 22500 or 44100 Hz audio sample rate
Holger Schemel [Mon, 22 Apr 2024 19:13:23 +0000 (21:13 +0200)]
added setup option to select 22500 or 44100 Hz audio sample rate

4 weeks agofixed animation for invisible exit in BD engine
Holger Schemel [Mon, 22 Apr 2024 17:07:58 +0000 (19:07 +0200)]
fixed animation for invisible exit in BD engine

4 weeks agoadded setup option to show invisible exit in BD engine
Holger Schemel [Mon, 22 Apr 2024 17:03:39 +0000 (19:03 +0200)]
added setup option to show invisible exit in BD engine

4 weeks agoadded preprocessor definitions for BD engine start and end element
Holger Schemel [Mon, 22 Apr 2024 16:50:03 +0000 (18:50 +0200)]
added preprocessor definitions for BD engine start and end element

4 weeks agoremoved unused image file for native Boulder Dash graphics
Holger Schemel [Sun, 21 Apr 2024 11:35:38 +0000 (13:35 +0200)]
removed unused image file for native Boulder Dash graphics

4 weeks agoadded some new graphics for BD engine game elements
Holger Schemel [Sun, 21 Apr 2024 11:32:42 +0000 (13:32 +0200)]
added some new graphics for BD engine game elements

4 weeks agoadded some new sounds for BD engine game elements
Holger Schemel [Sun, 21 Apr 2024 11:29:52 +0000 (13:29 +0200)]
added some new sounds for BD engine game elements

4 weeks agoadded some new graphics for BD engine game elements
Holger Schemel [Thu, 18 Apr 2024 22:15:12 +0000 (00:15 +0200)]
added some new graphics for BD engine game elements

4 weeks agofixed replicator animation definition for native BD engine
Holger Schemel [Thu, 18 Apr 2024 18:02:18 +0000 (20:02 +0200)]
fixed replicator animation definition for native BD engine

4 weeks agoadded some new graphics for BD engine game elements
Holger Schemel [Wed, 17 Apr 2024 23:12:07 +0000 (01:12 +0200)]
added some new graphics for BD engine game elements

4 weeks agoadded some sound definitions for BD engine game elements
Holger Schemel [Wed, 17 Apr 2024 23:10:43 +0000 (01:10 +0200)]
added some sound definitions for BD engine game elements

4 weeks agoadded some new graphics for BD engine game elements
Holger Schemel [Tue, 16 Apr 2024 20:00:15 +0000 (22:00 +0200)]
added some new graphics for BD engine game elements

4 weeks agofixed typo
Holger Schemel [Tue, 16 Apr 2024 19:53:55 +0000 (21:53 +0200)]
fixed typo

5 weeks agoadded setup option for muting double falling sounds in BD engine
Holger Schemel [Sun, 14 Apr 2024 22:41:57 +0000 (00:41 +0200)]
added setup option for muting double falling sounds in BD engine

5 weeks agofixed element properties for "can fall" and "falling" for BD engine
Holger Schemel [Sun, 14 Apr 2024 22:40:14 +0000 (00:40 +0200)]
fixed element properties for "can fall" and "falling" for BD engine

5 weeks agoadded setup option for "player moving up/down" graphics in BD engine
Holger Schemel [Sun, 14 Apr 2024 21:41:47 +0000 (23:41 +0200)]
added setup option for "player moving up/down" graphics in BD engine

5 weeks agoadded support for "player is moving up/down" graphics for BD engine
Holger Schemel [Sun, 14 Apr 2024 21:33:09 +0000 (23:33 +0200)]
added support for "player is moving up/down" graphics for BD engine

5 weeks agoadded setup option for using "player is pushing" graphics in BD engine
Holger Schemel [Sun, 14 Apr 2024 19:10:29 +0000 (21:10 +0200)]
added setup option for using "player is pushing" graphics in BD engine

5 weeks agoadded support for "player is pushing" graphics for BD engine
Holger Schemel [Sun, 14 Apr 2024 18:38:44 +0000 (20:38 +0200)]
added support for "player is pushing" graphics for BD engine

5 weeks agorenamed some functions
Holger Schemel [Sun, 14 Apr 2024 18:32:31 +0000 (20:32 +0200)]
renamed some functions

5 weeks agoadded marking Sokoban box as pushable in BD engine
Holger Schemel [Sun, 14 Apr 2024 18:25:24 +0000 (20:25 +0200)]
added marking Sokoban box as pushable in BD engine

5 weeks agochanged functions to check smooth movements in BD engine
Holger Schemel [Sun, 14 Apr 2024 18:22:34 +0000 (20:22 +0200)]
changed functions to check smooth movements in BD engine

5 weeks agofixed defining function also when not using debug mode
Holger Schemel [Sun, 14 Apr 2024 18:18:22 +0000 (20:18 +0200)]
fixed defining function also when not using debug mode

5 weeks agofixed drawing runtime elements in native BD engine
Holger Schemel [Sun, 14 Apr 2024 18:15:40 +0000 (20:15 +0200)]
fixed drawing runtime elements in native BD engine

5 weeks agoadded setup option to always play native BD caves with random colors
Holger Schemel [Wed, 10 Apr 2024 22:43:38 +0000 (00:43 +0200)]
added setup option to always play native BD caves with random colors

5 weeks agofixed handling changed cave colors for BD game engine
Holger Schemel [Wed, 10 Apr 2024 22:36:54 +0000 (00:36 +0200)]
fixed handling changed cave colors for BD game engine

5 weeks agoreplaced code by using function with same functionality
Holger Schemel [Wed, 10 Apr 2024 16:54:18 +0000 (18:54 +0200)]
replaced code by using function with same functionality

5 weeks agofixed empty default level according to default game engine type
Holger Schemel [Wed, 10 Apr 2024 16:46:52 +0000 (18:46 +0200)]
fixed empty default level according to default game engine type

5 weeks agoadded setup option to select default game engine type
Holger Schemel [Wed, 10 Apr 2024 16:32:00 +0000 (18:32 +0200)]
added setup option to select default game engine type

5 weeks agosmall text and comment changes
Holger Schemel [Wed, 10 Apr 2024 16:21:10 +0000 (18:21 +0200)]
small text and comment changes

5 weeks agorenamed setup option token
Holger Schemel [Wed, 10 Apr 2024 11:26:51 +0000 (13:26 +0200)]
renamed setup option token

5 weeks agofixed using invalid edit mode in level editor
Holger Schemel [Wed, 10 Apr 2024 11:12:21 +0000 (13:12 +0200)]
fixed using invalid edit mode in level editor

5 weeks agoadded setup option to select preferred color type for BD engine
Holger Schemel [Wed, 10 Apr 2024 11:00:23 +0000 (13:00 +0200)]
added setup option to select preferred color type for BD engine

5 weeks agoadded setup options to select color palettes for BD engine
Holger Schemel [Wed, 10 Apr 2024 09:10:36 +0000 (11:10 +0200)]
added setup options to select color palettes for BD engine

5 weeks agoadded color palette definitions for BD game engine
Holger Schemel [Wed, 10 Apr 2024 07:48:43 +0000 (09:48 +0200)]
added color palette definitions for BD game engine

5 weeks agominor code formatting changes
Holger Schemel [Wed, 10 Apr 2024 07:35:48 +0000 (09:35 +0200)]
minor code formatting changes

5 weeks agowhite space changes
Holger Schemel [Wed, 10 Apr 2024 07:23:32 +0000 (09:23 +0200)]
white space changes

5 weeks agofixed updating color box when changing BD engine color in level editor
Holger Schemel [Tue, 9 Apr 2024 21:44:47 +0000 (23:44 +0200)]
fixed updating color box when changing BD engine color in level editor

5 weeks agoadded color box for each color in BD engine to level editor
Holger Schemel [Tue, 9 Apr 2024 21:38:50 +0000 (23:38 +0200)]
added color box for each color in BD engine to level editor

5 weeks agoadded support for C64DTV and Atari colors in BD engine to level editor
Holger Schemel [Tue, 9 Apr 2024 21:09:26 +0000 (23:09 +0200)]
added support for C64DTV and Atari colors in BD engine to level editor

5 weeks agorenamed variables
Holger Schemel [Tue, 9 Apr 2024 21:02:06 +0000 (23:02 +0200)]
renamed variables

5 weeks agomoved code to set random level colors to separate function
Holger Schemel [Tue, 9 Apr 2024 17:21:17 +0000 (19:21 +0200)]
moved code to set random level colors to separate function

6 weeks agoadded button to level editor to set random level colors for BD engine
Holger Schemel [Mon, 8 Apr 2024 23:50:00 +0000 (01:50 +0200)]
added button to level editor to set random level colors for BD engine

6 weeks agochanged some texts in level editor
Holger Schemel [Mon, 8 Apr 2024 23:48:35 +0000 (01:48 +0200)]
changed some texts in level editor

6 weeks agoadded some more color functions for BD engine
Holger Schemel [Mon, 8 Apr 2024 23:46:32 +0000 (01:46 +0200)]
added some more color functions for BD engine

6 weeks agoadded some more random generator functions (from glib)
Holger Schemel [Mon, 8 Apr 2024 23:44:39 +0000 (01:44 +0200)]
added some more random generator functions (from glib)

6 weeks agoadded support for level color settings in BD engine to level editor
Holger Schemel [Mon, 8 Apr 2024 22:24:28 +0000 (00:24 +0200)]
added support for level color settings in BD engine to level editor

6 weeks agoadded support for text left/right of level editor text input gadgets
Holger Schemel [Mon, 8 Apr 2024 18:48:02 +0000 (20:48 +0200)]
added support for text left/right of level editor text input gadgets

6 weeks agomoved editor selectbox gadget to other array position
Holger Schemel [Sun, 7 Apr 2024 12:42:24 +0000 (14:42 +0200)]
moved editor selectbox gadget to other array position

6 weeks agoadded second row of tabs for game engine settings to level editor
Holger Schemel [Sun, 7 Apr 2024 12:07:35 +0000 (14:07 +0200)]
added second row of tabs for game engine settings to level editor

6 weeks agofixed delay for setting "game over" state for native Supaplex engine
Holger Schemel [Sat, 6 Apr 2024 16:52:55 +0000 (18:52 +0200)]
fixed delay for setting "game over" state for native Supaplex engine