2015-01-28 16:03:41 -08:00
|
|
|
/** SRB2 CMake Configuration */
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__
|
|
|
|
|
2015-03-08 00:26:54 -08:00
|
|
|
/* 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.
|
|
|
|
*/
|
|
|
|
|
2015-01-28 16:03:41 -08:00
|
|
|
#ifdef CMAKECONFIG
|
|
|
|
|
2017-12-07 10:26:12 -08:00
|
|
|
#define ASSET_HASH_SRB2_PK3 "${SRB2_ASSET_srb2.pk3_HASH}"
|
2015-01-28 16:03:41 -08:00
|
|
|
#define ASSET_HASH_PLAYER_DTA "${SRB2_ASSET_player.dta_HASH}"
|
2019-09-28 20:31:50 -07:00
|
|
|
#define ASSET_HASH_ZONES_PK3 "${SRB2_ASSET_zones.pk3_HASH}"
|
2016-03-09 18:30:11 -08:00
|
|
|
#ifdef USE_PATCH_DTA
|
2018-06-06 06:42:50 -07:00
|
|
|
#define ASSET_HASH_PATCH_PK3 "${SRB2_ASSET_patch.pk3_HASH}"
|
2016-03-09 18:30:11 -08:00
|
|
|
#endif
|
2015-01-28 16:03:41 -08:00
|
|
|
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
2016-01-14 07:37:58 -08:00
|
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
2015-01-28 16:03:41 -08:00
|
|
|
|
2015-01-28 21:02:18 -08:00
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
|
|
|
|
2015-01-28 16:03:41 -08:00
|
|
|
#else
|
|
|
|
|
2016-03-09 18:30:11 -08:00
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
2020-02-16 08:34:02 -08:00
|
|
|
* Last updated 2020 / 02 / 15 - v2.2.1 - main assets
|
2020-02-22 13:42:24 -08:00
|
|
|
* Last updated 2020 / 02 / 22 - v2.2.2 - patch.pk3
|
2020-05-10 09:16:01 -07:00
|
|
|
* Last updated 2020 / 05 / 10 - v2.2.3 - player.dta & patch.pk3
|
2020-05-11 14:40:28 -07:00
|
|
|
* Last updated 2020 / 05 / 11 - v2.2.4 - patch.pk3
|
2016-03-09 18:30:11 -08:00
|
|
|
*/
|
2020-02-09 18:29:46 -08:00
|
|
|
#define ASSET_HASH_SRB2_PK3 "0277c9416756627004e83cbb5b2e3e28"
|
2020-02-16 15:54:19 -08:00
|
|
|
#define ASSET_HASH_ZONES_PK3 "f7e88afb6af7996a834c7d663144bead"
|
2020-05-10 09:16:01 -07:00
|
|
|
#define ASSET_HASH_PLAYER_DTA "8a4507ddf9bc0682c09174400f26ad65"
|
2016-03-09 18:30:11 -08:00
|
|
|
#ifdef USE_PATCH_DTA
|
2020-05-11 14:40:28 -07:00
|
|
|
#define ASSET_HASH_PATCH_PK3 "bbbf6af3b20349612ee06e0b55979a76"
|
2016-03-09 18:30:11 -08:00
|
|
|
#endif
|
2015-01-28 16:03:41 -08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|