]> git.jsancho.org Git - c-irrlicht.git/blob - src/CIrrlicht.cpp
Initial commit
[c-irrlicht.git] / src / CIrrlicht.cpp
1 /* c-irrlicht -- C bindings for Irrlicht Engine
2
3   Copyright (C) 2019 Javier Sancho <jsf@jsancho.org>
4
5   This software is provided 'as-is', without any express or implied
6   warranty.  In no event will the authors be held liable for any damages
7   arising from the use of this software.
8
9   Permission is granted to anyone to use this software for any purpose,
10   including commercial applications, and to alter it and redistribute it
11   freely, subject to the following restrictions:
12
13   1. The origin of this software must not be misrepresented; you must not
14      claim that you wrote the original software. If you use this software
15      in a product, an acknowledgment in the product documentation would be
16      appreciated but is not required.
17   2. Altered source versions must be plainly marked as such, and must not be
18      misrepresented as being the original software.
19   3. This notice may not be removed or altered from any source distribution.
20
21   Please note that the Irrlicht Engine is based in part on the work of the
22   Independent JPEG Group, the zlib and the libPng. This means that if you use
23   the Irrlicht Engine in your product, you must acknowledge somewhere in your
24   documentation that you've used the IJG code. It would also be nice to mention
25   that you use the Irrlicht Engine, the zlib and libPng. See the README files
26   in the jpeglib, the zlib and libPng for further informations.
27 */
28
29 #include <irrlicht/irrlicht.h>
30 #include "cirrlicht.h"
31
32 extern "C" {
33   int irr_createDevice()
34   {
35     irr::createDevice();
36     return 0;
37   }
38 }