该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
void tool(HDC DC2);
void mousechange(int x ,int y);
void drawinfo(HDC DC2,int x,int y);
void checkinfo(HDC DC2,int x,int y);
void story(HDC DC2,HDC windowDC,int &money);
LRESULT CALLBACK WinSunProc(
HWND hwnd, // handle to window
UINT uMsg, // message identifier
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
);
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // command line
int nCmdShow // show state
)
{
WNDCLASS wndcls;
wndcls.cbClsExtra=0;
wndcls.cbWndExtra=0;
wndcls.hbrBackground=(HBRUSH)GetStockObject(BLACK_BRUSH);