aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 12:24:18 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 12:24:18 +0200
commitce7006e3c063fc1383c23d2e0e36917b31d04e3f (patch)
tree08c0240655c50eb17c1e9f82e66d019d2bc9afc0 /src/tools.h
parentbbb4f99918d00308b52af3289c29624bfeb0066b (diff)
downloadlanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.tar.gz
lanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.tar.bz2
lanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.zip
C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKey
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 ddf5c67..673d6f0 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -8,8 +8,8 @@ class Universe;
8 8
9// ################################################################################################# 9// #################################################################################################
10 10
11void push_registry_subtable_mode(lua_State* L, UniqueKey key_, const char* mode_); 11void push_registry_subtable_mode(lua_State* L, RegistryUniqueKey key_, const char* mode_);
12void push_registry_subtable(lua_State* L, UniqueKey key_); 12void push_registry_subtable(lua_State* L, RegistryUniqueKey key_);
13 13
14enum class VT 14enum class VT
15{ 15{
@@ -88,7 +88,7 @@ void initialize_allocator_function(Universe* U, lua_State* L);
88// ################################################################################################# 88// #################################################################################################
89 89
90// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 90// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/
91static constexpr UniqueKey CONFIG_REGKEY{ 0x31cd24894eae8624ull }; // registry key to access the configuration 91static constexpr RegistryUniqueKey CONFIG_REGKEY{ 0x31CD24894EAE8624ull }; // registry key to access the configuration
92 92
93// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 93// crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/
94static constexpr UniqueKey LOOKUP_REGKEY{ 0x5051ed67ee7b51a1ull }; // registry key to access the lookup database 94static constexpr RegistryUniqueKey LOOKUP_REGKEY{ 0x5051ED67EE7B51A1ull }; // registry key to access the lookup database