1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-18 06:35:12 +00:00

added hooks_initgame, hooks_drawcell allows replacement

This commit is contained in:
Zeno Rogue
2018-05-26 01:11:19 +02:00
parent 5cd3ccabb8
commit aafe464bc6
3 changed files with 7 additions and 4 deletions

View File

@@ -85,10 +85,13 @@ void welcomeMessage() {
int trailer_cash0 = 5;
int trailer_cash1 = 15;
bool trailer_safety = true;
hookset<void()> *hooks_initgame;
// initialize the game
void initgame() {
DEBB(DF_INIT, (debugfile,"initGame\n"));
callhooks(hooks_initgame);
yendor::init(1);