Convert all Shift_JIS files to UTF-8

This commit is contained in:
kichikuou
2020-02-24 18:06:38 +09:00
parent 9f09c0c2de
commit 7a1cc2a483
27 changed files with 824 additions and 824 deletions
+7 -7
View File
@@ -8,7 +8,7 @@
void AGS::load_vsp2l(uint8* data, int page, int transparent)
{
// ヘッダ取得
// ヘッダ取得
int sx = data[0] | (data[1] << 8);
int sy = data[2] | (data[3] << 8);
int ex = data[4] | (data[5] << 8);
@@ -17,7 +17,7 @@ void AGS::load_vsp2l(uint8* data, int page, int transparent)
int height = ey - sy;
uint8 base = 0;//(data[9] & 0x0f) << 4;
// Jコマンドの処理
// Jコマンドの処理
if(set_cg_dest) {
sx = cg_dest_x >> 3;
sy = cg_dest_y;
@@ -26,12 +26,12 @@ void AGS::load_vsp2l(uint8* data, int page, int transparent)
set_cg_dest = false;
}
// Zコマンドの処理
// Zコマンドの処理
if(palette_bank != -1) {
base = (palette_bank & 0x0f) << 4;
}
// パレット取得
// パレット取得
screen_palette[base + 0] = SETPALETTE16(0x0, 0x0, 0x0);
screen_palette[base + 1] = SETPALETTE16(0x0, 0x0, 0xf);
screen_palette[base + 2] = SETPALETTE16(0xf, 0x0, 0x0);
@@ -41,7 +41,7 @@ void AGS::load_vsp2l(uint8* data, int page, int transparent)
screen_palette[base + 6] = SETPALETTE16(0xf, 0xf, 0x0);
screen_palette[base + 7] = SETPALETTE16(0xf, 0xf, 0xf);
// VSP2L展開
// VSP2L展開
uint8 cgdata[3][2][200], mask = 0;
int p = 0x1a;
memset(cgdata, 0, sizeof(cgdata));
@@ -102,7 +102,7 @@ void AGS::load_vsp2l(uint8* data, int page, int transparent)
}
}
// VRAMに転送
// VRAMに転送
if(extract_cg) {
for(int y = 0; y < height; y++) {
uint8 b0, b1, b2, c[8];
@@ -135,7 +135,7 @@ void AGS::load_vsp2l(uint8* data, int page, int transparent)
}
}
// 画面更新
// 画面更新
if(dest_screen == 0 && extract_cg) {
draw_screen(sx * 8, sy * 2, width * 8, height * 2);
}