--- AE/Installer/trunk/source/installer.h 2009/06/29 19:23:42 379 +++ AE/Installer/trunk/source/installer.h 2009/10/09 03:22:08 461 @@ -1,4 +1,4 @@ -#pragma once + #pragma once /* AE/Mod Installer header file */ #ifndef DOUBLE_HEADER #define DOUBLE_HEADER @@ -25,6 +25,7 @@ struct ModPackage bool hasOnis; bool hasDeltas; bool hasBSL; + bool hasAddon; bool hasDats; string category; string creator; @@ -32,6 +33,7 @@ struct ModPackage string readme; bool globalNeeded; ModPackage(); + void doOutput() { cout << "Mod: " << name; cout << "\n"; // remove this when done @@ -69,6 +71,7 @@ ModPackage::ModPackage() hasOnis = false; hasDeltas = false; hasBSL = false; + hasAddon = false; hasDats = false; category = ""; creator = ""; @@ -97,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.