资源简介
在1.5的基础上增加了"启发式"搜索,速度稍快!
代码片段和文件信息
//Copyright (c) 2008-2010 ClineSoft Inc.
//
//All rights reserved.
//
//Redistribution and use in source and binary forms with or without
//modification are permitted provided that the following conditions are met:
//
//Redistributions of source code must retain the above copyright notice
//this list of conditions and the following disclaimer.
//
//Redistributions in binary form must reproduce the above copyright notice
//this list of conditions and the following disclaimer in the documentation
//and/or other materials provided with the distribution.
//
//Neither the name of the ClineSoft Inc. nor the names of its
//contributors may be used to endorse or promote products derived from this
//software without specific prior written permission.
//
//Created Date: 3/19/2008
//Created By: Cline (clineyuan@sina.com)
//
//
// BGxOptionsDlg.cpp : implementation file
//
#include “stdafx.h“
#include “BoxGame.h“
#include “BGxOptionsDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CBGxOptionsDlg dialog
IMPLEMENT_DYNAMIC(CBGxOptionsDlg CDialog)
CBGxOptionsDlg::CBGxOptionsDlg(CWnd* pParent /*=NULL*/)
: CDialog(CBGxOptionsDlg::IDD pParent)
{
m_Options.m_bSnapshotLayouts = FALSE;
m_Options.m_nProbeSteps = 5;
m_Options.m_nProbeMaxBoxCount = 5;
m_Options.m_nSnapshotLayoutMin = 0;
m_Options.m_nSnapshotLayoutMax = 500;
m_Options.m_bCheckImmovableBoxes = TRUE;
m_Options.m_bCheckDependency = FALSE;
m_Options.m_bClearCachedLoops = FALSE;
m_Options.m_nIntervalLayouts = 500000;
}
CBGxOptionsDlg::~CBGxOptionsDlg()
{
}
void CBGxOptionsDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX IDC_COMBO_PROBE_STEPS m_wndProbeSteps);
DDX_Text(pDX IDC_OPTIONS_MAX_BOX_COUNT m_Options.m_nProbeMaxBoxCount);
DDX_Text(pDX IDC_OPTIONS_MIN m_Options.m_nSnapshotLayoutMin);
DDX_Text(pDX IDC_OPTIONS_MAX m_Options.m_nSnapshotLayoutMax);
DDX_Check(pDX IDC_OPTIONS_INSIGHT m_Options.m_bSnapshotLayouts);
DDX_Check(pDX IDC_OPTIONS_CHECK_GROUND_BOXES m_Options.m_bCheckImmovableBoxes);
DDX_Check(pDX IDC_OPTIONS_CHECK_DEPENDENCY m_Options.m_bCheckDependency);
DDX_Check(pDX IDC_OPTIONS_CHECK_CLEAR_SUB_LAYOUT m_Options.m_bClearCachedLoops);
DDX_Text(pDX IDC_OPTIONS_INTERVAL_LAYOUT m_Options.m_nIntervalLayouts);
DDV_MinMaxByte(pDX m_Options.m_nProbeMaxBoxCount 1 255);
DDV_MinMaxUInt(pDX m_Options.m_nIntervalLayouts 50000 1000000);
}
BEGIN_MESSAGE_MAP(CBGxOptionsDlg CDialog)
ON_BN_CLICKED(IDC_OPTIONS_INSIGHT &CBGxOptionsDlg::OnBnClickedOptionsInsight)
ON_BN_CLICKED(IDC_OPTIONS_CHECK_CLEAR_SUB_LAYOUT &CBGxOptionsDlg::OnBnClickedOptionsCheckClearSubLayout)
END_MESSAGE_MAP()
// CBGxOptionsDlg message handlers
BOOL CBGxOptionsDlg::OnInitDialog()
{
CDialog::OnInitDialog();
int nCurSel = 0;
for(int i = 0; i <= BOX_GAME_PROBE_STEP_MAX; ++i)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-12-13 13:11 BoxGameV2.0\
文件 5192 2009-06-21 18:20 BoxGameV2.0\BGxOptionsDlg.cpp
文件 1776 2008-03-19 21:01 BoxGameV2.0\BGxOptionsDlg.h
文件 3744 2009-08-05 06:49 BoxGameV2.0\BitString.cpp
文件 1428 2009-08-05 06:49 BoxGameV2.0\BitString.h
目录 0 2009-08-05 06:54 BoxGameV2.0\Boxes\
文件 369 2008-03-12 20:13 BoxGameV2.0\Boxes\1.bgm
文件 113 2008-03-14 19:39 BoxGameV2.0\Boxes\125.bgm
文件 81 2008-03-14 19:42 BoxGameV2.0\Boxes\126.bgm
文件 91 2008-03-14 19:44 BoxGameV2.0\Boxes\128.bgm
文件 115 2008-03-14 19:46 BoxGameV2.0\Boxes\129.bgm
文件 101 2008-03-18 22:26 BoxGameV2.0\Boxes\135.bgm
文件 76 2008-03-18 22:29 BoxGameV2.0\Boxes\138.bgm
文件 85 2008-03-07 08:49 BoxGameV2.0\Boxes\14.bgm
文件 85 2008-03-21 22:02 BoxGameV2.0\Boxes\141.bgm
文件 79 2009-05-28 08:12 BoxGameV2.0\Boxes\15-1.bgm
文件 77 2009-05-16 23:07 BoxGameV2.0\Boxes\15.bgm
文件 107 2008-03-16 20:16 BoxGameV2.0\Boxes\150.bgm
文件 96 2008-03-26 23:21 BoxGameV2.0\Boxes\154.bgm
文件 66 2008-03-18 22:32 BoxGameV2.0\Boxes\168.bgm
文件 66 2009-07-19 11:34 BoxGameV2.0\Boxes\168a.bgm
文件 107 2008-03-10 11:51 BoxGameV2.0\Boxes\18.bgm
文件 79 2008-03-18 22:34 BoxGameV2.0\Boxes\180.bgm
文件 69 2008-03-16 15:53 BoxGameV2.0\Boxes\190.bgm
文件 78 2008-03-16 15:55 BoxGameV2.0\Boxes\191.bgm
文件 273 2008-03-10 22:26 BoxGameV2.0\Boxes\2.bgm
文件 124 2008-03-07 09:07 BoxGameV2.0\Boxes\25.bgm
文件 60 2008-03-10 09:34 BoxGameV2.0\Boxes\2_1.bgm
文件 59 2008-03-10 13:37 BoxGameV2.0\Boxes\3.bgm
文件 117 2008-03-10 11:38 BoxGameV2.0\Boxes\35.bgm
文件 117 2008-03-13 20:27 BoxGameV2.0\Boxes\351.bgm
............此处省略120个文件信息
- 上一篇:c语言实现国密SM2
- 下一篇:网络电话_源代码_C语言编写的
相关资源
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- C语言推箱子win控制台
- 基于ege图形的推箱子游戏
- 推箱子小游戏源码
- MFC五子棋游戏
- MFC UDP编程
- MFC的异步网络通讯应用程序
- C++MFC模块讲解,黑发程序员课程整理
- 推箱子 c语言代码
- 一个简单而强大的基于MFC的web server源
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- MFCaccess.rar
- VC++MFC课程设计的学生成绩管理系统
- MFC 日历控件 万年历 Calendar自绘
- CrystalDiskInfo-HDD/SSD硬盘信息,SMART信息
- MFC自定义界面HUI,高效简单,含详细
- 仿射密码-Affine cipher
- c++MFC车牌自动识别定位,只能定位和
- mfc+sql 酒店客房管理系统
- 基于图割的图像分割OpenCV+MFC实现
- MFC绘制Bezier曲线B样条曲线曲线拟合
- MFC坦克大战
- VC++ 中国象棋经典游戏源代码
评论
共有 条评论