75     for (RoomList::iterator r = 
_rooms.begin(); r != 
_rooms.end(); ++r)
    92     for (RoomList::iterator r = 
_rooms.begin(); r != 
_rooms.end(); ++r)
   110     if (roomProps->
getInt(
"CamStationary", 0) == 1) {
   111         uint camPointCount = roomProps->
getUint(
"CamPointCount", 0);
   112         if (camPointCount > 0) {
   114             int selectedCamPoint = std::rand() % camPointCount;
   117             std::vector<Common::UString> camPos;
   120             float posX, posY, posZ;
   127             CameraMan.setOrientation(90.0f, 0.0f, -45.0f);
   214     for (
size_t i = 0; i < rooms.size(); i++)
   215         _rooms.push_back(
new Room(rooms[i].model, i, rooms[i].x, rooms[i].y, rooms[i].z, rooms[i].canWalk));
   219     for (RoomList::const_iterator r = 
_rooms.begin(); r != 
_rooms.end(); ++r) {
   220         if ((*r)->isWalkable()) {
   227             if (roomProps->
getUint(
"CamStationary", 0) == 1)
 #define ResMan
Shortcut for accessing the sound manager. 
Generic Aurora engines resource utility functions. 
void add(const char *s,...) GCC_PRINTF(2
The global graphics manager. 
A class holding an UTF-8 string. 
std::list< Common::ChangeID > _resources
The area's resource archives. 
const Common::UString & getResRef()
Return the area's resref (resource ID). 
Room * currentRoom() const
void load(SeekableReadStream &stream)
Common::UString _layout
The area's layout resref (resource ID). 
UString getString(const UString &key, const UString &def="") const
Utility templates and functions for working with strings and streams. 
Exception that provides a stack of explanations. 
Aurora::LYTFile _lyt
The area's layout description. 
Area environment settings, INI. 
void load(Common::SeekableReadStream &vis)
Load a VIS file. 
Basic exceptions to throw. 
void indexMandatoryArchive(const Common::UString &file, uint32 priority, const std::vector< byte > &password, Common::ChangeID *changeID)
const char * c_str() const
Return the (utf8 encoded) string data. 
static UString format(const char *s,...) GCC_PRINTF(1
Print formatted data into an UString object, similar to sprintf(). 
const RoomArray & getRooms() const
Get all rooms in this layout. 
int getInt(const UString &key, int def=0) const
Common::ConfigFile _art
The area's environment properties. 
bool _visible
Is the area currently visible? 
std::vector< Room > RoomArray
Basic reading stream interfaces. 
virtual void loadResources()
A room within a Jade Empire area. 
A class representing an undoable change. 
Accessor for a domain (section) in a config file. 
const Common::UString & getResRef() const
#define CameraMan
Shortcut for accessing the camera manager. 
RoomList _rooms
All rooms in the area. 
void split(iterator splitPoint, UString &left, UString &right, bool remove=false) const
Common::UString _resRef
The area's resref (resource ID). 
ConfigDomain * getDomain(const UString &name)
void load(Common::SeekableReadStream &lyt)
Load a LYT file. 
uint getUint(const UString &key, uint def=0) const
void parseString(const UString &str, T &value, bool allowEmpty)
Parse a string into any POD integer, float/double or bool type. 
Aurora::VISFile _vis
The area's inter-room visibility description. 
#define GfxMan
Shortcut for accessing the graphics manager. 
The global resource manager for Aurora resources. 
Area data, room visibilities.