⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d.cpp

📁 推箱子的程序是用来解释一种推箱子的技术的源代码的一个创意
💻 CPP
字号:
   {
      man [ i ].x += po.x * 100;
      man [ i ].y += po.y * 100;
     }

     Polyline ( hdc, man, 5);


    }
    void MoveCoordinate ( HDC hdc, int cxClient, int cyClient)
    {
     SetMapMode ( hdc, MM_ISOTROPIC);
     SetWindowExtEx ( hdc, 1500, 1500, NULL);
        SetViewportExtEx (hdc, cxClient , cyClient, NULL) ;
      SetViewportOrgEx ( hdc, cxClient / 10, cyClient / 10 , NULL);
    }

    LRESULT CALLBACK WinProc ( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
    {
     static int   cxClient, cyClient;
     static int   cxChar, cxCaps, cyChar;

     static int   iLevel; // 关
     static int   iNum; // 统计步数
     static BOOL   fPass;  // 过关
     static BOOL   bMan;


     static struct PointSex *pLevelMap; // 每一关的地图链表
     struct PointSex   *pPS0, *pPS1;  // 每一关的地图链表

     static struct Points *pDest, *pBox;
     static struct Points *pPs2;



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -