游戏开发论坛

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

map test的跟踪

[复制链接]

14

主题

72

帖子

106

积分

注册会员

Rank: 2

积分
106
发表于 2003-11-12 10:57:00 | 显示全部楼层 |阅读模式
用2台机器调试,一台host machine用来单步 ,1台remote target machine用来显示,
输入map test后调用CGameConsoleDialog::OnTextChanged
以下是call stack
CGameConsoleDialog::OnTextChanged(vgui2:anel * 0x076b7518) line 495
vgui2::Panel::OnMessage(KeyValues * 0x00f023c8, unsigned int 77210824) line 2227 + 90 bytes
vgui2::VPanel::SendMessage(KeyValues * 0x00f023c8, unsigned int 77210824) line 543 + 47 bytes
CVGui:ispatchMessages() line 742 + 56 bytes
CVGui::RunFrame() line 452 + 8 bytes
CBaseUI::Paint(int 0, int 0, int 640, int 480) line 574
VGui_Paint() line 693
V_RenderView() line 178
SCR_UpdateScreen() line 191
Host_UpdateScreen() line 853
_Host_RunFrame_Render() line 1269
_Host_RunFrame(float 0.0217977) line 1507
Host_RunFrame(float 0.0217977, int 1) line 1584 + 9 bytes
CHostState::State_Run(float 0.0217977, int 1) line 289 + 13 bytes
CHostState::FrameUpdate(float 0.0217977, int 1) line 423
HostState_Frame(float 0.0217977, int 1) line 79
CEngine::Frame() line 202 + 28 bytes
RunListenServer(void * 0x00400000, char * 0x100207a0 g_szBasedir, void * (const char *, int *)* 0x10001028 LauncherFactory(char const *,int *)) line 280
CEngineAPI::Run(void * 0x00400000, char * 0x100207a0 g_szBasedir, void * (const char *, int *)* 0x10001028 LauncherFactory(char const *,int *)) line 323 + 17 bytes
LauncherMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00132387, int 1) line 472 + 33 bytes

跟踪后发现打开的文件是 test_dx60.bsp文件,遂将maps下的test.*改成test_dx60.*,于是打开了这个bsp

为什么加了_dx60还没来得及看

4

主题

75

帖子

92

积分

注册会员

Rank: 2

积分
92
发表于 2003-11-13 21:37:00 | 显示全部楼层

Re: map test的跟踪

源代码有个地方检测显卡支持DX的版本
如果是DX6显卡就会在地图文件名加上_dx60
可能以后会为DX6显卡和DX8,9显卡分别做地图
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-5-11 03:16

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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