mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
- Changes by Martin Grogan (groganm AT gmail DOT com, IRC nick _Lazybones_):
* Make the appearance and layout more like the MS version * Added functionality for resetting scores * Auto-complete the board, when the player is guaranteed to win - Changes by myself: * Add a new define WINEMINE_REGKEY to define the registry path of the WineMine settings only one time * Store the settings in HKCU instead of HKLM and use REG_DWORD, when it makes sense * Get WineMine to compile warning-free under MSVC * Make the new "seconds" string translateable * Make all WineMine resource files consistent and ensure that all visual elements are visible See issue #2060 for more details. svn path=/trunk/; revision=31032
This commit is contained in:
parent
291c2b99ef
commit
107d3b15e1
22 changed files with 1042 additions and 964 deletions
|
@ -87,7 +87,12 @@ BOOL CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||
BOOL CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
||||
{
|
||||
static BOARD *p_board;
|
||||
HKEY hkey;
|
||||
unsigned i;
|
||||
char data[16];
|
||||
char key_name[8];
|
||||
char times[35];
|
||||
char szSeconds[23];
|
||||
|
||||
switch( uMsg ) {
|
||||
case WM_INITDIALOG:
|
||||
|
@ -98,18 +103,56 @@ BOOL CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
|||
SetDlgItemText( hDlg, (IDC_NAME1) + i, p_board->best_name[i] );
|
||||
|
||||
/* set best times */
|
||||
LoadString( p_board->hInst, IDS_SECONDS, szSeconds, sizeof(szSeconds) );
|
||||
|
||||
for( i = 0; i < 3; i++ )
|
||||
SetDlgItemInt( hDlg, (IDC_TIME1) + i, p_board->best_time[i], FALSE );
|
||||
{
|
||||
wsprintf(times, "%d %s", p_board->best_time[i], szSeconds);
|
||||
SetDlgItemText( hDlg, (IDC_TIME1) + i, times );
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
switch( LOWORD( wParam ) ) {
|
||||
switch( LOWORD( wParam ) )
|
||||
{
|
||||
case IDOK:
|
||||
case IDCANCEL:
|
||||
EndDialog( hDlg, 0 );
|
||||
return TRUE;
|
||||
|
||||
case IDRESET:
|
||||
if( RegCreateKeyEx( HKEY_CURRENT_USER, WINEMINE_REGKEY, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hkey, NULL ) != ERROR_SUCCESS)
|
||||
return TRUE;
|
||||
|
||||
LoadString( p_board->hInst, IDS_SECONDS, szSeconds, sizeof(szSeconds) );
|
||||
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
p_board->best_time[i] = 999;
|
||||
wsprintf(p_board->best_name[i], "Nobody");
|
||||
wsprintf(times, "%d %s", p_board->best_time[i], szSeconds);
|
||||
|
||||
SetDlgItemText( hDlg, (IDC_NAME1) + i, p_board->best_name[i] );
|
||||
SetDlgItemText( hDlg, (IDC_TIME1) + i, times );
|
||||
}
|
||||
|
||||
/* write changes to registry */
|
||||
for( i = 0; i < 3; i++ )
|
||||
{
|
||||
wsprintf( key_name, "Name%u", i );
|
||||
strncpy( data, p_board->best_name[i], sizeof( data ) );
|
||||
RegSetValueEx( hkey, key_name, 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
}
|
||||
|
||||
for( i = 0; i < 3; i++ )
|
||||
{
|
||||
wsprintf( key_name, "Time%u", i );
|
||||
RegSetValueEx( hkey, key_name, 0, REG_DWORD, (LPBYTE) &p_board->best_time[i], sizeof(DWORD) );
|
||||
}
|
||||
RegCloseKey( hkey );
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Ìèíè÷êè"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Èãðà" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Íîâà", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Èçïîëçâàíå íà &âúïðîñèòåëíà (?)", IDM_MARKQ
|
||||
|
@ -19,69 +19,67 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Âåù", IDM_EXPERT
|
||||
MENUITEM "&Íàãàæäàíå", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Íàé- êúñè âðåìåíà", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Èç&õîä", IDM_EXIT
|
||||
}
|
||||
POPUP "&Ñâåäåíèÿ" {
|
||||
MENUITEM "&Íàé- êúñè âðåìåíà", IDM_TIMES
|
||||
MENUITEM "&Çà", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Íàé- êúñè âðåìåíà"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
EXSTYLE DS_SHELLFONT
|
||||
{
|
||||
GROUPBOX "Íàé- êúñè âðåìåíà", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Íà÷èíàåù", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Íàïðåäíàë", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Âåù", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Íàé- êúñè âðåìåíà", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Íà÷èíàåù:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Íàïðåäíàë:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Âåù:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Ïîçäðàâè!"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
EXSTYLE DS_SHELLFONT
|
||||
{
|
||||
LTEXT "Âúâåäåòå èìåòî ñè", IDIGNORE, 10, 10, 150, 10
|
||||
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Íàãîäåíà èãðà"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
EXSTYLE DS_SHELLFONT
|
||||
{
|
||||
LTEXT "Ðåäà", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Ñòúëáà", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Ìèíè", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Îòêàç", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Ðåäà:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Ñòúëáà:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Ìèíè:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Îòêàç", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Çà"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
EXSTYLE DS_SHELLFONT
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 100, 10
|
||||
LTEXT "under the Wine license", IDNONE, 35, 35, 100, 10
|
||||
ICON "WINEMINE", IDNONE, 10, 25, 20, 20
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Äîáðå", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Cercamines"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Opcions" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nou", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "In&terrogant (?)", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Expert", IDM_EXPERT
|
||||
MENUITEM "Pe&rsonalitzat", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Millors Temps", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Sortida", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Millors Temps", IDM_TIMES
|
||||
MENUITEM "En q&uant a", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Millors temps"
|
||||
CAPTION "Millors Temps"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Millors Temps", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Principiant", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Avançat", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Expert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "Acceptar", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Millors Temps", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Principiant:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Avançat:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Expert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "Acceptar", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Acceptar", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Joc Personalitzat"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Files", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Columnes", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mines", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Acceptar", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Cancel·lar", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Files:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Columnes:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mines:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Acceptar", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Cancel·lar", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -4,44 +4,47 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
IDS_SECONDS, "Sekunden"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Optionen" {
|
||||
POPUP "&Spiel" {
|
||||
MENUITEM "&Neu", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Merker (?)", IDM_MARKQ
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Anfänger", IDM_BEGINNER
|
||||
MENUITEM "&Fortgeschrittene", IDM_ADVANCED
|
||||
MENUITEM "&Experten", IDM_EXPERT
|
||||
MENUITEM "&Benutzerdefiniert", IDM_CUSTOM
|
||||
MENUITEM "&Profis", IDM_EXPERT
|
||||
MENUITEM "&Benutzerdefiniert...", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Bestzeiten", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Beenden", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Bestzeiten", IDM_TIMES
|
||||
MENUITEM "&Über", IDM_ABOUT
|
||||
POPUP "&?" {
|
||||
MENUITEM "&Info...", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Bestzeiten"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Bestzeiten", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Anfänger", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Fortgeschrittene", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Experten", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Bestzeiten", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Anfänger:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Fortgeschrittene:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Profis:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "Bestzeiten &löschen", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -54,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Benutzerdefiniertes Spiel"
|
||||
CAPTION "Custom Game"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Zeilen", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Spalten", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Minen", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Höhe:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Breite:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Minen:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -74,7 +77,7 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Über"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "Unter der Wine Lizenz", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "ÍáñêáëéåõôÞò"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&ÅðéëïãÝò" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&ÍÝï", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Óçìåßùóç ìå åñùôçìáôéêü", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Åéäéêüò", IDM_EXPERT
|
||||
MENUITEM "&Ðñïóùðéêü", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ãñçãïñüôåñïé ×ñüíïé", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "¸&îïäïò", IDM_EXIT
|
||||
}
|
||||
POPUP "&Ðëçñïöïñßåò" {
|
||||
MENUITEM "&Ãñçãïñüôåñïé ×ñüíïé", IDM_TIMES
|
||||
MENUITEM "&Ó÷åôéêÜ...", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Ãñçãïñüôåñïé ×ñüíïé"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Ãñçãïñüôåñïé ×ñüíïé", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Áñ÷Üñéïò", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Ðñï÷ùñçìÝíïò", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Åéäéêüò", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Ãñçãïñüôåñïé ×ñüíïé", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Áñ÷Üñéïò:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Ðñï÷ùñçìÝíïò:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Åéäéêüò:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OÊ", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OÊ", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Ðñïóùðéêü Ðáé÷íßäé"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "ÃñáììÝò", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "ÓôÞëåò", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "ÍÜñêåò", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OÊ", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Áêýñùóç", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "ÃñáììÝò:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "ÓôÞëåò:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "ÍÜñêåò:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OÊ", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Áêýñùóç", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -75,9 +77,9 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Ó÷åôéêÜ..."
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "under the Wine license", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
|
||||
DEFPUSHBUTTON "OÊ", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
|
|
@ -4,45 +4,47 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Options" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&New", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Mark Question", IDM_MARKQ
|
||||
MENUITEM "&Marks (?)", IDM_MARKQ
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Beginner", IDM_BEGINNER
|
||||
MENUITEM "&Advanced", IDM_ADVANCED
|
||||
MENUITEM "&Intermediate", IDM_ADVANCED
|
||||
MENUITEM "&Expert", IDM_EXPERT
|
||||
MENUITEM "&Custom", IDM_CUSTOM
|
||||
MENUITEM "&Custom...", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Best Times...", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "E&xit", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Fastest Times", IDM_TIMES
|
||||
POPUP "&Help" {
|
||||
MENUITEM "&About", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Fastest Times"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Fastest Times", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Beginner", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Advanced", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Expert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Fastest Times", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Beginner:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Intermediate:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Expert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -52,22 +54,22 @@ FONT 8, "MS Shell Dlg"
|
|||
{
|
||||
LTEXT "Please enter your name", IDIGNORE, 10, 10, 150, 10
|
||||
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
|
||||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Custom Game"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Rows", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Cols", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mines", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Height:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Width:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mines:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -75,9 +77,9 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "About"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "under the Wine license", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Opciones" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nuevo", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Marcar Interrogantes", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Experto", IDM_EXPERT
|
||||
MENUITEM "&Juego Personalizado", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Mejores Tiempos", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Salir", IDM_EXIT
|
||||
}
|
||||
POPUP "&Información" {
|
||||
MENUITEM "&Mejores Tiempos", IDM_TIMES
|
||||
MENUITEM "&Acerca de", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Fastest Times"
|
||||
CAPTION "Mejores Tiempos"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Mejores Tiempos", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Principiante", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Advanzado", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Experto", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "Aceptar", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Mejores Tiempos", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Principiante:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Advanzado:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Experto:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "Aceptar", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Aceptar", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Juego Personalizado"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Filas", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Columnas", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Minas", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Aceptar", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Filas:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Columnas:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Minas:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Aceptar", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -75,7 +77,7 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Acerca de"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "under the Wine license", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
|
|
|
@ -10,12 +10,12 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Options" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nouveau", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Marqueur ?", IDM_MARKQ
|
||||
|
@ -25,6 +25,8 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Expert", IDM_EXPERT
|
||||
MENUITEM "&Sur mesure", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Temps accéléré", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Quitter", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
|
@ -33,22 +35,23 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Temps accéléré"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Temps accéléré", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Débutant", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Amateur", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Expert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Temps accéléré", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Débutant:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Amateur:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Expert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -61,19 +64,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Sur mesure"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Lignes", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Colonnes", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mines", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Lignes:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Colonnes:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mines:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -81,10 +84,9 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "À propos"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "Sous licence Wine", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
||||
|
|
|
@ -4,11 +4,12 @@ LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Opsi" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Baru", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Tandai Pertanyaan", IDM_MARKQ
|
||||
|
@ -18,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Ahli", IDM_EXPERT
|
||||
MENUITEM "&Kustom", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Waktu Tercepat", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "E&xit", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Waktu Tercepat", IDM_TIMES
|
||||
MENUITEM "&Tentang", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Waktu Tercepat"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Waktu Tercepat", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Pemula", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Lanjutan", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Ahli", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Waktu Tercepat", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Pemula:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Lanjutan:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Ahli:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -51,22 +54,22 @@ FONT 8, "MS Shell Dlg"
|
|||
{
|
||||
LTEXT "Silahkan masukkan nama anda", IDIGNORE, 10, 10, 150, 10
|
||||
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
|
||||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Game Kustom"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Baris", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Kolom", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mines", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Batal", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Baris:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Kolom:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mines:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Batal", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -74,9 +77,9 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Tentang"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Hak Cipta 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "di bawah lisensi Wine", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Campo minato"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Partita" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nuova", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Segno (?)", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "Espe&rto", IDM_EXPERT
|
||||
MENUITEM "Personali&zza", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Tempi migliori", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Esci", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Tempi migliori", IDM_TIMES
|
||||
MENUITEM "&Informazioni su Campo minato", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Tempi migliori"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Tempi migliori", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Principiante", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Intermedio", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Esperto", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Tempi migliori", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Principiante:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Intermedio:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Esperto:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Campo personalizzato"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Righe", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Colonne", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mine", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Righe:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Colonne:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mine:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -6,12 +6,12 @@ LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Þaidimas" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Naujas þaidimas", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Þymëti &spëjamus (?)", IDM_MARKQ
|
||||
|
@ -21,30 +21,33 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Ekspertas", IDM_EXPERT
|
||||
MENUITEM "Pasi&rinktas", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Greièiausi laikai", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Baigti", IDM_EXIT
|
||||
}
|
||||
POPUP "&Informacija" {
|
||||
MENUITEM "&Greièiausi laikai", IDM_TIMES
|
||||
|
||||
MENUITEM "&Apie", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Greièiausi laikai"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Greièiausi laikai", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Pradedantis", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Paþengæs", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Ekspertas", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Greièiausi laikai", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Pradedantis:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Paþengæs:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Ekspertas:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -57,19 +60,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Pasirinktas þaidimas"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Eilutës", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Stulpeliai", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Minos", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Atðaukti", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Eilutës:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Stulpeliai:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Minos:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Atðaukti", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -77,7 +80,7 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Apie"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "under the Wine license", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Minesveiper"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Valg" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nytt", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Merk spørsmål", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Ekspert", IDM_EXPERT
|
||||
MENUITEM "&Egendefinert", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Beste tider", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "A&vslutt", IDM_EXIT
|
||||
}
|
||||
POPUP "&Informasjon" {
|
||||
MENUITEM "&Beste tider", IDM_TIMES
|
||||
MENUITEM "&Om", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Beste tider"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Beste tider", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Nybegynner", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Avansert", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Ekspert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Beste tider", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Nybegynner:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Avansert:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Ekspert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Egendefinert spill"
|
||||
CAPTION "Custom Game"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Høyde", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Bredde", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Miner", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Høyde:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Bredde:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Miner:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -79,5 +81,5 @@ FONT 8, "MS Shell Dlg"
|
|||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "under Wine lisensen", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
|
||||
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
|
||||
}
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Optie's" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nieuw", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Vraagteken a&ctiveren", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Expert", IDM_EXPERT
|
||||
MENUITEM "Aan&passen", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Bes&te tijd", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Afsluiten", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "Bes&te tijd", IDM_TIMES
|
||||
MENUITEM "&Over", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Beste tijd"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Beste tijd", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Beginner", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Gevorderde", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Expert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Beste tijd", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Beginner:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Gevorderde:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Expert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Aangepast spel"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Rijen", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Kolommen", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Mijnen", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Rijen:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Kolommen:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Mijnen:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -11,12 +11,12 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Saper"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Opcje" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nowa gra", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Poz&iom", IDM_MARKQ
|
||||
|
@ -26,30 +26,33 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Ekspert", IDM_EXPERT
|
||||
MENUITEM "&W³asny poziom", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "N&ajlepsze czasy", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Zamknij", IDM_EXIT
|
||||
}
|
||||
POPUP "&Informacje" {
|
||||
MENUITEM "N&ajlepsze czasy", IDM_TIMES
|
||||
MENUITEM "&Winemine - informacje", IDM_ABOUT
|
||||
MENUITEM "&WineMine - informacje", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Najlepsze czasy"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Najlepsze czasy", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Pocz¹tkuj¹cy", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Zaawansowany", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Ekspert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Najlepsze czasy", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Pocz¹tkuj¹cy:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Zaawansowany:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Ekspert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -62,19 +65,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Ustawienia gry"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Iloœæ rzêdów", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "IloϾ kolumn", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "IloϾ min", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Anuluj", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Iloœæ rzêdów:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "IloϾ kolumn:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "IloϾ min:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Anuluj", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -82,7 +85,7 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "Winemine - informacje"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "Na licencji Wine", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
|
|
|
@ -7,11 +7,12 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
|||
STRINGTABLE
|
||||
{
|
||||
IDS_APPNAME, "Ñàïåð"
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Èãðà" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Íîâàÿ èãðà", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ìåòêè", IDM_MARKQ
|
||||
|
@ -21,30 +22,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Ïðîôåññèîíàë", IDM_EXPERT
|
||||
MENUITEM "Î&ñîáûå...", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ëó÷øåå âðåìÿ", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Âûõîä", IDM_EXIT
|
||||
}
|
||||
POPUP "&Ñïðàâêà" {
|
||||
MENUITEM "&Ëó÷øåå âðåìÿ", IDM_TIMES
|
||||
MENUITEM "&Î ïðîãðàììå", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Ëó÷øåå âðåìÿ"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Ëó÷øåå âðåìÿ", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Íîâè÷îê", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Ëþáèòåëü", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Ïðîôåññèîíàë", IDNONE, 20, 40, 51, 8
|
||||
LTEXT "999", IDC_TIME1, 74, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 74, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 74, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 94, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 94, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 94, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Ëó÷øåå âðåìÿ", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Íîâè÷îê:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Ëþáèòåëü:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Ïðîôåññèîíàë:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -57,19 +60,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Îñîáàÿ èãðà"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Âûñîòà", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Øèðèíà", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "×èñëî ìèí", IDNONE, 5, 65, 36, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 45, 30, 50, 15
|
||||
PUSHBUTTON "Îòìåíà", IDCANCEL, 45, 50, 50, 15
|
||||
LTEXT "Âûñîòà:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Øèðèíà:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "×èñëî ìèí:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Îòìåíà", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -8,12 +8,12 @@ LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Míny"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Možnosti" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Nová hra", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Zn&aèky (?)", IDM_MARKQ
|
||||
|
@ -23,30 +23,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Expert", IDM_EXPERT
|
||||
MENUITEM "&Vlastné...", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Najlepšie èasy...", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Sk&onèi<C3A8>", IDM_EXIT
|
||||
}
|
||||
POPUP "&Info" {
|
||||
MENUITEM "&Najlepšie èasy...", IDM_TIMES
|
||||
MENUITEM "È&o je hra Míny...", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Najrýchlejší h¾adaèi mín"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Najlepšie èasy", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Zaèiatoèník", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Pokroèilý", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Expert", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Najlepšie èasy", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Zaèiatoèník:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Pokroèilý:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Expert:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -59,26 +61,27 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Vlastné pole"
|
||||
CAPTION "Custom Game"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Výška", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Šírka", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "Míny", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Zruši<C5A1>", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Výška:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Šírka:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "Míny:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Zruši<C5A1>", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Èo je hra Míny (WineMine)"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "pod licenciou Wine", IDNONE, 35, 35, 100, 10
|
||||
LTEXT "Preložil Kario", IDNONE, 35, 45, 100, 10
|
||||
|
|
|
@ -4,12 +4,12 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "WineMine"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&µÑÇàÅ×Í¡" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "ã&ËÁè", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "à&¤Ã×èͧËÁÒ¤ӶÒÁ", IDM_MARKQ
|
||||
|
@ -19,30 +19,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&¼ÙéªÓ¹Ò", IDM_EXPERT
|
||||
MENUITEM "&¤¹·ÑèÇä»", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "à&ÇÅÒ·ÕèàÃçÇ·ÕèÊØ´", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&ÍÍ¡", IDM_EXIT
|
||||
}
|
||||
POPUP "á&¨é§ãËé·ÃÒº" {
|
||||
MENUITEM "à&ÇÅÒ·ÕèàÃçÇ·ÕèÊØ´", IDM_TIMES
|
||||
MENUITEM "à&¡ÕèÂǡѺ", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "àÇÅÒ·ÕèàÃçÇ·ÕèÊØ´"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "àÇÅÒ·ÕèàÃçÇ·ÕèÊØ´", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "àÃÔèÁµé¹", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "¢Ñé¹ÊÙ§¢Öé¹", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "¼ÙéªÓ¹Ò", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "µ¡Å§", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "àÇÅÒ·ÕèàÃçÇ·ÕèÊØ´", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "àÃÔèÁµé¹:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "¢Ñé¹ÊÙ§¢Öé¹:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "¼ÙéªÓ¹Ò:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "µ¡Å§", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -55,19 +57,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "µ¡Å§", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "à¡ÁÃдѺ¤¹·ÑèÇä»"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "á¶Ç", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "ËÅÑ¡", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "¡ÑºÃÐàºÔ´", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "µ¡Å§", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "¡àÅÔ¡", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "á¶Ç:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "ËÅÑ¡:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "¡ÑºÃÐàºÔ´:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "µ¡Å§", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "¡àÅÔ¡", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
@ -75,7 +77,7 @@ STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHEL
|
|||
CAPTION "à¡ÕèÂǡѺ"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Winemine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "WineMine", IDNONE, 10, 10, 35, 10
|
||||
LTEXT "Copyright 2000, Joshua Thielen", IDNONE, 35, 25, 110, 10
|
||||
LTEXT "ÀÒÂãµéÅÔ¢ÊÔ·¸Ôì¢Í§ WINE", IDNONE, 35, 35, 100, 10
|
||||
ICON IDI_WINEMINE, IDNONE, 10, 25, 20, 20
|
||||
|
|
|
@ -12,12 +12,12 @@ LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE {
|
||||
IDS_APPNAME, "Ñàïåð"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "&Îïö³¿" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "&Íîâà", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&̳òêè (?)", IDM_MARKQ
|
||||
|
@ -27,30 +27,32 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
MENUITEM "&Åêñïåðò", IDM_EXPERT
|
||||
MENUITEM "&Îñîáëèâà", IDM_CUSTOM
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Êðàù³ ÷àñè", IDM_TIMES
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Â&èõ³ä", IDM_EXIT
|
||||
}
|
||||
POPUP "&²íôîðìàö³ÿ" {
|
||||
MENUITEM "&Êðàù³ ÷àñè", IDM_TIMES
|
||||
MENUITEM "&Ïðî", IDM_ABOUT
|
||||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Êðàù³ ÷àñè"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "Êðàù³ ÷àñè", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "Ïî÷àòê³âåöü", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "Ëþáèòåëü", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "Åêñïåðò", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "Êðàù³ ÷àñè", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "Ïî÷àòê³âåöü:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "Ëþáèòåëü:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "Åêñïåðò:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "OK", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -63,19 +65,19 @@ FONT 8, "MS Shell Dlg"
|
|||
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "Îñîáëèâà ãðà"
|
||||
CAPTION "Custom Game"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "Âèñîòà", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "Øèðèíà", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "̳í", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "Ñêàñóâàòè", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "Âèñîòà:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "Øèðèíà:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "̳í:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "OK", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "Ñêàñóâàòè", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -25,12 +25,12 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_APPNAME, "扫雷"
|
||||
|
||||
IDS_SECONDS, "seconds"
|
||||
}
|
||||
|
||||
MENU_WINEMINE MENU DISCARDABLE
|
||||
{
|
||||
POPUP "游戏(&O)" {
|
||||
POPUP "&Game" {
|
||||
MENUITEM "开局(&N)", IDM_NEW
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "标记(?)(&M)", IDM_MARKQ
|
||||
|
@ -48,22 +48,23 @@ MENU_WINEMINE MENU DISCARDABLE
|
|||
}
|
||||
}
|
||||
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 160, 80
|
||||
STYLE DS_MODALFRAME | DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
FONT 8, "MS Shell Dlg"
|
||||
DLG_TIMES DIALOGEX DISCARDABLE 0, 0, 200, 75
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
CAPTION "扫雷英雄榜"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
GROUPBOX "最高纪录", IDNONE, 10, 10, 140, 45
|
||||
LTEXT "初级", IDNONE, 20, 20, 40, 8
|
||||
LTEXT "中级", IDNONE, 20, 30, 40, 8
|
||||
LTEXT "高级", IDNONE, 20, 40, 40, 8
|
||||
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
|
||||
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
|
||||
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
|
||||
LTEXT "", IDC_NAME1, 90, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 90, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 90, 40, 55, 8
|
||||
DEFPUSHBUTTON "确定", IDOK, 55, 60, 50, 15
|
||||
GROUPBOX "最高纪录", IDNONE, 10, 10, 182, 45
|
||||
LTEXT "初级:", IDNONE, 20, 20, 58, 8
|
||||
LTEXT "中级:", IDNONE, 20, 30, 58, 8
|
||||
LTEXT "高级:", IDNONE, 20, 40, 58, 8
|
||||
LTEXT "", IDC_TIME1, 80, 20, 50, 8
|
||||
LTEXT "", IDC_TIME2, 80, 30, 50, 8
|
||||
LTEXT "", IDC_TIME3, 80, 40, 50, 8
|
||||
LTEXT "", IDC_NAME1, 132, 20, 55, 8
|
||||
LTEXT "", IDC_NAME2, 132, 30, 55, 8
|
||||
LTEXT "", IDC_NAME3, 132, 40, 55, 8
|
||||
DEFPUSHBUTTON "确定", IDOK, 127, 57, 50, 15
|
||||
PUSHBUTTON "&Reset Scores", IDRESET, 18, 57, 67, 15
|
||||
}
|
||||
|
||||
DLG_CONGRATS DIALOGEX DISCARDABLE 0, 0, 160, 60
|
||||
|
@ -76,19 +77,19 @@ CAPTION "ˢ
|
|||
DEFPUSHBUTTON "确定", IDOK, 60, 40, 40, 15
|
||||
}
|
||||
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 100, 100
|
||||
DLG_CUSTOM DIALOGEX DISCARDABLE 0, 0, 139, 80
|
||||
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_SHELLFONT
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "自定义雷区"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
{
|
||||
LTEXT "高度", IDNONE, 5, 5, 30, 10
|
||||
LTEXT "宽度", IDNONE, 5, 35, 30, 10
|
||||
LTEXT "雷数", IDNONE, 5, 65, 30, 10
|
||||
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "确定", IDOK, 40, 30, 50, 15
|
||||
PUSHBUTTON "取消", IDCANCEL, 40, 50, 50, 15
|
||||
LTEXT "高度:", IDNONE, 5, 15, 43, 10
|
||||
LTEXT "宽度:", IDNONE, 5, 35, 43, 10
|
||||
LTEXT "雷数:", IDNONE, 5, 55, 43, 10
|
||||
EDITTEXT IDC_EDITROWS, 49, 15, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITCOLS, 49, 35, 30, 12, ES_NUMBER
|
||||
EDITTEXT IDC_EDITMINES, 49, 55, 30, 12, ES_NUMBER
|
||||
DEFPUSHBUTTON "确定", IDOK, 86, 32, 45, 15
|
||||
PUSHBUTTON "取消", IDCANCEL, 86, 52, 45, 15
|
||||
}
|
||||
|
||||
DLG_ABOUT DIALOGEX DISCARDABLE 0, 0, 145, 80
|
||||
|
|
|
@ -262,32 +262,31 @@ void InitBoard( BOARD *p_board )
|
|||
|
||||
LoadBoard( p_board );
|
||||
|
||||
if( p_board->pos.x < (unsigned) GetSystemMetrics( SM_CXFIXEDFRAME ))
|
||||
if( p_board->pos.x < GetSystemMetrics( SM_CXFIXEDFRAME ) )
|
||||
p_board->pos.x = GetSystemMetrics( SM_CXFIXEDFRAME );
|
||||
|
||||
if( p_board->pos.x > (unsigned) (GetSystemMetrics( SM_CXSCREEN )
|
||||
- GetSystemMetrics( SM_CXFIXEDFRAME ))) {
|
||||
if( p_board->pos.x > (GetSystemMetrics( SM_CXSCREEN ) - GetSystemMetrics( SM_CXFIXEDFRAME )))
|
||||
{
|
||||
p_board->pos.x = GetSystemMetrics( SM_CXSCREEN )
|
||||
- GetSystemMetrics( SM_CXFIXEDFRAME );
|
||||
}
|
||||
|
||||
if( p_board->pos.y < (unsigned) (GetSystemMetrics( SM_CYMENU )
|
||||
+ GetSystemMetrics( SM_CYCAPTION )
|
||||
+ GetSystemMetrics( SM_CYFIXEDFRAME ))) {
|
||||
if( p_board->pos.y < (GetSystemMetrics( SM_CYMENU ) + GetSystemMetrics( SM_CYCAPTION ) + GetSystemMetrics( SM_CYFIXEDFRAME )))
|
||||
{
|
||||
p_board->pos.y = GetSystemMetrics( SM_CYMENU ) +
|
||||
GetSystemMetrics( SM_CYCAPTION ) +
|
||||
GetSystemMetrics( SM_CYFIXEDFRAME );
|
||||
}
|
||||
|
||||
if( p_board->pos.y > (unsigned) (GetSystemMetrics( SM_CYSCREEN )
|
||||
- GetSystemMetrics( SM_CYFIXEDFRAME ))) {
|
||||
if( p_board->pos.y > (GetSystemMetrics( SM_CYSCREEN ) - GetSystemMetrics( SM_CYFIXEDFRAME )))
|
||||
{
|
||||
p_board->pos.y = GetSystemMetrics( SM_CYSCREEN )
|
||||
- GetSystemMetrics( SM_CYFIXEDFRAME );
|
||||
}
|
||||
|
||||
hMenu = GetMenu( p_board->hWnd );
|
||||
CheckMenuItem( hMenu, IDM_BEGINNER + (unsigned) p_board->difficulty,
|
||||
MF_CHECKED );
|
||||
CheckMenuItem( hMenu, IDM_BEGINNER + p_board->difficulty, MF_CHECKED );
|
||||
|
||||
if( p_board->IsMarkQ )
|
||||
CheckMenuItem( hMenu, IDM_MARKQ, MF_CHECKED );
|
||||
else
|
||||
|
@ -297,75 +296,66 @@ void InitBoard( BOARD *p_board )
|
|||
|
||||
void LoadBoard( BOARD *p_board )
|
||||
{
|
||||
DWORD size;
|
||||
DWORD type;
|
||||
DWORD dwSize;
|
||||
DWORD dwValue;
|
||||
HKEY hkey;
|
||||
char data[16];
|
||||
char key_name[8];
|
||||
unsigned i;
|
||||
|
||||
|
||||
RegOpenKeyEx( HKEY_LOCAL_MACHINE, "Software\\Wine\\WineMine",
|
||||
RegOpenKeyEx( HKEY_CURRENT_USER, WINEMINE_REGKEY,
|
||||
0, KEY_QUERY_VALUE, &hkey );
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Xpos", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS ) {
|
||||
p_board->pos.x = atoi( data );
|
||||
}
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Xpos", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->pos.x = dwValue;
|
||||
else
|
||||
p_board->pos.x = GetSystemMetrics( SM_CXFIXEDFRAME );
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Ypos", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->pos.y = atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Ypos", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->pos.y = dwValue;
|
||||
else
|
||||
p_board->pos.y = GetSystemMetrics( SM_CYMENU )
|
||||
+ GetSystemMetrics( SM_CYCAPTION )
|
||||
+ GetSystemMetrics( SM_CYFIXEDFRAME );
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Rows", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->rows = atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Rows", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->rows = dwValue;
|
||||
else
|
||||
p_board->rows = BEGINNER_ROWS;
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Cols", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->cols = atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Cols", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->cols = dwValue;
|
||||
else
|
||||
p_board->cols = BEGINNER_COLS;
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Mines", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->mines = atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Mines", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->mines = dwValue;
|
||||
else
|
||||
p_board->rows = BEGINNER_ROWS;
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "Difficulty", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->difficulty = (DIFFICULTY) atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "Difficulty", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->difficulty = (DIFFICULTY) dwValue;
|
||||
else
|
||||
p_board->difficulty = BEGINNER;
|
||||
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, "MarkQ", NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data, (LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->IsMarkQ = atoi( data );
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, "MarkQ", NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->IsMarkQ = dwValue;
|
||||
else
|
||||
p_board->IsMarkQ = TRUE;
|
||||
|
||||
for( i = 0; i < 3; i++ ) {
|
||||
wsprintf( key_name, "Name%d", i );
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, key_name, NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data,
|
||||
(LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
dwSize = sizeof( data );
|
||||
|
||||
if( RegQueryValueEx( hkey, key_name, NULL, NULL, (LPBYTE) data, (LPDWORD) &dwSize ) == ERROR_SUCCESS )
|
||||
strncpy( p_board->best_name[i], data, sizeof( data ) );
|
||||
else
|
||||
wsprintf( p_board->best_name[i], "Nobody");
|
||||
|
@ -373,14 +363,14 @@ void LoadBoard( BOARD *p_board )
|
|||
|
||||
for( i = 0; i < 3; i++ ) {
|
||||
wsprintf( key_name, "Time%d", i );
|
||||
size = sizeof( data );
|
||||
if( RegQueryValueEx( hkey, key_name, NULL, (LPDWORD) &type,
|
||||
(LPBYTE) data,
|
||||
(LPDWORD) &size ) == ERROR_SUCCESS )
|
||||
p_board->best_time[i] = atoi( data );
|
||||
|
||||
dwSize = sizeof(DWORD);
|
||||
if( RegQueryValueEx( hkey, key_name, NULL, NULL, (LPBYTE) &dwValue, &dwSize ) == ERROR_SUCCESS )
|
||||
p_board->best_time[i] = dwValue;
|
||||
else
|
||||
p_board->best_time[i] = 999;
|
||||
}
|
||||
|
||||
RegCloseKey( hkey );
|
||||
}
|
||||
|
||||
|
@ -392,32 +382,19 @@ void SaveBoard( BOARD *p_board )
|
|||
char data[16];
|
||||
char key_name[8];
|
||||
|
||||
if( RegCreateKeyEx( HKEY_LOCAL_MACHINE,
|
||||
"Software\\Wine\\WineMine", 0, NULL,
|
||||
if( RegCreateKeyEx( HKEY_CURRENT_USER,
|
||||
WINEMINE_REGKEY, 0, NULL,
|
||||
REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL,
|
||||
&hkey, &disp ) != ERROR_SUCCESS)
|
||||
return;
|
||||
|
||||
wsprintf( data, "%d", p_board->pos.x );
|
||||
RegSetValueEx( hkey, "Xpos", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", p_board->pos.x );
|
||||
RegSetValueEx( hkey, "Ypos", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", (int) p_board->difficulty );
|
||||
RegSetValueEx( hkey, "Difficulty", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", p_board->rows );
|
||||
RegSetValueEx( hkey, "Rows", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", p_board->cols );
|
||||
RegSetValueEx( hkey, "Cols", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", p_board->mines );
|
||||
RegSetValueEx( hkey, "Mines", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
|
||||
wsprintf( data, "%d", (int) p_board->IsMarkQ );
|
||||
RegSetValueEx( hkey, "MarkQ", 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
RegSetValueEx( hkey, "Xpos", 0, REG_DWORD, (LPBYTE) &p_board->pos.x, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "Ypos", 0, REG_DWORD, (LPBYTE) &p_board->pos.y, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "Difficulty", 0, REG_DWORD, (LPBYTE) &p_board->difficulty, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "Rows", 0, REG_DWORD, (LPBYTE) &p_board->rows, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "Cols", 0, REG_DWORD, (LPBYTE) &p_board->cols, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "Mines", 0, REG_DWORD, (LPBYTE) &p_board->mines, sizeof(DWORD) );
|
||||
RegSetValueEx( hkey, "MarkQ", 0, REG_DWORD, (LPBYTE) &p_board->IsMarkQ, sizeof(DWORD) );
|
||||
|
||||
for( i = 0; i < 3; i++ ) {
|
||||
wsprintf( key_name, "Name%u", i );
|
||||
|
@ -427,9 +404,9 @@ void SaveBoard( BOARD *p_board )
|
|||
|
||||
for( i = 0; i < 3; i++ ) {
|
||||
wsprintf( key_name, "Time%u", i );
|
||||
wsprintf( data, "%d", p_board->best_time[i] );
|
||||
RegSetValueEx( hkey, key_name, 0, REG_SZ, (LPBYTE) data, strlen(data)+1 );
|
||||
RegSetValueEx( hkey, key_name, 0, REG_DWORD, (LPBYTE) p_board->best_time[i], sizeof(DWORD) );
|
||||
}
|
||||
|
||||
RegCloseKey( hkey );
|
||||
}
|
||||
|
||||
|
@ -787,6 +764,7 @@ void DrawBoard( HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, BOARD *p_board )
|
|||
void TestBoard( HWND hWnd, BOARD *p_board, unsigned x, unsigned y, int msg )
|
||||
{
|
||||
POINT pt;
|
||||
UINT col, row;
|
||||
|
||||
pt.x = x;
|
||||
pt.y = y;
|
||||
|
@ -802,8 +780,23 @@ void TestBoard( HWND hWnd, BOARD *p_board, unsigned x, unsigned y, int msg )
|
|||
p_board->press.y = 0;
|
||||
}
|
||||
|
||||
if( p_board->boxes_left == 0 ) {
|
||||
if( p_board->boxes_left == 0 )
|
||||
{
|
||||
// MG - 2006-02-21
|
||||
// mimic MS minesweeper behaviour - when autocompleting a board, flag mines
|
||||
p_board->status = WON;
|
||||
for( col = 0; col <= p_board->cols + 1; col++ )
|
||||
{
|
||||
for( row = 0; row <= p_board->rows + 1; row++ )
|
||||
{
|
||||
if(p_board->box[col][row].IsMine == TRUE)
|
||||
{
|
||||
p_board->box[col][row].FlagType = FLAG;
|
||||
}
|
||||
}
|
||||
}
|
||||
p_board->num_flags = p_board->mines;
|
||||
RedrawWindow( p_board->hWnd, NULL, NULL_HANDLE, RDW_INVALIDATE | RDW_UPDATENOW );
|
||||
|
||||
if( p_board->difficulty != CUSTOM &&
|
||||
p_board->time < p_board->best_time[p_board->difficulty] ) {
|
||||
|
|
|
@ -18,9 +18,11 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#define WINEMINE_REGKEY "Software\\ReactOS\\WineMine"
|
||||
|
||||
#define BEGINNER_MINES 10
|
||||
#define BEGINNER_COLS 8
|
||||
#define BEGINNER_ROWS 8
|
||||
#define BEGINNER_COLS 9
|
||||
#define BEGINNER_ROWS 9
|
||||
|
||||
#define ADVANCED_MINES 40
|
||||
#define ADVANCED_COLS 16
|
||||
|
|
|
@ -48,9 +48,12 @@
|
|||
#define IDC_EDITMINES 1033
|
||||
|
||||
#define IDS_APPNAME 1101
|
||||
#define IDS_SECONDS 1102
|
||||
|
||||
#define IDI_WINEMINE 1201
|
||||
|
||||
#define IDB_FACES 1301
|
||||
#define IDB_LEDS 1302
|
||||
#define IDB_MINES 1303
|
||||
|
||||
#define IDRESET 1401
|
||||
|
|
Loading…
Reference in a new issue