• R/O
  • SSH
  • HTTPS

gd10: Commit


Commit MetaInfo

Revisão101 (tree)
Hora2019-08-08 22:22:26
Autorhgtterry

Mensagem de Log

Class PB and Create Project 080819

Mudança Sumário

Diff

--- Equity10/GD10_Project.cpp (revision 100)
+++ Equity10/GD10_Project.cpp (revision 101)
@@ -316,45 +316,48 @@
316316 strcat(SoundFolder, "Sounds");
317317 CreateDirectory(SoundFolder, NULL);
318318
319- App->CL10_PB->Set_Progress("Copy_SystemFiles", 10);
319+ int TCount = Get_Transfer_Count();
320+ App->Say_Int(TCount);
321+
322+ App->CL10_PB->Set_Progress("Copy_SystemFiles", TCount);
320323 Copy_SystemFiles();
321- App->CL10_PB->Nudge();
324+
322325
323326 App->CL10_PB->Set_Progress_Text("Copy_ZipFiles");
324327 Copy_ZipFiles();
325- App->CL10_PB->Nudge();
328+
326329
327330 App->CL10_PB->Set_Progress_Text("Copy_Level_Files");
328331 Copy_Level_Files();
329- App->CL10_PB->Nudge();
332+
330333
331334 App->CL10_PB->Set_Progress_Text("Transfer_UsedMaterials");
332335 Transfer_UsedMaterials();
333- App->CL10_PB->Nudge();
336+
334337
335338 App->CL10_PB->Set_Progress_Text("Transfer_Meshes");
336339 Transfer_Meshes();
337- App->CL10_PB->Nudge();
340+
338341
339342 App->CL10_PB->Set_Progress_Text("Transfer_Textures");
340343 Transfer_Textures();
341- App->CL10_PB->Nudge();
344+
342345
343346 App->CL10_PB->Set_Progress_Text("Transfer_Environment_Sound");
344347 Transfer_Environment_Sound();
345- App->CL10_PB->Nudge();
348+
346349
347350 App->CL10_PB->Set_Progress_Text("Transfer_Sounds");
348351 Transfer_Sounds();
349- App->CL10_PB->Nudge();
352+
350353
351354 App->CL10_PB->Set_Progress_Text("Create_Game_IniFile");
352355 Create_Game_IniFile();
353- App->CL10_PB->Nudge();
356+
354357
355358 App->CL10_PB->Set_Progress_Text("Create_Config_File");
356359 Create_Config_File();
357- App->CL10_PB->Nudge();
360+
358361
359362 //App->CL_Dialogs->MessageLoad_Finish("Project Created");
360363
@@ -380,7 +383,7 @@
380383
381384 CopyFile(SourceFile, DestinationFile, false);
382385
383-
386+ App->CL10_PB->Nudge();
384387
385388 //----------------------------- RenderSystem_GL.dll
386389 strcpy(SourceFile, App->EquityDirecory_FullPath);
@@ -391,7 +394,7 @@
391394
392395 CopyFile(SourceFile, DestinationFile, false);
393396
394-
397+ App->CL10_PB->Nudge();
395398 //----------------------------- cg.dll
396399 strcpy(SourceFile, App->EquityDirecory_FullPath);
397400 strcat(SourceFile, "\\cg.dll");
@@ -401,7 +404,7 @@
401404
402405 CopyFile(SourceFile, DestinationFile, false);
403406
404-
407+ App->CL10_PB->Nudge();
405408 //----------------------------- msvcp100.dll
406409 strcpy(SourceFile, App->EquityDirecory_FullPath);
407410 strcat(SourceFile, "\\msvcp100.dll");
@@ -411,7 +414,7 @@
411414
412415 CopyFile(SourceFile, DestinationFile, false);
413416
414-
417+ App->CL10_PB->Nudge();
415418 //----------------------------- msvcr100.dll
416419 strcpy(SourceFile, App->EquityDirecory_FullPath);
417420 strcat(SourceFile, "\\msvcr100.dll");
@@ -420,6 +423,7 @@
420423 strcat(DestinationFile, "\\msvcr100.dll");
421424
422425 CopyFile(SourceFile, DestinationFile, false);
426+ App->CL10_PB->Nudge();
423427
424428 //----------------------------- irrKlang.dll
425429 strcpy(SourceFile, App->EquityDirecory_FullPath);
@@ -429,6 +433,7 @@
429433 strcat(DestinationFile, "\\irrKlang.dll");
430434
431435 CopyFile(SourceFile, DestinationFile, false);
436+ App->CL10_PB->Nudge();
432437
433438 //----------------------------- Plugin_CgProgramManager.dll
434439 strcpy(SourceFile, App->EquityDirecory_FullPath);
@@ -438,6 +443,7 @@
438443 strcat(DestinationFile, "\\Plugin_CgProgramManager.dll");
439444
440445 CopyFile(SourceFile, DestinationFile, false);
446+ App->CL10_PB->Nudge();
441447
442448 //----------------------------- Game FIle
443449 strcpy(SourceFile, App->EquityDirecory_FullPath);
@@ -449,6 +455,7 @@
449455 strcat(DestinationFile, ".exe");
450456
451457 CopyFile(SourceFile, DestinationFile, false);
458+ App->CL10_PB->Nudge();
452459
453460 //----------------------------- Game FIle
454461 strcpy(SourceFile, App->EquityDirecory_FullPath);
@@ -458,6 +465,7 @@
458465 strcat(DestinationFile, "\\plugins.cfg");
459466
460467 CopyFile(SourceFile, DestinationFile, false);
468+ App->CL10_PB->Nudge();
461469
462470 }
463471
@@ -474,7 +482,7 @@
474482 strcat(DestinationFile, "\\GDCore.zip");
475483
476484 CopyFile(SourceFile, DestinationFile, false);
477-
485+ App->CL10_PB->Nudge();
478486 //----------------------------- Equity.zip
479487 strcpy(SourceFile, App->EquityDirecory_FullPath);
480488 strcat(SourceFile, "\\Media\\Core_Data\\Equity.zip");
@@ -483,7 +491,7 @@
483491 strcat(DestinationFile, "\\Equity.zip");
484492
485493 CopyFile(SourceFile, DestinationFile, false);
486-
494+ App->CL10_PB->Nudge();
487495 //----------------------------- OgreCore.zip
488496 strcpy(SourceFile, App->EquityDirecory_FullPath);
489497 strcat(SourceFile, "\\Media\\Core_Data\\OgreCore.zip");
@@ -492,7 +500,7 @@
492500 strcat(DestinationFile, "\\OgreCore.zip");
493501
494502 CopyFile(SourceFile, DestinationFile, false);
495-
503+ App->CL10_PB->Nudge();
496504 //----------------------------- skybox.zip
497505 strcpy(SourceFile, App->EquityDirecory_FullPath);
498506 strcat(SourceFile, "\\Media\\Core_Data\\skybox.zip");
@@ -501,6 +509,7 @@
501509 strcat(DestinationFile, "\\skybox.zip");
502510
503511 CopyFile(SourceFile, DestinationFile, false);
512+ App->CL10_PB->Nudge();
504513 }
505514
506515 // *************************************************************************
@@ -515,6 +524,7 @@
515524
516525 strcpy(App->CL10_File->Full_Path_And_File, SourceFile);
517526 App->GDCL_Save_Scene->SaveGDScene_40(0);
527+ App->CL10_PB->Nudge();
518528 }
519529
520530 // *************************************************************************
@@ -534,7 +544,7 @@
534544 fprintf(Write_IniFile, "%s%s\n", "First_Level=", App->GDCL_Scene_Data->S_Scene[0]->GDSceneName);
535545
536546 fclose(Write_IniFile);
537-
547+ App->CL10_PB->Nudge();
538548 }
539549
540550 // *************************************************************************
@@ -555,7 +565,7 @@
555565 fprintf(Write_IniFile, "%s%i\n", "Full_Screen=", App->CL10_Project->CF_Full_Screen);
556566
557567 fclose(Write_IniFile);
558-
568+ App->CL10_PB->Nudge();
559569 }
560570
561571 // *************************************************************************
@@ -628,6 +638,7 @@
628638 }
629639 }
630640
641+ App->CL10_PB->Nudge();
631642 materialIterator.moveNext();
632643 }
633644
@@ -712,6 +723,7 @@
712723
713724 }
714725
726+ App->CL10_PB->Nudge();
715727 MeshIterator.moveNext();
716728 }
717729
@@ -794,6 +806,7 @@
794806 CopyFile(SourceFile, DestinationFile, false);
795807 }
796808
809+ App->CL10_PB->Nudge();
797810 TextureIterator.moveNext();
798811 }
799812
@@ -821,7 +834,7 @@
821834 strcat(DestinationFile, "\\");
822835 strcat(DestinationFile, App->GDCL_Scene_Data->S_Scene[0]->Sound[0].SoundFile);
823836 CopyFile(SourceFile, DestinationFile, false);
824-
837+ App->CL10_PB->Nudge();
825838 }
826839 return;
827840 }
@@ -876,6 +889,7 @@
876889 CopyFile(SourceFile, DestinationFile, false);
877890 }
878891
892+ App->CL10_PB->Nudge();
879893 Index++;
880894 }
881895
@@ -1035,3 +1049,57 @@
10351049 strcpy(App->CL10_Project->GameName, chr_Tag1);
10361050
10371051 }
1052+
1053+// *************************************************************************
1054+// * Get_Transfer_Count Terry Berine *
1055+// *************************************************************************
1056+int GD10_Project::Get_Transfer_Count(void)
1057+{
1058+ int Tcount = 9;
1059+
1060+ Tcount = Tcount + 4; // Zip Files
1061+ Tcount = Tcount + 1; // Level File
1062+
1063+ Ogre::ResourceManager::ResourceMapIterator materialIterator = Ogre::MaterialManager::getSingleton().getResourceIterator();
1064+
1065+ while (materialIterator.hasMoreElements())
1066+ {
1067+ Tcount++;
1068+ materialIterator.moveNext();
1069+ }
1070+
1071+ Ogre::ResourceManager::ResourceMapIterator MeshIterator = Ogre::MeshManager::getSingleton().getResourceIterator();
1072+
1073+ while (MeshIterator.hasMoreElements())
1074+ {
1075+ Tcount++;
1076+ MeshIterator.moveNext();
1077+ }
1078+
1079+ Ogre::ResourceManager::ResourceMapIterator TextureIterator = Ogre::TextureManager::getSingleton().getResourceIterator();
1080+
1081+ while (TextureIterator.hasMoreElements())
1082+ {
1083+ Tcount++;
1084+ TextureIterator.moveNext();
1085+ }
1086+
1087+ Tcount++; // Enviroment Sound
1088+
1089+ int Index = 0;
1090+ while (Index < App->GDCL_Scene_Data->ObjectCount)
1091+ {
1092+ if (App->GDCL_Scene_Data->CL_Object[Index]->HasSound == 1)
1093+ {
1094+ Tcount++;
1095+ }
1096+
1097+ Index++;
1098+ }
1099+
1100+
1101+ Tcount = Tcount + 2; // Ini File Config File
1102+
1103+
1104+ return Tcount;
1105+}
--- Equity10/GD10_Project.h (revision 100)
+++ Equity10/GD10_Project.h (revision 101)
@@ -34,6 +34,7 @@
3434 void Create_ProjectFolder(void);
3535 void Write_To_Config(void);
3636 void Read_From_Config(void);
37+ int Get_Transfer_Count(void);
3738
3839 protected:
3940
--- Equity10/VersionNo2.h (revision 100)
+++ Equity10/VersionNo2.h (revision 101)
@@ -39,21 +39,21 @@
3939 #ifndef _VERSIONNO__H_
4040 #define _VERSIONNO__H_
4141
42-#define VERSION_FULL 1.20.219.15
42+#define VERSION_FULL 1.20.219.17
4343
4444 #define VERSION_BASEYEAR 2019
4545 #define VERSION_DATE "2019-08-08"
46-#define VERSION_TIME "12:57:47"
46+#define VERSION_TIME "14:18:06"
4747
4848 #define VERSION_MAJOR 1
4949 #define VERSION_MINOR 20
5050 #define VERSION_BUILDNO 219
51-#define VERSION_EXTEND 15
51+#define VERSION_EXTEND 17
5252
53-#define VERSION_FILE 1,20,219,15
54-#define VERSION_PRODUCT 1,20,219,22
55-#define VERSION_FILESTR "1,20,219,15\0"
56-#define VERSION_PRODUCTSTR "1,20,219,22\0"
53+#define VERSION_FILE 1,20,219,17
54+#define VERSION_PRODUCT 1,20,219,24
55+#define VERSION_FILESTR "1,20,219,17\0"
56+#define VERSION_PRODUCTSTR "1,20,219,24\0"
5757 #define VERSION_EVERSION "0.3.4.0\0"
5858
5959 #endif
\ No newline at end of file
Show on old repository browser