ScummVM API documentation
StarTrek::TextBitmap Struct Reference

#include <bitmap.h>

Inheritance diagram for StarTrek::TextBitmap:
StarTrek::Bitmap

Public Member Functions

 TextBitmap (int w, int h)
 
- Public Member Functions inherited from StarTrek::Bitmap
 Bitmap (Common::MemoryReadStreamEndian *stream, bool closeStream=true)
 
 Bitmap (const Bitmap &bitmap)
 
 Bitmap (int w, int h)
 

Additional Inherited Members

- Public Attributes inherited from StarTrek::Bitmap
int16 xoffset
 
int16 yoffset
 
int16 width
 
int16 height
 
byte * pixels
 
- Protected Attributes inherited from StarTrek::Bitmap
int32 pixelsArraySize
 

Detailed Description

TextBitmap is the same as Bitmap, except it stores character indices in its "pixels" array instead of actual pixels. A consequence of this is that the pixels array is smaller than otherwise expected (since width/height still reflect the actual size when drawn).


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