X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=include%2FIrrlichtDevice.h;h=df717e759771957e86d4f62605d047eec04fd696;hb=bf35c1c5384d6ccae7b7690ee08c511d036ffaec;hp=c5a2ed69bd2e5403155eae0ec1cdf83aedf07da3;hpb=fbd9cb42b9a35c3c4416ae2fd3d65525e6fd50b9;p=c-irrlicht.git diff --git a/include/IrrlichtDevice.h b/include/IrrlichtDevice.h index c5a2ed6..df717e7 100644 --- a/include/IrrlichtDevice.h +++ b/include/IrrlichtDevice.h @@ -22,12 +22,34 @@ #ifndef __C_IRRLICHT_DEVICE_H_INCLUDED__ #define __C_IRRLICHT_DEVICE_H_INCLUDED__ +#include "IGUIEnvironment.h" +#include "ISceneManager.h" +#include "IVideoDriver.h" + +typedef void irr_IrrlichtDevice; + #ifdef __cplusplus extern "C" { #endif - void* irr_IrrlichtDevice_getSceneManager(void* device); - void* irr_IrrlichtDevice_getVideoDriver(void* 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 }