X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=include%2FIrrlichtDevice.h;h=72620c690cdddbdff2d2a4dec587d91fd7b5e9d4;hb=ccbe283bd39927b18cf17bb8dc778b9ddb449168;hp=906fb0a1372cbc7379bb20b3ac8c33c4869fa92d;hpb=636e5ec91137f36c3b1eec501ce43c0eb2abbd65;p=c-irrlicht.git diff --git a/include/IrrlichtDevice.h b/include/IrrlichtDevice.h index 906fb0a..72620c6 100644 --- a/include/IrrlichtDevice.h +++ b/include/IrrlichtDevice.h @@ -22,11 +22,38 @@ #ifndef __C_IRRLICHT_DEVICE_H_INCLUDED__ #define __C_IRRLICHT_DEVICE_H_INCLUDED__ +#include "IFileSystem.h" +#include "IGUIEnvironment.h" +#include "ISceneManager.h" +#include "IVideoDriver.h" + +typedef void irr_IrrlichtDevice; + #ifdef __cplusplus extern "C" { #endif - void* irr_IrrlichtDevice_getVideoDriver(void* device); + irr_io_IFileSystem* + irr_getFileSystem(irr_IrrlichtDevice* device); + + irr_gui_IGUIEnvironment* + irr_getGUIEnvironment(irr_IrrlichtDevice* device); + + irr_scene_ISceneManager* + irr_getSceneManager(irr_IrrlichtDevice* device); + + irr_video_IVideoDriver* + irr_getVideoDriver(irr_IrrlichtDevice* device); + + void + irr_setWindowCaption(irr_IrrlichtDevice* device, + const char* text); + + int + irr_run(irr_IrrlichtDevice* device); + + int + irr_drop(irr_IrrlichtDevice* device); #ifdef __cplusplus }