Subversion Repositories Projects

Rev

Rev 258 | Rev 265 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 258 Rev 262
Line 29... Line 29...
29
 
29
 
30
    public int voice_delay;
30
    public int voice_delay;
Line -... Line 31...
-
 
31
    public int voice_volume;
-
 
32
 
Line 31... Line 33...
31
    public int voice_volume;
33
 
Line 32... Line 34...
32
 
34
    public byte graph_interval=1;
33
 
35
 
Line 91... Line 93...
91
    public final static int SETTINGS_POS_KEY_CLEAR=11;
93
    public final static int SETTINGS_POS_KEY_CLEAR=11;
92
    public final static int SETTINGS_POS_VOICEVOLUME=12;
94
    public final static int SETTINGS_POS_VOICEVOLUME=12;
93
    public final static int SETTINGS_POS_VOICEDELAY=13;
95
    public final static int SETTINGS_POS_VOICEDELAY=13;
94
    public final static int SETTINGS_POS_BITFIELD2=14;
96
    public final static int SETTINGS_POS_BITFIELD2=14;
95
    public final static int SETTINGS_POS_LANG=15;
97
    public final static int SETTINGS_POS_LANG=15;
-
 
98
    public final static int SETTINGS_POS_GRAPHINTERVAL=16;
Line 96... Line 99...
96
 
99
 
97
 
100
 
Line -... Line 101...
-
 
101
    public void field2setting(int pos,int val)
-
 
102
    {
-
 
103
       
-
 
104
        if (pos==SETTINGS_POS_GRAPHINTERVAL)
-
 
105
            {
-
 
106
                if (val<1)
-
 
107
                    graph_interval=1;
Line 98... Line 108...
98
    public void field2setting(int pos,int val)
108
                else
99
    {
109
                    graph_interval=(byte)val;
100
       
110
            }
101
 
111
 
Line 239... Line 249...
239
            //#endif
249
            //#endif
240
        },
250
        },
241
        {  STRINGID_GPSFORMAT,  STRINGID_SPEEDFORMAT},
251
        {  STRINGID_GPSFORMAT,  STRINGID_SPEEDFORMAT},
242
        { STRINGID_NICK ,STRINGID_ROLL,STRINGID_GIER,STRINGID_GASINCREASE,STRINGID_HEIGHTINCREASE },
252
        { STRINGID_NICK ,STRINGID_ROLL,STRINGID_GIER,STRINGID_GASINCREASE,STRINGID_HEIGHTINCREASE },
243
        {STRINGID_BACKTOMAINMENU,STRINGID_FULLSCREEN,STRINGID_CLEAR },
253
        {STRINGID_BACKTOMAINMENU,STRINGID_FULLSCREEN,STRINGID_CLEAR },
244
        {STRINGID_LEGEND,STRINGID_SCALEGRID},
254
        {STRINGID_LEGEND,STRINGID_SCALEGRID,STRINGID_GRAPHINTERVAL},
245
        {STRINGID_VOLTS,STRINGID_DELAYINS,STRINGID_VOLUME},
255
        {STRINGID_VOLTS,STRINGID_DELAYINS,STRINGID_VOLUME},
246
        {STRINGID_SOUND,STRINGID_VIBRA,STRINGID_REMOTECAMSTICK,STRINGID_ALWAYSRELOADPARAMS,STRINGID_EXPERTMODE}};
256
        {STRINGID_SOUND,STRINGID_VIBRA,STRINGID_REMOTECAMSTICK,STRINGID_ALWAYSRELOADPARAMS,STRINGID_EXPERTMODE}};
Line 256... Line 266...
256
 
266
 
257
 
267
 
-
 
268
 
258
 
269
    public int[][] _field_positions={ {SETTINGS_POS_LANG,SETTINGS_POS_SKIN,8,9
259
    public int[][] _field_positions={ {SETTINGS_POS_LANG,SETTINGS_POS_SKIN,8,9
270
//#if devicecontrol=="on"
260
//#if devicecontrol=="on"
271
 
261
                                       ,13
272
                                       ,13
262
//#endif
273
//#endif
263
} , {2,3} , {4,5,6,7,8} , {9,10,11},{SETTINGS_POS_BITFIELD1*8 +6,SETTINGS_POS_BITFIELD1*8 +7} ,{SETTINGS_POS_BITFIELD2*8+0,SETTINGS_POS_VOICEDELAY,SETTINGS_POS_VOICEVOLUME },  {10,11,12,SETTINGS_POS_BITFIELD2*8+1,12}};
274
} , {2,3 } , {4,5,6,7,8} , {9,10,11},{SETTINGS_POS_BITFIELD1*8 +6,SETTINGS_POS_BITFIELD1*8 +7, SETTINGS_POS_GRAPHINTERVAL} ,{SETTINGS_POS_BITFIELD2*8+0,SETTINGS_POS_VOICEDELAY,SETTINGS_POS_VOICEVOLUME },  {10,11,12,SETTINGS_POS_BITFIELD2*8+1,12}};
264
    public int[][] _field_types={ {PARAMTYPE_CHOICE+0,PARAMTYPE_CHOICE+1,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH
275
    public int[][] _field_types={ {PARAMTYPE_CHOICE+0,PARAMTYPE_CHOICE+1,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH
265
//#if devicecontrol=="on"
276
//#if devicecontrol=="on"
266
                                   ,PARAMTYPE_BITSWITCH
277
                                   ,PARAMTYPE_BITSWITCH
Line 267... Line 278...
267
//#endif
278
//#endif