mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Made many performance improvements (using FindBugs).
- Ability of Chainer, Dementia Master shouldn't be castable from hand anymore, also added ability text.
This commit is contained in:
@@ -49,8 +49,7 @@ final class huffcodetab
|
||||
|
||||
private char tablename0 = ' '; /* string, containing table_description */
|
||||
private char tablename1 = ' '; /* string, containing table_description */
|
||||
@SuppressWarnings("unused")
|
||||
private char tablename2 = ' '; /* string, containing table_description */
|
||||
//private char tablename2 = ' '; /* string, containing table_description */
|
||||
|
||||
private int xlen; /* max. x-index+ */
|
||||
private int ylen; /* max. y-index+ */
|
||||
@@ -59,10 +58,10 @@ final class huffcodetab
|
||||
private int linmax; /* max number to be stored in linbits */
|
||||
@SuppressWarnings("unused")
|
||||
private int ref; /* a positive value indicates a reference */
|
||||
@SuppressWarnings("unused")
|
||||
private int[] table=null; /* pointer to array[xlen][ylen] */
|
||||
@SuppressWarnings("unused")
|
||||
private int[] hlen=null; /* pointer to array[xlen][ylen] */
|
||||
|
||||
//private int[] table=null; /* pointer to array[xlen][ylen] */
|
||||
|
||||
//private int[] hlen=null; /* pointer to array[xlen][ylen] */
|
||||
private int[][] val=null; /* decoder tree */
|
||||
private int treelen; /* length of decoder tree */
|
||||
|
||||
@@ -433,14 +432,14 @@ final class huffcodetab
|
||||
{
|
||||
tablename0 = S.charAt(0);
|
||||
tablename1 = S.charAt(1);
|
||||
tablename2 = S.charAt(2);
|
||||
//tablename2 = S.charAt(2);
|
||||
xlen = XLEN;
|
||||
ylen = YLEN;
|
||||
linbits = LINBITS;
|
||||
linmax = LINMAX;
|
||||
ref = REF;
|
||||
table = TABLE;
|
||||
hlen = HLEN;
|
||||
//linmax = LINMAX;
|
||||
//ref = REF;
|
||||
//table = TABLE;
|
||||
//hlen = HLEN;
|
||||
val = VAL;
|
||||
treelen = TREELEN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user