#include <stdio.h>
#include <stdlib.h>
#include <tgfclient.h>
#include <raceinit.h>
#include <graphic.h>
#include <glfeatures.h>
#include <portability.h>
#include "openglconfig.h"
Go to the source code of this file.
|
| static float | LabelColor [] = {1.0, 0.0, 1.0, 1.0} |
| static const char * | textureCompressOptionList [] |
| static const int | nbOptionsTextComp = sizeof(textureCompressOptionList) / sizeof(textureCompressOptionList[0]) |
| static int | curOptionTextComp = 0 |
| static int | TextureCompressOptionId |
| static int | textureSizeOptionList [] = {8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384} |
| static int | nbOptionsTextSize = sizeof(textureSizeOptionList) / sizeof(textureSizeOptionList[0]) |
| static int | curOptionTextSize = 0 |
| static int | TextureSizeOptionId |
| static const int | defaultTextSize = 64 |
| static const char * | textureAnisotropyOptionLabelList [] |
| static int | textureAnisotropyOptionList [] = {0, 2, 4, 8, 16} |
| static const int | nbTextureAnisotropyOptions = sizeof(textureAnisotropyOptionList) / sizeof(textureAnisotropyOptionList[0]) |
| static int | nbOptionsTextAnisotropy = 1 |
| static int | curOptionTextAnisotropy = 0 |
| static int | TextureAnisotropyOptionId |
| static void * | scrHandle = NULL |
| static void * | prevHandle = NULL |
◆ changeTextureAnisotropyState()
| void changeTextureAnisotropyState |
( |
int | delta | ) |
|
|
static |
◆ changeTextureCompressState()
| void changeTextureCompressState |
( |
int | delta | ) |
|
|
static |
◆ changeTextureSizeState()
| void changeTextureSizeState |
( |
int | delta | ) |
|
|
static |
◆ onActivate()
| void onActivate |
( |
void * | | ) |
|
|
static |
◆ OpenGLMenuInit()
| void * OpenGLMenuInit |
( |
void * | prevMenu | ) |
|
◆ readOpenGLCfg()
| void readOpenGLCfg |
( |
void | | ) |
|
|
static |
◆ saveOpenGLOption()
| void saveOpenGLOption |
( |
void * | | ) |
|
|
static |
◆ curOptionTextAnisotropy
| int curOptionTextAnisotropy = 0 |
|
static |
◆ curOptionTextComp
| int curOptionTextComp = 0 |
|
static |
◆ curOptionTextSize
| int curOptionTextSize = 0 |
|
static |
◆ defaultTextSize
| const int defaultTextSize = 64 |
|
static |
◆ LabelColor
| float LabelColor[] = {1.0, 0.0, 1.0, 1.0} |
|
static |
◆ nbOptionsTextAnisotropy
| int nbOptionsTextAnisotropy = 1 |
|
static |
◆ nbOptionsTextComp
◆ nbOptionsTextSize
◆ nbTextureAnisotropyOptions
◆ prevHandle
◆ scrHandle
◆ TextureAnisotropyOptionId
| int TextureAnisotropyOptionId |
|
static |
◆ textureAnisotropyOptionLabelList
| const char* textureAnisotropyOptionLabelList[] |
|
static |
Initial value:= {
"disabled",
"2x",
"4x",
"8x",
"16x"
}
Definition at line 51 of file openglconfig.cpp.
◆ textureAnisotropyOptionList
| int textureAnisotropyOptionList[] = {0, 2, 4, 8, 16} |
|
static |
◆ TextureCompressOptionId
| int TextureCompressOptionId |
|
static |
◆ textureCompressOptionList
| const char* textureCompressOptionList[] |
|
static |
Initial value:= {
}
#define GR_ATT_TEXTURECOMPRESSION_DISABLED
#define GR_ATT_TEXTURECOMPRESSION_ENABLED
Definition at line 34 of file openglconfig.cpp.
◆ TextureSizeOptionId
◆ textureSizeOptionList
| int textureSizeOptionList[] = {8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384} |
|
static |