mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-05 06:41:23 +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:
@@ -5150,7 +5150,7 @@ EX void clearAnimations() {
|
||||
fallanims.clear();
|
||||
}
|
||||
|
||||
auto graphcm = addHook(clearmemory, 0, [] () {
|
||||
auto graphcm = addHook(hooks_clearmemory, 0, [] () {
|
||||
DEBBI(DF_MEMORY, ("clear graph memory"));
|
||||
mouseover = centerover = lmouseover = NULL;
|
||||
gmatrix.clear(); gmatrix0.clear(); current_display->all_drawn_copies.clear();
|
||||
|
||||
Reference in New Issue
Block a user