hge 写的贪吃蛇源码
hge->System_SetState(HGE_LOGFILE, "gamefinal.log"); hge->System_SetState(HGE_FRAMEFUNC, FrameFunc); hge->System_SetState(HGE_RENDERFUNC, RenderFunc); hge->System_SetState(HGE_TITLE, "gamefinal"); hge->System_SetState(HGE_FPS, 50); hge->System_SetState(HGE_WINDOWED, true); hge->System_SetState(HGE_SCREENWIDTH, 800); hge->System_SetState(HGE_SCREENHEIGHT, 600); hge->System_SetState(HGE_SCREENBPP, 32); hge->System_SetState(HGE_SHOWSPLASH,false);
文件列表
snake.rar
(预估有个7文件)
gamefinal.cpp
12KB
ball.h
742B
menuitem.cpp
4KB
snake.h
812B
menugui.h
533B
menuitem.h
986B
snake.cpp
2KB
用户评论