2020-12-16 23:13:49 +01:00
|
|
|
#pragma once
|
|
|
|
|
2020-12-18 21:12:28 +01:00
|
|
|
namespace output
|
|
|
|
{
|
2020-12-16 23:13:49 +01:00
|
|
|
const char* HELP_FLAG = "--help";
|
|
|
|
const char* SPLITTING_FLAG = "-s";
|
2020-12-20 14:49:24 +01:00
|
|
|
const char* RESOLUTION_FLAG = "-r";
|
2020-12-16 23:13:49 +01:00
|
|
|
|
|
|
|
const char* NO_ARG_MSG = "Please at least provide a path to a target image. --help for more information.\n";
|
|
|
|
const char* HELP_MSG = "usage: sliding-puzzle [-OPTIONS...] FILE-OR-DIRECTORY\n\n"
|
2021-01-08 22:27:07 +01:00
|
|
|
" Provide FILE-OR-DIRECTORY variable as a path to either a directory\n"
|
|
|
|
" which contains images (one will be picked randomly) or a specific\n"
|
|
|
|
" image file of .bmp, .jpg, of .png format.\n\n"
|
|
|
|
" If no path was provided, it will be assumed as \'.\'!\n\n"
|
2020-12-16 23:13:49 +01:00
|
|
|
" Options:\n"
|
2021-01-08 22:27:07 +01:00
|
|
|
" [-r NUMxNUM] Provide it if you want to explicitly define\n"
|
|
|
|
" window resolution.\n"
|
|
|
|
" [-s NUM] Provide it if you want to explicitly define\n"
|
|
|
|
" qualifier for image slicing, it's counted\n"
|
|
|
|
" by the smallest side of given source texture.\n"
|
|
|
|
" Hence, if your image is square, the amount of tiles\n"
|
|
|
|
" will be num * num.\n";
|
2020-12-19 01:03:48 +01:00
|
|
|
const char* SPLITTING_MSG = "-s should be given with a positive num >= 2 as in [-s num].\n";
|
2020-12-18 21:12:28 +01:00
|
|
|
const char* IMG_FAIL_MSG = "Couldn't load image from given path.\n";
|
2020-12-20 14:49:24 +01:00
|
|
|
const char* RESOLUTION_MSG = "Couldn't recognize given screen resolution.\n"
|
|
|
|
"Please it provide as in [NUMxNUM], 1280x720, 1600x900, etc.\n";
|
2020-12-16 23:13:49 +01:00
|
|
|
}
|