added hooks_initgame, hooks_drawcell allows replacement

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

No files matched your search

+4 -1
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);