Add cost calculation

This commit is contained in:
Nishi 2026-06-24 11:39:52 +09:00
commit 54d3831094
14 changed files with 136 additions and 16 deletions

View file

@ -43,7 +43,7 @@ typedef struct jiritu {
TypeDicOfs jofsst;
TypeDicOfs jofsed;
u_short flags;
TypeClass class;
TypeClass jclass;
TypeDicID dicid;
u_char jlen;
TypeGram hinsi;
@ -75,6 +75,7 @@ typedef struct kouho {
TypeDicOfs offs;
TypeStyNum styno;
u_char rank;
u_short cost; /* new in SJ4 */
#if __STDC__
unsigned sttfg : 1;
unsigned sttkj : 1;