Implement RGSS2 Tilemap class (TilemapVX)

This commit is contained in:
Jonas Kulla 2014-08-15 13:59:28 +02:00
parent 3717609142
commit 7790bd6c2c
12 changed files with 1797 additions and 9 deletions

View file

@ -243,6 +243,18 @@ struct BlurShader
HPass pass1;
VPass pass2;
};
class TilemapVXShader : public ShaderBase
{
public:
TilemapVXShader();
void setAniOffset(const Vec2 &value);
private:
GLint u_aniOffset;
};
#endif
/* Bitmap blit */
@ -280,6 +292,7 @@ struct ShaderSet
#ifdef RGSS2
SimpleMatrixShader simpleMatrix;
BlurShader blur;
TilemapVXShader tilemapVX;
#endif
};