mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-10 18:21:14 +00:00
Some checks failed
CI / clang-format (push) Has been cancelled
CI / ${{ matrix.name }} (false, --toolchain /usr/local/vitasdk/share/vita.toolchain.cmake, false, false, Ninja, Vita, ubuntu-latest, true, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false, -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0.26100.0, false, false, Visual Studio 17 2022, true, Xbox One, windows-latest, amd64, false, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false, -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/3DS.cmake, false, devkitpro/devkitarm:latest, false, Ninja, true, Nintendo 3DS, ubuntu-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false, -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake, false, devkitpro/devkita64:latest, false, Ninja, Nintendo Switch, true, ubuntu-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false, emcmake, false, false, true, Ninja, Emscripten, ubuntu-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false, false, false, Ninja, true, MSVC (arm64), windows-latest, amd64_arm64, false) (push) Has been cancelled
CI / ${{ matrix.name }} (false, false, true, Ninja, true, MSVC (x86), windows-latest, amd64_x86, false) (push) Has been cancelled
CI / ${{ matrix.name }} (false, true, false, Ninja, true, MSVC (x64), windows-latest, amd64, false) (push) Has been cancelled
CI / ${{ matrix.name }} (false, true, true, false, Ninja, true, MSVC (x64 Debug), windows-latest, amd64, false) (push) Has been cancelled
CI / ${{ matrix.name }} (true, false, -DCMAKE_SYSTEM_NAME=iOS, false, false, Xcode, true, iOS, macos-15, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, false, false, Ninja, true, mingw-w64-i686, mingw32, msys2 mingw32, windows-latest, msys2 {0}, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, false, false, false, Ninja, Android, ubuntu-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, false, true, false, Ninja, macOS, macos-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, true, false, Ninja, true, mingw-w64-x86_64, mingw64, msys2 mingw64, windows-latest, msys2 {0}, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, true, true, false, Ninja, true, Linux (Debug), ubuntu-latest, true) (push) Has been cancelled
CI / ${{ matrix.name }} (true, true, true, false, Ninja, true, Linux, ubuntu-latest, true) (push) Has been cancelled
CI / Flatpak (${{ matrix.arch }}) (aarch64, ubuntu-22.04-arm) (push) Has been cancelled
CI / Flatpak (${{ matrix.arch }}) (x86_64, ubuntu-latest) (push) Has been cancelled
CI / C++ (push) Has been cancelled
CI / Release (push) Has been cancelled
Docker / Publish web port (push) Has been cancelled
* implement WASD control option * remove unnecessary getter function
98 lines
2.4 KiB
C++
98 lines
2.4 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;
|
|
QStringList assetPaths = QStringList();
|
|
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 OnCheckboxWasd(bool checked);
|
|
void OnCheckboxTexture(bool checked);
|
|
void OnCheckboxCustomAssets(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 AddCustomAssetPath();
|
|
void RemoveCustomAssetPath();
|
|
void SelectedPathChanged(int currentRow);
|
|
void EditCustomAssetPath();
|
|
void UpdateAssetPaths();
|
|
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)
|