plugy/Commons/VersionInfo.h

36 lines
616 B
C
Raw Normal View History

2017-01-23 19:34:12 +00:00
/*=================================================================
File created by Yohann NICOLAS.
2017-01-23 19:34:12 +00:00
Get Game version.
=================================================================*/
#pragma once
2017-06-19 13:01:03 +00:00
#include <windows.h>
enum eGameVersion
{
2020-11-01 11:52:36 +00:00
UNKNOWN = -1,
2017-01-23 19:34:12 +00:00
V100 = 0,
V107,
V108,
V109,
V109b,
V109d,
V110,
V111,
V111b,
V112,
V113c,
V113d,
V114a,
V114b,
V114c,
V114d
};
2017-01-23 19:34:12 +00:00
const char* GetVersionString(int version);
eGameVersion GetD2Version(char* gamePath);
2017-06-19 13:01:03 +00:00
eGameVersion GetD2Version(HMODULE hModule);
2017-01-23 19:34:12 +00:00
///////////////////////// END OF FILE ///////////////////////