summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-28 04:38:29 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-28 04:38:29 +0200
commit5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b (patch)
tree09f3f739d22370b8ce96144057d2cec2d74febb5 /logic/LegacyInstance.cpp
parentaa8766581ebad668194fcab87f53af4270e9679a (diff)
downloadMultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.gz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.lz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.xz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.zip
Basic 1.6 mod management (no jar mods)
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index 73a02cbd..6b2341d7 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -87,6 +87,11 @@ MinecraftProcess* LegacyInstance::prepareForLaunch(QString user, QString session
return proc;
}
+void LegacyInstance::cleanupAfterRun()
+{
+ //FIXME: delete the launcher and icons and whatnot.
+}
+
QSharedPointer< ModList > LegacyInstance::coreModList()
{
I_D(LegacyInstance);
@@ -136,7 +141,7 @@ QSharedPointer< ModList > LegacyInstance::texturePackList()
I_D(LegacyInstance);
if(!d->texture_pack_list)
{
- d->texture_pack_list.reset(new ModList(texturePackDir()));
+ d->texture_pack_list.reset(new ModList(texturePacksDir()));
}
else
d->texture_pack_list->update();
@@ -150,12 +155,6 @@ QDialog * LegacyInstance::createModEditDialog ( QWidget* parent )
}
-void LegacyInstance::cleanupAfterRun()
-{
- //FIXME: delete the launcher and icons and whatnot.
-}
-
-
QString LegacyInstance::jarModsDir() const
{
return PathCombine(instanceRoot(), "instMods");
@@ -185,7 +184,7 @@ QString LegacyInstance::resourceDir() const
{
return PathCombine(minecraftRoot(), "resources");
}
-QString LegacyInstance::texturePackDir() const
+QString LegacyInstance::texturePacksDir() const
{
return PathCombine(minecraftRoot(), "texturepacks");
}