From c559c71dd9abff1f0e8d0175b3feac792f337670 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Mon, 16 Mar 2009 20:49:04 -0700 Subject: 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. --- player/brlyt.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 player/brlyt.h (limited to 'player/brlyt.h') 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_ -- cgit v1.3.1