Update code for big indian of nx01

This commit is contained in:
Willem Cazander 2024-12-28 00:46:07 +01:00
parent 8c0a3447dc
commit 7d9bccf43c
8 changed files with 48 additions and 52 deletions

View file

@ -43,6 +43,7 @@ import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.BaseGl
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.TTꞱꞱᖟGateway;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.TerminatorGun;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator𓄯;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.Listᴿᵈ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -77,20 +78,20 @@ public class DemoNumberPartDeskApp extends AbstractDeskApp implements DeskAppRen
items = pieTypes.toArray(items);
String selectedItem = items[selectedBasePart.get()];
Integer pieNumber = Integer.valueOf(selectedItem);
Terminator𓄯<?>[] baseParts = TTꞱꞱᖟGateway..deliverPieSlices(pieNumber);
Listᴿᵈ<? extends Terminator𓄯<?>> baseParts = TTꞱꞱᖟGateway..deliverPieSlices(pieNumber);
ImGui.combo(getTxt("selectBase"), selectedBasePart, items);
ImGui.text(getTxt("selectName"));
ImGui.sameLine();
ImGui.text(baseParts[0].getClass().getName());
ImGui.text(baseParts.getᴿᵈ(0).getClass().getName());
ImGui.text(getTxt("selectPurpose"));
ImGui.sameLine();
String text = baseParts[0].ráàmDuytsNaam(嘴ᗮᙿᗮ.English.class);
text += ": The distribution by " + baseParts[0].teŀráàmGroote();
text += " - " + baseParts[0].ráàmDuytsChina(嘴ᗮᙿᗮ.English.class);
String text = baseParts.getᴿᵈ(0).ráàmDuytsNaam(嘴ᗮᙿᗮ.English.class);
text += ": The distribution by " + baseParts.getᴿᵈ(0).teŀráàmGroote();
text += " - " + baseParts.getᴿᵈ(0).ráàmDuytsChina(嘴ᗮᙿᗮ.English.class);
ImGui.text(text);
ImGui.checkbox(getTxt("showBase10"), showBase10);
@ -143,7 +144,7 @@ public class DemoNumberPartDeskApp extends AbstractDeskApp implements DeskAppRen
ImGui.tableSetupColumn("Alt6");
ImGui.tableHeadersRow();
for (Terminator𓄯<?> part:baseParts) {
for (Terminator𓄯<?> part : baseParts.iterableᴼᶠ()) {
ImGui.tableNextRow();
ImGui.tableNextColumn();
ImGui.text(part.rȧñkNaam());

View file

@ -38,7 +38,7 @@ import org.eobjects.metamodel.schema.Column;
import org.eobjects.metamodel.schema.Relationship;
import org.eobjects.metamodel.schema.Schema;
import org.eobjects.metamodel.schema.Table;
import org.x4o.xml.eld.doc.api.ApiDocWriter;
import org.x4o.xml.eld.doc.api.ApiDocGenerator;
import org.x4o.xml.eld.doc.api.DefaultPageWriterHelp;
import org.x4o.xml.eld.doc.api.DefaultPageWriterIndexAll;
import org.x4o.xml.eld.doc.api.DefaultPageWriterTree;
@ -57,7 +57,7 @@ public class DocModelWriter {
private static final String[] CC_RS = {"relationship","Relationship","The relationships.","The telationships data."};
private ApiDocWriter writer = null;
private ApiDocGenerator writer = null;
private ApiDoc doc = null;
public DocModelWriter(DocModelDataStore dmds) {
@ -65,7 +65,7 @@ public class DocModelWriter {
throw new NullPointerException("Can't write null "+DocModelDataStore.class.getSimpleName());
}
doc = buildApiDoc(dmds);
writer = new ApiDocWriter();
writer = new ApiDocGenerator();
}
public ApiDoc getApiDoc() {

View file

@ -42,7 +42,7 @@ import org.eobjects.metamodel.schema.Column;
import org.eobjects.metamodel.schema.Relationship;
import org.eobjects.metamodel.schema.Table;
import org.eobjects.metamodel.schema.TableType;
import org.x4o.html.ContentWriterHtml.Tag;
import org.x4o.o2o.io.ContentWriterHtml.Tag;
import org.x4o.xml.eld.doc.api.ApiDocContentCss;
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;

View file

@ -70,24 +70,24 @@ public enum CodePointᶻᴰ {
public int getArgumentUnicode(V036Teger teger) {
int unicode = 0;
unicode += teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint() & MASK_ARGU+MASK_SIGN;
unicode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint() & MASK_ARGU+MASK_SIGN) << 15;
unicode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint() & MASK_ARGU+MASK_SIGN) << 15;
unicode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint() & MASK_ARGU+MASK_SIGN) << 0;
return unicode;
}
public void setArgumentUnicode(V036Teger teger, int unicode) {
int value1 = teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint();
int value2 = teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint();
value1 = (value1 & MASK_CMD) + (unicode & MASK_ARGU+MASK_SIGN);
value2 = (value2 & MASK_CMD) + ((unicode >> 15) & MASK_ARGU+MASK_SIGN);
value1 = (value1 & MASK_CMD) + ((unicode >> 15) & MASK_ARGU+MASK_SIGN);
value2 = (value2 & MASK_CMD) + ((unicode >> 0) & MASK_ARGU+MASK_SIGN);
teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint(value1);
teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint(value2);
}
public CodePointCommandᶻᴰ getCommand(V036Teger teger) {
int mode = 0;
mode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint() >> 15) << 0;
mode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint() >> 15) << 3;
mode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint() >> 15) << 3;
mode += (teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint() >> 15) << 0;
return CodePointCommandᶻᴰ.values()[mode];
}
@ -95,8 +95,8 @@ public enum CodePointᶻᴰ {
int mode = command.ordinal();
int value1 = teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint();
int value2 = teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint();
teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint(value1 | (((mode >> 0) << 15)) & MASK_CMD);
teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint(value2 | (((mode >> 3) << 15)) & MASK_CMD);
teger.legoᐧtuneᐧ(T002ᖟ.PART_1).smurfᐧnativeᐧint(value1 | (((mode >> 3) << 15)) & MASK_CMD);
teger.legoᐧtuneᐧ(T002ᖟ.PART_2).smurfᐧnativeᐧint(value2 | (((mode >> 0) << 15)) & MASK_CMD);
}
/**

View file

@ -27,11 +27,7 @@
package love.distributedrebirth.unicode4d.atlas;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Base64;
import java.util.List;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
@ -57,23 +53,12 @@ public class FontAtlasStoreGlyph {
this.tongs.add(glyph);
}
public String getBase64() {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
V072Tong..gearsᐧbuildᐧbyteᐧstreamᐧfromᐧbricks(tongs, baos);
} catch (IOException e) {
throw new RuntimeException(e);
}
return Base64.getEncoder().encodeToString(baos.toByteArray());
// TODO: this is quick hack not the proper way in x4o
public String getGlyphX9() {
return V072Tong..gearsᐧbuildᐧhinarīᐧχ9ᐧfromᐧbricks(tongs);
}
public void setBase64(String base64) {
byte[] decodedBytes = Base64.getDecoder().decode(base64);
ByteArrayInputStream bais = new ByteArrayInputStream(decodedBytes);
try {
tongs = V072Tong..gearsᐧbuildᐧbricksᐧfromᐧbyteᐧstream(bais);
} catch (IOException e) {
throw new RuntimeException(e);
}
public void setGlyphX9(String hinary9) {
tongs = V072Tong..gearsᐧbuildᐧbricksᐧfromᐧhinarī(hinary9);
}
}

View file

@ -64,6 +64,8 @@ public class TestConvFont {
// gdxapp4d-chain-font-unicode4d/src/main/nodejs$ ./conv-font.sh ../chain/plane0/ ../../../target/chain2/plane0/
// gdxapp4d-chain-font-unicode4d/src/main/nodejs$ ./conv-font.sh ../chain/plane1/ ../../../target/chain2/plane1/
// gdxapp4d-chain-font-unicode4d/src/main/nodejs$ ./conv-font.sh ../chain/plane2/ ../../../target/chain2/plane2/
// cd ../../../..
// mvn package
public void run() {
System.out.println("Starting conversion;");

View file

@ -124,6 +124,15 @@ public class GDXAppTos4BootFactory {
"imgui.gl3,"+
"imgui.type,"+
"net.spookygames.gdx.nativefilechooser,"+
"org.x4o.o2o,"+
"org.x4o.o2o.io,"+
"org.x4o.o2o.io.sax3,"+
"org.x4o.o2o.io.sax3.xdbx,"+
"org.x4o.o2o.io.sax4,"+
"org.x4o.o2o.io.tlv,"+
"org.x4o.o2o.io.octal,"+
"org.x4o.o2o.io.octo,"+
"org.x4o.o2o.io.octo.conv,"+
"org.x4o.xml,"+
"org.x4o.xml.conv,"+
"org.x4o.xml.conv.text,"+
@ -133,8 +142,6 @@ public class GDXAppTos4BootFactory {
"org.x4o.xml.eld.xsd,"+
"org.x4o.xml.element,"+
"org.x4o.xml.io,"+
"org.x4o.xml.io.sax,"+
"org.x4o.xml.io.sax.ext,"+
"org.x4o.xml.lang,"+
"org.x4o.xml.lang.phase,"+
"org.x4o.xml.lang.task,"+
@ -156,13 +163,14 @@ public class GDXAppTos4BootFactory {
"ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒼᒻᣔᙆᙆ.ᣖᑊᣗᣔᐪᓫ,"+
"ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᑊᔿᓫ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᐧᣞᣛ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒄᓫᣕᐪᣔᒻ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒻᑊᣕᕐᓑᣔ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔾᓑᣕᒼᐪᑊᐤᣕᔆ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔾᓑᣕᒼᐪᑊᐤᣕᔆ.ᐧᣞᣛ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔿᓫᐪᑋᐤᒄᐤᓑᔿᔆ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔿᓫᐪᑋᐤᒄᐤᓑᔿᔆ.ᐧᣞᣛ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ,"+
@ -178,7 +186,6 @@ public class GDXAppTos4BootFactory {
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ,"+
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᣔᒃᣔᒼᓑᔆ,"+
"ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ,"+
"ᒢᐩᐩ.ᓫᣕᐪᓫᣗ.ᒡᒢᣔᣗᣖ,"+
"ᒢᐩᐩ.ᓫᣕᐪᓫᣗ.ᣖᑊᓫ,"+
"ᒢᐩᐩ.ᓫᣕᐪᓫᣗ.ᣖᑊᓫ.ᐪᣔᔆᐪᓫ,"+
"ᒢᐩᐩ.ᓫᣕᐪᓫᣗ.ᣗᑊᒼᓫ,"+

View file

@ -49,6 +49,7 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒢᔿᕽ.ᘁᓑᓑᣗ.Vū́ǘrAttributeBoole
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒢᔿᕽ.ᘁᓑᓑᣗ.Vū́ǘrAttributeStringᴶᴹˣ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒢᔿᕽ.ᘁᓑᓑᣗ.Vū́ǘrBurnCounterᴶᴹˣ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᣔᒃᣔᒼᓑᔆ.TeŀRáàmRȧñkEnumInluider;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.Listᴿᵈ;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
//@BãßBȍőnDuytsFlüstern注(purpose = "The warpcore writer and armor manager.")
@ -90,8 +91,8 @@ public enum SystemWarpCore implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnumSho
public void BãßLockWarpCipher(Consumer<String> logHandler) {
armedWarpCipherLock.setValue(true);
for (int pieType:TTꞱꞱᖟGateway..bakedPieSlices()) {
Terminator𓄯<?>[] parts = TTꞱꞱᖟGateway..deliverPieSlices(pieType);
for (Terminator𓄯<?> part:parts) {
Listᴿᵈ<? extends Terminator𓄯<?>> parts = TTꞱꞱᖟGateway..deliverPieSlices(pieType);
for (Terminator𓄯<?> part : parts.iterableᴼᶠ()) {
logHandler.accept("Lock: "+part.rȧñkNaam());
BãßBȍőn𓄯.亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᵒᶜᵏ(part);
}
@ -105,9 +106,9 @@ public enum SystemWarpCore implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnumSho
warpCipher.setDescription(armedWarpWaterDesc.getValue());
for (int pieType:TTꞱꞱᖟGateway..bakedPieSlices()) {
WaterCipherHeart heart = new WaterCipherHeart();
Terminator𓄯<?>[] bases = TTꞱꞱᖟGateway..deliverPieSlices(pieType);
heart.setBass(bases[0].teŀráàmWaardes().sizeᴿᵈ());
for (Terminator𓄯<?> part:bases) {
Listᴿᵈ<? extends Terminator𓄯<?>> bases = TTꞱꞱᖟGateway..deliverPieSlices(pieType);
heart.setBass(bases.getᴿᵈ(0).teŀráàmWaardes().sizeᴿᵈ());
for (Terminator𓄯<?> part : bases.iterableᴼᶠ()) {
WaterCipherHeartTone tone = new WaterCipherHeartTone();
tone.setPart(part.rȧñkNaam());
tone.setDialTone(part.rȧñkRingToon());
@ -127,9 +128,9 @@ public enum SystemWarpCore implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnumSho
Map<String,String> chinaKey = new HashMap<>();
Map<String,String> chinaValue = new HashMap<>();
for (WaterCipherHeart heart:warpBucket.theWater().getCipherHearts()) {
Terminator𓄯<?>[] bases = TTꞱꞱᖟGateway..deliverPieSlices(heart.getBass());
Listᴿᵈ<? extends Terminator𓄯<?>> bases = TTꞱꞱᖟGateway..deliverPieSlices(heart.getBass());
Map<String, Terminator𓄯<?>> baseParts = new HashMap<>();
for (Terminator𓄯<?> base:bases) {
for (Terminator𓄯<?> base : bases.iterableᴼᶠ()) {
baseParts.put(base.rȧñkNaam(), base);
}
for (WaterCipherHeartTone tone:heart.getHeartTones()) {
@ -151,9 +152,9 @@ public enum SystemWarpCore implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnumSho
armedWarpWaterName.setValue(warpBucket.theWater().getName());
armedWarpWaterDesc.setValue(warpBucket.theWater().getDescription());
for (WaterCipherHeart heart:warpBucket.theWater().getCipherHearts()) {
Terminator𓄯<?>[] bases = TTꞱꞱᖟGateway..deliverPieSlices(heart.getBass());
Listᴿᵈ<? extends Terminator𓄯<?>> bases = TTꞱꞱᖟGateway..deliverPieSlices(heart.getBass());
Map<String, Terminator𓄯<?>> baseParts = new HashMap<>();
for (Terminator𓄯<?> base:bases) {
for (Terminator𓄯<?> base : bases.iterableᴼᶠ()) {
baseParts.put(base.rȧñkNaam(), base);
}
for (WaterCipherHeartTone tone:heart.getHeartTones()) {