Holger Schemel [Wed, 8 Jan 2025 19:47:21 +0000 (20:47 +0100)]
fixed comment
Holger Schemel [Mon, 6 Jan 2025 19:46:48 +0000 (20:46 +0100)]
added closing request door before covering BD screen (if still open)
Holger Schemel [Mon, 6 Jan 2025 19:45:55 +0000 (20:45 +0100)]
added covering BD screen before closing game panel door
Holger Schemel [Mon, 6 Jan 2025 19:39:45 +0000 (20:39 +0100)]
added flag for open request door after request (not used yet)
Holger Schemel [Mon, 6 Jan 2025 19:37:45 +0000 (20:37 +0100)]
inverted logic for checking for covering BD screen
Holger Schemel [Mon, 6 Jan 2025 19:16:42 +0000 (20:16 +0100)]
fixed undefined caveset data when using non-native BD engine levels
Holger Schemel [Mon, 6 Jan 2025 18:24:56 +0000 (19:24 +0100)]
fixed keeping life if BD style intermission restarted
Holger Schemel [Mon, 6 Jan 2025 18:20:53 +0000 (19:20 +0100)]
fixed removing life twice if BD style level lost
Holger Schemel [Mon, 6 Jan 2025 18:13:17 +0000 (19:13 +0100)]
fixed removing life if BD style intermission level lost
Holger Schemel [Mon, 6 Jan 2025 17:57:19 +0000 (18:57 +0100)]
fixed showing wrong playfield actions when closing "replace tape" door
This is another bug that was introduced by commit
feec08d4.
Holger Schemel [Mon, 6 Jan 2025 17:48:27 +0000 (18:48 +0100)]
added returning from game actions if winning game completely handled
Holger Schemel [Mon, 6 Jan 2025 17:47:10 +0000 (18:47 +0100)]
added return code to function "GameWon()" (not used yet)
Holger Schemel [Mon, 6 Jan 2025 16:22:06 +0000 (17:22 +0100)]
fixed covering screen if last level did not use BD engine
Holger Schemel [Mon, 6 Jan 2025 15:57:45 +0000 (16:57 +0100)]
fixed errors with covering BD screen when not using BD engine
Holger Schemel [Mon, 6 Jan 2025 15:43:44 +0000 (16:43 +0100)]
fixed showing wrong playfield actions when closing "replace tape" door
This bug was introduced by commit
feec08d4.
Holger Schemel [Mon, 6 Jan 2025 14:53:08 +0000 (15:53 +0100)]
fixed showing level story when playing without hall of fame after game
If showing scores after a game is disabled, only the first level story
for a series of played levels was shown (because the game never left
the game mode "playing").
Holger Schemel [Mon, 6 Jan 2025 14:06:19 +0000 (15:06 +0100)]
moved code to close game panel door before starting game
Holger Schemel [Mon, 6 Jan 2025 14:03:31 +0000 (15:03 +0100)]
removed redundant closing of game panel door before starting game
Holger Schemel [Mon, 6 Jan 2025 13:34:06 +0000 (14:34 +0100)]
fixed bug with closing tape recorder door after game
Only close tape recorder door when entering hall of fame, but not when
playing next game or when returning to main menu.
Holger Schemel [Mon, 6 Jan 2025 13:32:14 +0000 (14:32 +0100)]
added always closing game panel door in main menu
Holger Schemel [Sun, 5 Jan 2025 21:41:58 +0000 (22:41 +0100)]
improved support for restart key when playing BD games with multiple lives
Holger Schemel [Sun, 5 Jan 2025 21:40:45 +0000 (22:40 +0100)]
improved code logic (removed redundant condition)
Holger Schemel [Sun, 5 Jan 2025 21:04:17 +0000 (22:04 +0100)]
fixed support for restart key when playing BD games with multiple lives
Holger Schemel [Sun, 5 Jan 2025 17:13:02 +0000 (18:13 +0100)]
added support for restart key when playing BD games with multiple lives
Holger Schemel [Sun, 5 Jan 2025 16:05:45 +0000 (17:05 +0100)]
added skipping screen fading when restarting game using BD engine
Holger Schemel [Sun, 5 Jan 2025 16:00:41 +0000 (17:00 +0100)]
added checking for BD engine for not covering BD screen
Holger Schemel [Sun, 5 Jan 2025 15:57:47 +0000 (16:57 +0100)]
moved code to cover BD screen before fading out when restarting game
Holger Schemel [Sun, 5 Jan 2025 14:38:52 +0000 (15:38 +0100)]
updated title text and border graphic to show current year
Holger Schemel [Sat, 4 Jan 2025 16:48:06 +0000 (17:48 +0100)]
added support for showing multiple lives for BD games in game panel
Holger Schemel [Sat, 4 Jan 2025 16:33:11 +0000 (17:33 +0100)]
added game panel classes to show items only before or after BD hatching
Example: When using game panel definitions like
game.panel.levelset_name.class: bd_pre_hatching
or
game.panel.score.class: bd_post_hatching
the corresponding game panel items will only be displayed before or
after the player was hatched in levels using the native BD game engine.
(For levels not using the BD engine, items using "bd_pre_hatching" will
never be displayed, while items using "bd_post_hatching" will always be
displayed.)
Holger Schemel [Sat, 4 Jan 2025 16:25:03 +0000 (17:25 +0100)]
added support for narrow font if game panel text too large
If player name, level set name, level name or level author to be drawn
on game panel is larger than a specified size (using ".chars" option)
or larger than the game panel width, an alternative (less wide) font
(using ".font_narrow" option) will be used.
Holger Schemel [Sat, 4 Jan 2025 16:16:34 +0000 (17:16 +0100)]
added support to show level set name in game panel
Holger Schemel [Fri, 3 Jan 2025 23:31:36 +0000 (00:31 +0100)]
added support for playing BD games with multiple lives and global score
Holger Schemel [Fri, 3 Jan 2025 23:16:06 +0000 (00:16 +0100)]
minor code change (no functional change)
Holger Schemel [Fri, 3 Jan 2025 13:59:27 +0000 (14:59 +0100)]
fixed initializing level specific colors when loading non-BD levels
Holger Schemel [Fri, 3 Jan 2025 13:56:01 +0000 (14:56 +0100)]
added skipping extra colors when using reduced BD style color template
Holger Schemel [Thu, 2 Jan 2025 13:19:43 +0000 (14:19 +0100)]
added variable to be set when using reduced color template colors
Holger Schemel [Wed, 1 Jan 2025 13:32:30 +0000 (14:32 +0100)]
fixed bug with scrolling screen towards initially created player
Holger Schemel [Wed, 1 Jan 2025 13:27:23 +0000 (14:27 +0100)]
fixed bugs with potentially using off-playfield position
Holger Schemel [Tue, 31 Dec 2024 15:33:33 +0000 (16:33 +0100)]
added setting color type and colors for editor after loading level
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.
Holger Schemel [Tue, 31 Dec 2024 15:21:44 +0000 (16:21 +0100)]
renamed variable
Holger Schemel [Tue, 31 Dec 2024 14:11:15 +0000 (15:11 +0100)]
fixed saving BD style snap element in level file
Holger Schemel [Mon, 30 Dec 2024 18:08:14 +0000 (19:08 +0100)]
fixed multi-line request text overlapping with request buttons
Holger Schemel [Mon, 30 Dec 2024 18:06:43 +0000 (19:06 +0100)]
changed code to use narrow request font (no functional change)
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.
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
Holger Schemel [Fri, 27 Dec 2024 14:37:56 +0000 (15:37 +0100)]
version number set to 4.4.0.1-test-1
Holger Schemel [Mon, 23 Dec 2024 12:55:42 +0000 (13:55 +0100)]
version number set to 4.4.0.0 (stable)
Holger Schemel [Sun, 22 Dec 2024 12:19:56 +0000 (13:19 +0100)]
fixed playing native BD replays with correct engine version
Holger Schemel [Fri, 20 Dec 2024 21:14:37 +0000 (22:14 +0100)]
added renaming already existing level directory when dropping zip file
Holger Schemel [Fri, 20 Dec 2024 19:11:14 +0000 (20:11 +0100)]
moved static local strings to global structure for zip support
Holger Schemel [Fri, 20 Dec 2024 18:58:56 +0000 (19:58 +0100)]
changed checking for directory in zip file in last step
Holger Schemel [Fri, 20 Dec 2024 18:33:23 +0000 (19:33 +0100)]
added storing state of checked zip file
Holger Schemel [Fri, 20 Dec 2024 17:46:57 +0000 (18:46 +0100)]
added command line option to list available SDL render drivers
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.
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.
Holger Schemel [Tue, 17 Dec 2024 19:05:30 +0000 (20:05 +0100)]
improved graphics for digging crumbled BD style sloped sand
Holger Schemel [Tue, 17 Dec 2024 18:15:46 +0000 (19:15 +0100)]
changed positions of some BD style graphics inside image file
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
Holger Schemel [Tue, 17 Dec 2024 18:06:16 +0000 (19:06 +0100)]
fixed broken BDCFF token for BD engine
Holger Schemel [Mon, 16 Dec 2024 22:14:45 +0000 (23:14 +0100)]
added separate level editor graphics for BD style non-sloped wall
Holger Schemel [Mon, 16 Dec 2024 22:00:16 +0000 (23:00 +0100)]
improved support for player dying sound for native 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
Holger Schemel [Mon, 16 Dec 2024 19:06:32 +0000 (20:06 +0100)]
fixed amoeba sounds for 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
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).
Holger Schemel [Sun, 15 Dec 2024 12:02:11 +0000 (13:02 +0100)]
version number set to 4.4.0.0-test-7
Holger Schemel [Sun, 15 Dec 2024 08:44:51 +0000 (09:44 +0100)]
added classic BD level set using 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
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.
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.
Holger Schemel [Sat, 14 Dec 2024 14:23:57 +0000 (15:23 +0100)]
removed unused BD background color in level editor
Holger Schemel [Fri, 13 Dec 2024 20:11:38 +0000 (21:11 +0100)]
added converting BD style grass for R'n'D game engine
Holger Schemel [Fri, 13 Dec 2024 20:04:27 +0000 (21:04 +0100)]
added variable to be set when using extended color template colors
Holger Schemel [Fri, 13 Dec 2024 20:00:22 +0000 (21:00 +0100)]
replaced BD color index numbers with meaningful constants
Holger Schemel [Fri, 13 Dec 2024 19:39:29 +0000 (20:39 +0100)]
cleanup of BD style color definitions
Holger Schemel [Fri, 13 Dec 2024 19:26:31 +0000 (20:26 +0100)]
added support for two extra colors for color templates
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
Holger Schemel [Wed, 11 Dec 2024 21:07:57 +0000 (22:07 +0100)]
added digging and crumbled graphics definitions for BD style sand
Holger Schemel [Wed, 11 Dec 2024 21:03:58 +0000 (22:03 +0100)]
added more generic handling of crumbled graphics in 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
Holger Schemel [Tue, 10 Dec 2024 20:00:50 +0000 (21:00 +0100)]
added support for crumbled sand for native BD graphics engine
Holger Schemel [Tue, 10 Dec 2024 19:40:25 +0000 (20:40 +0100)]
fixed bug with covering screen when loading next level
Holger Schemel [Tue, 10 Dec 2024 19:33:17 +0000 (20:33 +0100)]
fixed two color template default colors currently not editable
Holger Schemel [Tue, 10 Dec 2024 19:31:33 +0000 (20:31 +0100)]
changed some BD style game elements in editor palette
Holger Schemel [Tue, 10 Dec 2024 19:01:57 +0000 (20:01 +0100)]
moved EMC style game elements to correct editor palette section
Holger Schemel [Tue, 10 Dec 2024 18:57:03 +0000 (19:57 +0100)]
removed unused black area in image file
Holger Schemel [Mon, 9 Dec 2024 18:40:35 +0000 (19:40 +0100)]
added function to free tile cursor (snow) textures
Holger Schemel [Mon, 9 Dec 2024 18:32:56 +0000 (19:32 +0100)]
added function to free all textures
Holger Schemel [Mon, 9 Dec 2024 18:25:14 +0000 (19:25 +0100)]
fixed initializing snow using changed window size
Holger Schemel [Mon, 9 Dec 2024 18:21:06 +0000 (19:21 +0100)]
fixed (and added warning when) trying to free already freed textures
Holger Schemel [Mon, 9 Dec 2024 18:16:11 +0000 (19:16 +0100)]
cleanup of functions to free bitmap surfaces and textures
Holger Schemel [Sun, 8 Dec 2024 17:21:04 +0000 (18:21 +0100)]
fixed playing diamond 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.
Holger Schemel [Sun, 8 Dec 2024 14:48:48 +0000 (15:48 +0100)]
fixed playing BD engine levels if preferred network player changed
Holger Schemel [Sun, 8 Dec 2024 14:47:59 +0000 (15:47 +0100)]
fixed macro to detect BD style player
Holger Schemel [Sun, 8 Dec 2024 11:03:22 +0000 (12:03 +0100)]
improved code readability regarding calculation precedence
Holger Schemel [Sun, 8 Dec 2024 10:53:08 +0000 (11:53 +0100)]
moved RequestInfo structure into MenuInfo structure
Holger Schemel [Sun, 8 Dec 2024 10:36:37 +0000 (11:36 +0100)]
version number set to 4.4.0.0-test-6