Files
AC6_recomp/thirdparty/rexglue-sdk/include/rex/version.h.in
T
Dipshet dd106a2f20 Added build-stamp watermark
Extract the build watermark into its own BuildStampOverlay (rex/ui/overlay/build_stamp_overlay.*), a non-interactive drawer in the lower-left corner - independent of the F3 debug overlay. It stamps the short git commit hash (REXGLUE_GIT_HASH, captured by CMake via git rev-parse --short HEAD -> version.h; re-run cmake to refresh) via REXGLUE_BUILD_HASH_STAMP, instead of the build date. Drawing is gated by the show_build_stamp cvar (category UI, default true) so players can hide it; registered next to the other built-in overlays in rex_app.
2026-07-14 20:37:15 +02:00

26 lines
1.0 KiB
C

#pragma once
// Auto-generated by CMake -- do not edit
#define REXGLUE_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define REXGLUE_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define REXGLUE_VERSION_PATCH @PROJECT_VERSION_PATCH@
#define REXGLUE_VERSION_STRING "@PROJECT_VERSION@"
#define REXGLUE_BUILD_PLATFORM "@REX_PLATFORM@"
#define REXGLUE_BUILD_TIMESTAMP "@REXGLUE_BUILD_TIMESTAMP@"
#define REXGLUE_GIT_HASH "@REXGLUE_GIT_HASH@"
// Requires REXGLUE_BUILD_CONFIG compile definition
// Title: "[rexglue-v0.7.1-Release]"
#define REXGLUE_BUILD_TITLE \
"[rexglue-v" REXGLUE_VERSION_STRING "-" REXGLUE_BUILD_CONFIG "]"
// Overlay: "build: rexglue-v0.7.1-win-amd64-Release@20260320_1430"
#define REXGLUE_BUILD_STAMP \
"build: rexglue-v" REXGLUE_VERSION_STRING "-" REXGLUE_BUILD_PLATFORM \
"-" REXGLUE_BUILD_CONFIG "@" REXGLUE_BUILD_TIMESTAMP
// Watermark: "rexglue-v0.7.1-Release @5120188b" (short git commit hash)
#define REXGLUE_BUILD_HASH_STAMP \
"rexglue-v" REXGLUE_VERSION_STRING "-" REXGLUE_BUILD_CONFIG " @" REXGLUE_GIT_HASH