Rev 213 | Rev 223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 213 | Rev 220 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | 10 | ||
Line 11... | Line 11... | ||
11 | package org.ligi.ufo; |
11 | package org.ligi.ufo; |
12 | - | ||
Line 13... | Line -... | ||
13 | - | ||
Line -... | Line 12... | ||
- | 12 | ||
14 | 13 | ||
15 | public class MKParamsParser |
14 | |
16 | implements MKParamDefinitions |
15 | public class MKParamsParser extends ParamsClass |
17 | 16 | ||
18 | { |
17 | |
Line 56... | Line 55... | ||
56 | if (val<0) val=255; |
55 | if (val<0) val=255; |
57 | field[act_paramset][pos]=val; |
56 | field[act_paramset][pos]=val; |
58 | } |
57 | } |
Line 59... | Line 58... | ||
59 | 58 | ||
60 | 59 | ||
61 | public void field_from_act_add(int pos,int val) |
60 | /* public void field_from_act_add(int pos,int val) |
62 | { |
61 | { |
Line 63... | Line 62... | ||
63 | set_field_from_act(pos , get_field_from_act(pos)+val); |
62 | set_field_from_act(pos , get_field_from_act(pos)+val); |
64 | } |
63 | } |
65 | 64 | ||
66 | // for boolean Flags |
65 | // for boolean Flags |
67 | public void field_from_act_xor(int pos,int val) |
66 | public void field_from_act_xor(int pos,int val) |
Line -... | Line 67... | ||
- | 67 | { |
|
Line 68... | Line 68... | ||
68 | { |
68 | field[act_paramset][pos]^=val; |
69 | field[act_paramset][pos]^=val; |
69 | } |
70 | } |
70 | |
71 | 71 | */ |
|
Line 99... | Line 99... | ||
99 | stick_names=new String[10]; |
99 | stick_names=new String[10]; |
100 | for (int i=0;i<10;i++) |
100 | for (int i=0;i<10;i++) |
101 | stick_names[i]="not read yet"; |
101 | stick_names[i]="not read yet"; |
102 | } |
102 | } |
Line -... | Line 103... | ||
- | 103 | ||
- | 104 | public int length=0; |
|
103 | 105 | public int name_start=0; |
|
104 | 106 | /* |
|
105 | public int[] param_type; |
107 | public int[] param_type; |
106 | public int[] param_pos; |
108 | public int[] param_pos; |
Line 107... | Line 109... | ||
107 | public int[] param_innerpos; |
109 | public int[] param_innerpos; |
Line 111... | Line 113... | ||
111 | public int[][] field_positions; |
113 | public int[][] field_positions; |
112 | public int[][] field_types; |
114 | public int[][] field_types; |
Line 113... | Line 115... | ||
113 | 115 | ||
114 | public int length; |
116 | public int length; |
115 | public int name_start; |
117 | public int name_start; |
Line 116... | Line 118... | ||
116 | 118 | */ |
|
117 | 119 | ||
118 | 120 |