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::Surface * | surface () 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 ¤tZone) |
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 |