From: Holger Schemel Date: Tue, 27 Aug 2024 21:16:45 +0000 (+0200) Subject: added exported function to get non-scanned BD element (not used yet) X-Git-Tag: 4.4.0.0-test-4~288 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=a747a8b67cf83c869d51b93ec0242c3224ab44ea;p=rocksndiamonds.git added exported function to get non-scanned BD element (not used yet) --- diff --git a/src/game_bd/export_bd.h b/src/game_bd/export_bd.h index db9a3e8b..0e6cb948 100644 --- a/src/game_bd/export_bd.h +++ b/src/game_bd/export_bd.h @@ -117,6 +117,7 @@ int map_action_BD_to_RND(int); boolean checkGameRunning_BD(void); boolean checkGamePlaying_BD(void); boolean checkBonusTime_BD(void); +int getNonScannedElement_BD(int); int getFramesPerSecond_BD(void); int getTimeLeft_BD(void); void SetTimeFrames_BD(int); diff --git a/src/game_bd/main_bd.c b/src/game_bd/main_bd.c index 99fdc18e..3b967877 100644 --- a/src/game_bd/main_bd.c +++ b/src/game_bd/main_bd.c @@ -239,6 +239,11 @@ boolean checkBonusTime_BD(void) return (game_bd.game != NULL && game_bd.game->state_counter == GAME_INT_CHECK_BONUS_TIME); } +int getNonScannedElement_BD(int element) +{ + return non_scanned_pair(element); +} + int getFramesPerSecond_BD(void) { if (game_bd.game != NULL && game_bd.game->cave != NULL && game_bd.game->cave->pal_timing)