| 1 | // Copyright 2005 by Anthony Liekens [email protected] |
| 2 | |
| 3 | #ifndef EXTENSIONS_H |
| 4 | #define EXTENSIONS_H |
| 5 | |
| 6 | #include <SDL/SDL.h> |
| 7 | |
| 8 | double frand(); |
| 9 | double frand( double max ); |
| 10 | Uint32 HSVtoRGB( float h, float s, float v ); |
| 11 | |
| 12 | Uint8 getRed( Uint32 color ); |
| 13 | Uint8 getGreen( Uint32 color ); |
| 14 | Uint8 getBlue( Uint32 color ); |
| 15 | |
| 16 | #endif |