|
Pol
Rev 533
|
#include <filemapserver.h>
Inheritance diagram for FileMapServer:
Collaboration diagram for FileMapServer:Public Member Functions | |
| FileMapServer (const RealmDescriptor &descriptor) | |
| virtual | ~FileMapServer () |
| virtual MAPCELL | GetMapCell (unsigned short x, unsigned short y) const |
Protected Member Functions | |
| FileMapServer (const FileMapServer &) | |
| FileMapServer & | operator= (const FileMapServer &) |
Protected Attributes | |
| MAPBLOCK | _cur_mapblock |
| int | _cur_mapblock_index |
| BinaryFile | _mapfile |
Definition at line 19 of file filemapserver.h.
| FileMapServer::FileMapServer | ( | const RealmDescriptor & | descriptor | ) | [explicit] |
Definition at line 16 of file filemapserver.cpp.
References _cur_mapblock, _cur_mapblock_index, MapServer::_descriptor, _mapfile, BinaryFile::Open(), RealmDescriptor::path(), and BinaryFile::Read().
Here is the call graph for this function:| virtual FileMapServer::~FileMapServer | ( | ) | [inline, virtual] |
Definition at line 23 of file filemapserver.h.
| FileMapServer::FileMapServer | ( | const FileMapServer & | ) | [protected] |
| MAPCELL FileMapServer::GetMapCell | ( | unsigned short | x, |
| unsigned short | y | ||
| ) | const [virtual] |
Implements MapServer.
Definition at line 29 of file filemapserver.cpp.
References _cur_mapblock, _cur_mapblock_index, MapServer::_descriptor, _mapfile, MAPBLOCK::cell, RealmDescriptor::height, MAPBLOCK_CELLMASK, MAPBLOCK_SHIFT, passert, BinaryFile::Read(), BinaryFile::Seek(), and RealmDescriptor::width.
Here is the call graph for this function:| FileMapServer& FileMapServer::operator= | ( | const FileMapServer & | ) | [protected] |
MAPBLOCK FileMapServer::_cur_mapblock [mutable, protected] |
Definition at line 30 of file filemapserver.h.
Referenced by FileMapServer(), and GetMapCell().
int FileMapServer::_cur_mapblock_index [mutable, protected] |
Definition at line 29 of file filemapserver.h.
Referenced by FileMapServer(), and GetMapCell().
BinaryFile FileMapServer::_mapfile [mutable, protected] |
Definition at line 28 of file filemapserver.h.
Referenced by FileMapServer(), and GetMapCell().