Implement RGSS2 Tilemap class (TilemapVX)
This commit is contained in:
parent
3717609142
commit
7790bd6c2c
12 changed files with 1797 additions and 9 deletions
13
src/shader.h
13
src/shader.h
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue