rocksndiamonds.git
7 months agofixed element default settings for acid (BD engine)
Holger Schemel [Sun, 24 Mar 2024 20:05:29 +0000 (21:05 +0100)]
fixed element default settings for acid (BD engine)

7 months agofixed element mappings for pneumatic hammer (BD engine)
Holger Schemel [Sun, 24 Mar 2024 19:59:08 +0000 (20:59 +0100)]
fixed element mappings for pneumatic hammer (BD engine)

7 months agowhite space changes
Holger Schemel [Sun, 24 Mar 2024 18:49:58 +0000 (19:49 +0100)]
white space changes

7 months agoadded support for pneumatic hammer settings in BD engine to level editor
Holger Schemel [Sun, 24 Mar 2024 18:48:57 +0000 (19:48 +0100)]
added support for pneumatic hammer settings in BD engine to level editor

7 months agoextended support for slime settings in BD engine to level editor
Holger Schemel [Sun, 24 Mar 2024 14:20:01 +0000 (15:20 +0100)]
extended support for slime settings in BD engine to level editor

7 months agoadded support for nut settings in BD engine to level editor
Holger Schemel [Sun, 24 Mar 2024 13:50:13 +0000 (14:50 +0100)]
added support for nut settings in BD engine to level editor

7 months agoextended support for magic wall settings in BD engine to level editor
Holger Schemel [Sun, 24 Mar 2024 13:31:08 +0000 (14:31 +0100)]
extended support for magic wall settings in BD engine to level editor

7 months agofixed drawing native BD element graphics on properties page in editor
Holger Schemel [Sun, 24 Mar 2024 11:41:13 +0000 (12:41 +0100)]
fixed drawing native BD element graphics on properties page in editor

7 months agochanged some texts in level editor
Holger Schemel [Sun, 24 Mar 2024 10:54:16 +0000 (11:54 +0100)]
changed some texts in level editor

7 months agochanged element positions in level editor element palette
Holger Schemel [Sun, 24 Mar 2024 02:00:48 +0000 (03:00 +0100)]
changed element positions in level editor element palette

7 months agofixed element mappings for some native BD engine elements
Holger Schemel [Sun, 24 Mar 2024 02:00:09 +0000 (03:00 +0100)]
fixed element mappings for some native BD engine elements

7 months agoadded action ".flying" for native BD engine graphics definitions
Holger Schemel [Sun, 24 Mar 2024 01:58:54 +0000 (02:58 +0100)]
added action ".flying" for native BD engine graphics definitions

7 months agofixed missing graphics definitions for BD style cow
Holger Schemel [Sun, 24 Mar 2024 01:57:28 +0000 (02:57 +0100)]
fixed missing graphics definitions for BD style cow

7 months agoadded re-defining editor graphics for "effects" elements for BD engine
Holger Schemel [Sat, 23 Mar 2024 18:18:31 +0000 (19:18 +0100)]
added re-defining editor graphics for "effects" elements for BD engine

7 months agoadded "effects" element graphics for native BD engine to level editor
Holger Schemel [Sat, 23 Mar 2024 14:17:46 +0000 (15:17 +0100)]
added "effects" element graphics for native BD engine to level editor

7 months agoadded "effects" game elements for native BD engine to mapping list
Holger Schemel [Sat, 23 Mar 2024 14:11:25 +0000 (15:11 +0100)]
added "effects" game elements for native BD engine to mapping list

7 months agoextended functions to map between R'n'D and BD cave and game elements
Holger Schemel [Sat, 23 Mar 2024 14:04:26 +0000 (15:04 +0100)]
extended functions to map between R'n'D and BD cave and game elements

7 months agoadded "effects" game elements for native BD engine to level editor
Holger Schemel [Sat, 23 Mar 2024 13:43:55 +0000 (14:43 +0100)]
added "effects" game elements for native BD engine to level editor

7 months agoadded "effects" (runtime) game elements for native BD engine
Holger Schemel [Sat, 23 Mar 2024 13:31:31 +0000 (14:31 +0100)]
added "effects" (runtime) game elements for native BD engine

7 months agofixed graphical bugs when using background graphics on menu screens
Holger Schemel [Fri, 22 Mar 2024 11:58:53 +0000 (12:58 +0100)]
fixed graphical bugs when using background graphics on menu screens

This bug occurs when using background graphics on menu screens in
combination with a bottom screen tape panel (without using the normal
request door, but using envelope style door requests instead). This
caused problems with black boxes in the bottom right corner on all
sub-screens (like info, setup or scores screens).

This bugfix now also allows non-black backgrounds for bottom screen
tape panels (by defining the main screen to use the whole window,
including the area reserved for the bottom screen tape panel, which
uses the main screen's background graphics during sliding in or out).

7 months agoadded support for water settings in BD engine to level editor
Holger Schemel [Fri, 22 Mar 2024 10:14:32 +0000 (11:14 +0100)]
added support for water settings in BD engine to level editor

7 months agofixed conveyor belt direction switch names for BD engine
Holger Schemel [Fri, 22 Mar 2024 10:06:54 +0000 (11:06 +0100)]
fixed conveyor belt direction switch names for BD engine

7 months agoadded support for conveyor belt settings in BD engine to level editor
Holger Schemel [Fri, 22 Mar 2024 09:49:09 +0000 (10:49 +0100)]
added support for conveyor belt settings in BD engine to level editor

7 months agoadded support for replicator settings in BD engine to level editor
Holger Schemel [Wed, 20 Mar 2024 23:59:55 +0000 (00:59 +0100)]
added support for replicator settings in BD engine to level editor

7 months agoadded support for expanding wall settings in BD engine to level editor
Holger Schemel [Wed, 20 Mar 2024 23:40:44 +0000 (00:40 +0100)]
added support for expanding wall settings in BD engine to level editor

7 months agoadded support for bladder settings in BD engine to level editor
Holger Schemel [Wed, 20 Mar 2024 23:26:49 +0000 (00:26 +0100)]
added support for bladder settings in BD engine to level editor

7 months agoadded support for biter settings in BD engine to level editor
Holger Schemel [Wed, 20 Mar 2024 23:14:20 +0000 (00:14 +0100)]
added support for biter settings in BD engine to level editor

7 months agochanged element and editor texts for fonts with lower-case characters
Holger Schemel [Wed, 20 Mar 2024 22:30:50 +0000 (23:30 +0100)]
changed element and editor texts for fonts with lower-case characters

7 months agoadded support for acid settings in BD engine to level editor
Holger Schemel [Tue, 19 Mar 2024 20:47:06 +0000 (21:47 +0100)]
added support for acid settings in BD engine to level editor

7 months agoincreased maximum length for static strings in BD engine
Holger Schemel [Tue, 19 Mar 2024 18:41:17 +0000 (19:41 +0100)]
increased maximum length for static strings in BD engine

7 months agoadded license for native BD engine code
Holger Schemel [Tue, 19 Mar 2024 18:37:31 +0000 (19:37 +0100)]
added license for native BD engine code

7 months agoadded correcting random numbers for predictable slime in BD engine
Holger Schemel [Mon, 18 Mar 2024 07:55:38 +0000 (08:55 +0100)]
added correcting random numbers for predictable slime in BD engine

7 months agofixed using wrong cave level number when converting BD engine levels
Holger Schemel [Mon, 18 Mar 2024 07:27:17 +0000 (08:27 +0100)]
fixed using wrong cave level number when converting BD engine levels

7 months agoadded support for slime settings in BD engine to level editor
Holger Schemel [Sun, 17 Mar 2024 22:57:16 +0000 (23:57 +0100)]
added support for slime settings in BD engine to level editor

8 months agoadded support for snap element in BD engine to level editor
Holger Schemel [Sun, 17 Mar 2024 00:05:56 +0000 (01:05 +0100)]
added support for snap element in BD engine to level editor

8 months agoadded support for voodoo doll settings in BD engine to level editor
Holger Schemel [Sat, 16 Mar 2024 23:43:18 +0000 (00:43 +0100)]
added support for voodoo doll settings in BD engine to level editor

8 months agoadded showing optional title screen for native BD cavesets
Holger Schemel [Sat, 16 Mar 2024 11:59:54 +0000 (12:59 +0100)]
added showing optional title screen for native BD cavesets

8 months agochanged loading level before checking for title screens
Holger Schemel [Sat, 16 Mar 2024 11:57:42 +0000 (12:57 +0100)]
changed loading level before checking for title screens

8 months agoadded functions to load title screen from native BD caveset
Holger Schemel [Sat, 16 Mar 2024 11:52:48 +0000 (12:52 +0100)]
added functions to load title screen from native BD caveset

8 months agoadded storing current level set identifier in caveset structure
Holger Schemel [Sat, 16 Mar 2024 11:49:11 +0000 (12:49 +0100)]
added storing current level set identifier in caveset structure

8 months agofixed freeing caveset data
Holger Schemel [Sat, 16 Mar 2024 11:47:04 +0000 (12:47 +0100)]
fixed freeing caveset data

8 months agoadded support for reduced font bitmaps with lower case characters
Holger Schemel [Sat, 16 Mar 2024 08:55:19 +0000 (09:55 +0100)]
added support for reduced font bitmaps with lower case characters

While support for font bitmaps with full ISO-8859-1 character maps
already exists, this change adds support for specially crafted font
bitmaps containing the usual reduced character map plus lower case
characters (including umlaut characters) by choosing ".frames: 112"
for the font definition. To use this, the last line in the font's
character map that looks like this

©ÄÖÜ°™_

is replaced with the following three lines (where the underscore
characters are usually replaced with filled, cursor style blocks):

`abcdefghijklmno
pqrstuvwxyz{|}~_
©ÄÖÜ°™_äöüß

The layout of the characters in the font bitmap may differ from the
above example (which reflects the default font bitmap layout), and can
be set using the ".frames_per_line" configuration option (which would
be "16" for the example above).

(In fact, this extended, reduced font character map currently has only
107 characters defined, so a few special characters may be added later
to the remaining five slots.)

8 months agofixed number range for BD style clock in level editor
Holger Schemel [Wed, 13 Mar 2024 09:09:39 +0000 (10:09 +0100)]
fixed number range for BD style clock in level editor

8 months agofixed input of negative numbers to numeric text gadgets
Holger Schemel [Wed, 13 Mar 2024 09:08:06 +0000 (10:08 +0100)]
fixed input of negative numbers to numeric text gadgets

8 months agominor code cleanup
Holger Schemel [Wed, 13 Mar 2024 08:49:16 +0000 (09:49 +0100)]
minor code cleanup

8 months agoimproved code for generic counter min/max values in level editor
Holger Schemel [Wed, 13 Mar 2024 08:41:52 +0000 (09:41 +0100)]
improved code for generic counter min/max values in level editor

8 months agowhite space changes
Holger Schemel [Wed, 13 Mar 2024 08:17:35 +0000 (09:17 +0100)]
white space changes

8 months agoadded support for clock settings in BD engine to level editor
Holger Schemel [Wed, 13 Mar 2024 08:15:12 +0000 (09:15 +0100)]
added support for clock settings in BD engine to level editor

8 months agocleanup of BD style game elements in level editor
Holger Schemel [Tue, 12 Mar 2024 22:47:04 +0000 (23:47 +0100)]
cleanup of BD style game elements in level editor

8 months agofixed left text alignment for drawing area gadgets in level editor
Holger Schemel [Tue, 12 Mar 2024 20:50:25 +0000 (21:50 +0100)]
fixed left text alignment for drawing area gadgets in level editor

8 months agofixed broken position of counter gadget to select level in editor
Holger Schemel [Tue, 12 Mar 2024 19:26:31 +0000 (20:26 +0100)]
fixed broken position of counter gadget to select level in editor

8 months agoadded support for amoeba settings in BD engine to level editor
Holger Schemel [Tue, 12 Mar 2024 19:08:40 +0000 (20:08 +0100)]
added support for amoeba settings in BD engine to level editor

8 months agoadded support for magic wall settings in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 22:35:46 +0000 (23:35 +0100)]
added support for magic wall settings in BD engine to level editor

8 months agoremoved support for object rendering wrap-around for BD level handling
Holger Schemel [Mon, 11 Mar 2024 22:13:43 +0000 (23:13 +0100)]
removed support for object rendering wrap-around for BD level handling

8 months agoreordered BD level properties
Holger Schemel [Mon, 11 Mar 2024 22:11:33 +0000 (23:11 +0100)]
reordered BD level properties

8 months agochanged some gadget properties in level editor
Holger Schemel [Mon, 11 Mar 2024 20:34:06 +0000 (21:34 +0100)]
changed some gadget properties in level editor

8 months agochanged element description
Holger Schemel [Mon, 11 Mar 2024 19:41:02 +0000 (20:41 +0100)]
changed element description

8 months agoadded support for pushing settings in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 19:39:41 +0000 (20:39 +0100)]
added support for pushing settings in BD engine to level editor

8 months agoreordered and commented BD level properties
Holger Schemel [Mon, 11 Mar 2024 18:48:31 +0000 (19:48 +0100)]
reordered and commented BD level properties

8 months agowhite space changes
Holger Schemel [Mon, 11 Mar 2024 18:41:59 +0000 (19:41 +0100)]
white space changes

8 months agoadded support for active player in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 18:40:10 +0000 (19:40 +0100)]
added support for active player in BD engine to level editor

8 months agoadded support for gravity effects in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 08:45:05 +0000 (09:45 +0100)]
added support for gravity effects in BD engine to level editor

8 months agoadded support for short explosions in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 08:37:03 +0000 (09:37 +0100)]
added support for short explosions in BD engine to level editor

8 months agoadded support for scanning first/last row in BD engine to level editor
Holger Schemel [Mon, 11 Mar 2024 08:30:12 +0000 (09:30 +0100)]
added support for scanning first/last row in BD engine to level editor

8 months agoadded support for object rendering wrap-around for BD level handling
Holger Schemel [Mon, 11 Mar 2024 08:10:39 +0000 (09:10 +0100)]
added support for object rendering wrap-around for BD level handling

8 months agoadded sub-header to BD engine compatibility settings in level editor
Holger Schemel [Mon, 11 Mar 2024 07:52:08 +0000 (08:52 +0100)]
added sub-header to BD engine compatibility settings in level editor

8 months agoadded scrolling without iterating BD engine if player out of sight
Holger Schemel [Sun, 10 Mar 2024 20:26:56 +0000 (21:26 +0100)]
added scrolling without iterating BD engine if player out of sight

This is needed to prevent broken tapes in case of viewport or tile
size changes and may occur in case of wrap-around at level borders.

Before, recording tape events was continued during scrolling, even
though the BD game engine did not iterate while scrolling the cave
to the visual player position. This could result in broken tapes if
the tape was replayed with a different playing viewport or with a
different tile size (like using "small game elements" from the setup
menu), as this would have an effect on the duration of scrolling,
causing tape events and game engine running out of sync.

8 months agofixed some BD game elements in level editor
Holger Schemel [Sun, 10 Mar 2024 16:59:39 +0000 (17:59 +0100)]
fixed some BD game elements in level editor

8 months agoadded support for line-shifting wrap-around in BD engine to level editor
Holger Schemel [Sun, 10 Mar 2024 16:40:10 +0000 (17:40 +0100)]
added support for line-shifting wrap-around in BD engine to level editor

8 months agoincreased scrolling speed when wrapping around for BD engine
Holger Schemel [Sun, 10 Mar 2024 16:35:56 +0000 (17:35 +0100)]
increased scrolling speed when wrapping around for BD engine

8 months agofixed wrong types for BD level values
Holger Schemel [Sun, 10 Mar 2024 15:33:36 +0000 (16:33 +0100)]
fixed wrong types for BD level values

8 months agoadded support for hatching delay in BD engine to level editor
Holger Schemel [Sun, 10 Mar 2024 15:14:26 +0000 (16:14 +0100)]
added support for hatching delay in BD engine to level editor

8 months agoadded support for game cycle delay in BD engine to level editor
Holger Schemel [Sun, 10 Mar 2024 14:41:28 +0000 (15:41 +0100)]
added support for game cycle delay in BD engine to level editor

8 months agowhite space changes
Holger Schemel [Sun, 10 Mar 2024 14:08:07 +0000 (15:08 +0100)]
white space changes

8 months agoadded difficulty level to level names for native BD levels
Holger Schemel [Sat, 9 Mar 2024 12:06:13 +0000 (13:06 +0100)]
added difficulty level to level names for native BD levels

8 months agoadded support for scheduling type in BD engine to level editor
Holger Schemel [Sat, 9 Mar 2024 11:51:07 +0000 (12:51 +0100)]
added support for scheduling type in BD engine to level editor

8 months agoadded support for PAL timing in BD engine to level editor
Holger Schemel [Sat, 9 Mar 2024 11:21:47 +0000 (12:21 +0100)]
added support for PAL timing in BD engine to level editor

8 months agochanged info text for extra diamonds for BD engine in level editor
Holger Schemel [Sat, 9 Mar 2024 10:37:30 +0000 (11:37 +0100)]
changed info text for extra diamonds for BD engine in level editor

8 months agorestricted slippery walls option to R'n'D engine in level editor
Holger Schemel [Sat, 9 Mar 2024 10:33:08 +0000 (11:33 +0100)]
restricted slippery walls option to R'n'D engine in level editor

8 months agorestricted customizing empty space to R'n'D engine in level editor
Holger Schemel [Sat, 9 Mar 2024 10:28:59 +0000 (11:28 +0100)]
restricted customizing empty space to R'n'D engine in level editor

8 months agowhite space changes
Holger Schemel [Sat, 9 Mar 2024 00:45:40 +0000 (01:45 +0100)]
white space changes

8 months agoadded support for extra diamond score in BD engine to level editor
Holger Schemel [Sat, 9 Mar 2024 00:38:46 +0000 (01:38 +0100)]
added support for extra diamond score in BD engine to level editor

8 months agoreduced delay until game over after player died in BD engine
Holger Schemel [Fri, 8 Mar 2024 20:21:38 +0000 (21:21 +0100)]
reduced delay until game over after player died in BD engine

8 months agofixed crash bug when running in headless mode
Holger Schemel [Fri, 8 Mar 2024 20:20:20 +0000 (21:20 +0100)]
fixed crash bug when running in headless mode

8 months agoadded special handling of BD intermission levels on game over
Holger Schemel [Fri, 8 Mar 2024 19:30:17 +0000 (20:30 +0100)]
added special handling of BD intermission levels on game over

This change is required if asking for restart after gave over is
disabled in the setup menu.

8 months agoadded special handling of BD intermission levels when restarting game
Holger Schemel [Fri, 8 Mar 2024 18:52:32 +0000 (19:52 +0100)]
added special handling of BD intermission levels when restarting game

8 months agoadded special handling of BD intermission levels when skipping levels
Holger Schemel [Fri, 8 Mar 2024 18:52:01 +0000 (19:52 +0100)]
added special handling of BD intermission levels when skipping levels

8 months agomoved code to separate function
Holger Schemel [Fri, 8 Mar 2024 17:54:45 +0000 (18:54 +0100)]
moved code to separate function

8 months agoadded support for intermission levels in BD engine to level editor
Holger Schemel [Fri, 8 Mar 2024 17:48:36 +0000 (18:48 +0100)]
added support for intermission levels in BD engine to level editor

8 months agowhite space changes
Holger Schemel [Fri, 8 Mar 2024 13:10:05 +0000 (14:10 +0100)]
white space changes

8 months agoadded level editor config tab/page for BD game engine (currently empty)
Holger Schemel [Fri, 8 Mar 2024 13:07:24 +0000 (14:07 +0100)]
added level editor config tab/page for BD game engine (currently empty)

8 months agoadded macros for some game elements
Holger Schemel [Fri, 8 Mar 2024 13:02:45 +0000 (14:02 +0100)]
added macros for some game elements

8 months agochanged default audio replay sample rate back to 22.05 kHz
Holger Schemel [Fri, 8 Mar 2024 09:27:54 +0000 (10:27 +0100)]
changed default audio replay sample rate back to 22.05 kHz

When using 44.1 kHz sample rate, upsampling larger audio files with
lower sample rate causes a crash in some versions of the SDL library.

8 months agoimproved converting BD game engine elements for R'n'D game engine
Holger Schemel [Thu, 7 Mar 2024 19:22:48 +0000 (20:22 +0100)]
improved converting BD game engine elements for R'n'D game engine

8 months agofixed another graphical bug when using smooth movements with BD engine
Holger Schemel [Thu, 7 Mar 2024 18:40:47 +0000 (19:40 +0100)]
fixed another graphical bug when using smooth movements with BD engine

8 months agofixed graphical bugs when using smooth movements with BD engine
Holger Schemel [Thu, 7 Mar 2024 00:08:40 +0000 (01:08 +0100)]
fixed graphical bugs when using smooth movements with BD engine

8 months agofixed preview size of intermission levels for native BD level sets
Holger Schemel [Wed, 6 Mar 2024 23:50:06 +0000 (00:50 +0100)]
fixed preview size of intermission levels for native BD level sets

8 months agoadded graphics config option for level-specific colors for BD engine
Holger Schemel [Wed, 6 Mar 2024 23:03:47 +0000 (00:03 +0100)]
added graphics config option for level-specific colors for BD engine

This adds a config option "bd_game_graphics_color_template" for the
custom artwork config file "graphicsinfo.conf" to specify a template
image file used to create level-specific game graphics colors for
native Boulder Dash level files (to be used for all game elements
for both in-game graphics and main menu preview graphics), while the
normal game element image config options specify a default image file
with static/fixed colors to be used in the level editor (that is, all
levels in the level editor use the same colors).

This implementation only works correctly for all game element graphics
if all BD style game graphics are defined in one single image file, so
the newly defined template image file must have the same image size
and layout of game graphics as the default image file (which must also
be a single image file containing game graphics for all game elements).

8 months agofixed level-specific colors for BD engine using small game elements
Holger Schemel [Wed, 6 Mar 2024 22:52:58 +0000 (23:52 +0100)]
fixed level-specific colors for BD engine using small game elements

8 months agoadded converting BD game engine elements for R'n'D game engine
Holger Schemel [Wed, 6 Mar 2024 15:42:22 +0000 (16:42 +0100)]
added converting BD game engine elements for R'n'D game engine