ScummVM API documentation
NGI::Statics Class Reference
Inheritance diagram for NGI::Statics:
NGI::DynamicPhase NGI::StaticPhase NGI::Picture NGI::MemoryObject NGI::CObject

Public Member Functions

 Statics (Statics *src, bool reverse)
 
bool load (MfcArchive &file) override
 
void init () override
 
Statics * getStaticsById (int itemId)
 
Common::Point getSomeXY () const
 
Common::Point getCenter () const
 
- Public Member Functions inherited from NGI::DynamicPhase
 DynamicPhase (DynamicPhase *src, bool reverse)
 
bool load (MfcArchive &file) override
 
Common::String toXML () override
 
int getDynFlags ()
 
- Public Member Functions inherited from NGI::StaticPhase
bool load (MfcArchive &file) override
 
virtual Common::String toXML ()
 
ExCommand * getExCommand ()
 
- Public Member Functions inherited from NGI::Picture
void freePicture ()
 
void freePixelData ()
 
bool load (MfcArchive &file) override
 
void setAOIDs ()
 
virtual void init ()
 
void getDibInfo ()
 
const Bitmap * getPixelData ()
 
virtual void draw (int x, int y, int style, int angle)
 
void drawRotated (int x, int y, int angle)
 
byte getAlpha ()
 
void setAlpha (byte alpha)
 
Dims getDimensions () const
 
bool isPointInside (int x, int y)
 
bool isPixelHitAtPos (int x, int y)
 
int getPixelAtPos (int x, int y)
 
int getPixelAtPosEx (int x, int y)
 
const Bitmap * getConvertedBitmap () const
 
const Palette & getPaletteData () const
 
void setPaletteData (const Palette &pal)
 
void copyMemoryObject2 (Picture &src)
 
- Public Member Functions inherited from NGI::MemoryObject
bool load (MfcArchive &file) override
 
void loadFile (const Common::Path &filename)
 
void load ()
 
byte * getData ()
 
byte * loadData ()
 
int getDataSize () const
 
bool testFlags ()
 
void freeData ()
 

Public Attributes

int16 _staticsId
 
Common::String _staticsName
 
Picture _picture
 
- Public Attributes inherited from NGI::DynamicPhase
int _someX
 
int _someY
 
Common::Rect _rect
 
int16 _field_7C
 
int16 _field_7E
 
int _dynFlags
 
- Public Attributes inherited from NGI::StaticPhase
int16 _initialCountdown
 
int16 _countdown
 
int16 _field_68
 
int16 _field_6A
 
Common::ScopedPtr< ExCommand > _exCommand
 
- Public Attributes inherited from NGI::Picture
int _x
 
int _y
 

Additional Inherited Members

- Protected Member Functions inherited from NGI::Picture
void displayPicture ()
 
- Protected Attributes inherited from NGI::Picture
Common::Rect _rect
 
Common::ScopedPtr< Bitmap > _convertedBitmap
 
int _field_44
 
int _width
 
int _height
 
Common::ScopedPtr< Bitmap > _bitmap
 
int _field_54
 
Common::ScopedPtr< MemoryObject2 > _memoryObject2
 
int _alpha
 
Palette _paletteData
 
- Protected Attributes inherited from NGI::MemoryObject
Common::Path _memfilename
 
int _mfield_8
 
int _mfield_C
 
int _mfield_10
 
char _mfield_14
 
byte * _data
 
int _dataSize
 
int _mflags
 
NGIArchive * _libHandle
 

Member Function Documentation

◆ load()

bool NGI::Statics::load ( MfcArchive &  file)
overridevirtual

Reimplemented from NGI::DynamicPhase.

◆ init()

void NGI::Statics::init ( )
overridevirtual

Reimplemented from NGI::Picture.


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