ScummVM API documentation
CryOmni3D::ZonFixedImage Class Reference

Classes

struct  Zone
 

Public Types

enum  ZonesMode { kZonesMode_None = 0, kZonesMode_Standard, kZonesMode_Object }
 
typedef Common::Functor1< ZonFixedImage *, void > CallbackFunctor
 

Public Member Functions

 ZonFixedImage (CryOmni3DEngine &engine, Inventory &inventory, const Sprites &sprites, const FixedImageConfiguration *configuration)
 
void run (const CallbackFunctor *callback)
 
void display () const
 
void load (const Common::Path &image, const char *zone=nullptr)
 
void manage ()
 
void updateSurface (const Graphics::Surface *newSurface)
 
const Graphics::Surfacesurface () const
 
void changeCallback (CallbackFunctor *callback)
 
Common::Point getZoneCenter (uint zoneId) const
 
void disableZone (uint zoneId)
 

Public Attributes

ZonesMode _zonesMode
 
uint _currentZone
 
bool _exit
 
bool _zoneLow
 
bool _zoneHigh
 
bool _zoneHighLeft
 
bool _zoneHighRight
 
bool _zoneLeft
 
bool _zoneRight
 
bool _zoneQuestion
 
bool _zoneListen
 
bool _zoneSee
 
bool _zoneUse
 
bool _zoneSpeak
 
Object_usedObject
 
Common::KeyState _key
 

Protected Member Functions

void loadZones (const Common::Path &image)
 
void handleMouseZones (const Common::Array< Zone >::const_iterator &currentZone)
 

Protected Attributes

const CallbackFunctor_callback
 
CryOmni3DEngine_engine
 
Inventory_inventory
 
const Sprites_sprites
 
Image::ImageDecoder_imageDecoder
 
const Graphics::Surface_imageSurface
 
Common::Array< Zone_zones
 
Common::Array< Zone >::size_type _highLeftId
 
Common::Array< Zone >::size_type _highRightId
 
const FixedImageConfiguration_configuration
 
bool _refreshCursor
 

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