mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-01 22:42:59 +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:
2
cell.cpp
2
cell.cpp
@@ -1175,7 +1175,7 @@ EX void clearCellMemory() {
|
||||
gp::gp_adj.clear();
|
||||
}
|
||||
|
||||
auto cellhooks = addHook(clearmemory, 500, clearCellMemory);
|
||||
auto cellhooks = addHook(hooks_clearmemory, 500, clearCellMemory);
|
||||
|
||||
EX bool isNeighbor(cell *c1, cell *c2) {
|
||||
for(int i=0; i<c1->type; i++) if(c1->move(i) == c2) return true;
|
||||
|
||||
Reference in New Issue
Block a user