aboutsummaryrefslogtreecommitdiff
path: root/player/brlyt.h
diff options
context:
space:
mode:
authorAlex Marshall <SquidMan72@gmail.com>2009-03-16 20:49:04 -0700
committerAlex Marshall <SquidMan72@gmail.com>2009-03-16 20:49:04 -0700
commitc559c71dd9abff1f0e8d0175b3feac792f337670 (patch)
treedca83aa83336e58c36b3a9372f7f4bc399c41340 /player/brlyt.h
parent47c3f8e593eaaba27de23eb07379ee690859047c (diff)
Added player. It's in XCode project format. If anyone wants to write a makefile for it, please do, it'd be appreciated. Player doesn't play at the moment, but it does read BRLAN into a nice format, and set up SDL.
Diffstat (limited to 'player/brlyt.h')
-rw-r--r--player/brlyt.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/player/brlyt.h b/player/brlyt.h
new file mode 100644
index 0000000..b258eff
--- /dev/null
+++ b/player/brlyt.h
@@ -0,0 +1,25 @@
+/*
+ * brlyt.h
+ * BannerPlayer
+ *
+ * Created by Alex Marshall on 09/03/16.
+ * Copyright 2009 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#ifndef _BRLYT_H_
+#define _BRLYT_H_
+
+#include "types.h"
+
+typedef struct BRLYT_objs
+{
+ char type[4]; // The type of object (FourCC from BRLYT file)
+ u32 offset; // Offset into the BRLYT file to find this object.
+} BRLYT_object;
+
+void BRLYT_Initialize(char rootpath[]);
+int BRLYT_ReadObjects(BRLYT_object** objs);
+void BRLYT_Finish();
+
+#endif //_BRLYT_H_