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,
NUM_ROUNDRES
} |
| |
| enum | ActCode {
NOTHING,
PASS,
SWAP_OUT,
SPIN_OUT,
SWAP_RIICHI,
SPIN_RIICHI,
CHII_AS_LEFT,
CHII_AS_MIDDLE,
CHII_AS_RIGHT,
PON,
DAIMINKAN,
ANKAN,
KAKAN,
TSUMO,
TSUMO,
RON,
RON,
RYUUKYOKU,
END_TABLE,
NEXT_ROUND,
DICE,
IRS_CHECK,
IRS_CLICK,
NUM_ACTCODE
} |
| |
| enum | Suit {
M = 0,
P = 1,
S = 2,
F = 3,
Y = 4
} |
| |
| enum | Wait {
NONE,
ISORIDE,
BIBUMP,
CLAMP,
SIDE,
BIFACE
} |
| |
|
|
util::Stactor< Action, 44 > | allMaxs (const util::Range< Action > &range, std::function< int(const Action &)> measure, int floor) |
| | Pick all max values according to 'measure'.
|
| |
|
auto | isValidSuitStr (const std::string &s) -> bool |
| |
|
auto | toLower (const char *s) -> std::string |
| |
|
auto | parseMountExit (const std::string &s) -> std::pair< Mount::Exit, bool > |
| |
|
auto | tableToDrids (sol::table idsTable) -> util::Stactor< T37, 5 > |
| |
|
auto | handMod1 (sol::table ids, const LuaManagedRef< Hand > &hand) -> int |
| |
|
auto | handMod2 (T34 indic, const LuaManagedRef< Hand > &hand) -> int |
| |
|
auto | formCtor1 (LuaUserErrorHandler &error, const LuaManagedRef< Hand > &full, const FormCtx &ctx, const Rule &rule, sol::table drids, sol::table urids) -> sol::optional< Form > |
| |
|
auto | formCtor2 (LuaUserErrorHandler &error, const LuaManagedRef< Hand > &ready, const T37 &pick, const FormCtx &ctx, const Rule &rule, sol::table drids, sol::table urids) -> sol::optional< Form > |
| |
|
auto | tableGetFocus (const Table &table) -> std::tuple< sol::optional< Who >, sol::optional< T37 >, bool > |
| |
|
void | setupLuaClasses (const sol::environment &env, LuaUserErrorHandler &error) |
| |
|
void | setupLuaRand (sol::environment env) |
| |
|
void | setupLuaTile (sol::environment env, LuaUserErrorHandler &error) |
| |
|
void | setupLuaWho (sol::environment env) |
| |
|
void | setupLuaMeld (sol::environment env, LuaUserErrorHandler &error) |
| |
|
void | setupLuaExist (sol::environment env, LuaUserErrorHandler &error) |
| |
|
void | setupLuaMount (sol::environment env) |
| |
|
void | setupLuaTileCount (sol::environment env) |
| |
|
void | setupLuaHand (sol::environment env) |
| |
|
void | setupLuaForm (sol::environment env, LuaUserErrorHandler &error) |
| |
|
void | setupLuaRule (sol::environment env) |
| |
|
void | setupLuaFormCtx (sol::environment env) |
| |
|
void | setupLuaGame (sol::environment env) |
| |
|
auto | toLuaTable (sol::environment env, const TableEvent &event) -> sol::table |
| |
|
void | to_json (json &content, const TableMsgContent::JustPause &pause) |
| |
|
unsigned | createSwapMask (const TileCount &closed, const util::Stactor< T37, 13 > &choices) |
| |
|
std::string | stringOf (const T37 &t, bool lay) |
| |
|
void | to_json (json &array, const util::Range< T37 > &ts) |
| |
|
void | to_json (json &array, const util::Range< T34 > &ts) |
| |
|
void | to_json (json &obj, const M37 &bark) |
| |
|
void | to_json (json &array, const util::Stactor< M37, 4 > &barks) |
| |
|
void | to_json (json &obj, const IrsCheckItem &item) |
| |
|
void | to_json (json &obj, const Rule &rule) |
| |
|
void | to_json (json &root, const Replay &replay) |
| |
|
void | to_json (json &obj, const Replay::Round &round) |
| |
|
void | to_json (json &obj, const Replay::Track &track) |
| |
|
Action | makeAction (const std::string &actStr, int actArg, const std::string &actTile) |
| |
|
template<typename T > |
| std::string | marshal (const T &obj) |
| |
|
template<typename T > |
| void | rotate (T &arr) |
| |
|
bool | isY (T34 t) |
| |
|
bool | isF (T34 t) |
| |
|
bool | isZ (T34 t) |
| |
|
bool | isYao (T34 t) |
| |
|
bool | isNum19 (T34 t) |
| |
|
int | operator% (T34 ind, const Hand &hand) |
| |
|
int | operator% (const util::Stactor< T37, 5 > &inds, const Hand &hand) |
| |
|
std::ostream & | operator<< (std::ostream &os, const Parsed4 &p) |
| |
|
int | operator% (const util::Stactor< T37, 5 > &indics, T34 t) |
| |
|
void | testAll () |
| |
|
void | testUtil () |
| |
|
void | testTileCount () |
| |
|
void | testParse4 () |
| |
|
void | testParse7And13 () |
| |
|
void | testParseAll () |
| |
|
void | testHand () |
| |
|
void | testForm () |
| |
|
void | testTable () |
| |
|
void | testFormGb () |
| |
|
std::ostream & | operator<< (std::ostream &os, C34 c) |
| |
|
template<size_t MAX> |
| std::ostream & | operator<< (std::ostream &os, const util::Stactor< C34, MAX > &cs) |
| |
|
int | operator% (T34 ind, const M37 &m) |
| |
|
std::ostream & | operator<< (std::ostream &os, const M37 &m) |
| |
|
std::ostream & | operator<< (std::ostream &os, T34 t) |
| |
|
template<size_t MAX> |
| std::ostream & | operator<< (std::ostream &os, const util::Stactor< T34, MAX > &ts) |
| |
|
int | operator% (const util::Stactor< T37, 5 > &inds, const T37 &d) |
| |
|
std::ostream & | operator<< (std::ostream &os, const T37 &t) |
| |
|
template<size_t MAX> |
| std::ostream & | operator<< (std::ostream &os, const util::Stactor< T37, MAX > &ts) |
| |
uncomment cheat flags to enable debug-cheat build