1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-07 14:50:21 +00:00

added partial VFS support - enough to read static data from any source

This commit is contained in:
fgenesis 2011-09-15 18:33:13 +02:00
parent 0951283b31
commit fa3e9e7329
56 changed files with 4021 additions and 606 deletions

View file

@ -51,6 +51,8 @@ BUILD_LINUX
#include "FrameBuffer.h"
#include "Shader.h"
#include "VFSIncludes.h"
class ParticleEffect;
class ParticleManager;
@ -1400,6 +1402,14 @@ protected:
int tgaSave(const char *filename, short int width, short int height, unsigned char pixelDepth, unsigned char *imageData);
virtual void onUpdate(float dt);
virtual void onRender(){}
// VFS related
private:
std::set<ttvfs::VFSFile*> vfsFilesToClear; // used for dropBuf() delaying
public:
ttvfs::VFSHelper vfs;
void setupVFS(const char *extradir = NULL);
void addVFSFileForDrop(ttvfs::VFSFile *vf);
};
extern Core *core;