|
|
| version 1.1.1.1, 2003/10/16 17:59:24 | version 1.3, 2004/03/23 18:34:05 |
|---|---|
| Line 4 | Line 4 |
| #include "dialog.h" | #include "dialog.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "np2info.h" | |
| static const char str_np2title[] = "Neko Project II "; | |
| static const char np2infostr[] = \ | |
| "CPU: %CPU% %CLOCK%\n" \ | |
| "MEM: %MEM1%\n" \ | |
| "GDC: %GDC%\n" \ | |
| "TEXT: %TEXT%\n" \ | |
| "GRPH: %GRPH%\n" \ | |
| "SOUND: %EXSND%\n" \ | |
| "\n" \ | |
| "BIOS: %BIOS%\n" \ | |
| "RHYTHM: %RHYTHM%\n" \ | |
| "\n" \ | |
| "SCREEN: %DISP%"; | |
| static void about_init(HWND hWnd) { | static void about_init(HWND hWnd) { |
| char work[128]; | char work[128]; |
| char infostr[1024]; | |
| strcpy(work, "Neko Project II "); | milstr_ncpy(work, str_np2title, sizeof(work)); |
| strcat(work, np2version); | milstr_ncat(work, np2version, sizeof(work)); |
| #ifdef NEW286 | |
| strcat(work, "+"); | |
| #endif | |
| SetDlgItemText(hWnd, IDC_NP2VER, work); | SetDlgItemText(hWnd, IDC_NP2VER, work); |
| np2info(infostr, np2infostr, sizeof(infostr), NULL); | |
| SetDlgItemText(hWnd, IDC_NP2INFO, infostr); | |
| SetFocus(GetDlgItem(hWnd, IDOK)); | SetFocus(GetDlgItem(hWnd, IDOK)); |
| } | } |