| 3 |
|
by Gumby and Iritscen |
| 4 |
|
*/ |
| 5 |
|
|
| 6 |
< |
// To-do: - |
| 6 |
> |
// To-do: - Load credits from text resource file |
| 7 |
> |
// - Version number in credits should be universalized |
| 8 |
|
// - Institute lots of checks into file-handling |
| 9 |
< |
// - Clear mod info fields when mod is de-selected ??? |
| 9 |
> |
// - Clear mod info fields when mod is de-selected |
| 10 |
|
|
| 11 |
|
#define DEBUG |
| 12 |
|
#include <stdio.h> |
| 266 |
|
|
| 267 |
|
} |
| 268 |
|
else { |
| 269 |
< |
logfile << "\tMoved file: " << dir_itr->path().filename() << "\n"; |
| 269 |
> |
//logfile << "\tMoved file: " << dir_itr->path().filename() << "\n"; |
| 270 |
|
} |
| 271 |
|
} |
| 272 |
|
|
| 289 |
|
//printf(Step_x_x,"Step %d/%d: reimporting level", parts_done + 1, 7 + 2 * num_levels); setStatusArea((string)Step_x_x + levels[i] + (string)"_Final.dat"); |
| 290 |
|
setStatusArea("Step " + lexical_cast<std::string>(parts_done + 1) + "/" + lexical_cast<std::string>(total_steps) + " reimporting level" + levels[i]+"_Final.oni"); |
| 291 |
|
system( (strOniSplit + " " + strImportOption + " ../GameDataFolder/level" + levels[i] + "_Final packages/VanillaDats/level" + levels[i] + "_Final/level" |
| 292 |
< |
+ levels[i] + "_Final/level" + levels[i] + "_Final.oni > Globalize.oni").c_str()); |
| 292 |
> |
+ levels[i] + "_Final/level" + levels[i] + "_Final.oni >> Globalize.log").c_str()); |
| 293 |
|
setProgressBar( (int)(1000 * (float)(parts_done) / (float)(total_steps) )); |
| 294 |
|
parts_done++; |
| 295 |
|
} |
| 1568 |
|
// Tg.create_thread( &globalizeData(), this ); |
| 1569 |
|
#else |
| 1570 |
|
globalizeData(); |
| 1570 |
– |
setProgressBar(1000); |
| 1571 |
– |
setStatusArea("Done!"); |
| 1571 |
|
#endif |
| 1572 |
|
|
| 1573 |
|
this->InstallButton->Enable(); |