1 #ifndef SAKI_GIRL_SHIRAITODAI_SUMIRE_H 2 #define SAKI_GIRL_SHIRAITODAI_SUMIRE_H 4 #include "../form/parsed_view.h" 5 #include "../table/irs_ctrl.h" 20 bool checkInit(
Who who,
const Hand &init,
const Table &table,
int iter)
override;
24 std::string popUpStr()
const override;
26 void onTableEvent(
const Table &table,
const TableEvent &event)
override;
32 void handleDrawSelf(
const Table &table,
Mount &mount,
bool rinshan);
33 void handleDrawTarget(
const Table &table,
Mount &mount,
bool rinshan);
35 bool canStartAiming(
const Table &table);
36 bool canShootTarget(
const Table &table);
37 bool chooseFinalWait(
const Table &table,
Mount &mount,
bool allowNum19,
bool allowZ);
38 int evalTargetHappy(
const Table &table,
const Mount &mount,
const Hand &dream,
const Action &act);
39 bool planAimming(
const Table &table,
Mount &mount);
45 void shapeYaku(
const Table &table,
Mount &mount,
bool rinshan);
46 bool shapeYakuhai(
const Table &table,
Mount &mount,
bool rinshan);
50 enum IrsIndex { MAIN, RIGHT, CROSS, LEFT, ALLOW_NUM19, ALLOW_Z };
56 IrsCheckItem::CHECK_ENABLED,
57 IrsCheckItem::CHILD_RADIO_DEFAULT,
58 IrsCheckItem::CHILD_RADIO,
59 IrsCheckItem::CHILD_RADIO,
60 IrsCheckItem::CHILD_CHECK,
61 IrsCheckItem::CHILD_CHECK
71 std::bitset<34> mTargetShits;
81 #endif // SAKI_GIRL_SHIRAITODAI_SUMIRE_H Definition: table_event.h:23
Definition: parsed_view.h:13
Definition: irs_ctrl.h:121
IrsCtrlGetter attachIrsOnDrawn(const Table &table) override
Overriden to define a drawn-time IRS's showing condition.
Definition: shiraitodai_sumire.cpp:107
void onIrsChecked(const Table &table, Mount &mount) override
Called after self's IRS-check action.
Definition: shiraitodai_sumire.cpp:51
void onDice(util::Rand &rand, const Table &table) override
Called when someone is about to dice.
Definition: shiraitodai_sumire.cpp:18
Definition: choices.h:130
Definition: shiraitodai_sumire.h:14
void onDraw(const Table &table, Mount &mount, Who who, bool rinshan) override
Called when someone is about to draw a tile from the mountain.
Definition: shiraitodai_sumire.cpp:43
Wrapper of a "T Girl::*" value where T implements IrsCtrl.
Definition: girl.h:77
Stactor = statically allocated vector.
Definition: stactor.h:247