Add CLI arguments

This commit is contained in:
Miloslav Ciz 2025-03-05 17:10:01 +01:00
parent 5c8e4c4c2b
commit ffbc647024
5 changed files with 70 additions and 3 deletions

View file

@ -48,6 +48,16 @@ static const char *LCR_texts[] =
"saved"
};
#define LCR_VERSION "0.1d"
/// String that can be used by frontends to offer help about CLI arguments.
#define LCR_ARG_HELP_STR \
" -cN set camera mode to N\n" \
" -s0 turn sound off\n" \
" -m0 turn music off\n" \
" -M load the last map in the data file\n" \
" -R load the last replay in the data file\n"
// TODO: define string for CLI arguments for frontends?
static const char *LCR_internalDataFile =