ScummVM API documentation
Titanic::CPetStarfield Class Reference
Inheritance diagram for Titanic::CPetStarfield:
Titanic::CPetSection

Public Member Functions

bool setup (CPetControl *petControl) override
 
bool reset () override
 
void draw (CScreenManager *screenManager) override
 
bool MouseButtonDownMsg (CMouseButtonDownMsg *msg) override
 
bool MouseButtonUpMsg (CMouseButtonUpMsg *msg) override
 
bool isValid (CPetControl *petControl) override
 
void load (SimpleFile *file, int param) override
 
void postLoad () override
 
void save (SimpleFile *file, int indent) override
 
void setButtons (int matchIndex, bool isMarkerClose)
 
void setHasReference (bool hasRef)
 
void makePetDirty ()
 
- Public Member Functions inherited from Titanic::CPetSection
virtual Rect getBounds () const
 
virtual void changed (int changeType)
 
virtual bool MouseDragStartMsg (CMouseDragStartMsg *msg)
 
virtual bool MouseDragMoveMsg (CMouseDragMoveMsg *msg)
 
virtual bool MouseDragEndMsg (CMouseDragEndMsg *msg)
 
virtual bool MouseDoubleClickMsg (CMouseDoubleClickMsg *msg)
 
virtual bool MouseWheelMsg (CMouseWheelMsg *msg)
 
virtual bool KeyCharMsg (CKeyCharMsg *msg)
 
virtual bool VirtualKeyCharMsg (CVirtualKeyCharMsg *msg)
 
virtual bool checkDragEnd (CGameObject *item)
 
virtual CGameObjectdragEnd (const Point &pt) const
 
virtual void displayMessage (const CString &msg)
 
virtual void enter (PetArea oldArea)
 
virtual void leave ()
 
virtual void proc23 ()
 
virtual void enterRoom (CRoomItem *room)
 
virtual void timerExpired (int val)
 
virtual CTextControlgetText ()
 
virtual void removeText (int duration)
 
virtual void removeText ()
 
virtual void stopTextTimer ()
 
virtual CPetElementgetElement (uint id)
 
virtual CGameObjectgetBackground (int index) const
 
virtual void displayNPCName (CGameObject *npc)
 
virtual void proc33 ()
 
virtual void setNPC (const CString &name)
 
virtual void resetNPC ()
 
virtual void showCursor ()
 
virtual void hideCursor ()
 
virtual void highlight (int id)
 
CPetControlgetPetControl () const
 
uint getColor (uint index)
 
const uint * getColorTable (int tableNum=-1)
 

Additional Inherited Members

- Public Attributes inherited from Titanic::CPetSection
CPetControl_petControl
 
- Protected Member Functions inherited from Titanic::CPetSection
void areaChanged (PetArea area)
 
CString getActiveNPCName () const
 
void copyColors (uint tableNum, uint colors[5])
 

Member Function Documentation

◆ setup()

bool Titanic::CPetStarfield::setup ( CPetControl petControl)
overridevirtual

Sets up the section

Reimplemented from Titanic::CPetSection.

◆ reset()

bool Titanic::CPetStarfield::reset ( )
overridevirtual

Reset the section

Reimplemented from Titanic::CPetSection.

◆ draw()

void Titanic::CPetStarfield::draw ( CScreenManager screenManager)
overridevirtual

Draw the section

Reimplemented from Titanic::CPetSection.

◆ MouseButtonDownMsg()

bool Titanic::CPetStarfield::MouseButtonDownMsg ( CMouseButtonDownMsg msg)
overridevirtual

Following are handlers for the various messages that the PET can pass onto the currently active section/area

Reimplemented from Titanic::CPetSection.

◆ isValid()

bool Titanic::CPetStarfield::isValid ( CPetControl petControl)
overridevirtual

Returns true if the object is in a valid state

Reimplemented from Titanic::CPetSection.

◆ load()

void Titanic::CPetStarfield::load ( SimpleFile file,
int  param 
)
overridevirtual

Load the data for the class from file

Reimplemented from Titanic::CPetSection.

◆ postLoad()

void Titanic::CPetStarfield::postLoad ( )
overridevirtual

Called after a game has been loaded

Reimplemented from Titanic::CPetSection.

◆ save()

void Titanic::CPetStarfield::save ( SimpleFile file,
int  indent 
)
overridevirtual

Save the data for the class to file

Reimplemented from Titanic::CPetSection.

◆ setButtons()

void Titanic::CPetStarfield::setButtons ( int  matchIndex,
bool  isMarkerClose 
)

Sets the display for the marker buttons

◆ setHasReference()

void Titanic::CPetStarfield::setHasReference ( bool  hasRef)
inline

Sets whether the player has the galactic reference material

◆ makePetDirty()

void Titanic::CPetStarfield::makePetDirty ( )

Make the PET as dirty, requiring a redraw


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