#include <string>
#include <msp/graphics/image.h>
-#include "resource.h"
#include "texture.h"
namespace Msp {
private:
class AsyncLoader;
- PixelFormat ifmt;
unsigned width;
unsigned height;
unsigned allocated;
unsigned get_height() const { return height; }
private:
- void get_level_size(unsigned, unsigned &, unsigned &);
+ unsigned get_n_levels() const;
+ void get_level_size(unsigned, unsigned &, unsigned &) const;
public:
virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);