mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-14 14:51:35 +00:00
52 lines
2 KiB
C
52 lines
2 KiB
C
/** SRB2 CMake Configuration */
|
|
|
|
#ifndef __CONFIG_H__
|
|
#define __CONFIG_H__
|
|
|
|
/* DO NOT MODIFY config.h DIRECTLY! It will be overwritten by cmake.
|
|
* If you want to change a configuration option here, modify it in
|
|
* your CMakeCache.txt. config.h.in is used as a template for CMake
|
|
* variables, so you can insert them here too.
|
|
*/
|
|
|
|
#ifdef CMAKECONFIG
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
|
#define SRB2_COMP_NOTE "${SRB2_COMP_NOTE}"
|
|
// This is done with configure_file instead of defines in order to avoid
|
|
// recompiling the whole target whenever the working directory state changes
|
|
#cmakedefine SRB2_COMP_UNCOMMITTED
|
|
#ifdef SRB2_COMP_UNCOMMITTED
|
|
#define COMPVERSION_UNCOMMITTED
|
|
#endif
|
|
|
|
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
|
|
#cmakedefine01 SRB2_COMP_OPTIMIZED
|
|
|
|
#endif
|
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
|
* Last updated 2020 / 02 / 15 - v2.2.1 - main assets
|
|
* Last updated 2020 / 02 / 22 - v2.2.2 - patch.pk3
|
|
* Last updated 2020 / 05 / 10 - v2.2.3 - player.dta & patch.pk3
|
|
* Last updated 2020 / 05 / 11 - v2.2.4 - patch.pk3
|
|
* Last updated 2020 / 07 / 07 - v2.2.5 - player.dta & patch.pk3
|
|
* Last updated 2020 / 07 / 10 - v2.2.6 - player.dta & patch.pk3
|
|
* Last updated 2020 / 09 / 27 - v2.2.7 - patch.pk3
|
|
* Last updated 2020 / 10 / 02 - v2.2.8 - patch.pk3
|
|
* Last updated 2021 / 05 / 06 - v2.2.9 - patch.pk3 & zones.pk3
|
|
* Last updated 2022 / 03 / 06 - v2.2.10 - main assets
|
|
* Last updated 2023 / 05 / 02 - v2.2.11 - patch.pk3 & zones.pk3
|
|
* Last updated 2023 / 09 / 06 - v2.2.12 - patch.pk3
|
|
* Last updated 2023 / 09 / 09 - v2.2.13 - none
|
|
* Last updated 2025 / 01 / 02 - v2.2.14 - main assets
|
|
*/
|
|
#define ASSET_HASH_SRB2_PK3 "ff169c784a7b38925aefeb7723f94c96"
|
|
#define ASSET_HASH_ZONES_PK3 "47a2e252d3c1dee1c1417ce08df1fcde"
|
|
#define ASSET_HASH_CHARACTERS_PK3 "97ce7008d16152731fe037141309aa24"
|
|
#ifdef USE_PATCH_DTA
|
|
#define ASSET_HASH_PATCH_PK3 "3c7b73f34af7e9a7bceb2d5260f76172"
|
|
#endif
|
|
|
|
#endif
|