2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-15 10:54:18 +00:00

Added Donate button to the login screen

Added fixes from Christian Walther for the Python SDL tuples
Added plLocalizationEditor source and project
This commit is contained in:
CyanWorlds
2012-01-18 13:46:47 -08:00
parent 6cdae2bfe7
commit 196657fa60
14 changed files with 2057 additions and 2 deletions

View File

@ -199,8 +199,9 @@ BEGIN
RTEXT "Product String",IDC_PRODUCTSTRING,88,86,194,8
CONTROL "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,7,49,
288,152
PUSHBUTTON "Need an account?",IDC_URULOGIN_GAMETAPLINK,95,175,110,
14,BS_FLAT
PUSHBUTTON "Need an account?",IDC_URULOGIN_GAMETAPLINK,32,174,95,14,
BS_FLAT
PUSHBUTTON "Donate",IDC_URULOGIN_GAMETAPLINK2,175,174,95,14,BS_FLAT
END
IDD_URULOGIN_EULA DIALOGEX 0, 0, 300, 318

View File

@ -87,6 +87,7 @@
#define IDC_BUTTON1 1030
#define IDC_URULOGIN_GAMETAPLINK 1030
#define IDC_AUTH_MESSAGE 1031
#define IDC_URULOGIN_GAMETAPLINK2 1031
#define IDC_PRODUCTSTRING 1033
#define IDC_STATUS_TEXT 1034
#define IDC_HOTKEY1 1035

View File

@ -1419,6 +1419,12 @@ BOOL CALLBACK UruLoginDialogProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
return TRUE;
}
else if (HIWORD(wParam) == BN_CLICKED && LOWORD(wParam) == IDC_URULOGIN_GAMETAPLINK2)
{
ShellExecute(NULL, "open", "http://www.mystonline.com/donate", NULL, NULL, SW_SHOWNORMAL);
return TRUE;
}
break;
}