ScummVM API documentation
Scumm::GdiNES Class Reference
Inheritance diagram for Scumm::GdiNES:
Scumm::Gdi

Public Member Functions

 GdiNES (ScummEngine *vm)
 
void roomChanged (byte *roomptr) override
 
- Public Member Functions inherited from Scumm::Gdi
 Gdi (ScummEngine *vm)
 
virtual void setRenderModeColorMap (const byte *map)
 
virtual byte remapColorToRenderMode (byte col) const
 
virtual void init ()
 
virtual void loadTiles (byte *roomptr)
 
void setTransparentColor (byte transparentColor)
 
void drawBitmap (const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height, int stripnr, int numstrip, byte flag)
 
byte * getMaskBuffer (int x, int y, int z)
 
void disableZBuffer ()
 
void enableZBuffer ()
 
void resetBackground (int top, int bottom, int strip)
 

Protected Member Functions

void decodeNESGfx (const byte *room)
 
void decodeNESObject (const byte *ptr, int xpos, int ypos, int width, int height)
 
void drawStripNES (byte *dst, byte *mask, int dstPitch, int stripnr, int top, int height)
 
void drawStripNESMask (byte *dst, int stripnr, int top, int height) const
 
bool drawStrip (byte *dstPtr, VirtScreen *vs, int x, int y, const int width, const int height, int stripnr, const byte *smap_ptr) override
 
void decodeMask (int x, int y, const int width, const int height, int stripnr, int numzbuf, const byte *zplane_list[9], bool transpStrip, byte flag) override
 
void prepareDrawBitmap (const byte *ptr, VirtScreen *vs, const int x, const int y, const int width, const int height, int stripnr, int numstrip) override
 
- Protected Member Functions inherited from Scumm::Gdi
bool decompressBitmap (byte *dst, int dstPitch, const byte *src, int numLinesToProcess)
 
void drawStripEGA (byte *dst, int dstPitch, const byte *src, int height) const
 
void drawStripComplex (byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const
 
void drawStripBasicH (byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const
 
void drawStripBasicV (byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const
 
void drawStripRaw (byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const
 
void unkDecode8 (byte *dst, int dstPitch, const byte *src, int height) const
 
void unkDecode9 (byte *dst, int dstPitch, const byte *src, int height) const
 
void unkDecode10 (byte *dst, int dstPitch, const byte *src, int height) const
 
void unkDecode11 (byte *dst, int dstPitch, const byte *src, int height) const
 
void drawStrip3DO (byte *dst, int dstPitch, const byte *src, int height, const bool transpCheck) const
 
void drawStripHE (byte *dst, int dstPitch, const byte *src, int width, int height, const bool transpCheck) const
 
virtual void writeRoomColor (byte *dst, byte color) const
 
void decompressMaskImgOr (byte *dst, const byte *src, int height) const
 
void decompressMaskImg (byte *dst, const byte *src, int height) const
 
int getZPlanes (const byte *smap_ptr, const byte *zplane_list[9], bool bmapImage) const
 

Protected Attributes

struct {
   byte   nametable [16][64]
 
   byte   nametableObj [16][64]
 
   byte   attributes [64]
 
   byte   attributesObj [64]
 
   byte   masktable [16][8]
 
   byte   masktableObj [16][8]
 
   int   objX
 
   bool   hasmask
 
_NES
 
- Protected Attributes inherited from Scumm::Gdi
ScummEngine_vm
 
byte _paletteMod
 
byte * _roomPalette
 
byte _transparentColor
 
byte _decomp_shr
 
byte _decomp_mask
 
uint32 _vertStripNextInc
 
bool _zbufferDisabled
 
bool _objectMode
 

Additional Inherited Members

- Public Types inherited from Scumm::Gdi
enum  DrawBitmapFlags { dbAllowMaskOr = 1 << 0, dbDrawMaskOnAll = 1 << 1, dbObjectMode = 2 << 2 }
 
- Public Attributes inherited from Scumm::Gdi
bool _distaff
 
int _numZBuffer
 
int _imgBufOffs [8]
 
int32 _numStrips
 

The documentation for this class was generated from the following file: