bassbone
This commit is contained in:
parent
4f122133ce
commit
779e280b87
312 changed files with 1756 additions and 1621 deletions
|
|
@ -3,20 +3,22 @@ package love.distributedrebirth.numberxd.unicode;
|
|||
import java.math.BigInteger;
|
||||
import java.text.DecimalFormat;
|
||||
|
||||
import love.distributedrebirth.bassboonyd.Bãß;
|
||||
import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnAuthor注;
|
||||
import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnInfo注;
|
||||
import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnPackage注;
|
||||
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumSetᴶᴹˣ;
|
||||
import love.distributedrebirth.bassboonyd.spider.BãßBȍőnSpiderWire注;
|
||||
import love.distributedrebirth.bassboonyd.jmx.CounterGuageᴶᴹˣ;
|
||||
import love.distributedrebirth.bassboon.Bãß;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnClazz注;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注;
|
||||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
||||
import love.distributedrebirth.bassboon.ydmod.jmx.CounterGuageᴶᴹˣ;
|
||||
import love.distributedrebirth.bassboon.ydmod.jmx.DefaultEnumSetᴶᴹˣ;
|
||||
import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieCorpse;
|
||||
import love.distributedrebirth.bassboon.ydmod.zombie.BãßBȍőnEnumZombieʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnInfo注(purpose = "The number base glyph scripts.")
|
||||
@BãßBȍőnPackage注(name = "love.distributedrebirth.numberxd")
|
||||
public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyphSetNail> {
|
||||
@BãßBȍőnClazz注(purpose = "The number base glyph scripts.")
|
||||
@BãßBȍőnExport注(group = "love.distributedrebirth.numberxd")
|
||||
public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet>, BãßBȍőnEnumZombieʸᴰ<BaseGlyphSet,BaseGlyphSetBullet> {
|
||||
// TODO: Move this into unicode4D and TyyPartXxx
|
||||
|
||||
LATIN_BASIC(
|
||||
|
|
@ -119,7 +121,7 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
|
|||
|
||||
CHINA(
|
||||
new BaseGlyphSetNumber("零","一","二","三","四","五","六","七","八","九"),
|
||||
// TODO: replace Yijing Hexagram Symbols are "T64PartYijing"
|
||||
// TODO: replace Yijing Hexagram Symbols are "T64PartYijing" + see add https://en.wikipedia.org/wiki/Six-bit_character_code
|
||||
new BaseGlyphSetNumber("䷀", "䷁", "䷂", "䷃", "䷄", "䷅", "䷆", "䷇", "䷈", "䷉", "䷊", "䷋", "䷌", "䷍", "䷎", "䷏"),
|
||||
// TODO: replace Tai Xuan Jing Symbols are "T87PartXuanJing"
|
||||
new BaseGlyphSetNumber("𝌁","𝌂","𝌃","𝌄","𝌅","𝌆","𝌇","𝌈","𝌉","𝌊","𝌋","𝌌","𝌍","𝌎","𝌏","𝌐","𝌑","𝌒","𝌓","𝌔","𝌕","𝌖","𝌗","𝌘","𝌙","𝌚","𝌛")),
|
||||
|
|
@ -155,8 +157,8 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
|
|||
new BaseGlyphSetNumber("א","ב","ג","ד","ה","ו","ז","ח","ט","י","כ","ל","מ","נ","ס","ע","פ","צ","ק","ר","ש","ת","ך","ם","ן","ף","ץ"),
|
||||
true),
|
||||
WHITESPACE(
|
||||
new BaseGlyphSetNumber(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE_CHINA,"\u205F","\u202F","\u200A","\u2009","\u2008","\u2007","\u2006","\u2005","\u2004"),
|
||||
new BaseGlyphSetNumber(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE_CHINA,"\u205F","\u202F","\u200A","\u2009","\u2008","\u2007","\u2006","\u2005","\u2004","\u2003","\u2002","\u2001","\u2000","\u00A0","\u0020"),
|
||||
new BaseGlyphSetNumber("\u3000","\u205F","\u202F","\u200A","\u2009","\u2008","\u2007","\u2006","\u2005","\u2004"),
|
||||
new BaseGlyphSetNumber("\u3000","\u205F","\u202F","\u200A","\u2009","\u2008","\u2007","\u2006","\u2005","\u2004","\u2003","\u2002","\u2001","\u2000","\u00A0","\u0020"),
|
||||
null
|
||||
),
|
||||
;
|
||||
|
|
@ -179,28 +181,28 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
|
|||
}
|
||||
|
||||
private BaseGlyphSet(BaseGlyphSetNumber numbers, BaseGlyphSetNumber hex, BaseGlyphSetNumber gematria, Boolean reverseScript) {
|
||||
Bãß.Ꝑŕḯṿª₮ḕ.魎ᴵᴺᴵᵀ(this, BBC -> {
|
||||
BBC.PUT_OBJ(BaseGlyphSetNail.NUMBERS, numbers);
|
||||
BBC.PUT_OBJ(BaseGlyphSetNail.HEXIMALS, hex);
|
||||
BBC.PUT_OBJ(BaseGlyphSetNail.GEMATRIA, gematria);
|
||||
BBC.PUT_OBJ(BaseGlyphSetNail.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround
|
||||
});
|
||||
Bãß.石棺ʸᴰ.魎ᴵⁿᶦᵗ(this);
|
||||
BãßBȍőnEnumZombieCorpse<BaseGlyphSetBullet> corpse = BãßBȍőnEnumZombieCorpse.castᴼᶠ(toEnumZombie());
|
||||
corpse.PUT_OBJ(BaseGlyphSetBullet.NUMBERS, numbers);
|
||||
corpse.PUT_OBJ(BaseGlyphSetBullet.HEXIMALS, hex);
|
||||
corpse.PUT_OBJ(BaseGlyphSetBullet.GEMATRIA, gematria);
|
||||
corpse.PUT_OBJ(BaseGlyphSetBullet.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround
|
||||
}
|
||||
|
||||
public BaseGlyphSetNumber BȍőnNumber10() {
|
||||
return toBBC().GET_OBJ(BaseGlyphSetNail.NUMBERS, BaseGlyphSetNumber.class);
|
||||
return toEnumZombie().GET_OBJ(BaseGlyphSetBullet.NUMBERS, BaseGlyphSetNumber.class);
|
||||
}
|
||||
|
||||
public BaseGlyphSetNumber BȍőnNumber16() {
|
||||
return toBBC().GET_OBJ(BaseGlyphSetNail.HEXIMALS, BaseGlyphSetNumber.class);
|
||||
return toEnumZombie().GET_OBJ(BaseGlyphSetBullet.HEXIMALS, BaseGlyphSetNumber.class);
|
||||
}
|
||||
|
||||
public BaseGlyphSetNumber BȍőnNumber27() {
|
||||
return toBBC().GET_OBJ(BaseGlyphSetNail.GEMATRIA, BaseGlyphSetNumber.class);
|
||||
return toEnumZombie().GET_OBJ(BaseGlyphSetBullet.GEMATRIA, BaseGlyphSetNumber.class);
|
||||
}
|
||||
|
||||
public Boolean BȍőnReverseScript() {
|
||||
return toBBC().GET_BOOL(BaseGlyphSetNail.REVERSE_SCRIPT);
|
||||
return toEnumZombie().GET_BOOL(BaseGlyphSetBullet.REVERSE_SCRIPT);
|
||||
}
|
||||
|
||||
public String BȍőnConvertTo(String numbers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue