aboutsummaryrefslogtreecommitdiff
path: root/laichzeit
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-04-25 23:48:18 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-04-25 23:48:18 -0500
commita1775b675a4f8e029297d3b69ac39f3029209906 (patch)
tree73e3fb3b7b246347476725f774122637cf705ab0 /laichzeit
parent9e7ec7967ab691619dc52af2c1d99c8cf55c8b8d (diff)
added wnd1 to brlyt.h for API
Diffstat (limited to '')
-rw-r--r--laichzeit/brlyt.h25
1 files changed, 18 insertions, 7 deletions
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
@@ -93,6 +94,15 @@ typedef struct
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.
} LYTSub;
@@ -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