ScummVM API documentation
NGI::Scene Class Reference
Inheritance diagram for NGI::Scene:
NGI::Background NGI::CObject

Public Member Functions

bool load (MfcArchive &file) override
 
void initStaticANIObjects ()
 
void init ()
 
void draw ()
 
void drawContent (int minPri, int maxPri, bool drawBG)
 
void updateScrolling ()
 
void updateScrolling2 ()
 
void update (int counterdiff)
 
StaticANIObjectgetAniMan ()
 
StaticANIObjectgetStaticANIObject1ById (int obj, int a3)
 
StaticANIObjectgetStaticANIObject1ByName (const Common::String &name, int a3)
 
MessageQueuegetMessageQueueById (int messageId)
 
MessageQueuegetMessageQueueByName (const Common::String &name)
 
void deleteStaticANIObject (StaticANIObject *obj)
 
void addStaticANIObject (StaticANIObject *obj, bool addList2)
 
void setPictureObjectsFlag4 ()
 
PictureObjectgetPictureObjectById (int objId, int flags)
 
PictureObjectgetPictureObjectByName (const Common::String &name, int keyCode)
 
void deletePictureObject (PictureObject *obj)
 
void preloadMovements (GameVar *var)
 
StaticANIObjectgetStaticANIObjectAtPos (int x, int y)
 
PictureObjectgetPictureObjectAtPos (int x, int y)
 
int getPictureObjectIdAtPos (int x, int y)
 
void initObjectCursors (const char *name)
 
void stopAllSounds ()
 
- Public Member Functions inherited from NGI::Background
void addPictureObject (PictureObject *pct)
 
BigPicturegetBigPicture (int x, int y)
 
- Public Member Functions inherited from NGI::CObject
virtual void save (MfcArchive &out)
 
bool loadFile (const Common::Path &fname)
 

Public Attributes

Common::Array< StaticANIObject * > _staticANIObjectList1
 
Common::Array< StaticANIObject * > _staticANIObjectList2
 
Common::Array< MessageQueue * > _messageQueueList
 
Common::ScopedPtr< Shadows_shadows
 
Common::ScopedPtr< SoundList_soundList
 
int16 _sceneId
 
Common::String _sceneName
 
int _field_BC
 
Common::ScopedPtr< NGIArchive_libHandle
 
- Public Attributes inherited from NGI::Background
Common::Array< PictureObject * > _picObjList
 
Common::String _bgname
 
int _x
 
int _y
 
int16 _messageQueueId
 
Palette _palette
 
Common::Array< BigPicture * > _bigPictureArray
 
uint _bigPictureXDim
 
uint _bigPictureYDim
 
- Public Attributes inherited from NGI::CObject
ObjType _objtype
 
uint _cnum
 

Member Function Documentation

◆ addStaticANIObject()

void NGI::Scene::addStaticANIObject ( StaticANIObject obj,
bool  addList2 
)

takes ownership of the passed obj

Member Data Documentation

◆ _staticANIObjectList1

Common::Array<StaticANIObject *> NGI::Scene::_staticANIObjectList1

list items are owned


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