diff --git a/modules/NIGHTDLL/nt_msg.c b/modules/NIGHTDLL/nt_msg.c index 19b5cd7..9209789 100644 --- a/modules/NIGHTDLL/nt_msg.c +++ b/modules/NIGHTDLL/nt_msg.c @@ -188,12 +188,6 @@ void ntmsg_add(const char *msg) { if (msg[0] == '\0') return; - if (0) { - char *b = sjis2utf(msg); - fprintf(stderr, "add msg '%s'\n", b); - free(b); - } - len = MSGBUFMAX - (int)strlen(night.msgbuf); if (len < 0) { WARNING("buf shortage (%d)\n", len); @@ -260,12 +254,6 @@ static void ntmsg_out(int wNum, int wSize, int wColorR, int wColorG, int wColorB dt_setfont(wFont, wSize); - if (1) { - char *b = sjis2utf(mbuf); - fprintf(stderr, "msg '%s'\n", b); - free(b); - } - cw = dt_drawtext_col(sp->u.msg.canvas, sp->u.msg.dspcur.x, sp->u.msg.dspcur.y, diff --git a/modules/NIGHTDLL/sactcg.c b/modules/NIGHTDLL/sactcg.c index 33ad11f..e876f25 100644 --- a/modules/NIGHTDLL/sactcg.c +++ b/modules/NIGHTDLL/sactcg.c @@ -30,7 +30,6 @@ #include "portab.h" #include "nact.h" #include "system.h" -#include "utfsjis.h" #include "ags.h" #include "surface.h" #include "ngraph.h" diff --git a/modules/SACT/sactcg.c b/modules/SACT/sactcg.c index d6ae4af..2fe68e7 100644 --- a/modules/SACT/sactcg.c +++ b/modules/SACT/sactcg.c @@ -35,7 +35,6 @@ #include "sactcg.h" #include "surface.h" #include "ngraph.h" -#include "utfsjis.h" #include "sactcg_stretch.c" #include "sactcg_blend.c" diff --git a/modules/SACT/sprite_msg.c b/modules/SACT/sprite_msg.c index 6e51e80..6cfa7c7 100644 --- a/modules/SACT/sprite_msg.c +++ b/modules/SACT/sprite_msg.c @@ -38,7 +38,6 @@ #include "ngraph.h" #include "drawtext.h" #include "sactlog.h" -#include "utfsjis.h" // メッセージキー待ちの時、表示するアニメーションに関する情報 struct markinfo { @@ -193,12 +192,6 @@ void smsg_add(const char *msg) { if (msg[0] == '\0') return; - if (0) { - char *b = sjis2utf(msg); - fprintf(stderr, "add msg '%s'\n", b); - free(b); - } - len = MSGBUFMAX - (int)strlen(sact.msgbuf); if (len < 0) { WARNING("buf shortage (%d)\n", len); @@ -304,12 +297,6 @@ void smsg_out(int wNum, int wSize, int wColorR, int wColorG, int wColorB, int wF } dt_setfont(wFont, wSize); - if (0) { - char *b = sjis2utf(mbuf); - fprintf(stderr, "msg '%s'\n", b); - free(b); - } - cw = dt_drawtext_col(sp->u.msg.canvas, sp->u.msg.dspcur.x, sp->u.msg.dspcur.y + wRSize + wRLineSpace,