随笔分类 -  Game Programming

Game programming...
游戏类初步一..
摘要:// CCanvas 的实现桥接, 主要是为了能适应GDI, GAPI两种图像绘制接口.class CCanvasImpl{public: virtual void SetCanvasSize(int cx, int cy) = 0; virtual void BltBitmap(int dstX, int dstY, int dstCX, int dstCY, CBitmap *pBitmap,... 阅读全文

posted @ 2008-06-18 23:24 Jacken 阅读(333) 评论(0) 推荐(0)

C++ EventHandler v0.02
摘要:今天对C++ EventHandler 进行了改善...// 下面是EventHandler.h 文件.#pragma once#include <list>using namespace std;class EventHandlerBase{public: EventHandlerBase(int uMsgID) : m_uMsgID(uMsgID){} virtual void H... 阅读全文

posted @ 2008-06-15 11:31 Jacken 阅读(1087) 评论(0) 推荐(0)

导航