mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
59 lines
1.9 KiB
C
59 lines
1.9 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
|
|
|
|
// Base SRB2 hashes
|
|
#define ASSET_HASH_SRB2_SRB "${SRB2_ASSET_srb2.srb_HASH}"
|
|
#ifdef USE_PATCH_DTA
|
|
#define ASSET_HASH_PATCH_DTA "${SRB2_ASSET_patch.dta_HASH}"
|
|
#endif
|
|
|
|
// SRB2Kart-specific hashes
|
|
#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}"
|
|
#ifdef USE_PATCH_KART
|
|
#define ASSET_HASH_PATCH_KART "${SRB2_ASSET_patch.kart_HASH}"
|
|
#endif
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
|
#define SRB2_GIT_DESCRIBE "${SRB2_GIT_DESCRIBE}"
|
|
#define SRB2_GIT_BRANCH "${SRB2_GIT_BRANCH}"
|
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
|
|
|
#else
|
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
|
* YYYY MM DD
|
|
* Last updated 2018 / 11 / 14
|
|
*/
|
|
|
|
// Base SRB2 hashes
|
|
#define ASSET_HASH_SRB2_SRB "c1b9577687f8a795104aef4600720ea7"
|
|
#ifdef USE_PATCH_DTA
|
|
#define ASSET_HASH_PATCH_DTA "dbbf8bc6121618ee3be2d5b14650429b"
|
|
#endif
|
|
|
|
// SRB2Kart-specific hashes
|
|
#define ASSET_HASH_GFX_KART "99c39f223d84ebc78e67ab68f3bead95"
|
|
#define ASSET_HASH_TEXTURES_KART "ec8e9b7535cf585afe72ef277b08f490"
|
|
#define ASSET_HASH_CHARS_KART "784ee9177b01c8cb26edff43eaf93d87"
|
|
#define ASSET_HASH_MAPS_KART "84018d9b35d181ca9fcc2be5a9d43a45"
|
|
#ifdef USE_PATCH_KART
|
|
#define ASSET_HASH_PATCH_KART "heyguysdidyouknowilovedogssomuch"
|
|
#endif
|
|
|
|
#endif
|
|
#endif
|