Physics system in progress
Now export writes krbundles directly --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40194
This commit is contained in:
@@ -35,13 +35,20 @@
|
||||
#import "KRResource.h"
|
||||
#import "KRDataBlock.h"
|
||||
|
||||
class KRBundle : public KRContextObject {
|
||||
class KRBundle : public KRResource {
|
||||
public:
|
||||
KRBundle(KRContext &context, std::string name, KRDataBlock *pData);
|
||||
KRBundle(KRContext &context, std::string name);
|
||||
virtual ~KRBundle();
|
||||
virtual std::string getExtension();
|
||||
virtual bool save(const std::string& path);
|
||||
virtual bool save(KRDataBlock &data);
|
||||
|
||||
void append(KRResource &resource);
|
||||
|
||||
private:
|
||||
KRDataBlock *m_pData;
|
||||
static size_t RoundUpSize(size_t s);
|
||||
};
|
||||
|
||||
#endif /* defined(KRBUNDLE_H) */
|
||||
|
||||
Reference in New Issue
Block a user