X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcirrlicht.h;h=a40c33aca81dcf9ec3d2de294a1ffb8b0e7fa0b0;hb=3c6f05ad0b0efa2a787e25db274ef67c1a29b4fd;hp=cda3ee2c8226f8a90bfd24b0bd8a60beeaabaa1e;hpb=6d6355e2222d3cdd5aca2f0234105c3d47a6d657;p=c-irrlicht.git diff --git a/include/cirrlicht.h b/include/cirrlicht.h index cda3ee2..a40c33a 100644 --- a/include/cirrlicht.h +++ b/include/cirrlicht.h @@ -1,39 +1,62 @@ -/* c-irrlicht -- C bindings for Irrlicht Engine - - Copyright (C) 2019 Javier Sancho - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Please note that the Irrlicht Engine is based in part on the work of the - Independent JPEG Group, the zlib and the libPng. This means that if you use - the Irrlicht Engine in your product, you must acknowledge somewhere in your - documentation that you've used the IJG code. It would also be nice to mention - that you use the Irrlicht Engine, the zlib and libPng. See the README files - in the jpeglib, the zlib and libPng for further informations. +/* c-irrlicht --- C bindings for Irrlicht Engine + + Copyright (C) 2019 Javier Sancho + + This file is part of c-irrlicht. + + c-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. + + c-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 + . */ #ifndef __C_IRRLICHT_H_INCLUDED__ #define __C_IRRLICHT_H_INCLUDED__ +#include "dimension2d.h" +#include "EDriverTypes.h" +#include "EMaterialFlags.h" +#include "IAnimatedMeshMD2.h" +#include "IAnimatedMeshSceneNode.h" +#include "ICameraSceneNode.h" +#include "ICursorControl.h" +#include "IFileArchive.h" +#include "IFileSystem.h" +#include "IGUIEnvironment.h" +#include "IGUIElement.h" +#include "IGUIStaticText.h" +#include "IMeshSceneNode.h" +#include "IrrlichtDevice.h" +#include "ISceneManager.h" +#include "ISceneNode.h" +#include "ITexture.h" +#include "IVideoDriver.h" +#include "rect.h" +#include "SColor.h" +#include "SExposedVideoData.h" +#include "SKeyMap.h" +#include "vector3d.h" + #ifdef __cplusplus extern "C" { #endif - int irr_createDevice(); + irr_IrrlichtDevice* + irr_createDevice(irr_video_E_DRIVER_TYPE deviceType, + const irr_core_dimension2d_u32* windowSize, + unsigned int bits, + int fullscreen, + int stencilbuffer, + int vsync); #ifdef __cplusplus }