comparison gldragon.cpp @ 95:59195e95c080

Improve help, document arrow key controls.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 May 2021 01:00:06 +0300
parents 5191f8e571d1
children 05677852afd5
comparison
equal deleted inserted replaced
94:5191f8e571d1 95:59195e95c080
226 " (may be required for software rendering backends),\n" 226 " (may be required for software rendering backends),\n"
227 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" 227 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n"
228 " Using vsync (2) will result in FPS being approximately\n" 228 " Using vsync (2) will result in FPS being approximately\n"
229 " whatever your monitor refresh rate is. The default\n" 229 " whatever your monitor refresh rate is. The default\n"
230 " value is 1 (no vsync).\n" 230 " value is 1 (no vsync).\n"
231 " -p<frameN> Pause at cycle frame (max %d).\n" 231 " -p<frameN> Start and pause at cycle frame (max %d).\n"
232 "\n" 232 "\n"
233 "Keyboard controls during runtime:\n" 233 "Keyboard controls during runtime:\n"
234 " p / space Toggle pause (does not/should not affect fps measurement)\n" 234 " p / space Toggle pause (does not/should not affect fps measurement)\n"
235 " q / esc Quit\n" 235 " q / esc Quit\n"
236 " arrow keys Enter manual mode and rotate left/right\n"
236 "\n", 237 "\n",
237 argv[0], 238 argv[0],
238 SET_DEF_WIDTH, SET_DEF_HEIGHT, 239 SET_DEF_WIDTH, SET_DEF_HEIGHT,
239 SET_FRAMES 240 SET_FRAMES
240 ); 241 );