[Glide64] Cleanup Config.h

This commit is contained in:
zilmar 2016-03-08 17:43:37 +11:00
parent 8ccee4b77a
commit b300eb6f6b
1 changed files with 34 additions and 37 deletions

View File

@ -56,8 +56,7 @@
// begin wxGlade: ::extracode // begin wxGlade: ::extracode
// end wxGlade // end wxGlade
class ConfigNotebook : public wxNotebook {
class ConfigNotebook: public wxNotebook {
public: public:
// begin wxGlade: ConfigNotebook::ids // begin wxGlade: ConfigNotebook::ids
enum { enum {
@ -69,7 +68,7 @@ public:
}; };
// end wxGlade // end wxGlade
ConfigNotebook(wxWindow* parent, int id, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=0); ConfigNotebook(wxWindow* parent, int id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
private: private:
// begin wxGlade: ConfigNotebook::methods // begin wxGlade: ConfigNotebook::methods
@ -197,18 +196,17 @@ public:
virtual void OnClickTexEdit(wxCommandEvent &event); // wxGlade: <event_handler> virtual void OnClickTexEdit(wxCommandEvent &event); // wxGlade: <event_handler>
#endif //TEXTURE_FILTER #endif //TEXTURE_FILTER
// virtual void onPageChanged(wxNotebookEvent &event); // wxGlade: <event_handler> // virtual void onPageChanged(wxNotebookEvent &event); // wxGlade: <event_handler>
// virtual void onPageChanging(wxNotebookEvent &event); // wxGlade: <event_handler> // virtual void onPageChanging(wxNotebookEvent &event); // wxGlade: <event_handler>
void SaveSettings(); void SaveSettings();
}; // wxGlade: end class }; // wxGlade: end class
class Glide64ConfigDialog : public wxDialog {
class Glide64ConfigDialog: public wxDialog {
public: public:
// begin wxGlade: Glide64ConfigDialog::ids // begin wxGlade: Glide64ConfigDialog::ids
// end wxGlade // end wxGlade
Glide64ConfigDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); Glide64ConfigDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
void OnClose(wxCloseEvent& event); void OnClose(wxCloseEvent& event);
private: private:
@ -227,19 +225,18 @@ protected:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE();
public: public:
// virtual void onPageChanged(wxNotebookEvent &event); // wxGlade: <event_handler> // virtual void onPageChanged(wxNotebookEvent &event); // wxGlade: <event_handler>
// virtual void onPageChanging(wxNotebookEvent &event); // wxGlade: <event_handler> // virtual void onPageChanging(wxNotebookEvent &event); // wxGlade: <event_handler>
virtual void OnOK(wxCommandEvent &event); // wxGlade: <event_handler> virtual void OnOK(wxCommandEvent &event); // wxGlade: <event_handler>
virtual void OnCancel(wxCommandEvent &event); // wxGlade: <event_handler> virtual void OnCancel(wxCommandEvent &event); // wxGlade: <event_handler>
}; // wxGlade: end class }; // wxGlade: end class
class AboutDialog : public wxDialog {
class AboutDialog: public wxDialog {
public: public:
// begin wxGlade: AboutDialog::ids // begin wxGlade: AboutDialog::ids
// end wxGlade // end wxGlade
AboutDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); AboutDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
private: private:
// begin wxGlade: AboutDialog::methods // begin wxGlade: AboutDialog::methods
@ -255,31 +252,31 @@ protected:
#endif #endif
enum { enum {
// General Settings // General Settings
Set_CardId, Set_Resolution, Set_vsync, Set_ssformat, Set_ShowFps, Set_clock, Set_CardId, Set_Resolution, Set_vsync, Set_ssformat, Set_ShowFps, Set_clock,
Set_clock_24_hr, Set_texenh_options, Set_hotkeys, Set_wrpResolution, Set_wrpVRAM, Set_clock_24_hr, Set_texenh_options, Set_hotkeys, Set_wrpResolution, Set_wrpVRAM,
Set_wrpFBO, Set_wrpAnisotropic, Set_autodetect_ucode, Set_ucode, Set_wireframe, Set_wrpFBO, Set_wrpAnisotropic, Set_autodetect_ucode, Set_ucode, Set_wireframe,
Set_wfmode, Set_logging, Set_log_clear, Set_elogging, Set_run_in_window, Set_wfmode, Set_logging, Set_log_clear, Set_elogging, Set_run_in_window,
Set_filter_cache, Set_unk_as_red, Set_log_unk, Set_unk_clear, Set_ghq_fltr, Set_filter_cache, Set_unk_as_red, Set_log_unk, Set_unk_clear, Set_ghq_fltr,
Set_ghq_cmpr, Set_ghq_enht, Set_ghq_hirs, Set_ghq_enht_cmpr, Set_ghq_enht_tile, Set_ghq_cmpr, Set_ghq_enht, Set_ghq_hirs, Set_ghq_enht_cmpr, Set_ghq_enht_tile,
Set_ghq_enht_f16bpp, Set_ghq_enht_gz, Set_ghq_enht_nobg, Set_ghq_hirs_cmpr, Set_ghq_enht_f16bpp, Set_ghq_enht_gz, Set_ghq_enht_nobg, Set_ghq_hirs_cmpr,
Set_ghq_hirs_tile, Set_ghq_hirs_f16bpp, Set_ghq_hirs_gz, Set_ghq_hirs_altcrc, Set_ghq_hirs_tile, Set_ghq_hirs_f16bpp, Set_ghq_hirs_gz, Set_ghq_hirs_altcrc,
Set_ghq_cache_save, Set_ghq_cache_size, Set_ghq_hirs_let_texartists_fly, Set_ghq_cache_save, Set_ghq_cache_size, Set_ghq_hirs_let_texartists_fly,
Set_ghq_hirs_dump, Set_ghq_hirs_dump,
//Game Settings //Game Settings
Set_alt_tex_size, Set_use_sts1_only, Set_force_calc_sphere, Set_correct_viewport, Set_alt_tex_size, Set_use_sts1_only, Set_force_calc_sphere, Set_correct_viewport,
Set_increase_texrect_edge, Set_decrease_fillrect_edge, Set_texture_correction, Set_increase_texrect_edge, Set_decrease_fillrect_edge, Set_texture_correction,
Set_pal230, Set_stipple_mode, Set_stipple_pattern, Set_force_microcheck, Set_force_quad3d, Set_pal230, Set_stipple_mode, Set_stipple_pattern, Set_force_microcheck, Set_force_quad3d,
Set_clip_zmin, Set_clip_zmax, Set_fast_crc, Set_adjust_aspect, Set_zmode_compare_less, Set_clip_zmin, Set_clip_zmax, Set_fast_crc, Set_adjust_aspect, Set_zmode_compare_less,
Set_old_style_adither, Set_n64_z_scale, Set_optimize_texrect, Set_ignore_aux_copy, Set_old_style_adither, Set_n64_z_scale, Set_optimize_texrect, Set_ignore_aux_copy,
Set_hires_buf_clear, Set_fb_read_alpha, Set_useless_is_useless, Set_fb_crc_mode, Set_hires_buf_clear, Set_fb_read_alpha, Set_useless_is_useless, Set_fb_crc_mode,
Set_filtering, Set_fog, Set_buff_clear, Set_swapmode, Set_aspect, Set_lodmode, Set_filtering, Set_fog, Set_buff_clear, Set_swapmode, Set_aspect, Set_lodmode,
Set_fb_smart, Set_fb_hires, Set_fb_read_always, Set_read_back_to_screen, Set_fb_smart, Set_fb_hires, Set_fb_read_always, Set_read_back_to_screen,
Set_detect_cpu_write, Set_fb_get_info, Set_fb_render, Set_detect_cpu_write, Set_fb_get_info, Set_fb_render,
//RDB Setting //RDB Setting
Set_ucodeLookup, Set_ucodeLookup,
}; };
extern short Set_basic_mode, Set_texture_dir, Set_log_dir, Set_log_flush; extern short Set_basic_mode, Set_texture_dir, Set_log_dir, Set_log_flush;