Kentaro Shirakata
argra****@users*****
2005年 5月 1日 (日) 20:27:04 JST
Index: jnethack/japanese/jconj.c diff -u jnethack/japanese/jconj.c:1.8 jnethack/japanese/jconj.c:1.9 --- jnethack/japanese/jconj.c:1.8 Wed Apr 27 05:51:15 2005 +++ jnethack/japanese/jconj.c Sun May 1 20:27:03 2005 @@ -1,6 +1,6 @@ /* ** -** $Id: jconj.c,v 1.8 2005/04/26 20:51:15 argrath Exp $ +** $Id: jconj.c,v 1.9 2005/05/01 11:27:03 argrath Exp $ ** */ @@ -55,40 +55,6 @@ {0xa4, 0xd1}, {0xa4, 0xd4}, {0xa4, 0xd7}, {0xa4, 0xda}, {0xa4, 0xdd}, }; -struct _trans_verb { - const char *en; - const char *jp; -} trans_verb_list[] = { - {"adjust", "調整する"}, - {"call", "呼ぶ"}, - {"charge", "充填する"}, - {"dip into", "に浸す"}, - {"dip", "浸す"}, - {"drink", "飲む"}, - {"drop", "置く"}, - {"eat", "食べる"}, - {"grease", "に塗る"}, - {"invoke", "の魔力を使う"}, - {"name", "名づける"}, - {"put on", "身につける"}, - {"read", "読む"}, - {"ready", "装填する"}, - {"remove", "はずす"}, - {"rub", "こする"}, - {"sacrifice", "捧げる"}, - {"take off", "の装備を解く"}, - {"throw", "投げる"}, - {"tin", "缶詰めにする"}, - {"untrap with", "使って解除する"}, - {"use or apply", "使う"}, - {"wear", "身につける"}, - {"write on", "に書く"}, - {"write with", "使って書く"}, - {"zap", "振りかざす"}, - {"rub", "こする"}, - {(void *)0, (void *)0}, -}; - #define FIFTH 0 /* 五段 */ #define UPPER 1 /* 上一段 */ #define LOWER 2 /* 下一段 */ @@ -434,20 +400,6 @@ return (char *)tmp; } -const char -*trans_verb(const char *en){ - struct _trans_verb *list = trans_verb_list; - - while(list->en){ - if(!strcmp(en, list->en)){ - return list->jp; - } - list++; - } - - return en; -} - #ifdef JAPANESETEST unsigned char