SRB2/src/config.h.in

52 lines
1.9 KiB
C
Raw Permalink Normal View History

/** 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
2020-02-16 16:34:02 +00:00
* Last updated 2020 / 02 / 15 - v2.2.1 - main assets
2020-02-22 21:42:24 +00:00
* Last updated 2020 / 02 / 22 - v2.2.2 - patch.pk3
* Last updated 2020 / 05 / 10 - v2.2.3 - player.dta & patch.pk3
2020-05-11 21:40:28 +00:00
* Last updated 2020 / 05 / 11 - v2.2.4 - patch.pk3
2020-07-07 16:42:31 +00:00
* Last updated 2020 / 07 / 07 - v2.2.5 - player.dta & patch.pk3
2020-07-11 00:53:42 +00:00
* Last updated 2020 / 07 / 10 - v2.2.6 - player.dta & patch.pk3
2020-09-28 03:12:15 +00:00
* Last updated 2020 / 09 / 27 - v2.2.7 - patch.pk3
2020-10-02 23:07:15 +00:00
* Last updated 2020 / 10 / 02 - v2.2.8 - patch.pk3
* Last updated 2021 / 05 / 06 - v2.2.9 - patch.pk3 & zones.pk3
2022-03-06 19:22:22 +00:00
* Last updated 2022 / 03 / 06 - v2.2.10 - main assets
2023-05-04 14:17:10 +00:00
* Last updated 2023 / 05 / 02 - v2.2.11 - patch.pk3 & zones.pk3
2023-09-08 23:16:28 +00:00
* Last updated 2023 / 09 / 06 - v2.2.12 - patch.pk3
* Last updated 2023 / 09 / 09 - v2.2.13 - none
*/
2022-03-06 19:22:22 +00:00
#define ASSET_HASH_SRB2_PK3 "ad911f29a28a18968ee5b2d11c2acb39"
2023-05-04 14:17:10 +00:00
#define ASSET_HASH_ZONES_PK3 "1c8adf8d079ecb87d00081f158acf3c7"
2022-03-06 19:22:22 +00:00
#define ASSET_HASH_PLAYER_DTA "2e7aaae8a6b1b77d90ffe7606ceadb6c"
#ifdef USE_PATCH_DTA
2023-09-06 16:50:51 +00:00
#define ASSET_HASH_PATCH_PK3 "3c7b73f34af7e9a7bceb2d5260f76172"
#endif
#endif