mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-22 10:04:53 -05:00
1924 lines
86 KiB
XML
1924 lines
86 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ProjectSettingsEditor</class>
|
|
<widget class="QMainWindow" name="ProjectSettingsEditor">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>642</width>
|
|
<height>609</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Project Settings</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QTabWidget" name="mainTabs">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_General">
|
|
<attribute name="title">
|
|
<string>General</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_GeneralTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_GeneralTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>692</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_UserConfig">
|
|
<property name="title">
|
|
<string>Preferences</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_UsePoryscript">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether map script files should prefer using .pory</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use Poryscript</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_ShowWildEncounterTables">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If enabled, Porymap will display wild encounter data on the Wild Pokémon tab.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show Wild Encounter Tables</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_PreserveMatchingOnlyData">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If enabled, Porymap will not discard data like &quot;connections_include_order&quot; or &quot;name_clone&quot;, which serve no purpose other than recreating the original game.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Preserve data only needed to match the original game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_Prefabs">
|
|
<property name="title">
|
|
<string>Prefabs</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="button_ChoosePrefabs">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="button_ImportDefaultPrefabs">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Restore the data in the prefabs file to the version defaults. Will create a new file if one doesn't exist.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Import Defaults</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_PrefabsPath">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The file that will be used to populate the Prefabs tab</p></body></html></string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>prefabs.json</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_PrefabsPath">
|
|
<property name="text">
|
|
<string>Prefabs Path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_CollisionGraphics">
|
|
<property name="title">
|
|
<string>Collision Graphics</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
<item row="1" column="6">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="1" colspan="6">
|
|
<widget class="QLineEdit" name="lineEdit_CollisionGraphics">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The image sheet that will be used to represent elevation and collision on the Collision tab</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="7">
|
|
<widget class="QToolButton" name="button_CollisionGraphics">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_MaxElevation">
|
|
<property name="text">
|
|
<string>Max Elevation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MaxCollision">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The maximum collision value represented with an icon on the image sheet</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QLabel" name="label_MaxCollision">
|
|
<property name="text">
|
|
<string>Max Collision</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_CollisionImagePath">
|
|
<property name="text">
|
|
<string>Image Path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MaxElevation">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The maximum elevation value represented with an icon on the image sheet</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Policy::Maximum</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>5</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_PokemonIcons">
|
|
<property name="title">
|
|
<string>Pokémon Icons</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_8">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_IconSpecies">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Species</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="QToolButton" name="button_PokemonIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" colspan="4">
|
|
<widget class="NoScrollComboBox" name="comboBox_IconSpecies">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="maxVisibleItems">
|
|
<number>20</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_PokemonIcon">
|
|
<property name="text">
|
|
<string>Image Path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" colspan="3">
|
|
<widget class="QLineEdit" name="lineEdit_PokemonIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be displayed on the Wild Pokémon tab for the above species</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_PlayerViewDistance">
|
|
<property name="title">
|
|
<string>Player View Distance</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout_PlayerViewDistanceCol1">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_PlayerViewDistance_North">
|
|
<property name="text">
|
|
<string>North</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_PlayerViewDistance_South">
|
|
<property name="text">
|
|
<string>South</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_PlayerViewDistance_North">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The distance (in pixels) that a player is able to see North of their character's position in-game. By default this is the distance from the center 16x16 to the edge of the 160 pixel tall GBA screen.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_PlayerViewDistance_South">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The distance (in pixels) that a player is able to see South of their character's position in-game. By default this is the distance from the center 16x16 to the edge of the 160 pixel tall GBA screen.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout_PlayerViewDistanceCol2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_PlayerViewDistance_West">
|
|
<property name="text">
|
|
<string>West</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_PlayerViewDistance_East">
|
|
<property name="text">
|
|
<string>East</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_PlayerViewDistance_West">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The distance (in pixels) that a player is able to see West of their character's position in-game. By default this is the distance from the center 16x16 to the edge of the 240 pixel wide GBA screen.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_PlayerViewDistance_East">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The distance (in pixels) that a player is able to see East of their character's position in-game. By default this is the distance from the center 16x16 to the edge of the 240 pixel wide GBA screen.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_Warning">
|
|
<property name="styleSheet">
|
|
<string notr="true">.QFrame { border: 1px solid red; }</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_Warning">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-size:13pt; color:#d7000c;">WARNING: </span><span style=" font-weight:400;">The settings from this point below require project changes to function properly. Do not modify these settings without the necessary changes. </span></p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_BaseGameVersion" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_BaseGameVersion">
|
|
<property name="text">
|
|
<string>Base game version</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="NoScrollComboBox" name="comboBox_BaseGameVersion">
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_Maps">
|
|
<attribute name="title">
|
|
<string>Maps</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_17">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_MapsTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_MapsTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>552</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_16">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_NewMapDefaults">
|
|
<property name="title">
|
|
<string>New Map Defaults</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="8" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="checkBox_CreateTextFile">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether a separate text.inc or text.pory file will be created for new maps, alongside the scripts file</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Create separate text file</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="3">
|
|
<widget class="QStackedWidget" name="stackedWidget_BorderMetatiles">
|
|
<widget class="QWidget" name="page_CustomBorderSize">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_BorderMetatiles">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>A comma-separated list of metatile values that will be used to fill new map borders</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_DefaultBorderSize">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_BorderMetatile1">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default metatile value that will be used for the top-left border metatile on new maps.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_BorderMetatile2">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default metatile value that will be used for the top-right border metatile on new maps.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_BorderMetatile3">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default metatile value that will be used for the bottom-left border metatile on new maps.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_BorderMetatile4">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default metatile value that will be used for the bottom-right border metatile on new maps.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<layout class="QFormLayout" name="formLayout_5">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_MapWidth">
|
|
<property name="text">
|
|
<string>Width</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MapWidth">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default layout width for new maps</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_MapHeight">
|
|
<property name="text">
|
|
<string>Height</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MapHeight">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default layout height for new maps</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_BorderMetatiles">
|
|
<property name="text">
|
|
<string>Border Metatiles</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="3">
|
|
<widget class="QWidget" name="widget_CustomSizeBorderMetatiles" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_FillMetatile">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default metatile value that will be used to fill new maps</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2" colspan="2">
|
|
<layout class="QFormLayout" name="formLayout_6">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_Elevation">
|
|
<property name="text">
|
|
<string>Elevation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_Collision">
|
|
<property name="text">
|
|
<string>Collision</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_Collision">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default collision that will be used to fill new maps</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_Elevation">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default elevation that will be used to fill new maps</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_FillMetatile">
|
|
<property name="text">
|
|
<string>Metatile ID</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_WarningMapsTab">
|
|
<property name="styleSheet">
|
|
<string notr="true">.QFrame { border: 1px solid red; }</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_18">
|
|
<item>
|
|
<widget class="QLabel" name="label_Warning_2">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-size:13pt; color:#d7000c;">WARNING: </span><span style=" font-weight:400;">The settings from this point below require project changes to function properly. Do not modify these settings without the necessary changes. </span></p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_MapDataLayout">
|
|
<property name="title">
|
|
<string>Map Data Layout</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_MetatileIdMask">
|
|
<property name="text">
|
|
<string>Metatile ID</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_MetatileIdMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write metatile IDs in map data.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_CollisionMask">
|
|
<property name="text">
|
|
<string>Collision</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_CollisionMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write collision values in map data.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_ElevationMask">
|
|
<property name="text">
|
|
<string>Elevation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_ElevationMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write elevation values in map data.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_OverlapWarningBlocks">
|
|
<property name="styleSheet">
|
|
<string notr="true">color : red;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>These masks have overlapping bits. This may result in unexpected value changes.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_MapFields">
|
|
<property name="title">
|
|
<string>Fields</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkBox_EnableAllowFlags">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether &quot;Allow Running&quot;, &quot;Allow Biking&quot; and &quot;Allow Dig &amp; Escape Rope&quot; are default options for Map Headers</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable 'Allow Running/Biking/Escaping'</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableFloorNumber">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether &quot;Floor Number&quot; is a default option for Map Headers</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable 'Floor Number'</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableCustomBorderSize">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether the dimensions of the border can be changed. If not set, all borders are 2x2</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable Custom Border Size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_Tilesets">
|
|
<attribute name="title">
|
|
<string>Tilesets</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_TilesetsTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_TilesetsTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>837</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_DefaultTilesets">
|
|
<property name="title">
|
|
<string>Default Tilesets</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_PrimaryTileset">
|
|
<property name="text">
|
|
<string>Primary Tileset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollComboBox" name="comboBox_DefaultPrimaryTileset">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default primary tileset to use for new maps/layouts.</p></body></html></string>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_SecondaryTileset">
|
|
<property name="text">
|
|
<string>Secondary Tileset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="NoScrollComboBox" name="comboBox_DefaultSecondaryTileset">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The default secondary tileset to use for new maps/layouts.</p></body></html></string>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_TransparentPixelRendering">
|
|
<property name="title">
|
|
<string>Transparent Pixel Rendering</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_22">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_RenderBlack">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Fully transparent pixels will be rendered as black pixels (the Pokémon games do this by default)</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Render as black</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_RenderFirstPalColor">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Fully transparent pixels will be rendered using the first palette color (this the default behavior for the GBA)</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Render using first palette color</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_UnusedLayerRendering">
|
|
<property name="title">
|
|
<string>Unused Layer Rendering</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_UnusedTileNorma">
|
|
<property name="text">
|
|
<string>Normal</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_UnusedTileNormal">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>This raw tile value will be used to fill the unused bottom layer of Normal metatiles</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_UnusedTileCovered">
|
|
<property name="text">
|
|
<string>Covered</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_UnusedTileCovered">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>This raw tile value will be used to fill the unused top layer of Covered metatiles</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_UnusedTileSplit">
|
|
<property name="text">
|
|
<string>Split</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_UnusedTileSplit">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>This raw tile value will be used to fill the unused middle layer of Split metatiles</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout_MetatileSelectorWidth">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_MetatileSelectorWidth">
|
|
<property name="text">
|
|
<string>Metatile Selector Width</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MetatileSelectorWidth">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The width (in metatiles) of the metatile selectors on the Map tab and in the Tileset Editor.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_WarningTilesetsTab">
|
|
<property name="styleSheet">
|
|
<string notr="true">.QFrame { border: 1px solid red; }</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_13">
|
|
<item>
|
|
<widget class="QLabel" name="label_WarningTilesetsTab">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-size:13pt; color:#d7000c;">WARNING: </span><span style=" font-weight:400;">The settings from this point below require project changes to function properly. Do not modify these settings without the necessary changes. </span></p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_Metatiles">
|
|
<property name="title">
|
|
<string>Metatiles</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="4" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_LayerTypeMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write Layer Type from the metatile's attributes data. If 0, this attribute is disabled.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_BehaviorMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write Metatile Behavior from the metatile's attributes data. If 0, this attribute is disabled.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_AttributesSize">
|
|
<property name="text">
|
|
<string>Attributes size (in bytes)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Policy::Maximum</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_EncounterTypeMask">
|
|
<property name="text">
|
|
<string>Encounter Type mask</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableTripleLayerMetatiles">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If checked, metatiles will be interpreted as having 3 layers of 4 tiles each (12 tiles total) as opposed to the default 2 layers of 4 tiles each (8 total).</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable Triple Layer Metatiles</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_TerrainTypeMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write Terrain Type from the metatile's attributes data. If 0, this attribute is disabled.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_BehaviorMask">
|
|
<property name="text">
|
|
<string>Behavior mask</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_OverlapWarningMetatiles">
|
|
<property name="styleSheet">
|
|
<string notr="true">color : red;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>These masks have overlapping bits. This may result in unexpected value changes.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="UIntHexSpinBox" name="spinBox_EncounterTypeMask">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The mask used to read/write Encounter Type from the metatile's attributes data. If 0, this attribute is disabled.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_LayerTypeMask">
|
|
<property name="text">
|
|
<string>Layer Type mask</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="NoScrollComboBox" name="comboBox_AttributesSize">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The number of bytes each metatile has for metatile attributes. This is the metadata about each metatile like behvior, layer type, etc.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_TerrainTypeMask">
|
|
<property name="text">
|
|
<string>Terrain Type mask</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<spacer name="verticalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_DataOutput">
|
|
<property name="title">
|
|
<string>Data Output</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_14">
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_OutputCallback">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether the C data outputted for new tilesets will include the &quot;callback&quot; field</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Output 'callback' field</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_OutputIsCompressed">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Whether the C data outputted for new tilesets will include the &quot;isCompressed&quot; field</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Output 'isCompressed' field</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_Events">
|
|
<attribute name="title">
|
|
<string>Events</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_EventsTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_EventsTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>915</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_EventsTabIcon">
|
|
<property name="title">
|
|
<string>Tab Icon</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_12">
|
|
<item row="1" column="1">
|
|
<widget class="QToolButton" name="button_EventsTabIcon">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLineEdit" name="lineEdit_EventsTabIcon">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The image file path to use for the icon of the Events tab.</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="NoScrollComboBox" name="comboBox_EventsTabIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be displayed for the Events tab in the editor. If 'Automatic' is chosen, the icon will be a random player character from the project's base game version. If 'Custom' is chosen an image file path may be specified.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_DefaultIcons">
|
|
<property name="title">
|
|
<string>Default Icons</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_WarpsIcon">
|
|
<property name="text">
|
|
<string>Warps</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_BGsIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be used to represent BG events</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QToolButton" name="button_HealLocationsIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_ObjectsIcon">
|
|
<property name="text">
|
|
<string>Objects</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_BGsIcon">
|
|
<property name="text">
|
|
<string>BGs</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_TriggersIcon">
|
|
<property name="text">
|
|
<string>Triggers</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QToolButton" name="button_WarpsIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_HealLocationsIcon">
|
|
<property name="text">
|
|
<string>Heal Locations</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_ObjectsIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be used to represent Object events that don't have their own sprite</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_WarpsIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be used to represent Warp events</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QToolButton" name="button_BGsIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_HealLocationsIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be used to represent Heal Location events</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QToolButton" name="button_TriggersIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="button_ObjectsIcon">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_TriggersIcon">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>The icon that will be used to represent Trigger events</p></body></html></string>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_WarpBehaviors">
|
|
<property name="title">
|
|
<string>Warp Behaviors</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_9">
|
|
<item row="1" column="2">
|
|
<widget class="QToolButton" name="button_RemoveWarpBehavior">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Remove the current text from the list</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/delete.ico</normaloff>:/icons/delete.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="3">
|
|
<widget class="QLabel" name="label_WarpBehaviors">
|
|
<property name="text">
|
|
<string><html><head/><body><p>Porymap will display a warning on Warp Events if they are not positioned on a metatile with one of these behaviors. This list is purely for the warning and <b>will have no effect on your game</b>.</p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="checkBox_DisableWarning">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If checked, Warp Events will not display a warning about incompatible metatile behaviors</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disable Warning</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="NoScrollComboBox" name="comboBox_WarpBehaviors">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="3">
|
|
<widget class="NoScrollTextEdit" name="textEdit_WarpBehaviors">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Metatile Behaviors on this list won't trigger warnings for Warp Events</p></body></html></string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::TextInteractionFlag::NoTextInteraction</set>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Use the dropbown and buttons to add behaviors to the list...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QToolButton" name="button_AddWarpBehavior">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Add the current text to the list</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_WarningEventsTab">
|
|
<property name="styleSheet">
|
|
<string notr="true">.QFrame { border: 1px solid red; }</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_15">
|
|
<item>
|
|
<widget class="QLabel" name="label_WarningEventsTab">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-size:13pt; color:#d7000c;">WARNING: </span><span style=" font-weight:400;">The settings from this point below require project changes to function properly. Do not modify these settings without the necessary changes. </span></p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_MaxEvents" native="true">
|
|
<layout class="QFormLayout" name="formLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_MaxEvents">
|
|
<property name="text">
|
|
<string>Maximum Events per Event group</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="NoScrollSpinBox" name="spinBox_MaxEvents">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Maps cannot have more than this number of events in each event group. Object events are additionally limited by 'define_obj_event_count' on the Identifiers tab.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_Events">
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableWeatherTriggers">
|
|
<property name="text">
|
|
<string>Enable Weather Triggers</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableSecretBases">
|
|
<property name="text">
|
|
<string>Enable Secret Bases</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBox_EnableCloneObjects">
|
|
<property name="text">
|
|
<string>Enable Clone Objects</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="checkBox_EnableRequiresItemfinder">
|
|
<property name="text">
|
|
<string>Enable 'Requires Itemfinder' for Hidden Items</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkBox_EnableQuantity">
|
|
<property name="text">
|
|
<string>Enable 'Quantity' for Hidden Items</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="checkBox_EnableRespawn">
|
|
<property name="text">
|
|
<string>Enable 'Respawn Map/NPC' for Heal Locations</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_Files">
|
|
<attribute name="title">
|
|
<string>Files</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_ProjectFilesTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_ProjectFilesTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>499</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_10" rowstretch="1,2,8">
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="0" colspan="3">
|
|
<widget class="QWidget" name="widget_ProjectPaths" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_ProjectPaths">
|
|
<property name="lineWidth">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaContents_ProjectPaths">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>544</width>
|
|
<height>338</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QFormLayout" name="layout_ProjectPaths">
|
|
<property name="verticalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>4</number>
|
|
</property>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="button_AddGlobalConstantsFile">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Add additional C files containing #defines or enums. These will be used to resolve unknown symbols during project launch.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Global Constants File...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="button_HelpFiles">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/help.ico</normaloff>:/icons/help.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<layout class="QGridLayout" name="gridLayout_GlobalConstantsFiles"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_Identifiers">
|
|
<attribute name="title">
|
|
<string>Identifiers</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_21">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_IdentifiersTab">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_IdentifiersTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>570</width>
|
|
<height>499</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_11">
|
|
<item row="0" column="0">
|
|
<widget class="QToolButton" name="button_HelpIdentifiers">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/help.ico</normaloff>:/icons/help.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3">
|
|
<widget class="QWidget" name="widget_Identifiers" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_20">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_Identifiers">
|
|
<property name="lineWidth">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaContents_Identifiers">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>544</width>
|
|
<height>421</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QFormLayout" name="layout_Identifiers">
|
|
<property name="verticalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>4</number>
|
|
</property>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="button_AddGlobalConstant">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Add an additional #define name and expression. This may be used to evaluate other #defines during project launch.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Global Constant...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<layout class="QGridLayout" name="gridLayout_GlobalConstants"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::RestoreDefaults</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>NoScrollComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>noscrollwidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>UIntSpinBox</class>
|
|
<extends>QAbstractSpinBox</extends>
|
|
<header>uintspinbox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>UIntHexSpinBox</class>
|
|
<extends>UIntSpinBox</extends>
|
|
<header location="global">uintspinbox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>NoScrollSpinBox</class>
|
|
<extends>QSpinBox</extends>
|
|
<header>noscrollwidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>NoScrollTextEdit</class>
|
|
<extends>QTextEdit</extends>
|
|
<header>noscrollwidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../resources/images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|