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:13:26 +06:00

51 lines
802 B
C

#ifndef CONFIG_H
#define CONFIG_H
#include "Types.h"
struct Config
{
u32 version;
struct
{
u32 fullscreen;
u32 fullscreenWidth, fullscreenHeight, windowedWidth, windowedHeight;
u32 fullscreenBits, fullscreenRefresh;
u32 multisampling, verticalSync;
u32 aspect; // 0: stretch ; 1: 4/3 ; 2: 16/9
} 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