rocksndiamonds.git
3 days agoversion number set to 4.4.0.3 (stable) master 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)

4 days 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

4 days 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

4 days 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.

4 days 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

4 days 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

5 days 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

5 days 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

5 days 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

6 days 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

6 days 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 days 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 days 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 days agomoved code to separate function
Holger Schemel [Tue, 21 Jan 2025 18:15:46 +0000 (19:15 +0100)]
moved code to separate function

7 days 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 days 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

8 days 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)

8 days 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

8 days 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

9 days 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

9 days 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

10 days 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

10 days 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)

10 days 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

10 days 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

10 days 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

10 days 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

10 days 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

11 days 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

13 days 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

13 days 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

13 days 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

13 days 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

13 days 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

13 days 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.

13 days 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

13 days 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

13 days 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

13 days 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

2 weeks 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

2 weeks 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.

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

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

2 weeks 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").

2 weeks 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

2 weeks 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)

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

2 weeks 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

2 weeks 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

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

3 weeks 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)

3 weeks 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

3 weeks 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)

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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.

3 weeks 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

3 weeks 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)

3 weeks 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

3 weeks 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

3 weeks 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.

3 weeks 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").

3 weeks 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

3 weeks 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

3 weeks 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.

3 weeks 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

3 weeks 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

3 weeks agoimproved code logic (removed redundant condition)
Holger Schemel [Sun, 5 Jan 2025 21:40:45 +0000 (22:40 +0100)]
improved code logic (removed redundant condition)

3 weeks agofixed support for restart key when playing BD games with multiple lives
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

3 weeks agoadded 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

3 weeks agoadded skipping screen fading when restarting game using BD engine
Holger Schemel [Sun, 5 Jan 2025 16:05:45 +0000 (17:05 +0100)]
added skipping screen fading when restarting game using BD engine

3 weeks agoadded checking for BD engine for not covering BD screen
Holger Schemel [Sun, 5 Jan 2025 16:00:41 +0000 (17:00 +0100)]
added checking for BD engine for not covering BD screen

3 weeks agomoved code to cover BD screen before fading out when restarting game
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

3 weeks agoupdated title text and border graphic to show current year
Holger Schemel [Sun, 5 Jan 2025 14:38:52 +0000 (15:38 +0100)]
updated title text and border graphic to show current year

3 weeks agoadded support for showing multiple lives for BD games in game panel
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

3 weeks agoadded game panel classes to show items only before or after BD hatching
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.)

3 weeks agoadded support for narrow font if game panel text too large
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.

3 weeks agoadded support to show level set name in game panel
Holger Schemel [Sat, 4 Jan 2025 16:16:34 +0000 (17:16 +0100)]
added support to show level set name in game panel

3 weeks agoadded support for playing BD games with multiple lives and global score
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

3 weeks agominor code change (no functional change)
Holger Schemel [Fri, 3 Jan 2025 23:16:06 +0000 (00:16 +0100)]
minor code change (no functional change)

3 weeks agofixed initializing level specific colors when loading non-BD levels
Holger Schemel [Fri, 3 Jan 2025 13:59:27 +0000 (14:59 +0100)]
fixed initializing level specific colors when loading non-BD levels

3 weeks agoadded skipping extra colors when using reduced BD style color template
Holger Schemel [Fri, 3 Jan 2025 13:56:01 +0000 (14:56 +0100)]
added skipping extra colors when using reduced BD style color template

3 weeks agoadded variable to be set when using reduced color template colors
Holger Schemel [Thu, 2 Jan 2025 13:19:43 +0000 (14:19 +0100)]
added variable to be set when using reduced color template colors

3 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

3 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