A couple of snippets from my own
fSekrit that tend to make me smile when I re-discover them:
// used when saving... I really need a cleaner interface for this, but I also
// really need to ship version 1.0 before deadline. Sigh :P
extern unsigned g_ugly_w, g_ugly_h, g_ugly_x, g_ugly_y;
extern bool g_ugly_maximized; // [1.2] - something needs a cleanup...
and the related (line 8):
struct FileHeaderV1
{
char signature[8]; // header_v1_signature
char hash[sha256::hashbits/8]; // plaintext hash
unsigned size; // size of data, padded to crypt blocksize
unsigned realsize; // "real" size of data, unpadded
unsigned flags; // bitmask of FL_* constants
unsigned w, h; // saved width and height... mouser wants this
};