|
Pol
Revision:cb584c9
|
#include <inmemorymapserver.h>
Inheritance diagram for Pol::Plib::InMemoryMapServer:Public Member Functions | |
| InMemoryMapServer (const RealmDescriptor &descriptor) | |
| virtual | ~InMemoryMapServer () |
| virtual MAPCELL | GetMapCell (unsigned short x, unsigned short y) const POL_OVERRIDE |
| virtual size_t | sizeEstimate () const POL_OVERRIDE |
Public Member Functions inherited from Pol::Plib::MapServer | |
| virtual | ~MapServer () |
| void | GetMapShapes (MapShapeList &list, unsigned short x, unsigned short y, unsigned int anyflags) const |
Private Member Functions | |
| InMemoryMapServer (const InMemoryMapServer &) | |
| InMemoryMapServer & | operator= (const InMemoryMapServer &) |
Private Attributes | |
| std::vector< MAPBLOCK > | _mapblocks |
Additional Inherited Members | |
Static Public Member Functions inherited from Pol::Plib::MapServer | |
| static MapServer * | Create (const RealmDescriptor &descriptor) |
Protected Member Functions inherited from Pol::Plib::MapServer | |
| MapServer (const RealmDescriptor &descriptor) | |
Protected Attributes inherited from Pol::Plib::MapServer | |
| const RealmDescriptor | _descriptor |
Definition at line 30 of file inmemorymapserver.h.
|
explicit |
Definition at line 16 of file inmemorymapserver.cpp.
References Pol::Plib::MapServer::_descriptor, _mapblocks, Pol::Plib::RealmDescriptor::height, Pol::Plib::MAPBLOCK_SHIFT, Pol::Core::mapfile, Pol::Plib::RealmDescriptor::path(), Pol::Plib::RealmDescriptor::width, and ~InMemoryMapServer().
|
virtualdefault |
Referenced by InMemoryMapServer().
|
private |
|
virtual |
Implements Pol::Plib::MapServer.
Definition at line 30 of file inmemorymapserver.cpp.
References Pol::Plib::MapServer::_descriptor, _mapblocks, Pol::Plib::RealmDescriptor::height, Pol::Plib::MAPBLOCK_CELLMASK, Pol::Plib::MAPBLOCK_SHIFT, passert, and Pol::Plib::RealmDescriptor::width.
|
private |
|
virtual |
Reimplemented from Pol::Plib::MapServer.
Definition at line 44 of file inmemorymapserver.cpp.
References _mapblocks, and Pol::Plib::MapServer::sizeEstimate().
|
private |
Definition at line 40 of file inmemorymapserver.h.
Referenced by GetMapCell(), InMemoryMapServer(), and sizeEstimate().