日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

为什么写C语言弹不出窗口,居然还有SB说C写不出窗口的..

發布時間:2023/12/3 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 为什么写C语言弹不出窗口,居然还有SB说C写不出窗口的.. 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

該樓層疑似違規已被系統折疊?隱藏此樓查看此樓

decebx

.endw

assumeesi:nothing

invokeGetStockObject,WHITE_BRUSH

invokeSelectObject,hDcBack,eax

invokeDeleteObject,eax

invokeDeleteObject,@hBmpBack

popad

ret

_CreateBackGroundendp

;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

_CreateSheproc

local@hBmpSheH

pushad

invokeBitBlt,hDcShe,0,0,688,448,hDcBack,0,0,SRCCOPY

;********************************

;?畫蛇

;********************************

assumeebx:ptr?COONDS

movebx,lpTop

movesi,lpLast

moveax,[ebx].dwX

movecx,[ebx].dwY

;*******判斷蛇頭位圖

.ifdwPath?==?0

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,42,22,SRCCOPY

.elseifdwPath?==?8

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,62,22,SRCCOPY

.elseifdwPath?==?16

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,22,22,SRCCOPY

.else

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,2,22,SRCCOPY

.endif

addebx,12

;invokeGetStockObject,BLACK_BRUSH

;invokeSelectObject,hDcShe,eax

;****************************************************************************************

;?判斷蛇身位圖

.whileebx?!=?esi

moveax,[ebx].dwX

movecx,[ebx].dwY

.if[ebx].dwZ?==?HENG

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,22,42,SRCCOPY

.elseif[ebx].dwZ?==?SHU

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,2,42,SRCCOPY

.elseif[ebx].dwZ?==?LEFT_U?||?[ebx].dwZ?==?DOWN_R

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,42,42,SRCCOPY

.elseif[ebx].dwZ?==?DOWN_L?||?[ebx].dwZ?==?RIGHT_U

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,62,42,SRCCOPY

.elseif[ebx].dwZ?==?UP_R?||?[ebx].dwZ?==?LEFT_D

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,2,62,SRCCOPY

.elseif[ebx].dwZ?==?RIGHT_D?||?[ebx].dwZ?==?UP_L

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,22,62,SRCCOPY

.endif

;invokePatBlt,hDcShe,eax,ecx,16,16,PATCOPY

addebx,12

.endw

;?判斷蛇尾位圖

.if[ebx].dwZ?==?RIGHT_U?||?[ebx].dwZ?==?LEFT_U

mov?dwW,W_DOWN

.elseif?[ebx].dwZ?==?RIGHT_D?||?[ebx].dwZ?==?LEFT_D

mov?dwW,W_UP

.elseif[ebx].dwZ?==?UP_L?||?[ebx].dwZ?==?DOWN_L

mov?dwW,W_RIGHT

.elseif[ebx].dwZ?==?UP_R?||?[ebx].dwZ?==?DOWN_R

mov?dwW,W_LEFT

.endif

moveax,[ebx].dwX

movecx,[ebx].dwY

.ifdwW?==?W_UP

invokeBitBlt,hDcShe,eax,ecx,16,16,hDcSheB,42,2,SRCCOPY

.elseifdwW?==?W_DOWN

總結

以上是生活随笔為你收集整理的为什么写C语言弹不出窗口,居然还有SB说C写不出窗口的..的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。