about the gmtime() i have think :
-should be better to have the screenshots in a split folder like screenshots/ or captures/, but i have no idea of how to make folders in win32
- the captures could have the following format:
raycap1.jpg
That 1 will be a incremental counter.
That way have a problem, if you launch the game a second time, the new captures will erase the older ones, so we can do a previous scan in the capture flder to see the last number...
Anyway, i don't have clear what's the problem with gmtime() ? And duplicate two gmtime strings is quite difficult...