mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-02 01:03:50 +00:00
90b4f8720e
Simplifies build setup for cmake.
38 lines
1.4 KiB
C
38 lines
1.4 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}"
|
|
|
|
#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
|
|
*/
|
|
#define ASSET_HASH_SRB2_PK3 "ad911f29a28a18968ee5b2d11c2acb39"
|
|
#define ASSET_HASH_ZONES_PK3 "86ae55cae4e0a93ceda868635706a093"
|
|
#define ASSET_HASH_PLAYER_DTA "2e7aaae8a6b1b77d90ffe7606ceadb6c"
|
|
#ifdef USE_PATCH_DTA
|
|
#define ASSET_HASH_PATCH_PK3 "7d467a883f7887b3c311798ee2f56b6a"
|
|
#endif
|
|
|
|
#endif
|