diff system/visarc.cc @ 65:4416cfac86ae

Convert EUC-JP files to UTF8
author Thibaut Girka <thib@sitedethib.com>
date Fri, 26 Nov 2010 10:53:15 +0100
parents 15a18fbe6f21
children
line wrap: on
line diff
--- a/system/visarc.cc
+++ b/system/visarc.cc
@@ -2,8 +2,8 @@
 #define VERSION "1.00"
 
 /*****************************************
-**	Visual Arts の圧縮書庫ファイルを
-**	展開する
+**	Visual Arts х軒後昆<ゃ
+**	絮
 **
 **	usage : visarc x <arcfile> <file> [<file> ...]
 **		visarc l <arcfile>
@@ -239,12 +239,12 @@ void ExtractPngRgbaGraphic(char* path,ch
 	}
 	if (! masked) {
 		for (int i = 0; i < conv->Width() * conv->Height(); i++) {
-			data[4*i+3] = 0xff;	// 不透明度を最大にする
+			data[4*i+3] = 0xff;	// 筝綺紊с
 		}
 	}
-	if (outpath == NULL) ChangeExt(path,".png", buf); // path をつくる
+	if (outpath == NULL) ChangeExt(path,".png", buf); // path ゃ
 	else fname = outpath;
-	FILE* out = fopen(fname, "wb"); // ファイルを開く
+	FILE* out = fopen(fname, "wb"); // <ゃ
 	if (out == NULL) {
 		fprintf(stderr, "Cannot open raw file : %s\n",buf);
 		delete conv;
@@ -267,7 +267,7 @@ int main(int argc, char* argv[]) {
 		usage(); return -1;
 	}
 	for (i=2; i<argc; i++) {
-		/* option を削る */
+		/* option  */
 		argc--;
 		int j; for (j=i; j<argc; j++) argv[j] = argv[j+1];
 	}