Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stormbaancoureur(6) [debian man page]

Stormbaan Coureur(6)													      Stormbaan Coureur(6)

NAME
stormbaancoureur - simulated obstacle course for automobiles SYNOPSIS
stormbaancoureur [options] DESCRIPTION
Your objective is to drive your car along an obstacle course. Success depends on total control of the car. If you want to master it, try to have the laws of physics work with you, not against you. OPTIONS
stormbaancoureur accepts the standard glutInit options for your system. The X Window System specific options parsed by glutInit are as follows: -display DISPLAY Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used. -geometry W x H + X + Y Determines where window's should be created on the screen. The parameter following -geometry should be formatted as a standard X geometry specification. The effect of using this option is to change the GLUT initial size and initial position the same as if glu- tInitWindowSize or glutInitWindowPosition were called directly. -iconic Requests all top-level windows be created in an iconic state. -indirect Force the use of indirect OpenGL rendering contexts. -direct Force the use of direct OpenGL rendering contexts (not all GLX implementations support direct rendering contexts). A fatal error is generated if direct rendering is not supported by the OpenGL implementation. If neither -indirect or -direct are used to force a particular behavior, GLUT will attempt to use direct rendering if possible and otherwise fallback to indirect rendering. -gldebug After processing callbacks and/or events, check if there are any OpenGL errors by calling glGetError. If an error is reported, print out a warning by looking up the error code with gluErrorString. Using this option is helpful in detecting OpenGL run-time errors. -sync Enable synchronous X protocol transactions. This option makes it easier to track down potential X protocol errors. Debian-specific options: -fullscreen Run the game in fullscreen mode -window Run the game inside a window SEE ALSO
You can find more about the game on its homepage: http://bram.creative4vision.nl/stormbaancoureur/ AUTHOR
The game has been written by Bram Stolk, and is distributed under the GNU General Public License, either version 2 of the License, or (at your option) any later version. Stormbaan Coureur(6)

Check Out this Related Man Page

UNTITLED
LOCAL UNTITLED NAME
glutInit -- Initialize OpenGLUT data structures. LIBRARY
OpenGLUT - mainloop SYNOPSIS
#include <openglut.h> void glutInit(int *pargc, char **argv); PARAMETERS
pargc Pointer to something like main()'s argc. argv Something like main()'s argv. DESCRIPTION
This function should be called once, near the start of any GLUT, freeglut, or OpenGLUT program. It serves two vital roles: - It allows OpenGLUT to initialize internal structures. - It allows OpenGLUT to process command-line arguments to control the initial window position, etc. You should take note of the interaction between glutInit() and the related functions such as glutInitWindowPosition(). OpenGLUT always uses the most recent configuration information, so if you call glutInit(), then glutInitWindowPosition(), you prevent the user from controlling the initial window position via a command-line parameter. glutInit() will remove from pargc, argv any parameters that it recognizes in the command line. The following command-line parameters are suported: - -display display-id This allows connection to an alternate X server. - -geometry geometry-spec This takes width, height, and window position. The position is given as a signed value (negative values being distance from the far boundary of the screen). For example, a window geometry of 5x7+11-17 is 5 pixels wide, 7 pixels tall, 11 pixels from the left, and 17 pixels from the bottom edge of the screen. - -direct Insist on only OpenGL direct rendering. Direct rendering is normally requested but indirect is normally accepted. -direct is not always available. See -indirect. - -indirect Attempt only indirect OpenGL rendering. -indirect is always available. See -direct. - -iconic Open the window in iconized form. - -gldebug Print any detected OpenGL errors via glutReportErrors(). Presently done at the bottom of glutMainLoopEvent(). - -sync Synchronize the window system communications heavily. Additionally, this function checks whether the environment variable GLUT_FPS is defined (only on UNIX_X11); if so, OpenGLUT will periodi- cally print the average number of times per second that your program calls glutSwapBuffers(). CAVEATS
You really should always call this, even if you are a WIN32 user. It provides a way for the user to directly inform OpenGLUT about prefer- ences without the application needing to explicitly deal with those issues. This is also where OpenGLUT retrieves your program's name to help disambiguate error and warning messages it may be forced to emit. Option -sync sets a flag, but is not actually used at this time. Lots of code does XFlush() on the X server, regardless of whether -sync is specified. Much of that appears to be required in order to sup- port direct client invocation of glutMainLoopEvent(), regrettably. However, if one calls glutMainLoop(), instead, we might avoid gratuitous XFlush() calls. (That last sentence isn't particularly germain to this function, but there's no better place to make this remark at this time.) Even for glutMainLoopEvent(), we may be able to coalesce many XFlush() calls. SEE ALSO
glutInitWindowPosition(3) glutInitWindowSize(3) glutInitDisplayMode(3) glutInitDisplayString(3) glutCreateWindow(3) glutDisplayFunc(3) glutMainLoop(3) glutMainLoopEvent(3) glutReportErrors(3) glutSwapBuffers(3) Epoch
Man Page