Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
558 B · 24 lines
C++
12345678910111213141516171819202122232425#ifndef VERSION_HPP#define VERSION_HPP
#include <filesystem>#include <string>#include <string_view>
namespace Version{ std::string_view getVersion(); std::string_view getCommitHash(); std::string_view getTagHash(); int getLuaApiRevision(); int getPostprocessingApiRevision();
// Prepares string that contains version and commit hash. std::string getOpenmwVersionDescription();
bool checkResourcesVersion(const std::filesystem::path& resourcePath);
std::string_view getDocumentationUrl();}
#endif // VERSION_HPP