| 1 |
/*************************************************************************** |
| 2 |
* fheroes2: https://github.com/ihhub/fheroes2 * |
| 3 |
* Copyright (C) 2021 - 2026 * |
| 4 |
* * |
| 5 |
* This program is free software; you can redistribute it and/or modify * |
| 6 |
* it under the terms of the GNU General Public License as published by * |
| 7 |
* the Free Software Foundation; either version 2 of the License, or * |
| 8 |
* (at your option) any later version. * |
| 9 |
* * |
| 10 |
* This program is distributed in the hope that it will be useful, * |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 13 |
* GNU General Public License for more details. * |
| 14 |
* * |
| 15 |
* You should have received a copy of the GNU General Public License * |
| 16 |
* along with this program; if not, write to the * |
| 17 |
* Free Software Foundation, Inc., * |
| 18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
| 19 |
***************************************************************************/ |
| 20 |
|
| 21 |
#include <windows.h> |
| 22 |
#include "version.h" |
| 23 |
|
| 24 |
#define STRINGIFY(DEF) #DEF |
| 25 |
#define EXPANDDEF(DEF) STRINGIFY(DEF) |
| 26 |
#define FH2_VERSION_STR EXPANDDEF(MAJOR_VERSION) "," EXPANDDEF(MINOR_VERSION) "," EXPANDDEF(INTERMEDIATE_VERSION) "," EXPANDDEF(BUILD_VERSION) "\0" |
| 27 |
|
| 28 |
#ifdef WITH_DEBUG |
| 29 |
#define FH2_DEBUG VS_FF_DEBUG |
| 30 |
#else |
| 31 |
#define FH2_DEBUG 0 |
| 32 |
#endif |
| 33 |
|
| 34 |
SHELLICON ICON "fheroes2.ico" |
| 35 |
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
| 36 |
|
| 37 |
VS_VERSION_INFO VERSIONINFO |
| 38 |
FILEVERSION MAJOR_VERSION, MINOR_VERSION, INTERMEDIATE_VERSION, BUILD_VERSION |
| 39 |
PRODUCTVERSION MAJOR_VERSION, MINOR_VERSION, INTERMEDIATE_VERSION, BUILD_VERSION |
| 40 |
FILEFLAGSMASK VS_FF_DEBUG |
| 41 |
FILEFLAGS FH2_DEBUG |
| 42 |
FILEOS VOS_NT |
| 43 |
FILETYPE VFT_APP |
| 44 |
BEGIN |
| 45 |
BLOCK "StringFileInfo" |
| 46 |
BEGIN |
| 47 |
BLOCK "040904B0" |
| 48 |
BEGIN |
| 49 |
VALUE "Comments", "Visit us at https://ihhub.github.io/fheroes2\0" |
| 50 |
VALUE "CompanyName", "fheroes2 Resurrection team\0" |
| 51 |
VALUE "FileDescription", "Free implementation of the Heroes of Might and Magic II game engine\0" |
| 52 |
VALUE "FileVersion", FH2_VERSION_STR |
| 53 |
VALUE "InternalName", "fheroes2\0" |
| 54 |
VALUE "LegalCopyright", "\251 2026 fheroes2 Resurrection team <[email protected]>. All rights for the original HoMM II game belong to Ubisoft\0" |
| 55 |
VALUE "OriginalFilename", "fheroes2.exe\0" |
| 56 |
VALUE "ProductName", "fheroes2 engine\0" |
| 57 |
VALUE "ProductVersion", FH2_VERSION_STR |
| 58 |
END |
| 59 |
END |
| 60 |
|
| 61 |
BLOCK "VarFileInfo" |
| 62 |
BEGIN |
| 63 |
VALUE "Translation", 0x0, 65001 |
| 64 |
END |
| 65 |
END |