mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
This commit is contained in:
@ -52,9 +52,9 @@ target_link_libraries(plUruLauncher pnNetBase)
|
||||
target_link_libraries(plUruLauncher pnNetCli)
|
||||
target_link_libraries(plUruLauncher pnNetCommon)
|
||||
target_link_libraries(plUruLauncher pnNetProtocol)
|
||||
target_link_libraries(plUruLauncher pnProduct)
|
||||
target_link_libraries(plUruLauncher pnTimer)
|
||||
target_link_libraries(plUruLauncher pnUtils)
|
||||
target_link_libraries(plUruLauncher pnUUID)
|
||||
|
||||
target_link_libraries(plUruLauncher ${DirectX_LIBRARIES})
|
||||
target_link_libraries(plUruLauncher ${OPENSSL_LIBRARIES})
|
||||
|
@ -449,13 +449,10 @@ static void WindowThreadProc(void *) {
|
||||
|
||||
::SetDlgItemText( s_dialog, IDC_TEXT, "Initializing patcher...");
|
||||
SetTimer(s_dialog, kEventTimer, 250, 0);
|
||||
|
||||
char productString[256];
|
||||
wchar_t productStringW[256];
|
||||
ProductString(productStringW, arrsize(productStringW));
|
||||
StrToAnsi(productString, productStringW, arrsize(productString));
|
||||
SendMessage(GetDlgItem(s_dialog, IDC_PRODUCTSTRING), WM_SETTEXT, 0, (LPARAM) productString);
|
||||
|
||||
|
||||
SendMessage(GetDlgItem(s_dialog, IDC_PRODUCTSTRING), WM_SETTEXT, 0,
|
||||
(LPARAM)plProduct::ProductString().c_str());
|
||||
|
||||
s_dialogCreateEvent.Signal();
|
||||
|
||||
MessagePump(s_dialog);
|
||||
|
@ -59,7 +59,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pnUtils/pnUtils.h"
|
||||
#include "pnNetBase/pnNetBase.h"
|
||||
#include "pnAsyncCore/pnAsyncCore.h"
|
||||
#include "pnProduct/pnProduct.h"
|
||||
#include "plProduct.h"
|
||||
#include "pnNetCli/pnNetCli.h"
|
||||
#include "plNetGameLib/plNetGameLib.h"
|
||||
#include "pnEncryption/plChecksum.h"
|
||||
|
Reference in New Issue
Block a user