X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffiles.c;h=104ecb4d3560b2f29fa9ac41cfd59569036cf557;hb=71dca6319ace9a34fdc0e406800c22018ac2e285;hp=4dc7fceb920713954d13f135147dec071bc433b8;hpb=7f854f7628d746306ec1a7fcd27c93bbb7652740;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index 4dc7fceb..104ecb4d 100644 --- a/src/files.c +++ b/src/files.c @@ -266,6 +266,12 @@ static struct LevelFileConfigInfo chunk_config_INFO[] = &li.time_score_base, 1 }, + { + -1, -1, + TYPE_BOOLEAN, CONF_VALUE_8_BIT(13), + &li.rate_time_over_score, FALSE + }, + { -1, -1, -1, -1, @@ -3932,12 +3938,11 @@ static void CopyNativeLevel_SP_to_RND(struct LevelInfo *level) level->time_wheel = 0; level->amoeba_content = EL_EMPTY; -#if 1 - // original Supaplex does not use score values -- use default values -#else + // original Supaplex does not use score values -- rate by playing time for (i = 0; i < LEVEL_SCORE_ELEMENTS; i++) level->score[i] = 0; -#endif + + level->rate_time_over_score = TRUE; // there are no yamyams in supaplex levels for (i = 0; i < level->num_yamyam_contents; i++)