Planeshift
Classes | Defines | Functions

psutil.h File Reference

#include <cstypes.h>
#include <csutil/csstring.h>

Go to the source code of this file.

Classes

class  psColours
struct  psPoint
class  ScopedTimer
 Check how long time it take to process a scope. More...
class  ScopedTimerCB
 Callback function for ScopedTimers. More...

Defines

#define BLUECODE   "\0330000ff0"
#define DEFAULTCODE   "\0330000000"
#define ESCAPECODE   '\033'
#define GREENCODE   "\03300ff000"
#define LENGTHCODE   8
#define REDCODE   "\033ff00000"
#define WHITECODE   "\033ffffff0"

Functions

void GetTimeOfDay (csString &string)
 Get the time of day in GMT.
uint32 psGetRandom (uint32 limit)
 Returns a random number with a limit.
float psGetRandom ()
 Returns a random number.