include/rect.h \
include/SColor.h \
include/SExposedVideoData.h \
+ include/SKeyMap.h \
include/vector3d.h
#include "ICameraSceneNode.h"
#include "IMeshSceneNode.h"
#include "ISceneNode.h"
+#include "SKeyMap.h"
#include "vector3d.h"
typedef void irr_scene_ISceneManager;
int id,
int makeActive);
+ irr_scene_ICameraSceneNode*
+ irr_scene_addCameraSceneNodeFPS(irr_scene_ISceneManager* smgr,
+ irr_scene_ISceneNode* parent,
+ float rotateSpeed,
+ float moveSpeed,
+ int id,
+ irr_SkeyMap* keyMapArray,
+ int keyMapSize,
+ int noVerticalMovement,
+ float jumpSpeed,
+ int invertMouse,
+ int makeActive);
+
irr_scene_IMeshSceneNode*
irr_scene_addOctreeSceneNodeAM(irr_scene_ISceneManager* smgr,
irr_scene_IAnimatedMesh* mesh,
--- /dev/null
+/* c-irrlicht --- C bindings for Irrlicht Engine
+
+ Copyright (C) 2019 Javier Sancho <jsf@jsancho.org>
+
+ This file is part of c-irrlicht.
+
+ c-irrlicht is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 3 of the
+ License, or (at your option) any later version.
+
+ c-irrlicht is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with guile-irrlicht. If not, see
+ <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __C_S_KEY_MAP_H_INCLUDED__
+#define __C_S_KEY_MAP_H_INCLUDED__
+
+typedef void irr_SkeyMap;
+
+#endif
#include "rect.h"
#include "SColor.h"
#include "SExposedVideoData.h"
+#include "SKeyMap.h"
#include "vector3d.h"
#ifdef __cplusplus
makeActive);
}
+ irr_scene_ICameraSceneNode*
+ irr_scene_addCameraSceneNodeFPS(irr_scene_ISceneManager* smgr,
+ irr_scene_ISceneNode* parent,
+ float rotateSpeed,
+ float moveSpeed,
+ int id,
+ irr_SkeyMap* keyMapArray,
+ int keyMapSize,
+ int noVerticalMovement,
+ float jumpSpeed,
+ int invertMouse,
+ int makeActive)
+ {
+ return ((irr::scene::ISceneManager*)smgr)
+ ->addCameraSceneNodeFPS((irr::scene::ISceneNode*)parent,
+ rotateSpeed,
+ moveSpeed,
+ id,
+ (irr::SKeyMap*)keyMapArray,
+ keyMapSize,
+ noVerticalMovement,
+ jumpSpeed,
+ invertMouse,
+ makeActive);
+ }
+
irr_scene_IMeshSceneNode*
irr_scene_addOctreeSceneNodeAM(irr_scene_ISceneManager* smgr,
irr_scene_IAnimatedMesh* mesh,