mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
hook in generateCanvas
This commit is contained in:
parent
1621b0b556
commit
3ca08cff9a
@ -1523,7 +1523,12 @@ EX namespace patterns {
|
||||
return ep.parse();
|
||||
}
|
||||
|
||||
EX hookset<int(cell*)> *hooks_generate_canvas;
|
||||
|
||||
EX int generateCanvas(cell *c) {
|
||||
|
||||
int i = callhandlers(-1, hooks_generate_canvas, c);
|
||||
if(i != -1) return i;
|
||||
switch(whichCanvas) {
|
||||
#if CAP_CRYSTAL
|
||||
case 'K':
|
||||
|
Loading…
Reference in New Issue
Block a user