游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3238|回复: 1

A11_射击、爆炸mouse 中 调用 鼠标接口函数一直出错 求解?

[复制链接]

1

主题

1

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2007-5-23 01:58:00 | 显示全部楼层 |阅读模式
--------------------Configuration: 射击、爆炸 - Win32 Debug--------------------
Compiling...
StdAfx.cpp
g:\学opengl编3d游戏\include\inputsystem.h(13) : error C2629: unexpected 'class CKeyboard ('
g:\学opengl编3d游戏\include\inputsystem.h(13) : error C2238: unexpected token(s) preceding ';'
g:\学opengl编3d游戏\include\inputsystem.h(27) : error C2146: syntax error : missing ';' before identifier 'm_pDIDev'
g:\学opengl编3d游戏\include\inputsystem.h(27) : error C2501: 'LPDIRECTINPUTDEVICE8' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(27) : error C2501: 'm_pDIDev' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(36) : error C2629: unexpected 'class CMouse ('
g:\学opengl编3d游戏\include\inputsystem.h(36) : error C2238: unexpected token(s) preceding ';'
g:\学opengl编3d游戏\include\inputsystem.h(49) : error C2146: syntax error : missing ';' before identifier 'm_pDIDev'
g:\学opengl编3d游戏\include\inputsystem.h(49) : error C2501: 'LPDIRECTINPUTDEVICE8' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(49) : error C2501: 'm_pDIDev' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(57) : error C2629: unexpected 'class CJoystick ('
g:\学opengl编3d游戏\include\inputsystem.h(57) : error C2238: unexpected token(s) preceding ';'
g:\学opengl编3d游戏\include\inputsystem.h(66) : error C2146: syntax error : missing ';' before identifier 'm_pDIDev'
g:\学opengl编3d游戏\include\inputsystem.h(66) : error C2501: 'LPDIRECTINPUTDEVICE8' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(66) : error C2501: 'm_pDIDev' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(99) : error C2146: syntax error : missing ';' before identifier 'm_pDI'
g:\学opengl编3d游戏\include\inputsystem.h(99) : error C2501: 'LPDIRECTINPUT8' : missing storage-class or type specifiers
g:\学opengl编3d游戏\include\inputsystem.h(99) : error C2501: 'm_pDI' : missing storage-class or type specifiers
Error executing cl.exe.

射击、爆炸.exe - 18 error(s), 0 warning(s)

只是运行 “运行程序 ”里面的 那个程序是没有问题  ( 不可以运行那个 不用接口函数的 程序出现 原地打转,不过他的程序可以编译)


求解  [em4] [em4] [em4] [em4]

42

主题

334

帖子

344

积分

中级会员

Rank: 3Rank: 3

积分
344
发表于 2007-6-14 16:27:00 | 显示全部楼层

Re:A11_射击、爆炸mouse 中 调用 鼠标接口函数一直出错 求解

《学OpenGL编3D游戏》源程序做了些修改。在http://www.dbiy.com的《学OpenGL编3D游戏》电子版处有下载。
修改内容:
1、消除了天空盒的接缝。
2、解决了在高档显卡上3D动画人物无贴图的错误。
3、自带DirectX8.0
                                    谢谢大家对《学程序编游戏》的支持。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 03:09

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表