1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/Config.h
Sergey Lipskiy 7f6d7e2772 Refactor: rewrite TextureCache.
Store normal textures and frame buffer textures in separate maps.
Replace TextureCache_* functions by methods of TextureCache.
2015-05-13 10:12:44 +06:00

46 lines
650 B
C

#ifndef CONFIG_H
#define CONFIG_H
#include "Types.h"
struct Config
{
u32 version;
struct
{
u32 fullscreenWidth, fullscreenHeight, windowedWidth, windowedHeight;
u32 fullscreenBits, fullscreenRefresh;
} video;
struct
{
u32 maxAnisotropy;
u32 textureBitDepth;
u32 forceBilinear;
u32 pow2;
u32 maxBytes;
} texture;
struct {
u32 enable;
u32 copyToRDRAM;
u32 copyDepthToRDRAM;
u32 copyFromRDRAM;
u32 ignoreCFB;
u32 N64DepthCompare;
} frameBufferEmulation;
u32 enableFog;
u32 enableNoise;
u32 enableLOD;
u32 enableHWLighting;
};
extern Config config;
void Config_LoadConfig();
void Config_DoConfig();
#endif