- 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:
jendave
2011-08-06 03:12:56 +00:00
parent 11f3c223a5
commit eae967c56c
34 changed files with 329 additions and 259 deletions

View File

@@ -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;
}