#include #include #include #include #ifndef SIMPLEGRAPHICS_H #define SIMPLEGRAPHICS_H typedef struct { unsigned char r; unsigned char g; unsigned char b; } Color3b; /** Documentation should go here */ Color3b* createImage24bit(int sx, int sy); /** Documentation should go here */ bool writeTGA(const char* filename, int sx, int sy, Color3b* image); /** Documentation should go here */ bool writeBMP3b(const char* filename, int sx, int sy, Color3b* image); /** Documentation should go here */ Color3b HSBtoRGB(float hue, float saturation, float brightness); #endif