1 #ifndef SAKI_GIRL_SHIRAITODAI_AWAI_H 2 #define SAKI_GIRL_SHIRAITODAI_AWAI_H 4 #include "../table/princess.h" 5 #include "../table/irs_ctrl.h" 19 bool checkInit(
Who who,
const Hand &init,
const Table &table,
int iter)
override;
20 void onMonkey(std::array<Exist, 4> &exists,
const Table &table)
override;
26 Claim hrhBargainClaim(
int plan,
T34 t)
override;
27 int hrhBargainPlanCt()
override;
28 void onHrhBargained(
int plan,
Mount &mount)
override;
29 std::optional<HrhInitFix> onHrhBeg(
util::Rand &rand,
const Table &table,
38 std::array<T34, 3> heads;
44 bool usingDaburii()
const;
45 bool checkInitSelf(
const Hand &init,
int iter)
const;
46 bool checkInitRival(
const Hand &init,
int iter)
const;
47 T34 kanuraOfPlan(
int plan)
const;
48 static int lastCorner(
int dice,
int kanCt);
52 bool waitable(InitSketch &ske,
const TileCount &stock,
T34 wait);
55 static const int DRAG_MK = 100;
56 static const int ACCEL_MK = 800;
57 static const int EJECT_MK = 100;
63 IrsCheckItem::CHECK_ENABLED
69 bool mNeedFirstDraw =
false;
71 std::vector<T34> mLastWaits;
80 #endif // SAKI_GIRL_SHIRAITODAI_AWAI_H Interface for working with the 'bargain' stage.
Definition: princess.h:38
void onDigUradoraIndic(const Table &table, Mount &mount, util::Stactor< Who, 4 > openers) override
Avoid hitting more than 4 uradoras when using daburii.
Definition: shiraitodai_awai.cpp:117
IrsCtrlGetter attachIrsOnDice() override
Overriden to define a dice-time IRS's showing condition.
Definition: shiraitodai_awai.cpp:203
Claim
Definition: princess.h:47
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_awai.cpp:40
Definition: shiraitodai_awai.h:14
Definition: tile_count.h:17
void onFlipKandoraIndic(const Table &table, Mount &mount) override
Avoid hitting kandora when using daburii.
Definition: shiraitodai_awai.cpp:104
Definition: irs_ctrl.h:60
Definition: choices.h:130
Wrapper of a "T Girl::*" value where T implements IrsCtrl.
Definition: girl.h:77
Stactor = statically allocated vector.
Definition: stactor.h:247
Data object for directly assigning init-hand.
Definition: princess.h:16