|
Public Member Functions |
| void | initRandomSeed (void) const |
| | init random seed
|
| double | random (void) const |
| | get a random number between 0 and 1
|
| const char * | testExistFile (const char *filePath) const |
| irr::video::ITexture * | getTexture (const char *filePath) const |
| | Get texture (using testExistFile).
|
| irr::video::ITexture * | getTexture (const char *file_path, irr::video::SColor colorkey) const |
| | Get texture (using testExistFile) with color key.
|
| void | fade (irr::video::SColor color, int time) const |
| | fade the window during the time "time"
|
| irr::gui::IGUIFont * | loadFont (const char *fontPathName) |
| | load a font and set it as the environment skin font (using testExistFile)
|
| irr::gui::IGUIFont * | getLastLoadedFont (void) const |
| | get the last font loaded with loadFont
|
| irr::gui::IGUIStaticText * | createText (const irr::core::stringw text, const Sys &sys, int x, int y, irr::video::SColor color=irr::video::SColor(255, 255, 255, 255)) const |
| | create a IGUIStaticText on the window without border and with wordwrap
|
| char * | convertStringwToChar (irr::core::stringw str) const |
| | convert stringw to char *
|
| irr::video::ITexture * | getRotated180Texture (irr::video::ITexture *tex) const |
| void | draw2DImage (irr::video::ITexture *texture, const irr::core::position2d< irr::s32 > &destPos) const |
| | draw a 2d image on the screen, with alpha channel activated
|
| irr::video::E_DRIVER_TYPE | getDriverType (int num) const |
| | convert a number to a driver type
|
| int | getDriverNum (irr::video::E_DRIVER_TYPE type) const |
| | convert a driver type to a number
|
| | ~Util () |
| | Destructor.
|
Friends |
| void | initIrrsimple (void) |
| | init all - first function to call before calling the others
|