From 4343dc14c1db7ef9e5d57ed1d40740439e1c51d6 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 26 Apr 2024 10:17:09 +0200 Subject: Formalize a few coding style rules, start to enforce them for constants --- src/tools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tools.h') diff --git a/src/tools.h b/src/tools.h index 755a0c6..53edbe2 100644 --- a/src/tools.h +++ b/src/tools.h @@ -87,8 +87,8 @@ void initialize_allocator_function(Universe* U, lua_State* L); // ################################################################################################# -// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ -static constexpr RegistryUniqueKey CONFIG_REGKEY{ 0x31CD24894EAE8624ull }; // registry key to access the configuration +// xxh64 of string "kConfigRegKey" generated at https://www.pelock.com/products/hash-calculator +static constexpr RegistryUniqueKey kConfigRegKey{ 0x608379D20A398046ull }; // registry key to access the configuration -// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ -static constexpr RegistryUniqueKey LOOKUP_REGKEY{ 0x5051ED67EE7B51A1ull }; // registry key to access the lookup database +// xxh64 of string "kLookupRegKey" generated at https://www.pelock.com/products/hash-calculator +static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // registry key to access the lookup database -- cgit v1.2.3-55-g6feb