add more options to copy instance dialog
- Copy game options, copy resource packs, copy shaders, copy servers, and copy mods - Also made a new InstanceCopyPrefs struct to store those options rather than passing 7 different booleans into InstanceCopyTask's constructor Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
This commit is contained in:
parent
8b28ed67ae
commit
e7e56eb1e3
8 changed files with 254 additions and 22 deletions
18
launcher/InstanceCopyPrefs.h
Normal file
18
launcher/InstanceCopyPrefs.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// Created by marcelohdez on 10/22/22.
|
||||
//
|
||||
|
||||
#ifndef LAUNCHER_INSTANCECOPYPREFS_H
|
||||
#define LAUNCHER_INSTANCECOPYPREFS_H
|
||||
|
||||
struct InstanceCopyPrefs {
|
||||
bool copySaves;
|
||||
bool keepPlaytime;
|
||||
bool copyGameOptions;
|
||||
bool copyResourcePacks;
|
||||
bool copyShaderPacks;
|
||||
bool copyServers;
|
||||
bool copyMods;
|
||||
};
|
||||
|
||||
#endif // LAUNCHER_INSTANCECOPYPREFS_H
|
Loading…
Add table
Add a link
Reference in a new issue