From a1775b675a4f8e029297d3b69ac39f3029209906 Mon Sep 17 00:00:00 2001 From: megazig Date: Sat, 25 Apr 2009 23:48:18 -0500 Subject: added wnd1 to brlyt.h for API --- laichzeit/brlyt.h | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'laichzeit/brlyt.h') diff --git a/laichzeit/brlyt.h b/laichzeit/brlyt.h index 33d9aef..37ae86f 100644 --- a/laichzeit/brlyt.h +++ b/laichzeit/brlyt.h @@ -44,8 +44,9 @@ typedef enum LYT_TYPE_PANE = 0, // Panes. LYT_TYPE_TEXT = 1, // Text. LYT_TYPE_PIC = 2, // Pictures. - LYT_TYPE_MAT = 3, // Materials. - LYT_TYPE_GROUP = 4 // Groups. + LYT_TYPE_WND = 3, // Window. + LYT_TYPE_MAT = 4, // Materials. + LYT_TYPE_GROUP = 5 // Groups. } LYTType; typedef struct @@ -91,6 +92,15 @@ typedef struct int done; // Is it done? (Safety measure) } LYTPic; +typedef struct +{ + LYTPane pane; // The Pane. + u32 colors[4]; // Vertex Colors. + u8 count; // Number of Something. + LYTTexCoord texcoords; // Texture coordinates. + int done; // Is it done? (Safety measure) +} LYTWindow; + typedef struct { char name[16]; // Name of the sub. @@ -237,11 +247,12 @@ typedef struct typedef union { - LYTPane pane; // Pane. - LYTText text; // Text. - LYTPic pic; // Picture. - LYTMat mat; // Material. - LYTGroup grp; // Group. + LYTPane pane; // Pane. + LYTText text; // Text. + LYTPic pic; // Picture. + LYTWindow window; // Window. + LYTMat mat; // Material. + LYTGroup grp; // Group. } LYTTag; typedef struct -- cgit v1.3.1