opengl实现推箱子游戏讲述.docxVIP

  • 4
  • 0
  • 约1.33万字
  • 约 19页
  • 2017-05-04 发布于湖北
  • 举报
共分为4个.h文件和5个.cpp文件 keyListener.h,keyListener.cpp map.h,map.cpp texture.h,texture.cpp textview.h,textview.cpp Main.cpp Main.cpp #include GL/glut.h #include GL/glu.h #include GL/gl.h #include string.h #include stdio.h #include map.h #include Texture.h #include keyListener.h #include textview.h #pragma comment(linker,/subsystem:\Windows\ /entry:\mainCRTStartup\) Texture texture; // 文理加载类 Map map; // 地图加载类 KeyListener keylistener; //键盘监听事件类 TextView textview; int* image; int **mp; int window; //窗口 int is_pass = 0; // 是否过关标志 int *pass = is_pass; int level = 1; // 关卡 int

文档评论(0)

1亿VIP精品文档

相关文档