|
|
| version 1.6, 2004/01/22 01:10:05 | version 1.10, 2004/05/21 08:40:28 |
|---|---|
| Line 2 | Line 2 |
| #include "resource.h" | #include "resource.h" |
| #include "np2.h" | #include "np2.h" |
| #include "np2class.h" | #include "np2class.h" |
| #include "np2info.h" | |
| #include "dialog.h" | #include "dialog.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #include "np2ver.h" | #include "np2ver.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "np2info.h" | |
| static SIZE aboutsize; | static SIZE aboutsize; |
| #if !defined(SUPPORT_PC9821) | |
| static const char str_np2title[] = "Neko Project II "; | static const char str_np2title[] = "Neko Project II "; |
| static const char np2infostr[] = \ | #else |
| "CPU: !CPU !CLOCK\r\n" \ | static const char str_np2title[] = "Neko Project 21 "; |
| "MEM: !MEM1\r\n" \ | #endif |
| "GDC: !GDC\r\n" \ | static const char np2infostr[] = \ |
| "TEXT: !TEXT\r\n" \ | "CPU: %CPU% %CLOCK%\n" \ |
| "GRPH: !GRPH\r\n" \ | "MEM: %MEM1%\n" \ |
| "SOUND: !EXSND\r\n" \ | "GDC: %GDC%\n" \ |
| "\r\n" \ | " %GDC2%\n" \ |
| "BIOS: !BIOS\r\n" \ | "TEXT: %TEXT%\n" \ |
| "RHYTHM: !RHYTHM\r\n" \ | "GRPH: %GRPH%\n" \ |
| "\r\n" \ | "SOUND: %EXSND%\n" \ |
| "SCREEN: !DISP"; | "\n" \ |
| "BIOS: %BIOS%\n" \ | |
| "RHYTHM: %RHYTHM%\n" \ | |
| "\n" \ | |
| "SCREEN: %DISP%"; | |
| static void about_init(HWND hWnd) { | static void about_init(HWND hWnd) { |
| Line 62 static void about_more(HWND hWnd) { | Line 67 static void about_more(HWND hWnd) { |
| char infostr[1024]; | char infostr[1024]; |
| RECT rect; | RECT rect; |
| np2info(infostr, np2infostr, sizeof(infostr)); | np2info(infostr, np2infostr, sizeof(infostr), NULL); |
| SetDlgItemText(hWnd, IDC_NP2INFO, infostr); | SetDlgItemText(hWnd, IDC_NP2INFO, infostr); |
| EnableWindow(GetDlgItem(hWnd, IDC_MORE), FALSE); | EnableWindow(GetDlgItem(hWnd, IDC_MORE), FALSE); |
| GetWindowRect(hWnd, &rect); | GetWindowRect(hWnd, &rect); |