#:duplicates (merge-generics)
#:re-export (add-animated-mesh-scene-node!
add-camera-scene-node!
+ add-camera-scene-node-fps!
add-file-archive!
add-octree-scene-node!
add-static-text!
(irr-class #:init-value "IEventReceiver"))
(export <event-receiver>)
+
+
+;; SKeyMap
+(define-class <key-map> (<irrlicht-base>)
+ (irr-class #:init-value "SKeyMap"))
+
+(export <key-map>)
id
make-active))))
+(define-method (add-camera-scene-node-fps! (scene-manager <scene-manager>) . rest)
+ (let-keywords rest #f
+ ((parent (make <scene-node>))
+ (rotate-speed 100)
+ (move-speed 0.5)
+ (id -1)
+ (key-map-array (make <key-map>))
+ (key-map-size 0)
+ (no-vertical-movement #f)
+ (jump-speed 0)
+ (invert-mouse #f)
+ (make-active #t))
+ (let ((addCameraSceneNodeFPS (get-irrlicht-proc "addCameraSceneNodeFPS"
+ scene-manager parent)))
+ (make <camera-scene-node>
+ #:irr-pointer
+ (addCameraSceneNodeFPS scene-manager #:parent parent #:rotate-speed rotate-speed
+ #:move-speed move-speed #:id id #:key-map-array key-map-array
+ #:key-map-size key-map-size
+ #:no-vertical-movement no-vertical-movement
+ #:jump-speed jump-speed #:invert-mouse invert-mouse
+ #:make-active make-active)))))
+
(define-method (add-octree-scene-node! (scene-manager <scene-manager>)
(mesh <animated-mesh>)
. rest)
scene-manager
filename)))
-(export <scene-manager> add-animated-mesh-scene-node! add-camera-scene-node! add-octree-scene-node!
- draw-all get-mesh)
+(export <scene-manager> add-animated-mesh-scene-node! add-camera-scene-node!
+ add-camera-scene-node-fps! add-octree-scene-node! draw-all get-mesh)
;; ISceneNode