mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
45 lines
No EOL
1.5 KiB
C
45 lines
No EOL
1.5 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
|
|
|
|
#define ASSET_HASH_MAIN_KART "${SRB2_ASSET_main.kart_HASH}"
|
|
#define ASSET_HASH_GFX_PK3 "${SRB2_ASSET_gfx.pk3_HASH}"
|
|
#define ASSET_HASH_TEXTURES_PK3 "${SRB2_ASSET_textures.pk3_HASH}"
|
|
#define ASSET_HASH_CHARS_PK3 "${SRB2_ASSET_chars.pk3_HASH}"
|
|
#define ASSET_HASH_MAPS_PK3 "${SRB2_ASSET_maps.pk3_HASH}"
|
|
#ifdef USE_PATCH_FILE
|
|
#define ASSET_HASH_PATCH_PK3 "${SRB2_ASSET_patch.pk3_HASH}"
|
|
#endif
|
|
|
|
#define SRB2_COMP_REVISION "${SRB2_COMP_REVISION}"
|
|
#define SRB2_COMP_BRANCH "${SRB2_COMP_BRANCH}"
|
|
|
|
#define CMAKE_ASSETS_DIR "${CMAKE_SOURCE_DIR}/assets"
|
|
|
|
#else
|
|
|
|
/* Manually defined asset hashes for non-CMake builds
|
|
* Last updated 2019 / 01 / 18 - Kart v1.0.2 - Main assets
|
|
* Last updated 2020 / 08 / 30 - Kart v1.3 - patch.kart
|
|
*/
|
|
|
|
#define ASSET_HASH_MAIN_KART "00000000000000000000000000000000"
|
|
#define ASSET_HASH_GFX_PK3 "00000000000000000000000000000000"
|
|
#define ASSET_HASH_TEXTURES_PK3 "00000000000000000000000000000000"
|
|
#define ASSET_HASH_CHARS_PK3 "00000000000000000000000000000000"
|
|
#define ASSET_HASH_MAPS_PK3 "00000000000000000000000000000000"
|
|
#ifdef USE_PATCH_FILE
|
|
#define ASSET_HASH_PATCH_PK3 "00000000000000000000000000000000"
|
|
#endif
|
|
|
|
#endif
|
|
#endif |