195 lines
7 KiB
C
195 lines
7 KiB
C
|
/*----------------------------------------------------------------------------
|
|||
|
%%File: OUTPOS.H
|
|||
|
%%Unit: OUTPOS
|
|||
|
%%Contact: seijia
|
|||
|
|
|||
|
mapping from public and private pos
|
|||
|
----------------------------------------------------------------------------*/
|
|||
|
|
|||
|
#ifndef __OUTPOS_H__
|
|||
|
#define __OUTPOS_H__
|
|||
|
|
|||
|
#define JPOS_UNDEFINED 0
|
|||
|
|
|||
|
#define JPOS_MEISHI_FUTSU 100 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_MEISHI_SAHEN 101 //<2F><><EFBFBD>ϖ<EFBFBD><CF96><EFBFBD>
|
|||
|
#define JPOS_MEISHI_ZAHEN 102 //<2F><><EFBFBD>ϖ<EFBFBD><CF96><EFBFBD>
|
|||
|
#define JPOS_MEISHI_KEIYOUDOUSHI 103 //<2F>`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_HUKUSIMEISHI 104 //<2F><><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_MEISA_KEIDOU 105 //<2F><><EFBFBD>ό`<60><>
|
|||
|
#define JPOS_JINMEI 106 //<2F>l<EFBFBD><6C>
|
|||
|
#define JPOS_JINMEI_SEI 107 //<2F><>
|
|||
|
#define JPOS_JINMEI_MEI 108 //<2F><>
|
|||
|
#define JPOS_CHIMEI 109 //<2F>n<EFBFBD><6E>
|
|||
|
#define JPOS_CHIMEI_KUNI 110 //<2F><>
|
|||
|
#define JPOS_CHIMEI_KEN 111 //<2F><>
|
|||
|
#define JPOS_CHIMEI_GUN 112 //<2F>S
|
|||
|
#define JPOS_CHIMEI_KU 113 //<2F><>
|
|||
|
#define JPOS_CHIMEI_SHI 114 //<2F>s
|
|||
|
#define JPOS_CHIMEI_MACHI 115 //<2F><>
|
|||
|
#define JPOS_CHIMEI_MURA 116 //<2F><>
|
|||
|
#define JPOS_CHIMEI_EKI 117 //<2F>w
|
|||
|
#define JPOS_SONOTA 118 //<2F>ŗL<C597><4C><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SHAMEI 119 //<2F>Ж<EFBFBD>
|
|||
|
#define JPOS_SOSHIKI 120 //<2F>g<EFBFBD>D
|
|||
|
#define JPOS_KENCHIKU 121 //<2F><><EFBFBD>z<EFBFBD><7A>
|
|||
|
#define JPOS_BUPPIN 122 //<2F><><EFBFBD>i
|
|||
|
#define JPOS_DAIMEISHI 123 //<2F>㖼<EFBFBD><E396BC>
|
|||
|
#define JPOS_DAIMEISHI_NINSHOU 124 //<2F>l<EFBFBD>̑㖼<CC91><E396BC>
|
|||
|
#define JPOS_DAIMEISHI_SHIJI 125 //<2F>w<EFBFBD><77><EFBFBD>㖼<EFBFBD><E396BC>
|
|||
|
#define JPOS_KAZU 126 //<2F><>
|
|||
|
#define JPOS_KAZU_SURYOU 127 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KAZU_SUSHI 128 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_5DAN_AWA 200 //<2F><><EFBFBD><EFBFBD><EFBFBD>s
|
|||
|
#define JPOS_5DAN_KA 201 //<2F><><EFBFBD>s
|
|||
|
#define JPOS_5DAN_GA 202 //<2F><><EFBFBD>s
|
|||
|
#define JPOS_5DAN_SA 203 //<2F><><EFBFBD>s
|
|||
|
#define JPOS_5DAN_TA 204 //<2F><><EFBFBD>s
|
|||
|
#define JPOS_5DAN_NA 205 //<2F>ȍs
|
|||
|
#define JPOS_5DAN_BA 206 //<2F>s
|
|||
|
#define JPOS_5DAN_MA 207 //<2F>܍s
|
|||
|
#define JPOS_5DAN_RA 208 //<2F><><EFBFBD>s
|
|||
|
#define JPOS_5DAN_AWAUON 209 //<2F><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_5DAN_KASOKUON 210 //<2F><><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_5DAN_RAHEN 211 //<2F><><EFBFBD>s<EFBFBD>ϊi
|
|||
|
#define JPOS_4DAN_HA 212 //<2F>͍s<CD8D>l<EFBFBD>i
|
|||
|
#define JPOS_1DAN 213 //<2F><><EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_TOKUSHU_KAHEN 214 //<2F><><EFBFBD>ϓ<EFBFBD><CF93><EFBFBD>
|
|||
|
#define JPOS_TOKUSHU_SAHENSURU 215 //<2F><><EFBFBD>ϓ<EFBFBD><CF93><EFBFBD>
|
|||
|
#define JPOS_TOKUSHU_SAHEN 216 //<2F><><EFBFBD>s<EFBFBD>ϊi
|
|||
|
#define JPOS_TOKUSHU_ZAHEN 217 //<2F><><EFBFBD>s<EFBFBD>ϊi
|
|||
|
#define JPOS_TOKUSHU_NAHEN 218 //<2F>ȍs<C88D>ϊi
|
|||
|
#define JPOS_KURU_KI 219 //<2F><>
|
|||
|
#define JPOS_KURU_KITA 220 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KITARA 221 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KITARI 222 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KITAROU 223 //<2F><><EFBFBD><EFBFBD><EFBFBD>낤
|
|||
|
#define JPOS_KURU_KITE 224 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KUREBA 225 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KO 226 //<2F><><EFBFBD>i<EFBFBD>Ȃ<EFBFBD><C882>j
|
|||
|
#define JPOS_KURU_KOI 227 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KURU_KOYOU 228 //<2F><><EFBFBD>悤
|
|||
|
#define JPOS_SURU_SA 229 //<2F><>
|
|||
|
#define JPOS_SURU_SI 230 //<2F><>
|
|||
|
#define JPOS_SURU_SITA 231 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SURU_SITARA 232 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SURU_SIATRI 233 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SURU_SITAROU 234 //<2F><><EFBFBD><EFBFBD><EFBFBD>낤
|
|||
|
#define JPOS_SURU_SITE 235 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SURU_SIYOU 236 //<2F><><EFBFBD>悤
|
|||
|
#define JPOS_SURU_SUREBA 237 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SURU_SE 238 //<2F><>
|
|||
|
#define JPOS_SURU_SEYO 239 //<2F><><EFBFBD><EFBFBD><EFBFBD>^<5E><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIYOU 300 //<2F>`<60>e<EFBFBD><65>
|
|||
|
#define JPOS_KEIYOU_GARU 301 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIYOU_GE 302 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIYOU_ME 303 //<2F>`<60>e<EFBFBD><65><EFBFBD>
|
|||
|
#define JPOS_KEIYOU_YUU 304 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIYOU_U 305 //<2F>`<60>e<EFBFBD><65><EFBFBD>
|
|||
|
#define JPOS_KEIDOU 400 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIDOU_NO 401 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIDOU_TARU 402 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KEIDOU_GARU 403 //<2F>`<60>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI 500 //<2F><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_SAHEN 501 //<2F><><EFBFBD>ϕ<EFBFBD><CF95><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_NI 502 //<2F><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_NANO 503 //<2F><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_DA 504 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_TO 505 //<2F><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_FUKUSHI_TOSURU 506 //<2F><><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD>
|
|||
|
#define JPOS_RENTAISHI 600 //<2F>A<EFBFBD>̎<EFBFBD>
|
|||
|
#define JPOS_RENTAISHI_SHIJI 601 //<2F>w<EFBFBD><77><EFBFBD>A<EFBFBD>̎<EFBFBD>
|
|||
|
#define JPOS_SETSUZOKUSHI 650 //<2F>ڑ<EFBFBD><DA91><EFBFBD>
|
|||
|
#define JPOS_KANDOUSHI 670 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SETTOU 700 //<2F>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_KAKU 701 //<2F><><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_SAI 702 //<2F><><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_FUKU 703 //<2F><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_MI 704 //<2F><><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_DAISHOU 705 //<2F><><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_KOUTEI 706 //<2F><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_CHOUTAN 707 //<2F><><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_SHINKYU 708 //<2F><><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_JINMEI 709 //<2F>l<EFBFBD><6C><EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_CHIMEI 710 //<2F>n<EFBFBD><6E><EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_SONOTA 711 //<2F>ŗL<C597>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_JOSUSHI 712 //<2F>O<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SETTOU_TEINEI_O 713 //<2F><><EFBFBD>J<EFBFBD>P<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_TEINEI_GO 714 //<2F><><EFBFBD>J<EFBFBD>Q<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETTOU_TEINEI_ON 715 //<2F><><EFBFBD>J<EFBFBD>R<EFBFBD>ړ<EFBFBD><DA93><EFBFBD>
|
|||
|
#define JPOS_SETSUBI 800 //<2F>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_TEKI 801 //<2F><><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SEI 802 //<2F><><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KA 803 //<2F><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_CHU 804 //<2F><><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_FU 805 //<2F><><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_RYU 806 //<2F><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_YOU 807 //<2F><><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KATA 808 //<2F><><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_MEISHIRENDAKU 809 //<2F><><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41>
|
|||
|
#define JPOS_SETSUBI_JINMEI 810 //<2F>l<EFBFBD><6C><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_CHIMEI 811 //<2F>n<EFBFBD><6E><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KUNI 812 //<2F><><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KEN 813 //<2F><><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_GUN 814 //<2F>S<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KU 815 //<2F><><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SHI 816 //<2F>s<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_MACHI 817 //<2F><><EFBFBD>P<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_CHOU 818 //<2F><><EFBFBD>Q<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_MURA 819 //<2F><><EFBFBD>P<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SON 820 //<2F><><EFBFBD>Q<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_EKI 821 //<2F>w<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SONOTA 822 //<2F>ŗL<C597>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SHAMEI 823 //<2F>Ж<EFBFBD><D096>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SOSHIKI 824 //<2F>g<EFBFBD>D<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KENCHIKU 825 //<2F><><EFBFBD>z<EFBFBD><7A><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_RENYOU_SETSUBI 826 //<2F>A<EFBFBD>p<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_JOSUSHI 827 //<2F><><EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_JOSUSHIPLUS 828 //<2F><><EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{
|
|||
|
#define JPOS_SETSUBI_JIKAN 829 //<2F><><EFBFBD>ԏ<EFBFBD><D48F><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_JIKANPLUS 830 //<2F><><EFBFBD>ԏ<EFBFBD><D48F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{
|
|||
|
#define JPOS_SETSUBI_TEINEI 831 //<2F><><EFBFBD>J<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SAN 832 //<2F><><EFBFBD>J<EFBFBD>P<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_KUN 833 //<2F><><EFBFBD>J<EFBFBD>Q<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_SAMA 834 //<2F><><EFBFBD>J<EFBFBD>R<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_DONO 835 //<2F><><EFBFBD>J<EFBFBD>S<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_FUKUSU 836 //<2F><><EFBFBD><EFBFBD><EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_TACHI 837 //<2F><><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_SETSUBI_RA 838 //<2F><><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>ڔ<EFBFBD><DA94><EFBFBD>
|
|||
|
#define JPOS_TANKANJI 900 //<2F>P<EFBFBD><50><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_TANKANJI_KAO 901 //<2F><>
|
|||
|
#define JPOS_KANYOUKU 902 //<2F><><EFBFBD>p<EFBFBD><70>
|
|||
|
#define JPOS_DOKURITSUGO 903 //<2F>Ɨ<EFBFBD><C697><EFBFBD>
|
|||
|
#define JPOS_FUTEIGO 904 //<2F>s<EFBFBD><73><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_KIGOU 905 //<2F>L<EFBFBD><4C>
|
|||
|
#define JPOS_EIJI 906 //<2F>p<EFBFBD><70>
|
|||
|
#define JPOS_KUTEN 907 //<2F><><EFBFBD>_
|
|||
|
#define JPOS_TOUTEN 908 //<2F>Ǔ_
|
|||
|
#define JPOS_KANJI 909 //<2F><><EFBFBD>͕s<CD95>\<5C><><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_OPENBRACE 910 //<2F>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define JPOS_CLOSEBRACE 911 //<2F><EFBFBD><C282><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
#pragma pack (push, 1)
|
|||
|
//POS table data structure
|
|||
|
typedef struct _POSTBL
|
|||
|
{
|
|||
|
WORD nPos; //pos number
|
|||
|
BYTE *szName; //name of pos
|
|||
|
} POSTBL;
|
|||
|
#pragma pack (pop)
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
|
|||
|
//function prototypes
|
|||
|
extern POSTBL *ObtainPosTable(int *pcPos);
|
|||
|
extern WORD WPosExtFromIn(WORD wPos);
|
|||
|
extern WORD WPosInFromExt(WORD wPos);
|
|||
|
#ifdef __cplusplus
|
|||
|
} /* end of 'extern "C" {' */
|
|||
|
#endif
|
|||
|
|
|||
|
#endif //__OUTPOS_H__
|