#include "SimpleGraphics.h" // struct private to this file typedef struct { // struct contents go here int r1; } BitmapHeaderTail; /** Documentation should go here */ static BitmapHeaderTail genBMPHeader(int sx, int sy, int bpp) { // implementation omitted } /** Documentation optional, since it's in the header */ Color3b* createImage24bit(int sx, int sy) { // implementation omitted } /** Documentation should go here */ static bool writeBMPHeader(FILE* fp, int sx, int sy, int bpp) { // implementation omitted } /** Documentation optional, since it's in the header */ bool writeTGA(const char* filename, int sx, int sy, Color3b* image) { // implementation omitted } /** Documentation optional, since it's in the header */ bool writeBMP3b(const char* filename, int sx, int sy, Color3b* image) { // implementation omitted } /** Documentation optional, since it's in the header */ Color3b HSBtoRGB(float hue, float saturation, float brightness) { // implementation omitted }