FC18: maisdoc fixed nav link reset bug in pages and sub concepts
This commit is contained in:
parent
0e16c50571
commit
663b927bdb
7 changed files with 77 additions and 36 deletions
|
|
@ -48,7 +48,7 @@ public interface FourCornerZion7Candlelier extends FourCornerZion7Bereshit {
|
|||
/// An choco pig floating point number. (4+1+283+2016)
|
||||
void strobeNumberChocoPigFloat(FCFlameNumberTaste taste, boolean bias, BigInteger exponent, BigInteger mantissa);
|
||||
|
||||
/// An choped pig point number. (4+1148+1152)
|
||||
/// An chopped pig point number. (4+1148+1152)
|
||||
void strobeNumberChocoPigChoped(FCFlameNumberTaste taste, BigInteger quake, BigInteger fraction);
|
||||
// XDBX18: doom.wad uses (ARM) Q16.16 which is equal to the real (Texas) Q15.16 (because doom map like E2M3 = 6 bit float)
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ import org.x4o.fc18.zion7.flame4.FCFlameNumberSparklerSmoke;
|
|||
///
|
||||
/// @author Willem Cazander
|
||||
/// @version 1.0 Jan 09, 2025
|
||||
public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs {
|
||||
public class FourCornerZionStenoLexer {
|
||||
|
||||
private final static FourCornerZionStenoLexerFire CLEAN_FIRE = new FourCornerZionStenoLexerFire.Adapter() {};
|
||||
private final static FourCornerZionStenoLexerSmoke CLEAN_SMOKE = new FourCornerZionStenoLexerSmoke.Adapter() {};
|
||||
|
|
@ -64,7 +64,7 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
|
|||
private final boolean handlerEscape;
|
||||
private final FourCornerZion7Candlelier handler;
|
||||
private final FourCornerZion7TempleScrolls handlerTempleScrolls;
|
||||
private final int numberBank[] = new int[NCR_BANK_SIZE];
|
||||
private final int numberBank[] = new int[FourCornerZionStenoPetroglyphs.NCR_BANK_SIZE];
|
||||
private List<Integer> input;
|
||||
private int inputIndex = 0;
|
||||
private int currLine = 0;
|
||||
|
|
@ -249,8 +249,8 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
|
|||
}
|
||||
|
||||
private void numberBankReset() {
|
||||
for (int i = NCR_BANK_SIZE - NCR_ONE; i >= NCR_ZERO; i--) {
|
||||
numberBank[i] = NCR_ZERO;
|
||||
for (int i = FourCornerZionStenoPetroglyphs.NCR_BANK_SIZE - FourCornerZionStenoPetroglyphs.NCR_ONE; i >= FourCornerZionStenoPetroglyphs.NCR_ZERO; i--) {
|
||||
numberBank[i] = FourCornerZionStenoPetroglyphs.NCR_ZERO;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -268,7 +268,7 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
|
|||
|
||||
private BigInteger numberBankReadBigPaged(int bankBits, int bankPageBegin) {
|
||||
BigInteger result = BigInteger.ZERO;
|
||||
for (int i = bankPageBegin; i >= NCR_ZERO; i--) {
|
||||
for (int i = bankPageBegin; i >= FourCornerZionStenoPetroglyphs.NCR_ZERO; i--) {
|
||||
int bankValue = numberBank[i];
|
||||
result = result.add(BigInteger.valueOf(bankValue).shiftLeft(i * bankBits));
|
||||
}
|
||||
|
|
@ -276,15 +276,15 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
|
|||
}
|
||||
|
||||
private BigInteger numberBankReadBig8(int bankPageBegin) {
|
||||
return numberBankReadBigPaged(NCR_BANK8_BITS, bankPageBegin);
|
||||
return numberBankReadBigPaged(FourCornerZionStenoPetroglyphs.NCR_BANK8_BITS, bankPageBegin);
|
||||
}
|
||||
|
||||
private BigInteger numberBankReadBig9(int bankPageBegin) {
|
||||
return numberBankReadBigPaged(NCR_BANK9_BITS, bankPageBegin);
|
||||
return numberBankReadBigPaged(FourCornerZionStenoPetroglyphs.NCR_BANK9_BITS, bankPageBegin);
|
||||
}
|
||||
|
||||
private BigInteger numberBankReadBig12(int bankPageBegin) {
|
||||
return numberBankReadBigPaged(NCR_BANK12_BITS, bankPageBegin);
|
||||
return numberBankReadBigPaged(FourCornerZionStenoPetroglyphs.NCR_BANK12_BITS, bankPageBegin);
|
||||
}
|
||||
|
||||
abstract static private class StenoScanner implements FourCornerZionStenoPetroglyphs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue