diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/compose/compose.c | 2 | ||||
-rw-r--r-- | src/modules/drizzle/drizzle.c | 2 | ||||
-rw-r--r-- | src/modules/flui2d/flui2d.c | 6 | ||||
-rw-r--r-- | src/modules/rtv/rtv.c | 12 | ||||
-rw-r--r-- | src/modules/sparkler/sparkler.c | 30 | ||||
-rw-r--r-- | src/modules/stars/stars.c | 2 | ||||
-rw-r--r-- | src/modules/submit/submit.c | 2 |
7 files changed, 28 insertions, 28 deletions
diff --git a/src/modules/compose/compose.c b/src/modules/compose/compose.c index 81406c1..cd15fa1 100644 --- a/src/modules/compose/compose.c +++ b/src/modules/compose/compose.c @@ -118,7 +118,7 @@ static int compose_setup(const til_settings_t *settings, const til_setting_t **r r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Colon-Separated List Of Module Layers, In Draw Order", + .name = "Colon-separated list of module layers, in draw-order", .key = "layers", .preferred = "drizzle:stars:spiro:plato", .annotations = NULL diff --git a/src/modules/drizzle/drizzle.c b/src/modules/drizzle/drizzle.c index 26d1ac8..f8d93bd 100644 --- a/src/modules/drizzle/drizzle.c +++ b/src/modules/drizzle/drizzle.c @@ -167,7 +167,7 @@ static int drizzle_setup(const til_settings_t *settings, const til_setting_t **r r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Puddle Viscosity", + .name = "Puddle viscosity", .key = "viscosity", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(DEFAULT_VISCOSITY), diff --git a/src/modules/flui2d/flui2d.c b/src/modules/flui2d/flui2d.c index 8536d90..a4025c8 100644 --- a/src/modules/flui2d/flui2d.c +++ b/src/modules/flui2d/flui2d.c @@ -311,7 +311,7 @@ static int flui2d_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Fluid Viscosity", + .name = "Fluid viscosity", .key = "viscosity", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(DEFAULT_VISCOSITY), @@ -326,7 +326,7 @@ static int flui2d_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Fluid Diffusion", + .name = "Fluid diffusion", .key = "diffusion", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(DEFAULT_DIFFUSION), @@ -341,7 +341,7 @@ static int flui2d_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Fluid Decay", + .name = "Fluid decay", .key = "decay", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(DEFAULT_DECAY), diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c index b166b15..bd48eb3 100644 --- a/src/modules/rtv/rtv.c +++ b/src/modules/rtv/rtv.c @@ -322,7 +322,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Colon-Separated List Of Channel Modules", + .name = "Colon-separated list of channel modules", .key = "channels", .preferred = "all", .annotations = NULL @@ -335,7 +335,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Channel Duration In Seconds", + .name = "Channel duration, in seconds", .key = "duration", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(RTV_DURATION_SECS), @@ -349,7 +349,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Context Duration In Seconds", + .name = "Context duration, in seconds", .key = "context_duration", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(RTV_CONTEXT_DURATION_SECS), @@ -363,7 +363,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Caption Duration In Seconds", + .name = "Caption duration, in seconds", .key = "caption_duration", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(RTV_CAPTION_DURATION_SECS), @@ -377,7 +377,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Snow On Channel Switch Duration In Seconds", + .name = "Snow on channel-switch duration, in seconds", .key = "snow_duration", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(RTV_SNOW_DURATION_SECS), @@ -391,7 +391,7 @@ static int rtv_setup(const til_settings_t *settings, const til_setting_t **res_s r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Module To Use For Snow (\"none\" To Blank)", + .name = "Module to use for snow (\"none\" for blank)", .key = "snow_module", .preferred = "snow", .annotations = NULL diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c index ca9bfaf..5d11a9d 100644 --- a/src/modules/sparkler/sparkler.c +++ b/src/modules/sparkler/sparkler.c @@ -111,7 +111,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t ** r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Show BSP Leaf Node Bounding Boxes", + .name = "Show BSP-tree leaf-node bounding boxes", .key = "show_bsp_leafs", .preferred = "off", .values = values @@ -135,18 +135,18 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t ** sparkler_conf.show_bsp_leafs = 1; - r = til_settings_get_and_describe_value(settings, - &(til_setting_desc_t){ - .name = "Show BSP Leaf Node Bounding Boxes Minimum Depth", - .key = "show_bsp_leafs_min_depth", - .preferred = "8", - .values = depth_values - }, - &show_bsp_leafs_min_depth, - res_setting, - res_desc); - if (r) - return r; + r = til_settings_get_and_describe_value(settings, + &(til_setting_desc_t){ + .name = "Minimum BSP-tree depth for shown leaf-nodes", + .key = "show_bsp_leafs_min_depth", + .preferred = "8", + .values = depth_values + }, + &show_bsp_leafs_min_depth, + res_setting, + res_desc); + if (r) + return r; sscanf(show_bsp_leafs_min_depth, "%u", &sparkler_conf.show_bsp_leafs_min_depth); } else { @@ -155,7 +155,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t ** r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Show BSP Search Matches", + .name = "Show BSP-tree search matches", .key = "show_bsp_matches", .preferred = "off", .values = values @@ -176,7 +176,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t ** r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Show Only Affected BSP Search Matches", + .name = "Limit matches shown to those affected by the search", .key = "show_bsp_matches_affected_only", .preferred = "off", .values = values diff --git a/src/modules/stars/stars.c b/src/modules/stars/stars.c index 1fb73ec..1cc66c4 100644 --- a/src/modules/stars/stars.c +++ b/src/modules/stars/stars.c @@ -217,7 +217,7 @@ int stars_setup(const til_settings_t *settings, const til_setting_t **res_settin r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Rotation Rate", + .name = "Rotation rate", .key = "rot_adj", .regex = "\\.[0-9]+", .preferred = TIL_SETTINGS_STR(DEFAULT_ROT_ADJ), diff --git a/src/modules/submit/submit.c b/src/modules/submit/submit.c index 5dd5cb3..1389444 100644 --- a/src/modules/submit/submit.c +++ b/src/modules/submit/submit.c @@ -334,7 +334,7 @@ static int submit_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "Bilinear Interpolation of Cell Colors", + .name = "Bilinearly interpolate cell colors", .key = "bilerp", .regex = NULL, .preferred = values[0], |