rocksndiamonds.git
6 months agofixed saving setup for music and sound button changes
Holger Schemel [Sun, 23 Feb 2025 16:47:18 +0000 (17:47 +0100)]
fixed saving setup for music and sound button changes

6 months agoadded warning for potential GIC config problems that should not happen
Holger Schemel [Sun, 23 Feb 2025 16:42:42 +0000 (17:42 +0100)]
added warning for potential GIC config problems that should not happen

6 months agoadded warning if blitting textures with invalid renderer
Holger Schemel [Sat, 22 Feb 2025 14:48:56 +0000 (15:48 +0100)]
added warning if blitting textures with invalid renderer

6 months agoadded freeing envelope request texture when freeing all textures
Holger Schemel [Sat, 22 Feb 2025 14:38:05 +0000 (15:38 +0100)]
added freeing envelope request texture when freeing all textures

6 months agofixed bugs with showing correct game buttons for various cases
Holger Schemel [Fri, 21 Feb 2025 21:42:28 +0000 (22:42 +0100)]
fixed bugs with showing correct game buttons for various cases

This change should fix problems (like multiple mapped or wrong buttons
at the same screen position) with various combinations of game button
positions (if defined in custom artwork set) and setup options to show
load/save buttons and/or undo/redo buttons (which might happen because
stop/save/undo buttons and play/load/redo/restart buttons are defined
to be at the same screen position by default).

6 months agoadded function to check if gadget is mapped
Holger Schemel [Fri, 21 Feb 2025 21:24:33 +0000 (22:24 +0100)]
added function to check if gadget is mapped

6 months agoadded unmapping all game buttons at same position as restart buttons
Holger Schemel [Fri, 21 Feb 2025 21:14:33 +0000 (22:14 +0100)]
added unmapping all game buttons at same position as restart buttons

6 months agoadded setting undefined load/redo buttons also from restart position
Holger Schemel [Fri, 21 Feb 2025 20:25:11 +0000 (21:25 +0100)]
added setting undefined load/redo buttons also from restart position

6 months agoadded support for snapshot when collecting diamond for BD engine
Holger Schemel [Fri, 21 Feb 2025 19:58:20 +0000 (20:58 +0100)]
added support for snapshot when collecting diamond for BD engine

6 months agofixed saving setup for name/team, keyboard and joystick changes
Holger Schemel [Fri, 21 Feb 2025 19:46:56 +0000 (20:46 +0100)]
fixed saving setup for name/team, keyboard and joystick changes

6 months agoversion number set to 4.4.0.5-test-1
Holger Schemel [Fri, 21 Feb 2025 12:19:48 +0000 (13:19 +0100)]
version number set to 4.4.0.5-test-1

6 months agoversion number set to 4.4.0.4 (stable) 4.4.0.4
Holger Schemel [Sun, 16 Feb 2025 20:01:16 +0000 (21:01 +0100)]
version number set to 4.4.0.4 (stable)

6 months agofixed not setting BD multiple lives if first level has level story
Holger Schemel [Sun, 16 Feb 2025 14:24:53 +0000 (15:24 +0100)]
fixed not setting BD multiple lives if first level has level story

6 months agofixed clearing off-screen areas in window mode after resizing window
Holger Schemel [Wed, 12 Feb 2025 19:02:57 +0000 (20:02 +0100)]
fixed clearing off-screen areas in window mode after resizing window

6 months agofixed compiler warning with Clang 18
Holger Schemel [Wed, 12 Feb 2025 18:27:25 +0000 (19:27 +0100)]
fixed compiler warning with Clang 18

6 months agofixed compiler warning with GCC 13
Holger Schemel [Wed, 12 Feb 2025 18:14:21 +0000 (19:14 +0100)]
fixed compiler warning with GCC 13

6 months agofixed compiler warnings with GCC 11
Holger Schemel [Mon, 10 Feb 2025 17:56:43 +0000 (18:56 +0100)]
fixed compiler warnings with GCC 11

6 months agoadded setup option for key shortcut to toggle extra game panel items
Holger Schemel [Thu, 6 Feb 2025 00:03:40 +0000 (01:03 +0100)]
added setup option for key shortcut to toggle extra game panel items

6 months agoadded support for toggling extra game panel items by left Shift key
Holger Schemel [Wed, 5 Feb 2025 23:49:07 +0000 (00:49 +0100)]
added support for toggling extra game panel items by left Shift key

6 months agochanged setup option for extra game panel items to be more generic
Holger Schemel [Wed, 5 Feb 2025 22:52:07 +0000 (23:52 +0100)]
changed setup option for extra game panel items to be more generic

In addition, the default value was changed to "false" to show classic
game panels by default.

6 months agoadded using offsets for standard game panel if extra panel items active
Holger Schemel [Wed, 5 Feb 2025 22:43:00 +0000 (23:43 +0100)]
added using offsets for standard game panel if extra panel items active

6 months agofixed crash bug (accessing undefined cave with non-BD game engine)
Holger Schemel [Wed, 5 Feb 2025 20:16:04 +0000 (21:16 +0100)]
fixed crash bug (accessing undefined cave with non-BD game engine)

6 months agoadded support for multiple pre-defined ".class" parameters
Holger Schemel [Wed, 5 Feb 2025 19:35:36 +0000 (20:35 +0100)]
added support for multiple pre-defined ".class" parameters

6 months agoadded function to check for ".class" parameter
Holger Schemel [Wed, 5 Feb 2025 19:08:07 +0000 (20:08 +0100)]
added function to check for ".class" parameter

6 months agomoved code to separate functions
Holger Schemel [Wed, 5 Feb 2025 18:39:12 +0000 (19:39 +0100)]
moved code to separate functions

6 months agoadded optional offset parameters to game panel values (not used yet)
Holger Schemel [Wed, 5 Feb 2025 18:50:58 +0000 (19:50 +0100)]
added optional offset parameters to game panel values (not used yet)

7 months agoadded support for game panel values for native BD game engine
Holger Schemel [Sun, 2 Feb 2025 23:41:28 +0000 (00:41 +0100)]
added support for game panel values for native BD game engine

7 months agoadded not saving extra colors to BDCFF when using classic BD color set
Holger Schemel [Wed, 29 Jan 2025 18:19:26 +0000 (19:19 +0100)]
added not saving extra colors to BDCFF when using classic BD color set

7 months agoadded support for reading two extra colors from BDCFF file
Holger Schemel [Wed, 29 Jan 2025 18:05:52 +0000 (19:05 +0100)]
added support for reading two extra colors from BDCFF file

7 months agoversion number set to 4.4.0.4-test-1
Holger Schemel [Sat, 25 Jan 2025 11:04:44 +0000 (12:04 +0100)]
version number set to 4.4.0.4-test-1

7 months agoversion number set to 4.4.0.3 (stable) 4.4.0.3
Holger Schemel [Sat, 25 Jan 2025 10:25:34 +0000 (11:25 +0100)]
version number set to 4.4.0.3 (stable)

7 months agoadded optionally placing "engine" tab in same row in level editor
Holger Schemel [Fri, 24 Jan 2025 21:18:45 +0000 (22:18 +0100)]
added optionally placing "engine" tab in same row in level editor

7 months agoremoved unused messages for "colors" and "engine" tabs in level editor
Holger Schemel [Fri, 24 Jan 2025 21:05:50 +0000 (22:05 +0100)]
removed unused messages for "colors" and "engine" tabs in level editor

7 months agochanged positions of "colors" and "engine" tabs in level editor
Holger Schemel [Fri, 24 Jan 2025 20:54:23 +0000 (21:54 +0100)]
changed positions of "colors" and "engine" tabs in level editor

As level specific colors are independent from the game engine now, it
does not make sense anymore to show it as part of the "engine" tab.

7 months agofixed handling keys when pressed together with Shift or right Alt key
Holger Schemel [Thu, 23 Jan 2025 22:44:31 +0000 (23:44 +0100)]
fixed handling keys when pressed together with Shift or right Alt key

7 months agofixed handling keys when pressed together with Ctrl or Meta key
Holger Schemel [Thu, 23 Jan 2025 22:36:39 +0000 (23:36 +0100)]
fixed handling keys when pressed together with Ctrl or Meta key

7 months agoadded support for custom window sizes for main, scores and game screen
Holger Schemel [Thu, 23 Jan 2025 19:11:57 +0000 (20:11 +0100)]
added support for custom window sizes for main, scores and game screen

7 months agofixed clearing off-screen areas in fullscreen for different window sizes
Holger Schemel [Wed, 22 Jan 2025 22:34:21 +0000 (23:34 +0100)]
fixed clearing off-screen areas in fullscreen for different window sizes

7 months agoadded support for different window size for level editor
Holger Schemel [Wed, 22 Jan 2025 22:31:18 +0000 (23:31 +0100)]
added support for different window size for level editor

7 months agoadded continuing at game end by pressing configured snap or drop key
Holger Schemel [Wed, 22 Jan 2025 19:03:19 +0000 (20:03 +0100)]
added continuing at game end by pressing configured snap or drop key

7 months agofixed fast-forwarding BD game engine when skipping player hatching
Holger Schemel [Wed, 22 Jan 2025 07:46:12 +0000 (08:46 +0100)]
fixed fast-forwarding BD game engine when skipping player hatching

Without this change, tape replay times with "skip hatching" enabled or
disabled differ by one frame, causing failed tape validations on the
high score server for tapes recorded with "skip hatching" enabled.

7 months agofixed flickering panel score when playing BD games with multiple lives
Holger Schemel [Tue, 21 Jan 2025 18:49:48 +0000 (19:49 +0100)]
fixed flickering panel score when playing BD games with multiple lives

This change fixes displaying the cave score for one single frame when
playing BD games with multiple lives, therefore using global scores.

7 months agoreplaced code with equivalent function call
Holger Schemel [Tue, 21 Jan 2025 18:30:33 +0000 (19:30 +0100)]
replaced code with equivalent function call

7 months agomoved code to separate function
Holger Schemel [Tue, 21 Jan 2025 18:15:46 +0000 (19:15 +0100)]
moved code to separate function

7 months agofixed cave score (tape score) when playing BD games with multiple lives
Holger Schemel [Tue, 21 Jan 2025 18:03:09 +0000 (19:03 +0100)]
fixed cave score (tape score) when playing BD games with multiple lives

7 months agoversion number set to 4.4.0.3-test-1
Holger Schemel [Mon, 20 Jan 2025 22:09:56 +0000 (23:09 +0100)]
version number set to 4.4.0.3-test-1

7 months agoversion number set to 4.4.0.2 (stable) 4.4.0.2
Holger Schemel [Mon, 20 Jan 2025 19:16:29 +0000 (20:16 +0100)]
version number set to 4.4.0.2 (stable)

7 months agofixed bad use of function pointers that was breaking Emscripten port
Holger Schemel [Mon, 20 Jan 2025 18:16:32 +0000 (19:16 +0100)]
fixed bad use of function pointers that was breaking Emscripten port

7 months agofixed getting file size of BD caveset file inside Android APK file
Holger Schemel [Sun, 19 Jan 2025 23:21:44 +0000 (00:21 +0100)]
fixed getting file size of BD caveset file inside Android APK file

7 months agofixed clearing touch buttons in off-screen areas on Android
Holger Schemel [Sun, 19 Jan 2025 18:34:50 +0000 (19:34 +0100)]
fixed clearing touch buttons in off-screen areas on Android

7 months agofixed adding extra life when playing BD games with multiple lives
Holger Schemel [Sun, 19 Jan 2025 15:49:43 +0000 (16:49 +0100)]
fixed adding extra life when playing BD games with multiple lives

7 months agoversion number set to 4.4.0.2-test-1
Holger Schemel [Sat, 18 Jan 2025 21:46:58 +0000 (22:46 +0100)]
version number set to 4.4.0.2-test-1

7 months agoversion number set to 4.4.0.1 (stable) 4.4.0.1
Holger Schemel [Sat, 18 Jan 2025 19:20:12 +0000 (20:20 +0100)]
version number set to 4.4.0.1 (stable)

7 months agofixed playing sounds for levels with small playfield in BD engine
Holger Schemel [Sat, 18 Jan 2025 13:27:10 +0000 (14:27 +0100)]
fixed playing sounds for levels with small playfield in BD engine

7 months agofixed drawing crumbled graphics when moving diagonally in BD engine
Holger Schemel [Sat, 18 Jan 2025 12:01:27 +0000 (13:01 +0100)]
fixed drawing crumbled graphics when moving diagonally in BD engine

7 months agofixed bug with looping death sound when killed by voodoo in BD engine
Holger Schemel [Sat, 18 Jan 2025 11:28:15 +0000 (12:28 +0100)]
fixed bug with looping death sound when killed by voodoo in BD engine

7 months agoremoved unused BD style border color from main code base
Holger Schemel [Sat, 18 Jan 2025 10:59:03 +0000 (11:59 +0100)]
removed unused BD style border color from main code base

7 months agoreplaced single level color variables with arrays
Holger Schemel [Sat, 18 Jan 2025 10:45:59 +0000 (11:45 +0100)]
replaced single level color variables with arrays

7 months agoadded support for color gradients for color template coloring
Holger Schemel [Fri, 17 Jan 2025 19:57:37 +0000 (20:57 +0100)]
added support for color gradients for color template coloring

7 months agofixed setting screen position of "set random colors" button in editor
Holger Schemel [Wed, 15 Jan 2025 18:12:35 +0000 (19:12 +0100)]
fixed setting screen position of "set random colors" button in editor

7 months agoadded showing color settings in editor also for non-BD engine levels
Holger Schemel [Wed, 15 Jan 2025 17:56:44 +0000 (18:56 +0100)]
added showing color settings in editor also for non-BD engine levels

7 months agoadded not covering BD screen when returning to editor
Holger Schemel [Tue, 14 Jan 2025 23:29:41 +0000 (00:29 +0100)]
added not covering BD screen when returning to editor

7 months agoadded fading sounds after covering BD screen when not playing anymore
Holger Schemel [Tue, 14 Jan 2025 23:19:27 +0000 (00:19 +0100)]
added fading sounds after covering BD screen when not playing anymore

7 months agoremoved redundant closing of doors when (not) restarting game
Holger Schemel [Tue, 14 Jan 2025 22:44:56 +0000 (23:44 +0100)]
removed redundant closing of doors when (not) restarting game

7 months agofixed stopping sounds while (un)covering screen when using BD engine
Holger Schemel [Tue, 14 Jan 2025 22:36:17 +0000 (23:36 +0100)]
fixed stopping sounds while (un)covering screen when using BD engine

When using the BD engine, this change prevents stopping (fading)
sounds after covering the screen if immediately followed by uncovering
the screen again when either restarting a game or starting a new game
directly after finishing the previous game.

7 months agofixed playing/stopping sounds while covering screen when using BD engine
Holger Schemel [Tue, 14 Jan 2025 22:32:24 +0000 (23:32 +0100)]
fixed playing/stopping sounds while covering screen when using BD engine

7 months agoremoved stopping sounds after covering screen when using BD engine
Holger Schemel [Tue, 14 Jan 2025 22:27:57 +0000 (23:27 +0100)]
removed stopping sounds after covering screen when using BD engine

7 months agoremoved stopping sounds when freeing BD game structure
Holger Schemel [Tue, 14 Jan 2025 22:22:59 +0000 (23:22 +0100)]
removed stopping sounds when freeing BD game structure

7 months agochanged fading sounds and music before closing door when playing
Holger Schemel [Tue, 14 Jan 2025 22:14:25 +0000 (23:14 +0100)]
changed fading sounds and music before closing door when playing

7 months agofixed black screen flickering when using Metal render driver on Mac
Holger Schemel [Tue, 14 Jan 2025 07:33:45 +0000 (08:33 +0100)]
fixed black screen flickering when using Metal render driver on Mac

7 months agoadded GIC flag to keep game panel door open when restarting game
Holger Schemel [Mon, 13 Jan 2025 22:17:54 +0000 (23:17 +0100)]
added GIC flag to keep game panel door open when restarting game

Setting this flag to "true" in file "graphicsinfo.conf" prevents
closing the game panel door when starting a game while already being
in game mode "playing" (like restarting a level or playing the next
level when not showing the hall of fame screen between two levels).
This can be used to skip closing and opening the game panel door if
nothing happens between closing and opening (besides updating the
panel content), which can be the case with BD engine levels which use
screen covering and uncovering instead of fading out and fading in.

7 months agochanged condition (no functional change)
Holger Schemel [Sat, 11 Jan 2025 20:08:11 +0000 (21:08 +0100)]
changed condition (no functional change)

7 months agoremoved unnecessary parentheses
Holger Schemel [Sat, 11 Jan 2025 20:03:32 +0000 (21:03 +0100)]
removed unnecessary parentheses

7 months agoadded support for BD player graphic with bomb or rocket turning back
Holger Schemel [Sat, 11 Jan 2025 19:50:21 +0000 (20:50 +0100)]
added support for BD player graphic with bomb or rocket turning back

This adds an optional animation for one BD engine iteration cycle
between moving player and waiting player, carrying a bomb or a rocket
launcher (using ".turning" action definition for "player is turning
back to the default waiting position after moving in any direction").

7 months agoadded updating playfield for BD engine if drawing element has changed
Holger Schemel [Sat, 11 Jan 2025 19:16:11 +0000 (20:16 +0100)]
added updating playfield for BD engine if drawing element has changed

7 months agoadded storing 2nd last BD player movement direction (not used yet)
Holger Schemel [Sat, 11 Jan 2025 19:10:46 +0000 (20:10 +0100)]
added storing 2nd last BD player movement direction (not used yet)

7 months agorenamed function
Holger Schemel [Fri, 10 Jan 2025 18:24:52 +0000 (19:24 +0100)]
renamed function

7 months agoadded redrawing tile for BD engine if it has animated graphics
Holger Schemel [Fri, 10 Jan 2025 18:22:10 +0000 (19:22 +0100)]
added redrawing tile for BD engine if it has animated graphics

7 months agoadded setup option to save tape without asking
Holger Schemel [Wed, 8 Jan 2025 22:47:08 +0000 (23:47 +0100)]
added setup option to save tape without asking

7 months agofixed comment
Holger Schemel [Wed, 8 Jan 2025 19:47:21 +0000 (20:47 +0100)]
fixed comment

7 months agoadded closing request door before covering BD screen (if still open)
Holger Schemel [Mon, 6 Jan 2025 19:46:48 +0000 (20:46 +0100)]
added closing request door before covering BD screen (if still open)

7 months agoadded covering BD screen before closing game panel door
Holger Schemel [Mon, 6 Jan 2025 19:45:55 +0000 (20:45 +0100)]
added covering BD screen before closing game panel door

7 months agoadded flag for open request door after request (not used yet)
Holger Schemel [Mon, 6 Jan 2025 19:39:45 +0000 (20:39 +0100)]
added flag for open request door after request (not used yet)

7 months agoinverted logic for checking for covering BD screen
Holger Schemel [Mon, 6 Jan 2025 19:37:45 +0000 (20:37 +0100)]
inverted logic for checking for covering BD screen

7 months agofixed undefined caveset data when using non-native BD engine levels
Holger Schemel [Mon, 6 Jan 2025 19:16:42 +0000 (20:16 +0100)]
fixed undefined caveset data when using non-native BD engine levels

7 months agofixed keeping life if BD style intermission restarted
Holger Schemel [Mon, 6 Jan 2025 18:24:56 +0000 (19:24 +0100)]
fixed keeping life if BD style intermission restarted

7 months agofixed removing life twice if BD style level lost
Holger Schemel [Mon, 6 Jan 2025 18:20:53 +0000 (19:20 +0100)]
fixed removing life twice if BD style level lost

7 months agofixed removing life if BD style intermission level lost
Holger Schemel [Mon, 6 Jan 2025 18:13:17 +0000 (19:13 +0100)]
fixed removing life if BD style intermission level lost

7 months agofixed showing wrong playfield actions when closing "replace tape" door
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.

7 months agoadded returning from game actions if winning game completely handled
Holger Schemel [Mon, 6 Jan 2025 17:48:27 +0000 (18:48 +0100)]
added returning from game actions if winning game completely handled

7 months agoadded return code to function "GameWon()" (not used yet)
Holger Schemel [Mon, 6 Jan 2025 17:47:10 +0000 (18:47 +0100)]
added return code to function "GameWon()" (not used yet)

7 months agofixed covering screen if last level did not use BD engine
Holger Schemel [Mon, 6 Jan 2025 16:22:06 +0000 (17:22 +0100)]
fixed covering screen if last level did not use BD engine

7 months agofixed errors with covering BD screen when not using 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

7 months agofixed showing wrong playfield actions when closing "replace tape" door
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.

7 months agofixed showing level story when playing without hall of fame after game
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").

7 months agomoved code to close game panel door before starting game
Holger Schemel [Mon, 6 Jan 2025 14:06:19 +0000 (15:06 +0100)]
moved code to close game panel door before starting game

7 months agoremoved redundant closing of 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

7 months agofixed bug with closing tape recorder door after 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.

7 months agoadded always closing game panel door in main menu
Holger Schemel [Mon, 6 Jan 2025 13:32:14 +0000 (14:32 +0100)]
added always closing game panel door in main menu

7 months agoimproved support for restart key when playing BD games with multiple lives
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