mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-08-03 07:36:20 -04:00
90 lines
2.2 KiB
C++
90 lines
2.2 KiB
C++
#if !defined(AFX_MAINDLG_H)
|
|
#define AFX_MAINDLG_H
|
|
|
|
#include "compat.h"
|
|
#include "decomp.h"
|
|
#include "res/resource.h"
|
|
|
|
#include <QDialog>
|
|
#include <QFileDialog>
|
|
#include <SDL3/SDL.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class MainDialog;
|
|
}
|
|
|
|
// VTABLE: CONFIG 0x004063e0
|
|
// SIZE 0x70
|
|
class CMainDialog : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CMainDialog(QWidget* pParent = nullptr);
|
|
~CMainDialog() override;
|
|
|
|
protected:
|
|
void UpdateInterface();
|
|
|
|
private:
|
|
bool m_modified = false;
|
|
bool m_advanced = false;
|
|
Ui::MainDialog* m_ui = nullptr;
|
|
SDL_DisplayMode** displayModes;
|
|
|
|
void keyReleaseEvent(QKeyEvent* event) override;
|
|
bool OnInitDialog();
|
|
private slots:
|
|
void OnList3DevicesSelectionChanged(int row);
|
|
void OnCheckbox3DSound(bool checked);
|
|
void OnRadiobuttonModelLowQuality(bool checked);
|
|
void OnRadiobuttonModelMediumQuality(bool checked);
|
|
void OnRadiobuttonModelHighQuality(bool checked);
|
|
void OnRadiobuttonTextureLowQuality(bool checked);
|
|
void OnRadiobuttonTextureHighQuality(bool checked);
|
|
void OnRadioWindowed(bool checked);
|
|
void OnRadioFullscreen(bool checked);
|
|
void OnRadioExclusiveFullscreen(bool checked);
|
|
void OnCheckboxMusic(bool checked);
|
|
void OnCheckboxRumble(bool checked);
|
|
void OnCheckboxTexture(bool checked);
|
|
void TouchControlsChanged(int index);
|
|
void TransitionTypeChanged(int index);
|
|
void ExclusiveResolutionChanged(int index);
|
|
void accept() override;
|
|
void reject() override;
|
|
void launch();
|
|
void SelectDataPathDialog();
|
|
void SelectSavePathDialog();
|
|
void DataPathEdited();
|
|
void SavePathEdited();
|
|
void MaxLoDChanged(int value);
|
|
void MaxActorsChanged(int value);
|
|
void MSAAChanged(int value);
|
|
void AFChanged(int value);
|
|
void SelectTexturePathDialog();
|
|
void TexturePathEdited();
|
|
void XResChanged(int i);
|
|
void YResChanged(int i);
|
|
void AspectRatioChanged(int index);
|
|
void EnsureAspectRatio();
|
|
void FramerateChanged(int i);
|
|
};
|
|
|
|
// SYNTHETIC: CONFIG 0x00403de0
|
|
// CMainDialog::`scalar deleting destructor'
|
|
|
|
// FUNCTION: CONFIG 0x00403e60
|
|
// CMainDialog::_GetBaseMessageMap
|
|
|
|
// FUNCTION: CONFIG 0x00403e70
|
|
// CMainDialog::GetMessageMap
|
|
|
|
// GLOBAL: CONFIG 0x00406120
|
|
// CMainDialog::messageMap
|
|
|
|
// GLOBAL: CONFIG 0x00406128
|
|
// CMainDialog::_messageEntries
|
|
|
|
#endif // !defined(AFX_MAINDLG_H)
|