mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix res macro to make it working with VS too
This commit is contained in:
parent
b69e89d1de
commit
217ecd89b5
15
ddraw.rc
15
ddraw.rc
@ -1,8 +1,13 @@
|
|||||||
#define vstr(v) vxstr(v)
|
|
||||||
#define vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
|
|
||||||
#define str(s) #s
|
#define str(s) #s
|
||||||
|
#define ver_str(a,b,c,d) str(a) "." str(b) "." str(c) "." str(d)
|
||||||
|
|
||||||
#define VERSION 1,2,3,1
|
#define VERSION_MAJOR 1
|
||||||
|
#define VERSION_MINOR 2
|
||||||
|
#define VERSION_BUILD 3
|
||||||
|
#define VERSION_REVISION 1
|
||||||
|
|
||||||
|
#define VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION
|
||||||
|
#define VERSION_STRING ver_str(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION)
|
||||||
|
|
||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
FILEVERSION VERSION
|
FILEVERSION VERSION
|
||||||
@ -14,13 +19,13 @@ PRODUCTVERSION VERSION
|
|||||||
{
|
{
|
||||||
VALUE "CompanyName", "cncnet.org"
|
VALUE "CompanyName", "cncnet.org"
|
||||||
VALUE "FileDescription", "DirectDraw replacement for C&C95 and Red Alert"
|
VALUE "FileDescription", "DirectDraw replacement for C&C95 and Red Alert"
|
||||||
VALUE "FileVersion", vstr(VERSION)
|
VALUE "FileVersion", VERSION_STRING
|
||||||
VALUE "InternalName", "ddraw"
|
VALUE "InternalName", "ddraw"
|
||||||
VALUE "LegalCopyright", "Copyright (c) 2010-2018"
|
VALUE "LegalCopyright", "Copyright (c) 2010-2018"
|
||||||
VALUE "LegalTrademarks", ""
|
VALUE "LegalTrademarks", ""
|
||||||
VALUE "OriginalFileName", "ddraw.dll"
|
VALUE "OriginalFileName", "ddraw.dll"
|
||||||
VALUE "ProductName", "DirectDraw replacement for C&C95 and Red Alert"
|
VALUE "ProductName", "DirectDraw replacement for C&C95 and Red Alert"
|
||||||
VALUE "ProductVersion", vstr(VERSION)
|
VALUE "ProductVersion", VERSION_STRING
|
||||||
VALUE "Comments", "https://cncnet.org"
|
VALUE "Comments", "https://cncnet.org"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user