Beispiel #1
0
BOOL LoadData()
{
	BOOL result;
	/* 定石データの読み込み */
#if 0
	result = OpenBook("src\\books.bin");
	if (result == FALSE)
	{
		return result;
	}
#endif
	/* 評価テーブルの読み込み */
	result = OpenEvalData("src\\eval.bin");
	if (result == FALSE)
	{
		return result;
	}

	/* MPCテーブルの読み込み */
	result = OpenMpcInfoData(mpcInfo, 22, "src\\mpc.dat");
	if (result == FALSE)
	{
		return result;
	}

	result = OpenMpcInfoData(mpcInfo_end, 25, "src\\mpc_end.dat");

	return result;
}
Beispiel #2
0
void * FbViewThread::Entry()
{
	try {
		switch (m_view.GetType()) {
			case FbViewItem::Book: OpenBook(); break;
			case FbViewItem::Auth: OpenAuth(); break;
			default: OpenNone();
		}
	} catch (...) {}
	return NULL;
}