@@ -42,6 +42,7 @@ public override void Draw()
4242 {
4343 Settings . Instance . SaveSettings ( ) ;
4444 }
45+
4546 ImGui . SameLine ( ) ;
4647 if ( ImGui . Button ( "Close" ) )
4748 {
@@ -62,6 +63,31 @@ public override void Draw()
6263 ImGui . EndCombo ( ) ;
6364 }
6465
66+ ImGui . Separator ( ) ;
67+ bool tmpLaunchGame = Settings . Instance . LaunchGame ;
68+ ImGui . Checkbox ( "Launch game after ERPLoader finish?" , ref tmpLaunchGame ) ;
69+ Settings . Instance . LaunchGame = tmpLaunchGame ;
70+
71+ ImGui . Separator ( ) ;
72+ ImGui . BulletText ( "Do not change settings below if you don't know what you are doing!" ) ;
73+ ImGui . NewLine ( ) ;
74+
75+ string tmpModsFolderName = Settings . Instance . ModsFolderName ;
76+ ImGui . InputText ( "Mods Folder Name" , ref tmpModsFolderName , 256 ) ;
77+ Settings . Instance . ModsFolderName = tmpModsFolderName ;
78+
79+ string tmpBackupFileExtension = Settings . Instance . BackupFileExtension ;
80+ ImGui . InputText ( "Backup File Extension" , ref tmpBackupFileExtension , 256 ) ;
81+ Settings . Instance . BackupFileExtension = tmpBackupFileExtension ;
82+
83+ string tmpDisabledModsEndsWith = Settings . Instance . DisabledModsEndsWith ;
84+ ImGui . InputText ( "Disabled Mods Ends With" , ref tmpDisabledModsEndsWith , 256 ) ;
85+ Settings . Instance . DisabledModsEndsWith = tmpDisabledModsEndsWith ;
86+
87+ string tmpFindReplaceFileName = Settings . Instance . FindReplaceFileName ;
88+ ImGui . InputText ( "Find Replace File Name" , ref tmpFindReplaceFileName , 256 ) ;
89+ Settings . Instance . FindReplaceFileName = tmpFindReplaceFileName ;
90+
6591 ImGui . End ( ) ;
6692 }
6793
@@ -87,6 +113,8 @@ You should have received a copy of the GNU General Public License
87113 {
88114 ShowLicenseWindow = false ;
89115 }
116+
117+ ImGui . End ( ) ;
90118 }
91119
92120 if ( ShowAuthorWindow && ImGui . Begin ( "Author" , ImGuiWindowFlags . AlwaysAutoResize | ImGuiWindowFlags . NoCollapse ) )
@@ -99,6 +127,8 @@ You should have received a copy of the GNU General Public License
99127 {
100128 ShowAuthorWindow = false ;
101129 }
130+
131+ ImGui . End ( ) ;
102132 }
103133
104134 if ( ShowAppInfoWindow && ImGui . Begin ( "EasyERPMod" , ImGuiWindowFlags . AlwaysAutoResize | ImGuiWindowFlags . NoCollapse ) )
@@ -122,6 +152,8 @@ You should have received a copy of the GNU General Public License
122152 {
123153 ShowAppInfoWindow = false ;
124154 }
155+
156+ ImGui . End ( ) ;
125157 }
126158 }
127159 }
0 commit comments