1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/Config.h
2015-05-13 10:12:49 +06:00

48 lines
702 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();
#ifndef MUPENPLUSAPI
void Config_DoConfig(HWND hParent);
#endif
#endif // CONFIG_H