X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdevice.h;h=94f63c99e6b37cde78c57baef52eddf18327ff1f;hb=fbe90f42f1eddac5a30089b905ad405d007104bc;hp=29bc783f054d657a8c673b0d2ec38ddb7215808f;hpb=cf9ecf5f581d2c9688e369b4b2ed49077c48f63e;p=guile-irrlicht.git diff --git a/src/device.h b/src/device.h index 29bc783..94f63c9 100644 --- a/src/device.h +++ b/src/device.h @@ -24,39 +24,60 @@ #include #include -#include "wrapped.h" -extern "C" { +template +SCM +createDevice (SCM device_type, + SCM window_size, + SCM bits, + SCM fullscreen, + SCM stencilbuffer, + SCM vsync, + SCM receiver); - void - init_device (void); +SCM +IrrlichtDevice_getCursorControl (SCM device); + +SCM +IrrlichtDevice_getFileSystem (SCM device); + +SCM +IrrlichtDevice_getGUIEnvironment (SCM device); - DECLARE_WRAPPED_TYPE (irr::IrrlichtDevice*, init_device_type, - device_p, wrap_device, unwrap_device); +SCM +IrrlichtDevice_getSceneManager (SCM device); - SCM - irr_createDevice (SCM rest); +SCM +IrrlichtDevice_getTimer (SCM device); - SCM - irr_getTimer (SCM wrapped_device); +SCM +IrrlichtDevice_getVideoDriver (SCM device); - SCM - irr_isWindowActive (SCM wrapped_device); +SCM +IrrlichtDevice_isWindowActive (SCM device); - SCM - irr_run (SCM wrapped_device); +SCM +IrrlichtDevice_run (SCM device); - SCM - irr_setResizable (SCM wrapped_device, - SCM resize); +template +SCM +IrrlichtDevice_setEventReceiver (SCM device, + SCM receiver); - SCM - irr_setWindowCaption (SCM wrapped_device, - SCM text); +SCM +IrrlichtDevice_setResizable (SCM device, + SCM resize); - SCM - irr_yield (SCM wrapped_device); +SCM +IrrlichtDevice_setWindowCaption (SCM device, + SCM text); +SCM +IrrlichtDevice_yield (SCM device); + +extern "C" { + void + init_device (void); } #endif