&setup.bd_show_invisible_outbox, "bd_show_invisible_outbox"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.bd_smooth_movements, "bd_smooth_movements"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.bd_pushing_graphics, "bd_pushing_graphics"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.bd_up_down_graphics, "bd_up_down_graphics"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.bd_skip_falling_sounds, "bd_skip_falling_sounds"
},
{
&setup.music_set, "music_set"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.override_level_graphics, "override_level_graphics"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.override_level_sounds, "override_level_sounds"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.override_level_music, "override_level_music"
},
{
&setup.debug.show_frames_per_second, "debug.show_frames_per_second"
},
{
- TYPE_SWITCH3,
+ TYPE_SWITCH_3_STATES,
&setup.debug.xsn_mode, "debug.xsn_mode"
},
{
*(boolean *)setup_value = get_boolean_from_string(token_value);
break;
- case TYPE_SWITCH3:
+ case TYPE_SWITCH_3_STATES:
*(int *)setup_value = get_switch3_from_string(token_value);
break;
strcpy(value_string, (*(boolean *)value ? "on" : "off"));
break;
- case TYPE_SWITCH3:
+ case TYPE_SWITCH_3_STATES:
strcpy(value_string, (*(int *)value == MODE_AUTO ? "auto" :
*(int *)value == FALSE ? "off" : "on"));
break;
// values for setup file handling
#define TYPE_BOOLEAN (1 << 0)
#define TYPE_SWITCH (1 << 1)
-#define TYPE_SWITCH3 (1 << 2)
+#define TYPE_SWITCH_3_STATES (1 << 2)
#define TYPE_YES_NO (1 << 3)
#define TYPE_YES_NO_AUTO (1 << 4)
#define TYPE_ECS_AGA (1 << 5)
// derived values for setup screen
#define TYPE_VALUE (TYPE_BOOLEAN_STYLE | \
- TYPE_SWITCH3 | \
+ TYPE_SWITCH_3_STATES | \
TYPE_YES_NO_AUTO | \
TYPE_KEY | \
TYPE_KEY_X11 | \