mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-04 04:48:05 +03:00
Convert all Shift_JIS files to UTF-8
This commit is contained in:
+5
-5
@@ -8,10 +8,10 @@
|
||||
|
||||
void AGS::load_bmp(const char *file_path)
|
||||
{
|
||||
// ヘッダ取得
|
||||
// ヘッダ取得
|
||||
int sx = 0, sy = 0;
|
||||
|
||||
// Jコマンドの処理
|
||||
// Jコマンドの処理
|
||||
if(set_cg_dest) {
|
||||
sx = cg_dest_x;
|
||||
sy = cg_dest_y;
|
||||
@@ -21,7 +21,7 @@ void AGS::load_bmp(const char *file_path)
|
||||
if(extract_cg) {
|
||||
assert(false);
|
||||
#if 0
|
||||
// BMP読み込み
|
||||
// BMP読み込み
|
||||
WCHAR wszFilePath[_MAX_PATH];
|
||||
MultiByteToWideChar(CP_ACP, 0, file_path, -1, wszFilePath, _MAX_PATH);
|
||||
Gdiplus::Bitmap *pBitmap = Gdiplus::Bitmap::FromFile(wszFilePath);
|
||||
@@ -33,12 +33,12 @@ void AGS::load_bmp(const char *file_path)
|
||||
}
|
||||
}
|
||||
|
||||
// 画面更新
|
||||
// 画面更新
|
||||
if(dest_screen == 0) {
|
||||
draw_screen(sx, sy, pBitmap->GetWidth(), pBitmap->GetHeight());
|
||||
}
|
||||
|
||||
// BMP開放
|
||||
// BMP開放
|
||||
delete pBitmap;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user