summaryrefslogtreecommitdiff
path: root/src/ui/ui_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-04-01 15:10:34 +0000
committerTim Angus <tim@ngus.net>2002-04-01 15:10:34 +0000
commit980ea0250159a10c8e14e11f580e5c97b81b6263 (patch)
treec85f8bba78f88dd730a9377cd83fb30b65541b16 /src/ui/ui_local.h
parent944a6bd6d99e66bb0d4cc3b5d53ff7322c7e6837 (diff)
Partial infopanes implementation
Diffstat (limited to 'src/ui/ui_local.h')
-rw-r--r--src/ui/ui_local.h18
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;