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
|
|
|
|
|
2018-10-18 00:30:34 +00:00
|
|
|
// Base SRB2 hashes
|
2018-11-03 07:17:20 +00:00
|
|
|
#define ASSET_HASH_SRB2_SRB "${SRB2_ASSET_srb2.srb_HASH}"
|
2016-03-10 02:30:11 +00:00
|
|
|
#ifdef USE_PATCH_DTA
|
2018-11-03 07:17:20 +00:00
|
|
|
#define ASSET_HASH_PATCH_DTA "${SRB2_ASSET_patch.dta_HASH}"
|
2016-03-10 02:30:11 +00:00
|
|
|
#endif
|
2015-01-29 00:03:41 +00:00
|
|
|
|
2018-10-18 00:30:34 +00:00
|
|
|
// SRB2Kart-specific hashes
|
2018-11-03 07:17:20 +00:00
|
|
|
#define ASSET_HASH_GFX_KART "${SRB2_ASSET_gfx.kart_HASH}"
|
|
|
|
#define ASSET_HASH_TEXTURES_KART "${SRB2_ASSET_textures.kart_HASH}"
|
|
|
|
#define ASSET_HASH_CHARS_KART "${SRB2_ASSET_chars.kart_HASH}"
|
|
|
|
#define ASSET_HASH_MAPS_KART "${SRB2_ASSET_maps.kart_HASH}"
|
2018-10-18 00:30:34 +00:00
|
|
|
#ifdef USE_PATCH_KART
|
2018-11-03 07:17:20 +00:00
|
|
|
#define ASSET_HASH_PATCH_KART "${SRB2_ASSET_patch.kart_HASH}"
|
2018-10-18 00:30:34 +00:00
|
|
|
#endif
|
|
|
|
|
2018-11-03 07:17:20 +00:00
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
|
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
2015-01-29 00:03:41 +00:00
|
|
|
|
2018-11-03 07:17:20 +00:00
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
2015-01-29 05:02:18 +00:00
|
|
|
|
2015-01-29 00:03:41 +00:00
|
|
|
#else
|
|
|
|
|
2018-11-03 07:17:20 +00:00
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
2019-01-05 20:59:23 +00:00
|
|
|
* Last updated 2015 / 05 / 03 - SRB2 v2.1.15 - srb2.srb
|
|
|
|
* Last updated 2018 / 12 / 23 - SRB2 v2.1.22 - patch.dta
|
2019-01-17 02:02:40 +00:00
|
|
|
* Last updated 2019 / 01 / 16 - Kart v1.0.2 - Main assets
|
2019-01-16 01:35:20 +00:00
|
|
|
* Last updated 2019 / 01 / 15 - Kart v1.0.2 - patch.kart
|
2016-03-10 02:30:11 +00:00
|
|
|
*/
|
2017-02-21 01:07:18 +00:00
|
|
|
|
2018-10-18 00:30:34 +00:00
|
|
|
// Base SRB2 hashes
|
2018-11-03 07:17:20 +00:00
|
|
|
#define ASSET_HASH_SRB2_SRB "c1b9577687f8a795104aef4600720ea7"
|
2016-03-10 02:30:11 +00:00
|
|
|
#ifdef USE_PATCH_DTA
|
2019-01-05 20:59:23 +00:00
|
|
|
#define ASSET_HASH_PATCH_DTA "b04fd9624bfd94dc96dcf4f400f7deb4"
|
2016-03-10 02:30:11 +00:00
|
|
|
#endif
|
2015-01-29 00:03:41 +00:00
|
|
|
|
2018-10-18 00:30:34 +00:00
|
|
|
// SRB2Kart-specific hashes
|
2018-11-14 05:51:36 +00:00
|
|
|
#define ASSET_HASH_GFX_KART "99c39f223d84ebc78e67ab68f3bead95"
|
|
|
|
#define ASSET_HASH_TEXTURES_KART "ec8e9b7535cf585afe72ef277b08f490"
|
2019-01-17 02:02:40 +00:00
|
|
|
#define ASSET_HASH_CHARS_KART "a83ccd0fa172b1c01216560633bd0d6b"
|
2019-01-16 01:35:20 +00:00
|
|
|
#define ASSET_HASH_MAPS_KART "1335cd064656aedca359cfbb5233ac4a"
|
2018-10-18 00:30:34 +00:00
|
|
|
#ifdef USE_PATCH_KART
|
2019-01-16 01:35:20 +00:00
|
|
|
#define ASSET_HASH_PATCH_KART "899aee1b63e731b7e2098406c85608b4"
|
2018-10-18 00:30:34 +00:00
|
|
|
#endif
|
|
|
|
|
2015-01-29 00:03:41 +00:00
|
|
|
#endif
|
|
|
|
#endif
|