|
void | clear () |
|
void | writeback () |
|
void | loadMap (Map *map) |
|
void | setMap (Map *map) |
|
uint32 | getNum () const |
| Get the map number of the CurrentMap.
|
|
unsigned int | getChunkSize () const |
|
void | addItem (Item *item) |
| Add an item to the beginning of the item list.
|
|
void | addItemToEnd (Item *item) |
| Add an item to the end of the item list.
|
|
void | removeItemFromList (Item *item, int32 oldx, int32 oldy) |
|
void | removeItem (Item *item) |
|
void | addTargetItem (const Item *item) |
| Add an item to the list of possible targets (in Crusader)
|
|
void | removeTargetItem (const Item *item) |
| Remove an item from the list of possible targets (in Crusader)
|
|
Item * | findBestTargetItem (int32 x, int32 y, int32 z, Direction dir, DirectionMode dirmode) |
| Find the best target item in the given direction from the given start point.
|
|
void | updateFastArea (const Point3 &from, const Point3 &to) |
| Update the fast area for the cameras position.
|
|
void | areaSearch (UCList *itemlist, const uint8 *loopscript, uint32 scriptsize, const Item *item, uint16 range, bool recurse, int32 x=0, int32 y=0) const |
|
void | surfaceSearch (UCList *itemlist, const uint8 *loopscript, uint32 scriptsize, const Item *item, bool above, bool below, bool recurse=false) const |
|
PositionInfo | getPositionInfo (const Box &target, const Box &start, uint32 shapeflags, ObjId id) const |
|
PositionInfo | getPositionInfo (int32 x, int32 y, int32 z, uint32 shape, ObjId id) const |
|
bool | scanForValidPosition (int32 x, int32 y, int32 z, const Item *item, Direction movedir, bool wantsupport, int32 &tx, int32 &ty, int32 &tz) |
| Scan for a valid position for item in directions orthogonal to movedir.
|
|
bool | sweepTest (const Point3 &start, const Point3 &end, const int32 dims[3], uint32 shapeflags, ObjId item, bool solid_only, Std::list< SweepItem > *hit) const |
|
TeleportEgg * | findDestination (uint16 id) |
|
const Std::list< Item * > * | getItemList (int32 gx, int32 gy) const |
|
bool | isChunkFast (int32 cx, int32 cy) const |
|
void | setFastAtPoint (const Point3 &pt) |
|
void | setWholeMapFast () |
|
void | save (Common::WriteStream *ws) |
|
bool | load (Common::ReadStream *rs, uint32 version) |
|
| INTRINSIC (I_canExistAt) |
|
| INTRINSIC (I_canExistAtPoint) |
|