From 7a22dead814a48ba422d34e94227c1bcd65ca376 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 13 Oct 2021 09:13:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E8=87=AA?= =?UTF-8?q?=E5=88=B6=E5=AD=97=E4=BD=93=E8=A6=81=E7=94=A8=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E9=9B=86=E5=90=88=E5=B0=8F=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=EF=BC=88=E9=9D=9E=E6=A1=86=E6=9E=B6=E6=A8=A1=E5=9D=97=EF=BC=8C?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=9C=AA=E6=9C=80=E7=BB=88=E7=A1=AE=E5=AE=9A?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 1 + parts/char.lua | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 parts/char.lua diff --git a/main.lua b/main.lua index 569d0dab..c62c0a25 100644 --- a/main.lua +++ b/main.lua @@ -76,6 +76,7 @@ end require'parts.gameTables' require'parts.gameFuncs' +CHAR=require'parts.char' FREEROW= require'parts.freeRow' DATA= require'parts.data' diff --git a/parts/char.lua b/parts/char.lua new file mode 100644 index 00000000..2f313c47 --- /dev/null +++ b/parts/char.lua @@ -0,0 +1,110 @@ +local L={ + zChan={--F0000~F003F + none= 0xF0000, + normal= 0xF0001, + full= 0xF0002, + happy= 0xF0003, + confused= 0xF0004, + grinning= 0xF0005, + frowning= 0xF0006, + tears= 0xF0007, + anxious= 0xF0008, + rage= 0xF0009, + fear= 0xF000A, + question= 0xF000B, + angry= 0xF000C, + shocked= 0xF000D, + ellipses= 0xF000E, + sweat_drop= 0xF000F, + cry= 0xF0010, + cracked= 0xF0011, + qualified= 0xF0012, + unqualified= 0xF0013, + understand= 0xF0014, + thinking= 0xF0015, + spark= 0xF0016, + }, + mino={--F0040~F007F + Z=0xF0040, + S=0xF0041, + J=0xF0042, + L=0xF0043, + T=0xF0044, + O=0xF0045, + I=0xF0046, + + Z5=0xF0047, + S5=0xF0048, + P= 0xF0049, + Q= 0xF004A, + F= 0xF004B, + E= 0xF004C, + T5=0xF004D, + U= 0xF004E, + V= 0xF004F, + W= 0xF0050, + X= 0xF0051, + J5=0xF0052, + L5=0xF0053, + R= 0xF0054, + Y= 0xF0055, + N= 0xF0056, + H= 0xF0057, + I5=0xF0058, + + I3=0xF0059, + C= 0xF005A, + I2=0xF005B, + O1=0xF005C, + }, + icon={--F0080~F00FF + menu= 0xF0080, + music= 0xF0081, + language= 0xF0082, + back= 0xF0083, + play_pause= 0xF0084, + info= 0xF0085, + help= 0xF0086, + mute= 0xF0087, + volume_up= 0xF0088, + volume_down= 0xF0089, + retry_spin= 0xF008A, + filledLogo= 0xF008B, + hollowLogo= 0xF008C, + toUp= 0xF008D, + toDown= 0xF008E, + toLeft= 0xF008F, + toRight= 0xF0090, + checkMark= 0xF0091, + crossMark= 0xF0092, + musicMark= 0xF0093, + infoMark= 0xF0094, + warnMark= 0xF0095, + console= 0xF0096, + globe= 0xF0097, + video_camera= 0xF0098, + settings= 0xF0099, + mrz= 0xF009A, + apple= 0xF009B, + home= 0xF009C, + thick_cross= 0xF009D, + num0InSpin= 0xF009E, + num1InSpin= 0xF009F, + num2InSpin= 0xF00A0, + num3InSpin= 0xF00A1, + num4InSpin= 0xF00A2, + play= 0xF00A3, + pause= 0xF00A4, + nextFrame= 0xF00A5, + }, + key={--F0100~F017F + }, +} + +for _,pack in next,L do + for name,unicode in next,pack do + pack[name]=STRING.UTF8(unicode) + end +end + +return L