|
| | MapView () |
| |
| | ~MapView () |
| |
| void | draw (const Rect &rect) |
| |
| int | getLockedFirstVisibleFloor () |
| |
| void | lockFirstVisibleFloor (int firstVisibleFloor) |
| |
| void | unlockFirstVisibleFloor () |
| |
| bool | isMultifloor () |
| |
| void | setMultifloor (bool enable) |
| |
| Point | getVisibleCenterOffset () |
| |
| Size | getVisibleDimension () |
| |
| void | setVisibleDimension (const Size &visibleDimension) |
| |
| int | getTileSize () |
| |
| int | getCachedFirstVisibleFloor () |
| |
| int | getCachedLastVisibleFloor () |
| |
| ViewMode | getViewMode () |
| |
| void | setViewMode (ViewMode viewMode) |
| |
| void | optimizeForSize (const Size &visibleSize) |
| |
| void | setAutoViewMode (bool enable) |
| |
| bool | isAutoViewModeEnabled () |
| |
| CreaturePtr | getFollowingCreature () |
| |
| void | followCreature (const CreaturePtr &creature) |
| |
| bool | isFollowingCreature () |
| |
| Position | getCameraPosition () |
| |
| void | setCameraPosition (const Position &pos) |
| |
| void | setMinimumAmbientLight (float intensity) |
| |
| float | getMinimumAmbientLight () |
| |
| void | setDrawTexts (bool enable) |
| |
| bool | isDrawingTexts () |
| |
| void | setDrawNames (bool enable) |
| |
| bool | isDrawingNames () |
| |
| void | setDrawHealthBars (bool enable) |
| |
| bool | isDrawingHealthBars () |
| |
| void | setDrawLights (bool enable) |
| |
| bool | isDrawingLights () |
| |
| void | setDrawManaBar (bool enable) |
| |
| bool | isDrawingManaBar () |
| |
| void | move (int x, int y) |
| |
| void | setAddLightMethod (bool add) |
| |
| void | setShader (const PainterShaderProgramPtr &shader, float fadein, float fadeout) |
| |
| PainterShaderProgramPtr | getShader () |
| |
| Position | getPosition (const Point &point, const Size &mapSize) |
| |
| MapViewPtr | asMapView () |
| |
| void | requestDrawing (const Position &pos, const Otc::RequestDrawFlags reDrawFlags, const bool force=false, const bool isLocalPlayer=false) |
| |
| void | resetLastCamera () |
| |
| std::vector< CreaturePtr > | getVisibleCreatures () |
| |
| | 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 39 of file mapview.h.