ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/subs.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/subs.cpp (file contents):
Revision 306 by gumby, Sat May 2 16:34:23 2009 UTC vs.
Revision 307 by gumby, Sat May 2 16:55:16 2009 UTC

# Line 26 | Line 26 | Needs getPackages() now!
26  
27   #include <errno.h>
28   #ifdef WIN32
29 <        #include "Include\dirent.h"
29 > //      #include "Include\dirent.h"
30          #include <windows.h>
31          static const string Onisplit = "Onisplit.exe";
32          string import = "-import:nosep";
# Line 66 | Line 66 | vector<ModPackage> getPackages(void) {
66          vector<ModPackage> packages;
67          packages.reserve(65536); //comeon, we shouldn't need this much space...right?!
68          fstream file;
69 #ifdef DEBUG
70 #ifdef WIN32
71        string path = ".\\packages"; //only for my build. :P
72         _chdir(path.c_str());
69  
74         _chdir("..");
75         cout << path;
76 #else
77        string path = "K:\\Oni\\edition\\install\\packages"; //change this, 'scen.
78 #endif
79 #else
80        string path = ".";
81 #endif
70  
71          string filename = "\0";
72          string MODINFO_CFG = "Mod_Info.cfg";

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)