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:
Marcelo Hernandez
2022-10-22 14:50:32 -04:00
parent 8b28ed67ae
commit e7e56eb1e3
8 changed files with 254 additions and 22 deletions

View 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