GUI: add render preInit settings
This commit is contained in:
parent
5f89cb1dea
commit
ae386f6269
16 changed files with 111 additions and 41 deletions
|
|
@ -1509,7 +1509,7 @@ class FurnaceGUIRender {
|
|||
virtual const char* getDeviceName();
|
||||
virtual const char* getAPIVersion();
|
||||
virtual void setSwapInterval(int swapInterval);
|
||||
virtual void preInit();
|
||||
virtual void preInit(const DivConfig& conf);
|
||||
virtual bool init(SDL_Window* win, int swapInterval);
|
||||
virtual void initGUI(SDL_Window* win);
|
||||
virtual void quitGUI();
|
||||
|
|
@ -1896,6 +1896,12 @@ class FurnaceGUI {
|
|||
int frameRateLimit;
|
||||
int displayRenderTime;
|
||||
int inputRepeat;
|
||||
int glRedSize;
|
||||
int glGreenSize;
|
||||
int glBlueSize;
|
||||
int glAlphaSize;
|
||||
int glDepthSize;
|
||||
int glDoubleBuffer;
|
||||
unsigned int maxUndoSteps;
|
||||
float vibrationStrength;
|
||||
int vibrationLength;
|
||||
|
|
@ -2139,6 +2145,12 @@ class FurnaceGUI {
|
|||
frameRateLimit(60),
|
||||
displayRenderTime(0),
|
||||
inputRepeat(0),
|
||||
glRedSize(8),
|
||||
glGreenSize(8),
|
||||
glBlueSize(8),
|
||||
glAlphaSize(0),
|
||||
glDepthSize(24),
|
||||
glDoubleBuffer(1),
|
||||
maxUndoSteps(100),
|
||||
vibrationStrength(0.5f),
|
||||
vibrationLength(20),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue