Location:
Search - mfc directdraw
Search list
Description:
软件简介:
学着ATL,又在学DirectX,突发灵感,为何不用ATL写一个游戏引擎?!!!
呜呼,心血澎湃,于是开始写。
/////////////////////////////////////////////////
设计原则:
提供功能性代码,相当于简化DirectX功能接口,使之更方便使用。
不提供游戏上层的逻辑关系组织。
如果将来用它来写游戏,游戏的数据、逻辑关系,都需要游戏程序里建立、保存。
/////////////////////////////////////////////////
为何用ATL来写?
本想用DLL来封装,但是DLL的接口是函数,面太宽,一者不方便使用,再说了,写代码也麻烦。
ATL可以用接口号,比如DirectDraw用一个接口,DirectSound用一个接口....
/////////////////////////////////////////////////
为何不用MFC的COM来写?
麻烦。
那些底层的AddRef,Release都得自己来写,太麻烦了。
/////////////////////////////////////////////////
现在刚开始写。先写DirectDraw部分。
写了一点点,但是这部分的框架已经出来了。
/////////////////////////////////////////////////
大家自己注册一下吧,或者重编一下程序。
我用的是DirectX7.0版本。
-software brief : ATL learn, in school DirectX and sudden inspiration, why not write an ATL game engine? ! ! ! Alas, the efforts of emotion and began to write. ///////////////////////////////////////////////// Design the principle : to provide functional code, which is equivalent to simplify DirectX functional interface to make it more user friendly. No game on the upper logical organization. If it is used to write games, games of the data, logic, games need to establish procedures to preserve. Why use ///////////////////////////////////////////////// ATL to write? To use the DLL to package, but the interface is the DLL function, too much width, a person inconvenient to use, say, write code in trouble. ATL interfaces can be used, such as an interface with DirectDraw, with a DirectSound inte
Platform: |
Size: 254561 |
Author: dasny |
Hits:
Description: 运用lib进行解码,运用directdraw进行显示,运用MFC实现控制的自己写的程式。-use lib decode, using DirectDraw for, MFC use their control of the program to write.
Platform: |
Size: 259473 |
Author: 陈伟 |
Hits:
Description: 本程序介绍了一个最简单的、基于MFC的DirectX程序: CBasicApp (派生于 CWinApp) CBasicWnd (创建主窗口,派生于CWnd) CGame (DirectX通用类,包括 DirectDraw, DirectInput, DirectSound)-the procedures of one of the most simple, based on the DirectX MFC : CBasicApp (derived from CWinApp) CBasicWnd (founded main window, derived from CWnd) CGame (DirectX generic categories, including DirectDraw, DirectInput, DirectSound)
Platform: |
Size: 17191 |
Author: 李涛 |
Hits:
Description: 本程序用VC2003实现一个照片浏览器。使用DirectDraw,MFC,FreeImage(a OpenSource photo library),etc。此软件功能强大,像ACDSEE。-VC2003 the procedures used to achieve a photo browser. Use DirectDraw, MFC, FreeImage (a OpenSource photo library), etc. This powerful software, like ACDSEE.
Platform: |
Size: 157185 |
Author: 王茂 |
Hits:
Description: 关于DirectX中DirectDraw的运用,用MFC框架写的,特别适合熟悉VC的朋友学习DirectX编程.-DirectDraw DirectX on the use of MFC framework used to write, especially for a friend familiar with the VC learning DirectX programming.
Platform: |
Size: 143951 |
Author: 钟志勇 |
Hits:
Description: 很好用的DirectDraw画图代码-good use of DirectDraw drawing code
Platform: |
Size: 65536 |
Author: 杨逸 |
Hits:
Description: 本程序介绍了一个最简单的、基于MFC的DirectX程序: CBasicApp (派生于 CWinApp) CBasicWnd (创建主窗口,派生于CWnd) CGame (DirectX通用类,包括 DirectDraw, DirectInput, DirectSound)-the procedures of one of the most simple, based on the DirectX MFC : CBasicApp (derived from CWinApp) CBasicWnd (founded main window, derived from CWnd) CGame (DirectX generic categories, including DirectDraw, DirectInput, DirectSound)
Platform: |
Size: 17408 |
Author: 李涛 |
Hits:
Description: 关于DirectX中DirectDraw的运用,用MFC框架写的,特别适合熟悉VC的朋友学习DirectX编程.-DirectDraw DirectX on the use of MFC framework used to write, especially for a friend familiar with the VC learning DirectX programming.
Platform: |
Size: 143360 |
Author: 钟志勇 |
Hits:
Description: Sameball/// ////History Apr.30 完成DirectDraw 初始化,可以在Release Edition 正常工作 May.1 完成了主要的数据类 May.2 更正了SameBallMap 的错误,完成了界面。 May.2 再次更正SameBallMap 的错误 May.8 添加DirectSound 部分,主要代码引自 Eugene Olafsen(美)等 著 MFC Programming with Visual C++ 6 Unleashed May.11 基本完成,除了改变窗口大小。 May.12 全部完成,可以将窗口设为两种大小,并可保存最后的改变。 May.20 更正成绩保存代码,以及状态栏异常////////////////Classes: Ball 球类,包含球的颜色(0,1,2),球的状态(int),球的外部标识。 MapNode 网结类,定义了一个专用的二维链表类的节点,包含该节点的 挂球位,该节点的组号,节点的外部标识。 SameBallMap 包含二维链表(由15*10个节点组成),实现对游戏的球对象的 完全管理. -Sameball /// /// //// History Apr.30 DirectDraw completed initialization, in the Release Edition normal work May.1 completed a major data categories SameBallMap May.2 corrected the error, completed the interface . May.2 SameBallMap again corrected the erroneous May.8 added DirectSound, the major source cited in Eugene Olafsen (US) waiting for MFC Programming with Visual C 6 May.11 basically completed 119,000, in addition to changing the size of the window. May.12 completed, the window can be set to both the size and preservation of the last change. May.20 corrected results preservation code, and status bar abnormal //////////////// Classes : Ball ball, the ball includes the color (0,1,2), the state- (int), the ball the external logo. MapNode network node categories, the definition of
Platform: |
Size: 3647488 |
Author: 李茜 |
Hits:
Description: 运用lib进行解码,运用directdraw进行显示,运用MFC实现控制的自己写的程式。-use lib decode, using DirectDraw for, MFC use their control of the program to write.
Platform: |
Size: 259072 |
Author: 陈伟 |
Hits:
Description: Using DirectDraw in Document/View Architecture:I was working on some design for Galloping Ghost Productions when I discovered there is a way to integrate a DirectDraw interface into Document/View architecture. I wrote this CDDrawSystem class (located in DDrawSystem.h and DDrawSystem.cpp files) to display graphics using DirectDraw.
-Using DirectDraw in Document/View Archit ecture : I was working on some design for Galloping Ghost Productions when I discovered there is a way to i ntegrate a DirectDraw interface into Document/View architecture. I wrote this CDDrawSystem class (located in DDrawSystem.h and DDrawSyst em.cpp files) to display graphics using Direct Draw.
Platform: |
Size: 38912 |
Author: au |
Hits:
Description: DirectX_demoSimple Direct Draw Using MFC
Platform: |
Size: 27648 |
Author: tiankui6658 |
Hits:
Description: 本程序用VC2003实现一个照片浏览器。使用DirectDraw,MFC,FreeImage(a OpenSource photo library),etc。此软件功能强大,像ACDSEE。-VC2003 the procedures used to achieve a photo browser. Use DirectDraw, MFC, FreeImage (a OpenSource photo library), etc. This powerful software, like ACDSEE.
Platform: |
Size: 156672 |
Author: 王茂 |
Hits:
Description: 演示如何创建并使用DIRECTDRAW进行画图等操作,包括二次缓冲翻转等。-Demonstration of how to create and use DirectDraw for drawing and other operations, including inversion, such as the second buffer.
Platform: |
Size: 656384 |
Author: 李辉 |
Hits:
Description: 本书籍详细介绍了MFC的DirectDraw的使用方法和提高的技巧,是很好的学习资料-This book details the use of MFC s DirectDraw methods and enhancing the skills, is a very good learning materials
Platform: |
Size: 131072 |
Author: 曹军 |
Hits:
Description: windows mobile 6.0下,用DirectDraw写的sprite的动画程序,有兴趣的可以看一下.-windows mobile 6.0, using DirectDraw write sprite animation procedures are interested can look at.
Platform: |
Size: 48128 |
Author: snower_tt |
Hits:
Description: 程序员超级开发宝典:.net,com,delphi,java,oracle,sql,vb,vc,软件工程等内容。其中vc篇包括
[VC_C_]NT系统下木马进程的隐藏(11774Bytes)
[VC_C_]简单谈谈C++ 递归的思想实现以及和循环的关系(3537Bytes)
[VC_C_]C++语法之函数重载(1938Bytes)
[VC_C_]C语言编程风格(2200Bytes)
[VC_C_]如何用Shell实现程序组快捷方式的添加(3387Bytes)
[VC_C_]移动到平面(Blitting to Surfaces)(11290Bytes)
[VC_C_]DirectX丢失及恢复平面(12480Bytes)
[VC_C_]DirectX创建平面(6312Bytes)
[VC_C_]两个小时学会DirectDraw编程(6647Bytes)
[VC_C_]关于const的8点说明(2482Bytes)
[VC_C_]泛型编程在非C++语言中的实现之探讨(5930Bytes)
[VC_C_]删除文件中指定的部分内容(2096Bytes)
[VC_C_]TOOLHELP32 In WIN2000(4138Bytes)
[VC_C_]Windows下DLL编程技术及应用(7167Bytes)
[VC_C_]MFC and Design Patterns(8117Bytes)
[VC_C_]DVD解码源代码大公布(10169Bytes)
[VC_C_]C++Builder实现Directx截流媒体屏代码(10363Bytes)-err
Platform: |
Size: 4411392 |
Author: 辛欣 |
Hits:
Description: 使用MFC+DirectDraw编写的窗口程序,可以作为一个简单游戏的基本框架,-MFC+ DirectDraw prepared to use a window procedure can be used as a basic framework of a simple game,
Platform: |
Size: 29696 |
Author: zhangruiqiang |
Hits:
Description: 动态实时显示元件,基于GDI的MFC编程,具有较强的参考价值-Dynamic real-time display devices, the GDI-based MFC programming, with strong reference value
Platform: |
Size: 3042304 |
Author: yufeng |
Hits:
Description: 一个使用VC开发的播放器;
涉及到的技术:MFC编程\DirectShow多媒体框架以及DirectDraw编程;-A player Developed by VC++ Use MFC\DirectShow\DirectDraw Technology in it
Platform: |
Size: 12855296 |
Author: 李新 |
Hits: