Add hex-encoded version number to Engine singleton for easy comparisons

This commit is contained in:
Rémi Verschelde
2019-02-17 13:38:52 +01:00
parent 623f7b64ae
commit 2e6501d879
3 changed files with 14 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ Dictionary Engine::get_version_info() const {
#else
dict["patch"] = 0;
#endif
dict["hex"] = VERSION_HEX;
dict["status"] = VERSION_STATUS;
dict["build"] = VERSION_BUILD;
dict["year"] = VERSION_YEAR;