1 /* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
2 
3 #ifndef LEGACY_ATLAS_ALLOC_H
4 #define LEGACY_ATLAS_ALLOC_H
5 
6 #include "IAtlasAllocator.h"
7 
8 
9 class CLegacyAtlasAlloc : public IAtlasAllocator
10 {
11 public:
12 	virtual bool Allocate();
GetMaxMipMaps()13 	virtual int GetMaxMipMaps() { return 0; }
14 
15 private:
16 	bool IncreaseSize();
17 	static int CompareTex(SAtlasEntry* tex1, SAtlasEntry* tex2);
18 };
19 
20 #endif // LEGACY_ATLAS_ALLOC_H
21