ScummVM API documentation
Nancy::State::Scene Class Reference
Inheritance diagram for Nancy::State::Scene:
Nancy::State::State Common::Singleton< Scene > Common::NonCopyable

Classes

struct  SceneSummary
 

Public Member Functions

void process () override
 
void onStateEnter (const NancyState::NancyState prevState) override
 
bool onStateExit (const NancyState::NancyState nextState) override
 
void setDestroyOnExit ()
 
bool isRunningAd () const
 
void changeScene (const SceneChangeDescription &sceneDescription)
 
void pushScene (int16 itemID=-1)
 
void popScene (bool inventory=false)
 
void setPlayerTime (Time time, byte relative)
 
Time getPlayerTime () const
 
Time getTimerTime () const
 
byte getPlayerTOD () const
 
void addItemToInventory (int16 id)
 
void removeItemFromInventory (int16 id, bool pickUp=true)
 
int16 getHeldItem () const
 
void setHeldItem (int16 id)
 
void setNoHeldItem ()
 
byte hasItem (int16 id) const
 
byte getItemDisabledState (int16 id) const
 
void setItemDisabledState (int16 id, byte state)
 
void installInventorySoundOverride (byte command, const SoundDescription &sound, const Common::String &caption, uint16 itemID)
 
void playItemCantSound (int16 itemID=-1, bool notHoldingSound=false)
 
void setEventFlag (int16 label, byte flag)
 
void setEventFlag (FlagDescription eventFlag)
 
bool getEventFlag (int16 label, byte flag) const
 
bool getEventFlag (FlagDescription eventFlag) const
 
void setLogicCondition (int16 label, byte flag)
 
bool getLogicCondition (int16 label, byte flag) const
 
void clearLogicConditions ()
 
void setDifficulty (uint difficulty)
 
uint16 getDifficulty () const
 
byte getHintsRemaining () const
 
void useHint (uint16 characterID, uint16 hintID)
 
void requestStateChange (NancyState::NancyState state)
 
void resetStateToInit ()
 
void resetAndStartTimer ()
 
void stopTimer ()
 
Time getMovementTimeDelta (bool fast) const
 
void registerGraphics ()
 
void synchronize (Common::Serializer &serializer)
 
UI::FullScreenImagegetFrame ()
 
UI::ViewportgetViewport ()
 
UI::TextboxgetTextbox ()
 
UI::InventoryBoxgetInventoryBox ()
 
UI::ClockgetClock ()
 
Action::ActionManagergetActionManager ()
 
SceneChangeDescriptiongetSceneInfo ()
 
SceneChangeDescriptiongetNextSceneInfo ()
 
const SceneSummarygetSceneSummary () const
 
void setActiveMovie (Action::PlaySecondaryMovie *activeMovie)
 
Action::PlaySecondaryMoviegetActiveMovie ()
 
void setActiveConversation (Action::ConversationSound *activeConversation)
 
Action::ConversationSoundgetActiveConversation ()
 
Graphics::ManagedSurfacegetLastScreenshot ()
 
void beginLightning (int16 distance, uint16 pulseTime, int16 rgbPercent)
 
void specialEffect (byte type, uint16 fadeToBlackTime, uint16 frameTime)
 
void specialEffect (byte type, uint16 totalTime, uint16 fadeToBlackTime, Common::Rect rect)
 
PuzzleDatagetPuzzleData (const uint32 tag)
 

Additional Inherited Members

- Static Public Member Functions inherited from Common::Singleton< Scene >
static bool hasInstance ()
 
static Scene & instance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< Scene >
typedef Scene SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< Scene >
static Scene * _singleton
 

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