RandomWorld_1231_1000

所属分类:DirextX编程
开发工具:Visual C++
文件大小:719KB
下载次数:48
上传日期:2008-03-12 18:42:07
上 传 者dan59314
说明:  DirectX 2d 遊戲源碼 含各種特校引勤
(DirectX 2d game source code containing a variety of special school primers ground)

文件列表:
bckgnd.bmp (741174, 2001-12-27)
bckgnd.pal (2785, 2001-12-14)
bckgnd01.bmp (187702, 2001-12-16)
bmp.cpp (10019, 2001-12-25)
bmp.h (1614, 2001-12-27)
Daniel.ICO (766, 2001-12-24)
DanielMath.cpp (14709, 2001-12-27)
DanielMath.h (645, 2001-12-27)
DDrawSetup.cpp (8175, 2001-12-28)
ddrawUtil.cpp (5291, 2001-12-27)
ddrawUtil.h (1262, 2001-12-27)
effect.cpp (3189, 2001-12-28)
Effect.h (615, 2001-12-26)
Font.cpp (2156, 2001-12-12)
Font.h (503, 2001-12-07)
Glvar.h (1352, 2001-12-31)
leafs.bmp (308280, 2001-12-13)
Main.cpp (34800, 2001-12-31)
msgWnd.bmp (41078, 2001-12-27)
MyArt.jpg.bmp (493080, 2001-12-27)
Object.cpp (8878, 2001-12-26)
Object.h (1878, 2001-12-26)
Palette.cpp (2656, 2001-12-28)
Palette.h (365, 2001-12-28)
particle.cpp (944, 2001-12-28)
particle.h (530, 2001-12-27)
Random.cpp (1037, 2001-12-20)
Random.h (580, 2001-12-20)
RandomWorld.aps (17712, 2001-12-24)
RandomWorld.dsp (5961, 2001-12-28)
RandomWorld.dsw (545, 2001-12-03)
RandomWorld.ncb (230400, 2001-12-31)
RandomWorld.opt (57856, 2001-12-31)
RandomWorld.plg (2123, 2001-12-31)
RandomWorld.rc (1723, 2001-12-24)
RandomWorld.rct (1592, 2001-12-24)
resource.h (460, 2001-12-24)
sprite.cpp (6362, 2001-12-29)
sprite.h (1514, 2001-12-25)
... ...

********************************************************************* 2001/12/29-------------------------------------------------------- 1. lpPriSurface, lpSecSurface 和 Sprites 用 VideoMemory, 其餘的 Surfaces 用 SystemMemory。 2. 用SystemMemory 的 Surface 在影像處理的 pixels 存取上,速度遠快於 存取 VideoMemory上的 Surface,分子系統上得到驗證。 3. VideoMemory 的 Surface 和 Palette 會因 Alt+Tab 而 lost 不見,因此必須重新 Restore。 SystemMemory 上的 Surface 和 Palette 則不會 lost 不見,因此不必重新 Restore。 4. 預先建立 AlphaTable[], 用查表法增快 BlurSurfaces()時速度。 5. 預先建立 SinTable[], CosTable[], 用查表法增快分子運動計算時的速度。 6. 視窗模式時,lpSecSurface不可以 Attach 到 lpPriSurface 上。 7. 全螢幕模式: lpPriSurface ---> no color key, no clipper, ^ | PageFlip(); lpSecSurface ---> no color key, no clipper. ^ | BltFast(); (直接將 lpSecBuffer 的 Surface 整塊複製到 lpSecSurface,不做任何透明處理, 也無 Clipper) lpSecBuffer ---> with color key, with clipper (接收所有物件圖) ^ | Blt(); (將所有物件以 colorkey, clipper, 做透明、剪貼處理。) 所有物件的 Surfaces --> without color key, no clipper 8. CSprite::CreateSurface() 不知道為什麼不能建在 SystemSurface 上。

近期下载者

相关文件


收藏者