diff options
-rw-r--r-- | src/drm_fb.c | 6 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-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 | ||||
-rw-r--r-- | src/sdl_fb.c | 4 | ||||
-rw-r--r-- | src/til.c | 2 |
11 files changed, 35 insertions, 35 deletions
diff --git a/src/drm_fb.c b/src/drm_fb.c index 69dd3b8..542192f 100644 --- a/src/drm_fb.c +++ b/src/drm_fb.c @@ -71,7 +71,7 @@ static const char * connector_type_name(uint32_t type) { static int dev_desc_generator(void *setup_context, const til_setting_desc_t **res_desc) { return til_setting_desc_clone(&(til_setting_desc_t){ - .name = "DRM Device Path", + .name = "DRM device path", .key = "dev", .regex = "/dev/dri/card[0-9]", .preferred = "/dev/dri/card0", @@ -158,7 +158,7 @@ static int connector_desc_generator(void *setup_context, const til_setting_desc_ return r; r = til_setting_desc_clone(&(til_setting_desc_t){ - .name = "DRM Connector", + .name = "DRM connector", .key = "connector", .regex = "[a-zA-Z0-9]+", .preferred = connectors[0], @@ -267,7 +267,7 @@ static int mode_desc_generator(void *setup_context, const til_setting_desc_t **r return r; r = til_setting_desc_clone(&(til_setting_desc_t){ - .name = "DRM Video Mode", + .name = "DRM video mode", .key = "mode", .regex = "[0-9]+[xX][0-9]+@[0-9]+", .preferred = modes[0], @@ -74,7 +74,7 @@ static int setup_video(til_settings_t *settings, const til_setting_t **res_setti int r; r = til_setting_desc_clone(&(til_setting_desc_t){ - .name = "Video Backend", + .name = "Video backend", .key = NULL, .regex = "[a-z]+", .preferred = DEFAULT_VIDEO, 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], diff --git a/src/sdl_fb.c b/src/sdl_fb.c index 1d4aa3a..304737a 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -38,7 +38,7 @@ static int sdl_fb_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "SDL Fullscreen Mode", + .name = "SDL fullscreen mode", .key = "fullscreen", .regex = NULL, .preferred = fullscreen_values[0], @@ -56,7 +56,7 @@ static int sdl_fb_setup(const til_settings_t *settings, const til_setting_t **re r = til_settings_get_and_describe_value(settings, &(til_setting_desc_t){ - .name = "SDL Window size", + .name = "SDL window size", .key = "size", .regex = "[1-9][0-9]*[xX][1-9][0-9]*", .preferred = "640x480", @@ -184,7 +184,7 @@ int til_module_setup(til_settings_t *settings, const til_setting_t **res_setting } r = til_setting_desc_clone(&(til_setting_desc_t){ - .name = "Renderer Module", + .name = "Renderer module", .key = NULL, .regex = "[a-zA-Z0-9]+", .preferred = DEFAULT_MODULE, |