diff options
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/gui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h index 20266276ce..f83620c8f9 100644 --- a/engines/kyra/gui.h +++ b/engines/kyra/gui.h @@ -43,6 +43,11 @@ struct Button { typedef Common::Functor1<Button*, int> CallbackFunctor; typedef Common::SharedPtr<CallbackFunctor> Callback; + Button() : nextButton(0), index(0), keyCode(0), keyCode2(0), data0Val1(0), data1Val1(0), data2Val1(0), flags(0), + data0ShapePtr(0), data1ShapePtr(0), data2ShapePtr(0), data0Callback(), data1Callback(), data2Callback(), + dimTableIndex(0), x(0), y(0), width(0), height(0), data0Val2(0), data0Val3(0), data1Val2(0), data1Val3(0), + data2Val2(0), data2Val3(0), flags2(0), mouseWheel(0), buttonCallback(), arg(0) {} + Button *nextButton; uint16 index; |