]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - irrlicht/video.scm
Define procedures with keywords from C code
[guile-irrlicht.git] / irrlicht / video.scm
diff --git a/irrlicht/video.scm b/irrlicht/video.scm
deleted file mode 100644 (file)
index 9999595..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-;;; guile-irrlicht --- FFI bindings for Irrlicht Engine
-;;; Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
-;;;
-;;; This file is part of guile-irrlicht.
-;;;
-;;; Guile-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.
-;;;
-;;; Guile-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/>.
-
-
-(define-module (irrlicht video)
-  #:export (begin-scene
-            get-texture))
-
-(load-extension "libguile-irrlicht" "init_guile_irrlicht")
-
-(define irr-begin-scene begin-scene)
-(define* (begin-scene video-driver
-                      #:key
-                      (back-buffer #t)
-                      (z-buffer #t)
-                      (color '(255 0 0 0))
-                      (video-data #f)
-                      (source-rect #f))
-  (irr-begin-scene video-driver
-                   back-buffer
-                   z-buffer
-                   color
-                   video-data
-                   source-rect))