Implement PNG format for screenshot
Screenshot are now only available in TGA or JPG format. Add PNG as a better (default) screenshot format.
Also, reduce the screenshot command to one (so it’s less annoying in console, especially in dev mode) and see if TGA code can be removed entirely.
/screenshot is now using JPEG format. Making a screenshot using TGA format isn’t possible anymore, but the underlying code is still there. It could be accessed again with a new r_screenshotType(?) when PNG is also added.
- implement PNG rendering
- add a r_screenshotType cvar to define format?
- rework cl_avidemoType (0 and 2 are now JPEG, TGA is not an option anymore)
- adjust UI for new r_ cvar
- move screenshot code in rendercommon (guess it could be shared across all renderers)