From 5224a27798f89093b13722b41143551a057ce550 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Fri, 7 Jan 2011 11:12:08 -0800 Subject: Additional loading methods for fonts and a3d files. Cleaned up error messages. Change-Id: Id33b7149671df23c37cc11375d844a7837dac750 Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179 --- rsFileA3D.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rsFileA3D.h') diff --git a/rsFileA3D.h b/rsFileA3D.h index 3ece4c94..056b5af4 100644 --- a/rsFileA3D.h +++ b/rsFileA3D.h @@ -21,6 +21,7 @@ #include "rsMesh.h" #include +#include #include "rsStream.h" #include @@ -59,6 +60,7 @@ public: }; bool load(FILE *f); + bool load(Asset *asset); bool load(const void *data, size_t length); size_t getNumIndexEntries() const; @@ -83,6 +85,7 @@ protected: const uint8_t * mData; void * mAlloc; uint64_t mDataSize; + Asset *mAsset; OStream *mWriteStream; Vector mWriteIndex; -- cgit v1.2.3