1
0
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:
Arthur O'Dwyer
2020-04-11 14:40:12 -04:00
parent 84881f0e04
commit 934e3d9a42
20 changed files with 32 additions and 32 deletions

View File

@@ -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;