| 1 | /* |
| 2 | * LegacyClonk |
| 3 | * |
| 4 | * Copyright (c) RedWolf Design |
| 5 | * Copyright (c) 2017-2022, The LegacyClonk Team and contributors |
| 6 | * |
| 7 | * Distributed under the terms of the ISC license; see accompanying file |
| 8 | * "COPYING" for details. |
| 9 | * |
| 10 | * "Clonk" is a registered trademark of Matthes Bender, used with permission. |
| 11 | * See accompanying file "TRADEMARK" for details. |
| 12 | * |
| 13 | * To redistribute this file separately, substitute the full license texts |
| 14 | * for the above references. |
| 15 | */ |
| 16 | |
| 17 | #pragma once |
| 18 | |
| 19 | #define C4ENGINENAME "LegacyClonk" |
| 20 | |
| 21 | #define FANPROJECTTEXT "LegacyClonk is a fan project based on Clonk Rage." |
| 22 | #define TRADEMARKTEXT "'Clonk' is a registered trademark of Matthes Bender." |
| 23 | |
| 24 | #define C4ENGINECAPTION "LegacyClonk" |
| 25 | #define C4EDITORCAPTION "Clonk Editor" |
| 26 | |
| 27 | /* These values are now controlled by the file source/version - DO NOT MODIFY DIRECTLY */ |
| 28 | #define C4XVER1 4 |
| 29 | #define C4XVER2 9 |
| 30 | #define C4XVER3 11 |
| 31 | #define C4XVER4 0 |
| 32 | #define C4XVERBUILD 362 |
| 33 | #define "" |
| 34 | /* These values are now controlled by the file source/version - DO NOT MODIFY DIRECTLY */ |
| 35 | |
| 36 | // Build Options |
| 37 | #ifndef NDEBUG |
| 38 | #define C4BUILDDEBUG " DEBUG" |
| 39 | #else |
| 40 | #define C4BUILDDEBUG |
| 41 | #endif |
| 42 | |
| 43 | #define C4BUILDOPT C4BUILDDEBUG |
| 44 | |
| 45 | #define C4ENGINEINFO C4ENGINENAME " " C4VERSIONEXTRA |
| 46 | #ifdef C4VERSIONBUILDNAME |
| 47 | #define C4ENGINEINFOLONG C4ENGINENAME " " C4VERSIONEXTRA " (" C4VERSIONBUILDNAME ")" |
| 48 | #else |
| 49 | #define C4ENGINEINFOLONG C4ENGINEINFO |
| 50 | #endif |
| 51 | |
| 52 | #define C4XVERTOC4XVERS(s) C4XVERTOC4XVERS2(s) |
| 53 | #define C4XVERTOC4XVERS2(s) #s |
| 54 | #if C4XVERBUILD <= 99 |
| 55 | #define C4VERSION C4XVERTOC4XVERS(C4XVER1) "." C4XVERTOC4XVERS(C4XVER2) "." C4XVERTOC4XVERS(C4XVER3) "." C4XVERTOC4XVERS(C4XVER4) " [0" C4XVERTOC4XVERS(C4XVERBUILD) "]" C4VERSIONEXTRA " " C4BUILDOPT |
| 56 | #else |
| 57 | #define C4VERSION C4XVERTOC4XVERS(C4XVER1) "." C4XVERTOC4XVERS(C4XVER2) "." C4XVERTOC4XVERS(C4XVER3) "." C4XVERTOC4XVERS(C4XVER4) " [" C4XVERTOC4XVERS(C4XVERBUILD) "]" C4VERSIONEXTRA " " C4BUILDOPT |
| 58 | #endif |
| 59 | |
| 60 | /* entries for engine.rc (VC++ will overwrite them) |
| 61 | |
| 62 | #include "..\inc\C4Version.h" |
| 63 | [...] |
| 64 | FILEVERSION C4XVER1,C4XVER2,C4XVER3,C4XVER4 |
| 65 | PRODUCTVERSION C4XVER1,C4XVER2,C4XVER3,C4XVER4 |
| 66 | [...] |
| 67 | VALUE "FileDescription", C4ENGINECAPTION "\0" |
| 68 | VALUE "FileVersion", C4VERSION "\0" |
| 69 | VALUE "SpecialBuild", C4BUILDOPT "\0" |
| 70 | VALUE "ProductVersion", C4VERSION "\0" |
| 71 | */ |
| 72 | |