diff options
| author | Joost Heitbrink <joostheitbrink@outlook.com> | 2019-11-30 17:22:22 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-06 13:13:17 +0100 |
| commit | dc61323b2ce5478b1fc07581e64f7b7fcfdaf239 (patch) | |
| tree | 274e43b88e7e666418730cc522ef1db6c8ead375 /platform | |
| parent | 845480497207839bef48997d152f00b60b6176a8 (diff) | |
| download | redot-engine-dc61323b2ce5478b1fc07581e64f7b7fcfdaf239.tar.gz | |
PCK: Set VERSION_PATCH in header, factor out header magic
Unify pack file version and magic to avoid hardcoded literals.
`version.py` now always includes `patch` even for the first release in
a new stable branch (e.g. 3.2). The public name stays without the patch
number, but `Engine.get_version_info()` already included `patch == 0`,
and we can remove some extra handling of undefined `VERSION_PATCH` this
way.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/windows/godot_res.rc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/windows/godot_res.rc b/platform/windows/godot_res.rc index 1fa8957f15..0593c8b069 100644 --- a/platform/windows/godot_res.rc +++ b/platform/windows/godot_res.rc @@ -4,10 +4,6 @@ #define _MKSTR(m_x) _STR(m_x) #endif -#ifndef VERSION_PATCH -#define VERSION_PATCH 0 -#endif - GODOT_ICON ICON platform/windows/godot.ico 1 VERSIONINFO |
