X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2FIrrlichtDevice.h;h=5d33bfd5bef08b3c482f51ccf370570703905834;hb=84e93e7eac45dde889fc436a247838da3c87edf6;hp=c3649037ab708d1334a501635dfc4062ab109fde;hpb=d27297a52c2399bd71661513d93da43a2a3e9ad1;p=guile-irrlicht.git diff --git a/src/IrrlichtDevice.h b/src/IrrlichtDevice.h index c364903..5d33bfd 100644 --- a/src/IrrlichtDevice.h +++ b/src/IrrlichtDevice.h @@ -22,15 +22,22 @@ #ifndef __GUILE_IRRLICHT_DEVICE_INCLUDED__ #define __GUILE_IRRLICHT_DEVICE_INCLUDED__ +#include #include extern "C" { void - init_irrlicht_device (void); + init_device (void); void - init_irrlicht_device_object (void); + init_device_type (void); + + SCM + wrap_device (irr::IrrlichtDevice* device); + + irr::IrrlichtDevice* + unwrap_device (SCM device_obj); SCM irr_createDevice (SCM deviceType, @@ -41,6 +48,15 @@ extern "C" { SCM vsync, SCM receiver); + SCM + irr_getGUIEnvironment (SCM device_obj); + + SCM + irr_getSceneManager (SCM device_obj); + + SCM + irr_getVideoDriver (SCM device_obj); + SCM irr_setWindowCaption (SCM device, SCM text);