ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseUtils Class Reference

#include <utils.h>

List of all members.

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 void RGBtoHSL (uint32 rgbColor, byte *outH, byte *outS, byte *outL)
static uint32 HSLtoRGB (byte H, byte S, byte L)

Static Private Member Functions

static float Hue2RGB (float v1, float v2, float vH)

Detailed Description

Definition at line 39 of file utils.h.

Member Function Documentation

void Wintermute::BaseUtils::createPath ( const char *  path,
bool  pathOnly = false 
) [static]

Definition at line 72 of file utils.cpp.

void Wintermute::BaseUtils::debugMessage ( const char *  text  )  [static]

Definition at line 88 of file utils.cpp.

uint32 Wintermute::BaseUtils::HSLtoRGB ( byte  H,
byte  S,
byte  L 
) [static]

Definition at line 218 of file utils.cpp.

float Wintermute::BaseUtils::Hue2RGB ( float  v1,
float  v2,
float  vH 
) [static, private]

Definition at line 250 of file utils.cpp.

float Wintermute::BaseUtils::normalizeAngle ( float  angle  )  [static]

Definition at line 46 of file utils.cpp.

float Wintermute::BaseUtils::randomAngle ( float  from,
float  to 
) [static]

Definition at line 150 of file utils.cpp.

float Wintermute::BaseUtils::randomFloat ( float  from,
float  to 
) [static]

Definition at line 143 of file utils.cpp.

int Wintermute::BaseUtils::randomInt ( int  from,
int  to 
) [static]

Definition at line 132 of file utils.cpp.

void Wintermute::BaseUtils::RGBtoHSL ( uint32  rgbColor,
byte outH,
byte outS,
byte outL 
) [static]

Definition at line 158 of file utils.cpp.

char * Wintermute::BaseUtils::setString ( char **  string,
const char *  value 
) [static]

Definition at line 94 of file utils.cpp.

char * Wintermute::BaseUtils::strEntry ( int  entry,
const char *  str,
const char  delim = ',' 
) [static]

Definition at line 104 of file utils.cpp.

void Wintermute::BaseUtils::swap ( int *  a,
int *  b 
) [static]

Definition at line 38 of file utils.cpp.

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

Generated on Sat Sep 19 2020 05:06:32 for ResidualVM by doxygen 1.7.1
curved edge   curved edge