mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 13:14:13 +08:00
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:
parent
42c4cdb50b
commit
8267dda1cb
File diff suppressed because it is too large
Load Diff
@ -7,12 +7,16 @@ namespace mages{
|
|||||||
auto compound_charsA=LoadResData(std::vector<const wchar_t*>{
|
auto compound_charsA=LoadResData(std::vector<const wchar_t*>{
|
||||||
L"compound_chars_default",
|
L"compound_chars_default",
|
||||||
L"compound_chars_Robotics_Notes_Elite",
|
L"compound_chars_Robotics_Notes_Elite",
|
||||||
L"compound_chars_Robotics_Notes_Dash"
|
L"compound_chars_Robotics_Notes_Dash",
|
||||||
|
L"",
|
||||||
|
L""
|
||||||
}[_idx],L"COMPOUND_CHARS");
|
}[_idx],L"COMPOUND_CHARS");
|
||||||
auto charsetA=LoadResData(std::vector<const wchar_t*>{
|
auto charsetA=LoadResData(std::vector<const wchar_t*>{
|
||||||
L"charset_default",
|
L"charset_default",
|
||||||
L"charset_Robotics_Notes_Elite",
|
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");
|
}[_idx],L"CHARSET");
|
||||||
|
|
||||||
|
|
||||||
|
@ -240,11 +240,11 @@ std::string LoadResData(LPCWSTR pszResID,LPCWSTR _type)
|
|||||||
HMODULE hModule=hLUNAHOOKDLL;
|
HMODULE hModule=hLUNAHOOKDLL;
|
||||||
HRSRC hRsrc = ::FindResourceW (hModule, pszResID,_type);
|
HRSRC hRsrc = ::FindResourceW (hModule, pszResID,_type);
|
||||||
if (!hRsrc)
|
if (!hRsrc)
|
||||||
return 0;
|
return "";
|
||||||
DWORD len = SizeofResource(hModule, hRsrc);
|
DWORD len = SizeofResource(hModule, hRsrc);
|
||||||
BYTE* lpRsrc = (BYTE*)LoadResource(hModule, hRsrc);
|
BYTE* lpRsrc = (BYTE*)LoadResource(hModule, hRsrc);
|
||||||
if (!lpRsrc)
|
if (!lpRsrc)
|
||||||
return 0;
|
return "";
|
||||||
HGLOBAL m_hMem = GlobalAlloc(GMEM_FIXED, len);
|
HGLOBAL m_hMem = GlobalAlloc(GMEM_FIXED, len);
|
||||||
BYTE* pmem = (BYTE*)GlobalLock(m_hMem);
|
BYTE* pmem = (BYTE*)GlobalLock(m_hMem);
|
||||||
memcpy(pmem,lpRsrc,len);
|
memcpy(pmem,lpRsrc,len);
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
charset_default CHARSET "resource/charset_default.txt"
|
charset_default CHARSET "resource/charset_default.txt"
|
||||||
charset_Robotics_Notes_Dash CHARSET "resource/charset_Robotics_Notes_Dash.txt"
|
charset_Robotics_Notes_Dash CHARSET "resource/charset_Robotics_Notes_Dash.txt"
|
||||||
charset_Robotics_Notes_Elite CHARSET "resource/charset_Robotics_Notes_Elite.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_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_Elite COMPOUND_CHARS "resource/compound_chars_Robotics_Notes_Elite.txt"
|
||||||
compound_chars_Robotics_Notes_Dash COMPOUND_CHARS "resource/compound_chars_Robotics_Notes_Dash.txt"
|
compound_chars_Robotics_Notes_Dash COMPOUND_CHARS "resource/compound_chars_Robotics_Notes_Dash.txt"
|
||||||
|
1
LunaHook/resource/charset_Famicom_Tantei_Club.txt
Normal file
1
LunaHook/resource/charset_Famicom_Tantei_Club.txt
Normal file
File diff suppressed because one or more lines are too long
1
LunaHook/resource/charset_SINce_Memories.txt
Normal file
1
LunaHook/resource/charset_SINce_Memories.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user