X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=cc9a2fb2ec6aa17cfffd92ed40a94c0878df3396;hb=cd4c45c4456c67590b012faeaeb73132bda4d4ed;hp=6518f918332756a13809a623c6be0fcee6b61fae;hpb=79d9c524e06f6ed0346c9394148691c8904516d5;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 6518f918..cc9a2fb2 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -813,6 +813,7 @@ #define BACKLINK_TEXT_MAIN ".. (main menu)" #define BACKLINK_TEXT_SETUP ".. (setup menu)" #define BACKLINK_TEXT_PARENT ".. (parent directory)" +#define BACKLINK_TEXT_SCORES "" #define TREE_INFOTEXT(t) ((t) == TREE_TYPE_SCORE_ENTRY ? \ INFOTEXT_SCORE_ENTRY : \ @@ -830,7 +831,8 @@ INFOTEXT_MUSIC_DIR : \ INFOTEXT_UNDEFINED) -#define TREE_BACKLINK_TEXT(t) ((t) == TREE_TYPE_SCORE_ENTRY || \ +#define TREE_BACKLINK_TEXT(t) ((t) == TREE_TYPE_SCORE_ENTRY ? \ + BACKLINK_TEXT_SCORES : \ (t) == TREE_TYPE_LEVEL_DIR ? \ BACKLINK_TEXT_MAIN : \ BACKLINK_TEXT_SETUP) @@ -1606,6 +1608,7 @@ struct TreeInfo int first_level; // first level number (to allow start with 0 or 1) int last_level; // last level number (automatically calculated) int sort_priority; // sort levels by 'sort_priority' and then by name + int pos; // custom position information of node in tree boolean latest_engine;// force level set to use the latest game engine @@ -2024,6 +2027,7 @@ KeyMod GetKeyModStateFromEvents(void); void StartTextInput(int, int, int, int); void StopTextInput(void); void PushUserEvent(int, int, int); +boolean PendingEscapeKeyEvent(void); void InitJoysticks(void); boolean ReadJoystick(int, int *, int *, boolean *, boolean *);