Update yuzusuyu.cpp

Update yuzusuyu.cpp

1

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

1

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp

Update yuzusuyu.cpp
This commit is contained in:
恍兮惚兮 2024-04-03 16:56:54 +08:00
parent 42c4cdb50b
commit 8267dda1cb
6 changed files with 1135 additions and 113 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,12 +7,16 @@ namespace mages{
auto compound_charsA=LoadResData(std::vector<const wchar_t*>{
L"compound_chars_default",
L"compound_chars_Robotics_Notes_Elite",
L"compound_chars_Robotics_Notes_Dash"
L"compound_chars_Robotics_Notes_Dash",
L"",
L""
}[_idx],L"COMPOUND_CHARS");
auto charsetA=LoadResData(std::vector<const wchar_t*>{
L"charset_default",
L"charset_Robotics_Notes_Elite",
L"charset_Robotics_Notes_Dash"
L"charset_Robotics_Notes_Dash",
L"charset_Famicom_Tantei_Club",
L"charset_SINce_Memories"
}[_idx],L"CHARSET");

View File

@ -240,11 +240,11 @@ std::string LoadResData(LPCWSTR pszResID,LPCWSTR _type)
HMODULE hModule=hLUNAHOOKDLL;
HRSRC hRsrc = ::FindResourceW (hModule, pszResID,_type);
if (!hRsrc)
return 0;
return "";
DWORD len = SizeofResource(hModule, hRsrc);
BYTE* lpRsrc = (BYTE*)LoadResource(hModule, hRsrc);
if (!lpRsrc)
return 0;
return "";
HGLOBAL m_hMem = GlobalAlloc(GMEM_FIXED, len);
BYTE* pmem = (BYTE*)GlobalLock(m_hMem);
memcpy(pmem,lpRsrc,len);

View File

@ -1,6 +1,9 @@
charset_default CHARSET "resource/charset_default.txt"
charset_Robotics_Notes_Dash CHARSET "resource/charset_Robotics_Notes_Dash.txt"
charset_Robotics_Notes_Elite CHARSET "resource/charset_Robotics_Notes_Elite.txt"
charset_Famicom_Tantei_Club CHARSET "resource/charset_Famicom_Tantei_Club.txt"
charset_SINce_Memories CHARSET "resource/charset_SINce_Memories.txt"
compound_chars_default COMPOUND_CHARS "resource/compound_chars_default.txt"
compound_chars_Robotics_Notes_Elite COMPOUND_CHARS "resource/compound_chars_Robotics_Notes_Elite.txt"
compound_chars_Robotics_Notes_Dash COMPOUND_CHARS "resource/compound_chars_Robotics_Notes_Dash.txt"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long