- Made translation support for multipatch textures operational.

SVN r919 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-16 18:17:20 +00:00
commit d5738e3876
13 changed files with 140 additions and 61 deletions

View file

@ -38,6 +38,8 @@
#include "doomtype.h"
struct FCopyInfo;
class FBitmap
{
BYTE *data;
@ -87,11 +89,31 @@ public:
return data != NULL;
}
int GetHeight() const
{
return Height;
}
int GetWidth() const
{
return Width;
}
int GetPitch() const
{
return Pitch;
}
const BYTE *GetPixels() const
{
return data;
}
virtual void CopyPixelDataRGB(int originx, int originy, const BYTE *patch, int srcwidth,
int srcheight, int step_x, int step_y, int rotate, int ct);
int srcheight, int step_x, int step_y, int rotate, int ct, FCopyInfo *inf = NULL);
virtual void CopyPixelData(int originx, int originy, const BYTE * patch, int srcwidth, int srcheight,
int step_x, int step_y, int rotate, PalEntry * palette);
int step_x, int step_y, int rotate, PalEntry * palette, FCopyInfo *inf = NULL);
};