Mercurial > hg > forks > gldragon
comparison gldragon.cpp @ 87:036e9d737ba9
Help cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 06 Jul 2020 18:49:21 +0300 |
parents | 91a2868260bf |
children | 8b34eab13549 |
comparison
equal
deleted
inserted
replaced
86:cc7fcaf139ef | 87:036e9d737ba9 |
---|---|
203 | 203 |
204 if (optShowHelp) | 204 if (optShowHelp) |
205 { | 205 { |
206 printf( | 206 printf( |
207 "Usage: %s [options] [<scenefile.scene>]\n" | 207 "Usage: %s [options] [<scenefile.scene>]\n" |
208 "-? Show this help\n" | 208 "\n" |
209 "-g Use GLSL shader instead of basic OpenGL lighting\n" | 209 " -? Show this help\n" |
210 "-s<w>x<h> Set window dimensions (default %d x %d)\n" | 210 " -g Use GLSL shader instead of basic OpenGL lighting\n" |
211 "-v<0-3> Set vsync mode: 0 = do not attempt to set vsync mode\n" | 211 " -s<w>x<h> Set window dimensions (default %d x %d)\n" |
212 " (may be required for software rendering backends),\n" | 212 " -v<0-3> Set vsync mode: 0 = do not attempt to set vsync mode\n" |
213 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" | 213 " (may be required for software rendering backends),\n" |
214 " Using vsync (2) will result in FPS being approximately\n" | 214 " 1 = no vsync, 2 = vsync, 3 = adaptive.\n" |
215 " whatever your monitor refresh rate is. The default\n" | 215 " Using vsync (2) will result in FPS being approximately\n" |
216 " value is 1 (no vsync).\n" | 216 " whatever your monitor refresh rate is. The default\n" |
217 " value is 1 (no vsync).\n" | |
217 "\n" | 218 "\n" |
218 "Keyboard controls during runtime:\n" | 219 "Keyboard controls during runtime:\n" |
219 " p / space Toggle pause (does not/should not affect fps measurement)\n" | 220 " p / space Toggle pause (does not/should not affect fps measurement)\n" |
220 " q / esc Quit\n" | 221 " q / esc Quit\n" |
221 "\n", | 222 "\n", |