X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=examples%2F02.Quake3Map.scm;h=a79b8492c478c7358cb1247d517c97806550e5c8;hb=fd10e89f595a8ae45d4471a7d77426d0a1b77502;hp=47c81254b679a84f2e213aa9327a9d8006f7c49d;hpb=3ea56c83d8f0c7994f5113166e315d06aa1dcb4a;p=guile-irrlicht.git diff --git a/examples/02.Quake3Map.scm b/examples/02.Quake3Map.scm index 47c8125..a79b849 100644 --- a/examples/02.Quake3Map.scm +++ b/examples/02.Quake3Map.scm @@ -72,14 +72,14 @@ ;; FPS camera (add-camera-scene-node-fps! scene-manager) -(set-visible-cursor! (get-cursor-control device) #f) +(set-visible! (get-cursor-control device) #f) ;; loop (define last-fps -1) -(while (device-run? device) +(while (run device) (cond ((is-window-active? device) (begin-scene driver #:color '(255 200 200 200)) - (scene-draw-all scene-manager) + (draw-all scene-manager) (end-scene driver) (let ((fps (get-fps driver))) @@ -92,5 +92,5 @@ (yield device)))) ;; delete device -(device-drop! device) +(drop! device) (exit #t)