irr_video_IVideoDriver*
irr_getVideoDriver(irr_IrrlichtDevice* device);
+ int
+ irr_isWindowActive(irr_IrrlichtDevice* device);
+
void
irr_setWindowCaption(irr_IrrlichtDevice* device,
const char* text);
int
irr_drop(irr_IrrlichtDevice* device);
+ void
+ irr_yield(irr_IrrlichtDevice* device);
+
#ifdef __cplusplus
}
#endif
return ((irr::IrrlichtDevice*)device)->getVideoDriver();
}
+ int
+ irr_isWindowActive(irr_IrrlichtDevice* device)
+ {
+ return ((irr::IrrlichtDevice*)device)->isWindowActive() ? 1 : 0;
+ }
+
void
irr_setWindowCaption(irr_IrrlichtDevice* device,
const char* text)
{
return ((irr::IrrlichtDevice*)device)->drop() ? 1 : 0;
}
+
+ void
+ irr_yield(irr_IrrlichtDevice* device)
+ {
+ ((irr::IrrlichtDevice*)device)->yield();
+ }
+
}