X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=45ce857f99dc2f4adc954c024ddea6db94f7eb9b;hb=86d415d483595dc87c7b78991554744c680af740;hp=213d1e9d7cc18b9117dc470ec1c82cedd477ae59;hpb=66b7cdb08e8e6ee4051176997f873c491fbc532c;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 213d1e9d..45ce857f 100644 --- a/src/main.h +++ b/src/main.h @@ -984,6 +984,12 @@ #define MAX_ANDROID_ELEMENTS 32 #define MAX_ANDROID_ELEMENTS_OLD 16 // (extended since version 4.2.0.0) +#define MAX_ISO_DATE_LEN 10 +#define MAX_PLATFORM_TEXT_LEN 16 +#define MAX_VERSION_TEXT_LEN 16 +#define MAX_COUNTRY_CODE_LEN 2 +#define MAX_COUNTRY_NAME_LEN 64 + // values for elements with content #define MIN_ELEMENT_CONTENTS 1 #define STD_ELEMENT_CONTENTS 4 @@ -2804,6 +2810,8 @@ struct MenuScoresButtonInfo { struct MenuPosInfo prev_level; struct MenuPosInfo next_level; + struct MenuPosInfo prev_score; + struct MenuPosInfo next_score; }; struct MenuScoresInfo @@ -3085,6 +3093,14 @@ struct ScoreEntry char name[MAX_PLAYER_NAME_LEN + 1]; int score; int time; // time (in frames) or steps played + + // additional score information for score info screen + int id; + char tape_date[MAX_ISO_DATE_LEN + 1]; + char platform[MAX_PLATFORM_TEXT_LEN + 1]; + char version[MAX_VERSION_TEXT_LEN + 1]; + char country_code[MAX_COUNTRY_CODE_LEN + 1]; + char country_name[MAX_COUNTRY_NAME_LEN + 1]; }; struct ScoreInfo