]> git.jsancho.org Git - guile-irrlicht.git/blob - irrlicht.scm
<gui-button> add-button!
[guile-irrlicht.git] / irrlicht.scm
1 ;;; guile-irrlicht --- FFI bindings for Irrlicht Engine
2 ;;; Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
3 ;;;
4 ;;; This file is part of guile-irrlicht.
5 ;;;
6 ;;; Guile-irrlicht is free software; you can redistribute it and/or modify
7 ;;; it under the terms of the GNU Lesser General Public License as
8 ;;; published by the Free Software Foundation; either version 3 of the
9 ;;; License, or (at your option) any later version.
10 ;;;
11 ;;; Guile-irrlicht is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 ;;; General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU Lesser General Public
17 ;;; License along with guile-irrlicht.  If not, see
18 ;;; <http://www.gnu.org/licenses/>.
19
20
21 (define-module (irrlicht)
22   #:use-module (oop goops)
23   #:use-module (irrlicht base)
24   #:use-module (irrlicht core)
25   #:use-module (irrlicht device)
26   #:use-module (irrlicht gui)
27   #:use-module (irrlicht io)
28   #:use-module (irrlicht irr)
29   #:use-module (irrlicht scene)
30   #:use-module (irrlicht video)
31   #:duplicates (merge-generics)
32   #:re-export (;; classes
33                <animated-mesh>
34                <animated-mesh-scene-node>
35                <attribute-exchanging-object>
36                <box3d>
37                <camera-scene-node>
38                <cursor-control>
39                <event>
40                <event-receiver>
41                <file-archive>
42                <file-system>
43                <gui-button>
44                <gui-element>
45                <gui-environment>
46                <gui-font>
47                <gui-image>
48                <gui-skin>
49                <gui-static-text>
50                <irrlicht-device>
51                <key-map>
52                <material>
53                <mesh>
54                <mesh-scene-node>
55                <reference-counted>
56                <scene-manager>
57                <scene-node>
58                <scene-node-animator>
59                <texture>
60                <timer>
61                <vertex3d>
62                <video-driver>
63                ;; methods
64                add-animated-mesh-scene-node!
65                add-animator!
66                add-button!
67                add-camera-scene-node!
68                add-camera-scene-node-fps!
69                add-cube-scene-node!
70                add-custom-scene-node!
71                add-file-archive!
72                add-image!
73                add-internal-point!
74                add-octree-scene-node!
75                add-sphere-scene-node!
76                add-static-text!
77                begin-scene
78                create-device
79                create-fly-circle-animator
80                create-fly-straight-animator
81                create-rotation-animator
82                draw-vertex-primitive-list
83                drop!
84                end-scene
85                get-absolute-transformation
86                get-built-in-font
87                get-cursor-control
88                get-event-key
89                get-event-key-pressed
90                get-event-type
91                get-file-system
92                get-font
93                get-fps
94                get-gui-environment
95                get-mesh
96                get-name
97                get-root-scene-node
98                get-scene-manager
99                get-skin
100                get-texture
101                get-time
102                get-timer
103                get-video-driver
104                is-window-active?
105                make-box3d
106                make-event-receiver
107                make-material
108                make-vertex3d
109                reset-box3d!
110                run
111                set-animation-speed!
112                set-font!
113                set-frame-loop!
114                set-material!
115                set-material-flag!
116                set-material-texture!
117                set-md2-animation!
118                set-override-color!
119                set-position!
120                set-resizable!
121                set-rotation!
122                set-scale!
123                set-transform!
124                set-visible!
125                set-window-caption!
126                yield-device))
127
128 ;; Merged methods have to be exported apart
129 (re-export draw-all
130            get-position)