An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.
C++
#ifndef MWRENDER_SCREENSHOTMANAGER_H
#define MWRENDER_SCREENSHOTMANAGER_H
#include <osg/ref_ptr>
#include <osgViewer/Viewer>
namespace MWRender
{
class NotifyDrawCompletedCallback;
class ScreenshotManager
{
public:
ScreenshotManager(osgViewer::Viewer* viewer);
~ScreenshotManager();
void screenshot(osg::Image* image, int w, int h);
private:
osg::ref_ptr<osgViewer::Viewer> mViewer;
osg::ref_ptr<NotifyDrawCompletedCallback> mDrawCompleteCallback;
};
}
#endif