25 #ifndef ENGINES_SONIC_AREA_H 26 #define ENGINES_SONIC_AREA_H 94 static void getCameraPosition(
float x,
float y,
float &cameraX,
float &cameraY,
float &cameraZ);
96 static void getWorldPosition(
float x,
float y,
float z,
float &worldX,
float &worldY,
float &worldZ);
164 float &maxX,
float &maxY,
float &maxZ)
const;
179 #endif // ENGINES_SONIC_AREA_H
Common::ScopedPtr< AreaBackground > _bgPanel
A class holding an UTF-8 string.
Common::UString _background
Common::UString _soundMap
float getStartY() const
Return the starting Y position within this area.
Common::PtrList< Object > ObjectList
Area(Module &module, uint32 id)
static void getWorldPosition(float x, float y, float z, float &worldX, float &worldY, float &worldZ)
Return a position that would position on object at these coordinates within the area.
A simple scoped smart pointer template.
An object within a Sonic area.
A list storing pointer to objects, with automatic deletion.
std::vector< const GFF4Struct * > GFF4List
void show()
Show the area.
void setActive(Object *object)
void processEventQueue()
Process the current event queue.
void getCameraLimits(float &minX, float &minY, float &minZ, float &maxX, float &maxY, float &maxZ) const
Common::ScopedPtr< AreaMiniMap > _mmPanel
void loadObject(Object &object)
void hide()
Hide the area.
uint32 getWidth() const
Return the width of the area, in pixels.
Low-level type definitions to handle fixed width types portably.
A class that can be notified by the NotificationManager.
A scoped plain pointer, allowing pointer-y access and normal deletion.
Object * getObjectAt(int x, int y)
void removeFocus()
Forcibly remove the focus from the currently highlighted object.
Basic type definitions to handle files used in BioWare's Aurora engine.
uint32 getHeight() const
Return the height of the area, in pixels.
static void getCameraPosition(float x, float y, float &cameraX, float &cameraY, float &cameraZ)
Return a position that would position the camera on these coordinates within the area.
std::map< uint32, Object * > ObjectMap
void highlightAll(bool enabled)
void addEvent(const Events::Event &event)
Add a single event for consideration into the area event queue.
std::list< Events::Event > _eventQueue
An object in a Sonic Chronicles: The Dark Brotherhood area.
float getStartX() const
Return the starting X position within this area.
void notifyCameraMoved()
Notify the area that the camera has been moved.
void enter()
Enter the area.
void loadPlaceables(const Aurora::GFF4List &list)
const Common::UString & getName()
Return the area's localized name.
void leave()
Leave the area.