Add physics version to help

This commit is contained in:
Miloslav Ciz 2025-06-24 21:27:41 +02:00
parent d57a07edb8
commit c0fddf7631
3 changed files with 9 additions and 6 deletions

View file

@ -65,10 +65,11 @@ void LCR_drawPixel(unsigned long index, uint16_t color)
void printHelp(void) void printHelp(void)
{ {
printf( printf(
"Licar, 3D racing game, v. " LCR_VERSION ", CSFML frontend, args:\n" "Licar, 3D racing game, v. " LCR_VERSION " (physics v. %c%c),"
" CSFML frontend, args:\n"
" -h print help and quit\n" " -h print help and quit\n"
" -wN window (N = 1) or fullscreen (N = 0)\n" " -wN window (N = 1) or fullscreen (N = 0)\n"
LCR_ARG_HELP_STR); LCR_ARG_HELP_STR,LCR_RACING_VERSION1,LCR_RACING_VERSION2);
} }
sfBool soundFill(sfSoundStreamChunk *data, void *userdata) sfBool soundFill(sfSoundStreamChunk *data, void *userdata)

View file

@ -114,10 +114,11 @@ void LCR_drawPixel(unsigned long index, uint16_t color)
void printHelp(void) void printHelp(void)
{ {
printf( printf(
"Licar, 3D racing game, v. " LCR_VERSION ", SDL frontend, args:\n" "Licar, 3D racing game, v. " LCR_VERSION " (physics v. %c%c),"
" SDL frontend, args:\n"
" -h print help and quit\n" " -h print help and quit\n"
" -wN window (N = 1) or fullscreen (N = 0)\n" " -wN window (N = 1) or fullscreen (N = 0)\n"
LCR_ARG_HELP_STR); LCR_ARG_HELP_STR,LCR_RACING_VERSION1,LCR_RACING_VERSION2);
} }
void mainLoopIteration(void) void mainLoopIteration(void)

View file

@ -51,9 +51,10 @@ void LCR_sleep(uint16_t timeMs)
void printHelp(void) void printHelp(void)
{ {
printf( printf(
"Licar, 3D racing game, v. " LCR_VERSION ", X11 frontend, args:\n" "Licar, 3D racing game, v. " LCR_VERSION " (physics v. %c%c),"
" X11 frontend, args:\n"
" -h print help and quit\n" " -h print help and quit\n"
LCR_ARG_HELP_STR); LCR_ARG_HELP_STR,LCR_RACING_VERSION1,LCR_RACING_VERSION2);
} }
int main(int argc, char **argv) int main(int argc, char **argv)