2015-01-29 00:03:41 +00:00
|
|
|
/** SRB2 CMake Configuration */
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__
|
|
|
|
|
2015-03-08 08:26:54 +00: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-29 00:03:41 +00:00
|
|
|
#ifdef CMAKECONFIG
|
|
|
|
|
2017-12-07 18:26:12 +00:00
|
|
|
#define ASSET_HASH_SRB2_PK3 "${SRB2_ASSET_srb2.pk3_HASH}"
|
2015-01-29 00:03:41 +00:00
|
|
|
#define ASSET_HASH_PLAYER_DTA "${SRB2_ASSET_player.dta_HASH}"
|
2019-09-29 03:31:50 +00:00
|
|
|
#define ASSET_HASH_ZONES_PK3 "${SRB2_ASSET_zones.pk3_HASH}"
|
2016-03-10 02:30:11 +00:00
|
|
|
#ifdef USE_PATCH_DTA
|
2018-06-06 13:42:50 +00:00
|
|
|
#define ASSET_HASH_PATCH_PK3 "${SRB2_ASSET_patch.pk3_HASH}"
|
2016-03-10 02:30:11 +00:00
|
|
|
#endif
|
2015-01-29 00:03:41 +00:00
|
|
|
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
2016-01-14 15:37:58 +00:00
|
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
2015-01-29 00:03:41 +00:00
|
|
|
|
2015-01-29 05:02:18 +00:00
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
|
|
|
|
2015-01-29 00:03:41 +00:00
|
|
|
#else
|
|
|
|
|
2016-03-10 02:30:11 +00:00
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
2019-12-06 17:38:23 +00:00
|
|
|
* Last updated 2019 / 12 / 06 - v2.2.0 - main assets
|
|
|
|
* Last updated 20?? / ?? / ?? - v2.2.? - patch.pk3
|
2016-03-10 02:30:11 +00:00
|
|
|
*/
|
2019-12-07 13:17:26 +00:00
|
|
|
#define ASSET_HASH_SRB2_PK3 "51419a33b4982d840c6772c159ba7c0a"
|
|
|
|
#define ASSET_HASH_ZONES_PK3 "df74843919fd51af26a0baa8e21e4c19"
|
2019-12-06 17:13:04 +00:00
|
|
|
#define ASSET_HASH_PLAYER_DTA "56a247e074dd0dc794b6617efef1e918"
|
2016-03-10 02:30:11 +00:00
|
|
|
#ifdef USE_PATCH_DTA
|
2019-12-06 17:13:04 +00:00
|
|
|
#define ASSET_HASH_PATCH_PK3 "there is no patch.pk3, only zuul"
|
2016-03-10 02:30:11 +00:00
|
|
|
#endif
|
2015-01-29 00:03:41 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|