Ignore:
Timestamp:
Mar 27, 2010, 4:48:25 AM (15 years ago)
Author:
gumby
Message:

Allowed single packages to be updated
Changed the modversion to be a float
Fixed a possible crash on Macs
Fixed batch file to move instead of copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/Installer/trunk/source/globals.h

    r503 r504  
    1010
    1111
    12 #pragma mark INCLUDES
     12//#pragma mark INCLUDES
    1313#include <fstream>
    1414#include <string>
     
    1919#include <errno.h>
    2020#include <sstream>
    21 #include "boost/thread.hpp"
    22 #include "boost/tokenizer.hpp"
    23 #include "boost/lexical_cast.hpp" // int -> string
    24 #include "boost/algorithm/string.hpp"
    25 #include "boost/filesystem.hpp" // includes all needed Boost.Filesystem declarations
    26 using namespace boost::filesystem;
    27 using namespace std;
    2821#ifdef WIN32
    2922#include <windows.h>
     
    3932#include "wx/wx.h"
    4033#endif
     34#include "boost/thread.hpp"
     35#include "boost/tokenizer.hpp"
     36#include "boost/lexical_cast.hpp" // int -> string
     37#include "boost/algorithm/string.hpp"
     38#include "boost/filesystem.hpp" // includes all needed Boost.Filesystem declarations
     39using namespace boost::filesystem;
     40using namespace std;
    4141
    42 #pragma mark DEFINES
     42//#pragma mark DEFINES
    4343#define INSTALLER_VERSION                "1.2" // only place we need to change this
    4444#define UPDATE_LOG_READ_ERR             -1
     
    5050#define UPDATE_INST_AVAIL                3
    5151#define UPDATE_CONT_UPD                  4
    52 
    53 #pragma mark STRUCTS
     52#define UPDATE_THIRD_PARTY               5
     53//#pragma mark STRUCTS
    5454struct ModPackage
    5555{
     
    5858        string  name;
    5959        string  modStringName;
    60         int     modStringVersion;
     60        float   modStringVersion;
    6161        string  platform;
    6262        bool    hasOnis;
     
    9292
    9393
    94 #pragma mark PROTOTYPES
     94//#pragma mark PROTOTYPES
    9595void recompileAll(vector<string>);
    9696int globalizeData(void);
     
    9999bool ProcessInstallerUpdate(Install_info_cfg *, Install_info_cfg *);
    100100bool ProcessAEUpdate(Install_info_cfg *, Install_info_cfg *, bool *);
     101bool ProcessThirdPartyUpdates(void);
    101102void callRefreshMods(void);
    102103string escapePath(string input);
Note: See TracChangeset for help on using the changeset viewer.