--- AE/Installer/trunk/source/installer.h 2009/06/19 22:25:08 358 +++ AE/Installer/trunk/source/installer.h 2009/10/10 02:49:27 462 @@ -1,4 +1,4 @@ -#pragma once + #pragma once /* AE/Mod Installer header file */ #ifndef DOUBLE_HEADER #define DOUBLE_HEADER @@ -13,8 +13,7 @@ using namespace std; static string SLASHSLASH = "//"; static string DIRSLASH = "\\"; string strInstallCfg = "../GameDataFolder/Add.cfg"; - - +static string strInstallerVersion = "1.0"; #define STRUCT_DEFS struct ModPackage @@ -26,6 +25,7 @@ struct ModPackage bool hasOnis; bool hasDeltas; bool hasBSL; + bool hasAddon; bool hasDats; string category; string creator; @@ -33,6 +33,7 @@ struct ModPackage string readme; bool globalNeeded; ModPackage(); + void doOutput() { cout << "Mod: " << name; cout << "\n"; // remove this when done @@ -70,6 +71,7 @@ ModPackage::ModPackage() hasOnis = false; hasDeltas = false; hasBSL = false; + hasAddon = false; hasDats = false; category = ""; creator = ""; @@ -98,6 +100,8 @@ void writeInstalledMods( vector void setStatusArea( string ); void setProgressBar( int ); +void copyBSL( string, vector&, ModPackage ); + //New copy(path, path) function. Too lazy to implement my own, this is basically how I would have done it though. //No, really. :) //Move to utilities.cpp when the time comes.