羽化飞天
1级·灵魂力量
1级·灵魂力量
  • UID35332
  • 注册日期2013-10-26
  • 最后登录2016-06-15
  • 粉丝6
  • 关注0
  • 发帖数46
  • QQ
  • 铜币107枚
  • 威望0点
  • 银元30个
阅读:2384回复:2

【源码编译】V19圆心小地图

楼主#
更多 发布于:2014-01-05 13:50

#ifdef __VCINEMASCOPEint m_nCinemaScopeCnt = -100;#endifHRESULT CNeuzApp::Render(){ _PROFILE("CNeuzApp::Render()"); if( m_bActive == FALSE ) return S_FALSE; // Clear the viewport m_pd3dDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER | D3DCLEAR_TARGET, CWndBase::m_Theme.m_d3dcBackground, 1.0f, 0 ) ; CWndWorld* pWndWorld = (CWndWorld*)g_WndMng.GetWndBase( APP_WORLD ); if( pWndWorld ) pWndWorld ->ClearFlyTarget(); // o&#241;&#199;à&#182;§ °&#248;°Y°&#161;′é&#199;&#209; &#197;&#184;°ùμé &#184;&#174;&#189;o&#198;&#174; á&#246;&#191;&#246;áü. //pd3dDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER | D3DCLEAR_TARGET, D3DCOLOR_ARGB( 255, 90, 146, 222 ), 1.0f, 0 ) ; //m_pd3dDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER | D3DCLEAR_TARGET, D3DCOLOR_ARGB( 255, 255, 255, 255 ), 1.0f, 0 ) ; //m_pd3dDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER | D3DCLEAR_TARGET, D3DCOLOR_ARGB( 255, 0, 0, 0 ), 1.0f, 0 ) ; // Begin the scene if( g_Option.m_nShadow < 2 ) // 3&#244;à&#189;/á&#223;°£ &#184;&#184; &#189;|μμ&#191;ì &#184;êà&#187; &#184;&#184;μ&#231;′ù. { _PROFILE("Make Shadow Map"); CHECK1(); void RenderShadowMap( LPDIRECT3DDEVICE9 pd3dDevice, CObj **pList, int nMax ); if( g_pPlayer ) { CWorld *pWorld = g_pPlayer->GetWorld(); if( pWorld ) {#if __VER >= 13 // __HOUSING#if __VER >= 14 // __BS_FIX_SHADOW_ONOBJECT if( pWorld->GetID() != WI_WORLD_MINIROOM ) // 7.28±aè1&#191;&#228;&#195;&#187; : &#199;&#207;&#191;ì&#194;&#161; ±×&#184;2àú á|°&#197; RenderShadowMap( m_pd3dDevice, pWorld->m_aobjCull, pWorld->m_nObjCullSize );#else if(pWorld->GetID() != WI_WORLD_MINIROOM && pWorld->GetID() != WI_INSTANCE_OMINOUS && pWorld->GetID() != WI_INSTANCE_OMINOUS_1) RenderShadowMap( m_pd3dDevice, pWorld->m_aobjCull, pWorld->m_nObjCullSize );#endif //__VER >= 14#endif //__VER >= 13 } } CHECK2( " Render ShadowMap" ); } // &#187;&#199;&#187;t&#189;&#195; &#191;é&#188;&#199;àì &#196;&#209;á&#174;à&#214;à&#184;&#184;é ·&#187;′&#245;&#197;&#184;°ù&#191;&#161; °&#212;àóè-&#184;éà&#187; ·&#187;′&#245;&#199;&#212;. if( g_Option.m_nBloom ) { _PROFILE("Make Bloom"); CWorld* pWorld = g_WorldMng.Get(); if( pWorld && g_pPlayer && g_Glare.m_bActive ) { pWorld->Projection( m_pd3dDevice, g_Glare.m_Src.m_nWidth, g_Glare.m_Src.m_nHeight ); pWorld->SetCamera( &m_camera ); g_Glare.m_Src.BeginScene(); DWORD dwColor = CWorld::GetDiffuseColor(); m_2DRender.m_pd3dDevice->Clear(0, NULL, D3DCLEAR_ZBUFFER | D3DCLEAR_TARGET, dwColor /*D3DCOLOR_ARGB( 255, 255, 255, 255 )*/, 1.0f, 0 ) ; pWorld->RenderBase( m_pd3dDevice, g_WndMng.m_Theme.m_pFontWorld ); // á&#246;&#199;ü°ú &#191;àoêá§&#198;&#174;&#184;| 1ì&#184;&#174; ·&#187;′&#245;&#184;μ &#199;&#216;μò. g_Glare.m_Src.EndScene(); g_Glare.Blur( m_pd3dDevice ); // m_Src&#184;| m_Surface[0]&#191;&#161; oí·ˉ&#199;&#212;. } } CHECK1();#ifdef __NEW_THEME CWndNavigator* pWndNavigator = (CWndNavigator*)g_WndMng.GetWndBase(APP_NAVIGATOR); if(pWndNavigator) { pWndNavigator->Render(m_pd3dDevice); }#endif if(SUCCEEDED(m_pd3dDevice->BeginScene())) { _PROFILE("BeginScene"); CHECK2( "Begin" );
所需要的素材文件V19客户端大部分都是有的。如果没有自己找。。



sushe534
禁止发言
禁止发言
  • UID21744
  • 注册日期2012-04-10
  • 最后登录2019-06-30
  • 粉丝17
  • 关注3
  • 发帖数889
  • QQ
  • 铜币26040枚
  • 威望-252点
  • 银元690个
  • 社区居民
  • 忠实会员
沙发#
发布于:2014-01-06 09:34
用户被禁言,该主题自动屏蔽!
岁月凉茶
1级·灵魂力量
1级·灵魂力量
  • UID43632
  • 注册日期2015-04-10
  • 最后登录2016-07-29
  • 粉丝4
  • 关注3
  • 发帖数7
  • QQ
  • 铜币6枚
  • 威望2点
  • 银元0个
  • 社区居民
板凳#
发布于:2015-04-10 19:49
吊到看不懂
游客

返回顶部