aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2014-11-28 19:26:48 +0100
committerCraig Robbins <kde.psych@gmail.com>2014-11-29 22:31:40 +1000
commita3e019c4f6745d06d7afed7991b9c682b0ea65b9 (patch)
tree87a48965b26f5b74dca11c0709c8b09eb5cd604d /cmake/Modules
parentc30346ea3093ed96693e628493f5722c615ba138 (diff)
downloadminetest-a3e019c4f6745d06d7afed7991b9c682b0ea65b9.tar.gz
minetest-a3e019c4f6745d06d7afed7991b9c682b0ea65b9.tar.bz2
minetest-a3e019c4f6745d06d7afed7991b9c682b0ea65b9.zip
Fix MSVC compiling error (argc/argv not available to pass to init_gettext)
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
Diffstat (limited to 'cmake/Modules')
0 files changed, 0 insertions, 0 deletions
om">You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "irrlichttypes_extrabloated.h" #include "ICameraSceneNode.h" #include "StyleSpec.h" using namespace irr; class GUIScene : public gui::IGUIElement { public: GUIScene(gui::IGUIEnvironment *env, scene::ISceneManager *smgr, gui::IGUIElement *parent, core::recti rect, s32 id = -1); ~GUIScene(); scene::IAnimatedMeshSceneNode *setMesh(scene::IAnimatedMesh *mesh = nullptr); void setTexture(u32 idx, video::ITexture *texture); void setBackgroundColor(const video::SColor &color) noexcept { m_bgcolor = color; }; void setFrameLoop(s32 begin, s32 end); void setAnimationSpeed(f32 speed); void enableMouseControl(bool enable) noexcept { m_mouse_ctrl = enable; }; void setRotation(v2f rot) noexcept { m_custom_rot = rot; }; void enableContinuousRotation(bool enable) noexcept { m_inf_rot = enable; }; void setStyles(const std::array<StyleSpec, StyleSpec::NUM_STATES> &styles); virtual void draw(); virtual bool OnEvent(const SEvent &event); private: void calcOptimalDistance(); void updateTargetPos();