| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
package h; |
| 47 |
|
| 48 |
import smetana.core.UnsupportedArrayOfStruct; |
| 49 |
import smetana.core.UnsupportedStructAndPtr; |
| 50 |
import smetana.core.__struct__; |
| 51 |
import smetana.core.amiga.StarStruct; |
| 52 |
|
| 53 |
public class ST_Node_t___ extends UnsupportedStructAndPtr implements ST_Node_t___or_object_t { |
| 54 |
|
| 55 |
private final StarStruct parent; |
| 56 |
public int count; |
| 57 |
public int level; |
| 58 |
|
| 59 |
public final ST_Branch_t branch[] = new ST_Branch_t[] { new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 60 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 61 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 62 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 63 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 64 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 65 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 66 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 67 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 68 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 69 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 70 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 71 |
new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), new ST_Branch_t(), |
| 72 |
new ST_Branch_t() }; |
| 73 |
|
| 74 |
public ST_Node_t___() { |
| 75 |
this(null); |
| 76 |
} |
| 77 |
|
| 78 |
public ST_Node_t___(StarStruct parent) { |
| 79 |
this.parent = parent; |
| 80 |
} |
| 81 |
|
| 82 |
class ArrayOfSixtyFor extends UnsupportedArrayOfStruct { |
| 83 |
|
| 84 |
final private int pos; |
| 85 |
|
| 86 |
public ArrayOfSixtyFor(int pos) { |
| 87 |
this.pos = pos; |
| 88 |
} |
| 89 |
|
| 90 |
public ArrayOfSixtyFor plus(int delta) { |
| 91 |
return new ArrayOfSixtyFor(pos + delta); |
| 92 |
} |
| 93 |
|
| 94 |
@Override |
| 95 |
public __struct__ getStruct() { |
| 96 |
return branch[pos]; |
| 97 |
} |
| 98 |
|
| 99 |
@Override |
| 100 |
public void setStruct(__struct__ value) { |
| 101 |
branch[pos].copyDataFrom(value); |
| 102 |
} |
| 103 |
|
| 104 |
} |
| 105 |
|
| 106 |
@Override |
| 107 |
public void setInt(String fieldName, int data) { |
| 108 |
if (fieldName.equals("count")) { |
| 109 |
this.count = data; |
| 110 |
return; |
| 111 |
} |
| 112 |
if (fieldName.equals("level")) { |
| 113 |
this.level = data; |
| 114 |
return; |
| 115 |
} |
| 116 |
super.setInt(fieldName, data); |
| 117 |
} |
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
} |
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|