Zlib moved into separate module.

This commit is contained in:
Miroslav Bendík
2012-09-18 10:43:34 +02:00
parent 6133aff2f3
commit 28e9450573
5 changed files with 122 additions and 48 deletions

View File

@ -62,9 +62,6 @@ class DbError {
class ColorError {
};
class DecompressError {
};
class VersionError {
};
@ -72,8 +69,9 @@ class VersionError {
class TileGenerator
{
private:
typedef std::basic_string<unsigned char> unsigned_string;
typedef std::map<std::string, Color> ColorMap;
typedef std::pair<BlockPos, std::basic_string<unsigned char> > Block;
typedef std::pair<BlockPos, unsigned_string> Block;
typedef std::list<Block> BlockList;
public:
@ -98,7 +96,7 @@ private:
void renderMap();
std::list<int> getZValueList() const;
std::map<int, BlockList> getBlocksOnZ(int zPos, sqlite3_stmt *statement) const;
void renderMapBlock(const std::string &mapBlock, const BlockPos &pos, int version);
void renderMapBlock(const unsigned_string &mapBlock, const BlockPos &pos, int version);
void renderShading(int zPos);
void renderScale();
void renderOrigin();