游戏乐悠悠网游开发网
标题:
neuz.exe 启动窗口
[打印本页]
作者:
mythosdev
时间:
2015-9-22 09:21
标题:
neuz.exe 启动窗口
1:打开源码文件 neuz 找到VersionCommon.h
添加 #define __LOADER_SPLASH 启动窗口
2:打开
源码
文件 neuz 找到 Neuz.cpp
查找 #include "ClientMsg.h"
在后面添加 #ifdef __LOADER_SPLASH
#include "loadersplash.h"
SPLASHLOAD NeuzLoad;
#endif
查找
void CNeuzApp::WaitLoading()
{
OutputDebugString("WaitLoading start\n");
if( m_hThread != INVALID_HANDLE_VALUE )
{
WaitForSingleObject( m_hThread, INFINITE );
m_hThread = INVALID_HANDLE_VALUE;
}
OutputDebugString("WaitLoading end\n");
}
void CNeuzApp::BeginLoadThread()
{
CResFile::ScanResource( "" );
帮这一段话 改为
void CNeuzApp::WaitLoading()
{
OutputDebugString("WaitLoading start\n");
#ifdef __LOADER_SPLASH
NeuzLoad.Load(m_hInstance,ID_PRELOADER);
NeuzLoad.Active();
#endif
if( m_hThread != INVALID_HANDLE_VALUE )
{
WaitForSingleObject( m_hThread, INFINITE );
m_hThread = INVALID_HANDLE_VALUE;
}
OutputDebugString("WaitLoading end\n");
}
void CNeuzApp::BeginLoadThread()
{
CResFile::ScanResource( "" );
#ifdef __LOADER_SPLASH
查找 #endif//__BS_CHANGING_ENVIR
后面添加
#ifdef __LOADER_SPLASH
ShowWindow( m_hWnd, SW_SHOW );
if(NeuzLoad.SHOW)
NeuzLoad.exit();
#endif
作者:
dianpula
时间:
2018-12-22 23:51
顶一个,支持
欢迎光临 游戏乐悠悠网游开发网 (http://bbs.yxlyy.club/)
Powered by Discuz! X3.2