?? chess.cpp
字號(hào):
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USEFORM("AboutDlog.cpp", AboutDlg);
USEUNIT("ChessErr.cpp");
USEFORM("ColorDlog.cpp", ColorDlg);
USEFORM("EditForm2.cpp", EditForm);
USEUNIT("EndGameDlog.cpp");
USEUNIT("Evaluate.cpp");
USEUNIT("GlobalFun.cpp");
USEFORM("InfoForm3.cpp", InfoForm);
USEFORM("InputMinPerGame.cpp", InputMinPerGameDlg);
USEFORM("InputPlyDepth.cpp", InputPlyDlg);
USEFORM("InputSecPerMove.cpp", InputSecPerMoveDlg);
USEFORM("MainForm1.cpp", MainForm);
USEUNIT("MoveGener.cpp");
USEFORM("PieceValueDlog.cpp", PieceValueDlg);
USEUNIT("TreeSearch.cpp");
USERC("chess.rc");
USERES("chess.res");
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TMainForm), &MainForm);
Application->CreateForm(__classid(TPieceValueDlg), &PieceValueDlg);
Application->CreateForm(__classid(TInputSecPerMoveDlg), &InputSecPerMoveDlg);
Application->CreateForm(__classid(TInputPlyDlg), &InputPlyDlg);
Application->CreateForm(__classid(TInputMinPerGameDlg), &InputMinPerGameDlg);
Application->CreateForm(__classid(TAboutDlg), &AboutDlg);
Application->CreateForm(__classid(TColorDlg), &ColorDlg);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -