aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-26 10:17:09 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-26 10:17:09 +0200
commit4343dc14c1db7ef9e5d57ed1d40740439e1c51d6 (patch)
treee3e7d192218291e4d089835fd63ac052142aa673 /src/tools.h
parent0b5108a8a0d9b7a4a63bd6aae0271b71a887beea (diff)
downloadlanes-4343dc14c1db7ef9e5d57ed1d40740439e1c51d6.tar.gz
lanes-4343dc14c1db7ef9e5d57ed1d40740439e1c51d6.tar.bz2
lanes-4343dc14c1db7ef9e5d57ed1d40740439e1c51d6.zip
Formalize a few coding style rules, start to enforce them for constants
Diffstat (limited to 'src/tools.h')
-rw-r--r--src/tools.h8
1 files changed, 4 insertions, 4 deletions
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);
87 87
88// ################################################################################################# 88// #################################################################################################
89 89
90// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 90// xxh64 of string "kConfigRegKey" generated at https://www.pelock.com/products/hash-calculator
91static constexpr RegistryUniqueKey CONFIG_REGKEY{ 0x31CD24894EAE8624ull }; // registry key to access the configuration 91static constexpr RegistryUniqueKey kConfigRegKey{ 0x608379D20A398046ull }; // registry key to access the configuration
92 92
93// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 93// xxh64 of string "kLookupRegKey" generated at https://www.pelock.com/products/hash-calculator
94static constexpr RegistryUniqueKey LOOKUP_REGKEY{ 0x5051ED67EE7B51A1ull }; // registry key to access the lookup database 94static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // registry key to access the lookup database