[Glide64] Make config _WIN32 only
This commit is contained in:
parent
35d36ad9b5
commit
0d0923eab8
|
@ -47,6 +47,8 @@
|
|||
#include "Gfx_1.3.h"
|
||||
#include "DepthBufferRender.h"
|
||||
#include "Config.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <wx/file.h>
|
||||
#include <wx/dir.h>
|
||||
// begin wxGlade: ::extracode
|
||||
|
@ -1260,28 +1262,14 @@ void CALL DllAbout(HWND hParent)
|
|||
hostWindow = NULL;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void general_setting(short setting_ID, const char * name, unsigned int value)
|
||||
{
|
||||
RegisterSetting(
|
||||
setting_ID,
|
||||
Data_DWORD_General,
|
||||
name,
|
||||
NULL,
|
||||
value,
|
||||
NULL
|
||||
);
|
||||
return;
|
||||
RegisterSetting(setting_ID, Data_DWORD_General, name, NULL, value, NULL);
|
||||
}
|
||||
|
||||
void game_setting(short setting_ID, const char * name, unsigned int value)
|
||||
{
|
||||
RegisterSetting(
|
||||
setting_ID,
|
||||
Data_DWORD_Game,
|
||||
name,
|
||||
NULL,
|
||||
value,
|
||||
NULL
|
||||
);
|
||||
return;
|
||||
}
|
||||
RegisterSetting(setting_ID, Data_DWORD_Game, name, NULL, value, NULL);
|
||||
}
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
//****************************************************************
|
||||
|
||||
// -*- C++ -*- generated by wxGlade 0.6.3 on Wed Oct 08 18:56:23 2008
|
||||
#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <wx/wx.h>
|
||||
#include <wx/image.h>
|
||||
// begin wxGlade: ::dependencies
|
||||
|
@ -51,11 +53,6 @@
|
|||
#include <wx/notebook.h>
|
||||
// end wxGlade
|
||||
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
|
||||
// begin wxGlade: ::extracode
|
||||
// end wxGlade
|
||||
|
||||
|
@ -255,6 +252,7 @@ protected:
|
|||
wxButton* button_ok;
|
||||
// end wxGlade
|
||||
}; // wxGlade: end class
|
||||
#endif
|
||||
|
||||
enum {
|
||||
// General Settings
|
||||
|
@ -286,9 +284,5 @@ enum {
|
|||
|
||||
extern short Set_basic_mode, Set_texture_dir;
|
||||
|
||||
extern void
|
||||
general_setting(short setting_ID, const char * name, unsigned int value);
|
||||
extern void
|
||||
game_setting(short setting_ID, const char * name, unsigned int value);
|
||||
|
||||
#endif // CONFIG_H
|
||||
extern void general_setting(short setting_ID, const char * name, unsigned int value);
|
||||
extern void game_setting(short setting_ID, const char * name, unsigned int value);
|
||||
|
|
Loading…
Reference in New Issue