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
|
|
|
|
|
|
|
|
#define ASSET_HASH_SRB2_SRB "${SRB2_ASSET_srb2.srb_HASH}"
|
|
|
|
#define ASSET_HASH_PLAYER_DTA "${SRB2_ASSET_player.dta_HASH}"
|
|
|
|
#define ASSET_HASH_RINGS_DTA "${SRB2_ASSET_rings.dta_HASH}"
|
|
|
|
#define ASSET_HASH_ZONES_DTA "${SRB2_ASSET_zones.dta_HASH}"
|
2016-03-09 18:30:11 -08:00
|
|
|
#ifdef USE_PATCH_DTA
|
2015-01-28 16:03:41 -08:00
|
|
|
#define ASSET_HASH_PATCH_DTA "${SRB2_ASSET_patch.dta_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-03-04 18:15:57 -08:00
|
|
|
#define SRB2_GIT_DESCRIBE "${SRB2_GIT_DESCRIBE}"
|
|
|
|
#define SRB2_GIT_BRANCH "${SRB2_GIT_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
|
|
|
|
* Last updated 2000 / 00 / 00
|
|
|
|
*/
|
2015-01-28 16:03:41 -08:00
|
|
|
#define ASSET_HASH_SRB2_SRB "c1b9577687f8a795104aef4600720ea7"
|
|
|
|
#define ASSET_HASH_ZONES_DTA "303838c6c534d9540288360fa49cca60"
|
|
|
|
#define ASSET_HASH_PLAYER_DTA "cfca0f1c73023cbbd8f844f45480f799"
|
|
|
|
#define ASSET_HASH_RINGS_DTA "85901ad4bf94637e5753d2ac2c03ea26"
|
2016-03-09 18:30:11 -08:00
|
|
|
#ifdef USE_PATCH_DTA
|
|
|
|
#define ASSET_HASH_PATCH_DTA "0c66790502e648bfce90fdc5bb15722e"
|
|
|
|
#endif
|
2015-01-28 16:03:41 -08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|