(svn r24805) -Codechange: Refactor determination of screenshot viewport for world screenshots.

This commit is contained in:
frosch
2012-12-09 16:53:01 +00:00
parent edd9c0553a
commit fccf0ac84d
2 changed files with 46 additions and 42 deletions

View File

@@ -29,6 +29,7 @@ enum ScreenshotType {
SC_HEIGHTMAP, ///< Heightmap of the world.
};
void SetupScreenshotViewport(ScreenshotType t, struct ViewPort *vp);
bool MakeHeightmapScreenshot(const char *filename);
bool MakeScreenshot(ScreenshotType t, const char *name);