First steps for new terrain texturing. In tileset xml do:

<surface partsize="64">
			<texture path="textures/512.png"/>
                </surface>
This commit is contained in:
Titus Tscharntke
2013-02-20 17:42:47 +00:00
parent c8cdca22fd
commit 01b6986581
5 changed files with 99 additions and 26 deletions

View File

@@ -293,6 +293,7 @@ public:
void lerp(float t, const Pixmap2D *pixmap1, const Pixmap2D *pixmap2);
void copy(const Pixmap2D *sourcePixmap);
void subCopy(int x, int y, const Pixmap2D *sourcePixmap);
void copyImagePart(int x, int y, const Pixmap2D *sourcePixmap);
string getPath() const { return path;}
uint64 getPixelByteCount() const;