5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages
Usage: bash Tetris_Game ] ] ] ]
Range:
#!/bin/bash
# Tetris Game // The Art Of Shell Programming
box0=(4 30)
box1=(4 30 4 32)
box2=(4 30 5 32)
box3=(4 28 4 30 4 32)
box4=(4 28 4 30... (69 Replies)
Discussion started by: complex.invoke
69 Replies
2. Shell Programming and Scripting
Hi All,
Been trying to understand the code in tetris game (in the sticky threads) & i know i have a alot reading /practice to do. it's using advanced methods with arrays and arithmetic and would much appreciate if some one can guide me to good books that's not outdated that would help me take... (0 Replies)
Discussion started by: xcod3r
0 Replies
3. Red Hat
Does anyone know of a fedora version of tetris? I tried to search the repository with no luck. (4 Replies)
Discussion started by: cokedude
4 Replies
4. What is on Your Mind?
Simple rules...
1. Guess who it is, the first person to get it posts the next picture, post your guess as a reply to this thread.
2. Wait for the person who posted the picture to confirm that you are correct before posting a new picture.
3. If the person who posted the picture does not answer... (268 Replies)
Discussion started by: reborg
268 Replies
5. UNIX for Dummies Questions & Answers
I am interested in learning how to write code for games. I am a C.S. student at UNO but I am in freshman classes and they are so slow. Can anyone recommend any languages to start learning first or any other ways to get started? I have Unix with Solaris in the labs at school and I also have... (4 Replies)
Discussion started by: bjm2020
4 Replies
LEARN ABOUT MOJAVE
glutgamemodeget
glutGameModeGet(3GLUT) GLUT glutGameModeGet(3GLUT)
NAME
glutGameModeGet - retrieves GLUT device information represented by integers.
SYNTAX
#include <GLUT/glut.h>
int glutGameModeGet(GLenum info);
ARGUMENTS
info Name of game mode information to retrieve.
GLUT_GAME_MODE_ACTIVE
Non-zero if GLUT's game mode is active; zero if not active. Game mode is not active initially. Game mode becomes active when glu-
tEnterGameMode is called. Game mode becomes inactive when glutLeaveGameMode is called.
GLUT_GAME_MODE_POSSIBLE
Non-zero if the game mode string last specified to glutGameModeString is a possible game mode configuration; zero otherwise. Being
"possible" does not guarantee that if game mode is entered with glutEnterGameMode that the display settings will actually changed.
GLUT_GAME_MODE_DISPLAY_CHANGED should be called once game mode is entered to determine if the display mode is actually changed.
GLUT_GAME_MODE_WIDTH
Width in pixels of the screen when game mode is activated.
GLUT_GAME_MODE_HEIGHT
Height in pixels of the screen when game mode is activated.
GLUT_GAME_MODE_PIXEL_DEPTH
Pixel depth of the screen when game mode is activiated.
GLUT_GAME_MODE_REFRESH_RATE
Screen refresh rate in cyles per second (hertz) when game mode is activated. Zero is returned if the refresh rate is unknown or
cannot be queried.
GLUT_GAME_MODE_DISPLAY_CHANGED
Non-zero if entering game mode actually changed the display settings. If the game mode string is not possible or the display mode
could not be changed for any other reason, zero is returned.
DESCRIPTION
glutGameModeGet retrieves GLUT game mode information represented by integers. The info parameter determines what type of game mode informa-
tion to return. Requesting game mode information for an invalid GLUT game mode information name returns negative one.
SEE ALSO
glutGet, glutDeviceGet, glutLayerGet, glutGameModeString, glutEnterGameMode, glutLeaveGameMode
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutGameModeGet(3GLUT)