From 1f1f9f7fcf278331d4689af99754bfa98e60e760 Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 25 Feb 2013 21:57:38 +0100 Subject: add dYesNoWindow_c defs and update src/koopatlas/core.cpp to be compatible --- include/game.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'include') diff --git a/include/game.h b/include/game.h index 67a9906..d90ce0f 100755 --- a/include/game.h +++ b/include/game.h @@ -3821,6 +3821,37 @@ class dStockItem_c : public dBase_c { int getIconPictureIDforPlayer(int i); }; +class dYesNoWindow_c : public dBase_c { + public: + int onCreate(); + int onDelete(); + int onExecute(); + int onDraw(); + + dYesNoWindow_c(); + ~dYesNoWindow_c(); + + m2d::EmbedLayout_c layout; + dStateWrapper_c state; + + nw4r::lyt::Pane *rootPane; + + nw4r::lyt::Picture + *P_yesBase_00, *P_noBase_00, *P_centerBase_00; + + nw4r::lyt::TextBox + *T_questionS_00, *T_question_00, + *T_otehonTextS_01, *T_otehonText_01, + *T_needCoinX_00, *T_needcoin_00, + *T_yes_00, *T_yes_01, + *T_no_00, *T_no_01; + + nw4r::lyt::Pane *N_otehonText_00, *N_saveIcon_00; + + int current, previous, type, starCoinRequiredCount; + bool layoutLoaded, visible, close, animationActive, keepOpen, cancelled, hasBG; +}; + class StageE4 { public: -- cgit v1.2.3