diff options
author | Tim Angus <tim@ngus.net> | 2002-04-01 15:10:34 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-04-01 15:10:34 +0000 |
commit | 980ea0250159a10c8e14e11f580e5c97b81b6263 (patch) | |
tree | c85f8bba78f88dd730a9377cd83fb30b65541b16 /src/ui/ui_local.h | |
parent | 944a6bd6d99e66bb0d4cc3b5d53ff7322c7e6837 (diff) |
Partial infopanes implementation
Diffstat (limited to 'src/ui/ui_local.h')
-rw-r--r-- | src/ui/ui_local.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/ui/ui_local.h b/src/ui/ui_local.h index 98626059..6079e867 100644 --- a/src/ui/ui_local.h +++ b/src/ui/ui_local.h @@ -749,10 +749,21 @@ typedef struct { } modInfo_t; //TA: tremulous menus +#define MAX_INFOPANE_LINES 16 +#define MAX_INFOPANES 16 + typedef struct { - const char *text; - const char *cmd; + const char *name; + const char *lines[ MAX_INFOPANE_LINES ]; + int numLines; +} tremInfoPane_t; + +typedef struct +{ + const char *text; + const char *cmd; + tremInfoPane_t *infopane; } tremMenuItem_t; //TA: tremulous menus @@ -815,6 +826,9 @@ typedef struct { int movieIndex; int previewMovie; + tremInfoPane_t tremInfoPanes[ MAX_INFOPANES ]; + int tremInfoPaneCount; + //TA: tremulous menus tremMenuItem_t tremTeamList[ 3 ]; int tremTeamCount; |