2 guile-irrlicht --- GNU Guile bindings for Irrlicht Engine
4 Copyright (C) 2021 Javier Sancho <jsf@jsancho.org>
6 This file is part of guile-irrlicht.
8 guile-irrlicht is free software; you can redistribute it and/or modify
9 it under the terms of the GNU Lesser General Public License as
10 published by the Free Software Foundation; either version 3 of the
11 License, or (at your option) any later version.
13 guile-irrlicht is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with guile-irrlicht. If not, see
20 <http://www.gnu.org/licenses/>.
25 #include <irrlicht/irrlicht.h>
28 using namespace scene;
29 using namespace video;
35 typedef unsigned int u32;
39 %rename(add) operator+;
40 %rename(substract) operator-;
41 %rename(product) operator*;
42 %rename(divide) operator/;
43 %rename(equal) operator==;
50 %include dimension2d.h
51 %template(dimension2df) irr::core::dimension2d<irr::f32>;
52 %template(dimension2ds) irr::core::dimension2d<irr::s32>;
53 %template(dimension2du) irr::core::dimension2d<irr::u32>;
55 %rename("%(undercase)s", %$not %$isconstant, %$not %$isenumitem) "";
56 %feature("constasvar");
58 %include EDriverTypes.h
59 %include IrrCompileConfig.h
62 %scheme %{ (load-extension "libguile-irrlicht" "scm_init_irrlicht_module") %}