ScummVM API documentation
Wintermute::BaseUtils Class Reference

Static Public Member Functions

static void swap (int *a, int *b)
 
static float normalizeAngle (float angle)
 
static void createPath (const char *path, bool pathOnly=false)
 
static void debugMessage (const char *text)
 
static char * setString (char **string, const char *value)
 
static char * strEntry (int entry, const char *str, const char delim=',')
 
static int randomInt (int from, int to)
 
static float randomFloat (float from, float to)
 
static float randomAngle (float from, float to)
 
static bool matchesPattern (const char *pattern, const char *string)
 
static void RGBtoHSL (uint32 rgbColor, byte *outH, byte *outS, byte *outL)
 
static uint32 HSLtoRGB (byte H, byte S, byte L)
 

The documentation for this class was generated from the following file: