|
| Tile (const Position &position) |
|
void | draw (const Point &dest, float scaleFactor, int drawFlags, LightView *lightView=nullptr) |
|
void | clean () |
|
void | addWalkingCreature (const CreaturePtr &creature) |
|
void | removeWalkingCreature (const CreaturePtr &creature) |
|
void | addThing (const ThingPtr &thing, int stackPos) |
|
bool | removeThing (ThingPtr thing) |
|
ThingPtr | getThing (int stackPos) |
|
EffectPtr | getEffect (uint16 id) |
|
bool | hasThing (const ThingPtr &thing) |
|
int | getThingStackPos (const ThingPtr &thing) |
|
ThingPtr | getTopThing () |
|
ThingPtr | getTopLookThing () |
|
ThingPtr | getTopUseThing () |
|
CreaturePtr | getTopCreature () |
|
ThingPtr | getTopMoveThing () |
|
ThingPtr | getTopMultiUseThing () |
|
const Position & | getPosition () |
|
int | getDrawElevation () |
|
std::vector< ItemPtr > | getItems () |
|
std::vector< CreaturePtr > | getCreatures () |
|
std::vector< CreaturePtr > | getWalkingCreatures () |
|
std::vector< ThingPtr > | getThings () |
|
ItemPtr | getGround () |
|
int | getGroundSpeed () |
|
uint8 | getMinimapColorByte () |
|
int | getThingCount () |
|
bool | isPathable () |
|
bool | isWalkable (bool ignoreCreatures=false) |
|
bool | isFullGround () |
|
bool | isFullyOpaque () |
|
bool | isSingleDimension () |
|
bool | isLookPossible () |
|
bool | isClickable () |
|
bool | isEmpty () |
|
bool | isDrawable () |
|
bool | hasTranslucentLight () |
|
bool | mustHookSouth () |
|
bool | mustHookEast () |
|
bool | hasCreature () |
|
bool | limitsFloorsView (bool isFreeView=false) |
|
bool | canErase () |
|
int | getElevation () const |
|
bool | hasElevation (int elevation=1) |
|
void | overwriteMinimapColor (uint8 color) |
|
void | remFlag (uint32 flag) |
|
void | setFlag (uint32 flag) |
|
void | setFlags (uint32 flags) |
|
bool | hasFlag (uint32 flag) |
|
uint32 | getFlags () |
|
void | setHouseId (uint32 hid) |
|
uint32 | getHouseId () |
|
bool | isHouseTile () |
|
void | select () |
|
void | unselect () |
|
bool | isSelected () |
|
TilePtr | asTile () |
|
| LuaObject () |
|
virtual | ~LuaObject () |
|
template<typename T > |
void | connectLuaField (const std::string &field, const std::function< T > &f, bool pushFront=false) |
|
template<typename... T> |
int | luaCallLuaField (const std::string &field, const T &... args) |
|
template<typename R , typename... T> |
R | callLuaField (const std::string &field, const T &... args) |
|
template<typename... T> |
void | callLuaField (const std::string &field, const T &... args) |
|
bool | hasLuaField (const std::string &field) |
| Returns true if the lua field exists. More...
|
|
template<typename T > |
void | setLuaField (const std::string &key, const T &value) |
| Sets a field in this lua object. More...
|
|
template<typename T > |
T | getLuaField (const std::string &key) |
| Gets a field from this lua object. More...
|
|
void | releaseLuaFieldsTable () |
| Release fields table reference. More...
|
|
void | luaSetField (const std::string &key) |
| Sets a field from this lua object, the value must be on the stack. More...
|
|
void | luaGetField (const std::string &key) |
| Gets a field from this lua object, the result is pushed onto the stack. More...
|
|
void | luaGetMetatable () |
| Get object's metatable. More...
|
|
void | luaGetFieldsTable () |
| Gets the table containing all stored fields of this lua object, the result is pushed onto the stack. More...
|
|
int | getUseCount () |
|
std::string | getClassName () |
| Returns the derived class name, its the same name used in Lua. More...
|
|
LuaObjectPtr | asLuaObject () |
|
void | operator= (const LuaObject &) |
|
| shared_object () |
|
virtual | ~shared_object () |
|
void | add_ref () |
|
void | dec_ref () |
|
refcount_t | ref_count () |
|
template<typename T > |
stdext::shared_object_ptr< T > | static_self_cast () |
|
template<typename T > |
stdext::shared_object_ptr< T > | dynamic_self_cast () |
|
template<typename T > |
stdext::shared_object_ptr< T > | const_self_cast () |
|
Definition at line 56 of file tile.h.