mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
Consistently name every hookset with prefix hooks_
. NFC.
I'm sure this causes massive merge-conflicts in the non-public code, but I think it'd be a good idea, if only to avoid confusion between e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
This commit is contained in:
@@ -1725,7 +1725,7 @@ int textureArgs() {
|
||||
|
||||
auto texture_hook =
|
||||
addHook(hooks_args, 100, textureArgs)
|
||||
+ addHook(clearmemory, 100, [] () { config.data.pixels_to_draw.clear(); });
|
||||
+ addHook(hooks_clearmemory, 100, [] () { config.data.pixels_to_draw.clear(); });
|
||||
|
||||
int lastupdate;
|
||||
|
||||
|
Reference in New Issue
Block a user