• R/O
  • SSH
  • HTTPS

gd10: Commit


Commit MetaInfo

Revisão109 (tree)
Hora2019-08-09 01:43:27
Autorhgtterry

Mensagem de Log

Entities change Environment Change Level Change Area 080819

Mudança Sumário

Diff

--- Equity10/GD_FileView.cpp (revision 108)
+++ Equity10/GD_FileView.cpp (revision 109)
@@ -433,29 +433,6 @@
433433 App->GDCL_Visuals->MarkerBB_Addjust(Index);
434434
435435 return;
436-
437- /*App->GDCL_Object_Props->Selected_Object_Index = Index;
438- App->GDCL_Visuals->MarkerBB_Addjust(Index);
439-
440- if(App->GDCL_Object_Props->Edit_Type == Enums::Edit_Player)
441- {
442- App->GDCL_Object_Props->Edit_Type = Enums::Edit_Mesh_Object;
443- App->GDCL_Object_Props->Update_Properties_Mesh();
444- return;
445- }
446-
447- if(App->GDCL_Object_Props->Edit_Type == Enums::Edit_Mesh_Object)
448- {
449- App->GDCL_Object_Props->Update_Properties_Mesh();
450- return;
451- }
452-
453- if(App->GDCL_Object_Props->Edit_Type == Enums::Edit_Physics_Object)
454- {
455- App->GDCL_Object_Props->Update_Properties_Physics();
456- return;
457- }*/
458- return;
459436 }
460437
461438 if (!strcmp(FileView_File, "Player"))
@@ -809,6 +786,106 @@
809786 return;
810787 }
811788
789+ // Area_Change
790+ if (!strcmp(FileView_Folder, "Area_Change")) // Folder
791+ {
792+ if (App->GDCL_Scene_Data->Scene_Has_Area == 0)
793+ {
794+ App->Say("An Area or Building must be Added Firest");
795+ return;
796+ }
797+
798+
799+ App->CL_Dialogs->YesNo("Add Entity", "Do you want to add a new Area Change Entity now");
800+ bool Doit = App->GDCL_Dialogs->Canceled;
801+ if (Doit == 0)
802+ {
803+ App->CL10_Objects_New->Add_New_EnvironmentEntity();
804+ }
805+
806+ return;
807+ }
808+ if (!strcmp(FileView_File, "Area_Change"))
809+ {
810+
811+ HideRightPanes();
812+ ShowWindow(App->GD_Properties_Hwnd, 1);
813+
814+ App->CL10_Properties->Enable_Delete_Button(1);
815+
816+ App->GDCL_Object_Props->Is_Player = 0; // Mark as Object selected
817+
818+ App->GDCL_Object_Props->Selected_Object_Index = Index;
819+ App->GDCL_Visuals->MarkerBB_Addjust(Index);
820+
821+
822+ App->CL10_Properties->Edit_Category = Enums::Edit_Environment;
823+ App->CL10_Properties->Current_Selected_Object = Index;
824+
825+ App->CL10_Properties->Update_Transform_Dlg();
826+
827+ if (App->CL10_Properties->Edit_Physics == 0)
828+ {
829+ App->CL10_Properties->Update_ListView_Environment();
830+ }
831+ else
832+ {
833+ App->CL10_Properties->Update_ListView_Physics();
834+ }
835+
836+ return;
837+ }
838+
839+ // Change_Level
840+ if (!strcmp(FileView_Folder, "Change_Level")) // Folder
841+ {
842+ if (App->GDCL_Scene_Data->Scene_Has_Area == 0)
843+ {
844+ App->Say("An Area or Building must be Added Firest");
845+ return;
846+ }
847+
848+
849+ App->CL_Dialogs->YesNo("Add Entity", "Do you want to add a new Change Level Entity now");
850+ bool Doit = App->GDCL_Dialogs->Canceled;
851+ if (Doit == 0)
852+ {
853+ App->CL10_Objects_New->Add_New_EnvironmentEntity();
854+ }
855+
856+ return;
857+ }
858+ if (!strcmp(FileView_File, "Area_Change"))
859+ {
860+
861+ HideRightPanes();
862+ ShowWindow(App->GD_Properties_Hwnd, 1);
863+
864+ App->CL10_Properties->Enable_Delete_Button(1);
865+
866+ App->GDCL_Object_Props->Is_Player = 0; // Mark as Object selected
867+
868+ App->GDCL_Object_Props->Selected_Object_Index = Index;
869+ App->GDCL_Visuals->MarkerBB_Addjust(Index);
870+
871+
872+ App->CL10_Properties->Edit_Category = Enums::Edit_Environment;
873+ App->CL10_Properties->Current_Selected_Object = Index;
874+
875+ App->CL10_Properties->Update_Transform_Dlg();
876+
877+ if (App->CL10_Properties->Edit_Physics == 0)
878+ {
879+ App->CL10_Properties->Update_ListView_Environment();
880+ }
881+ else
882+ {
883+ App->CL10_Properties->Update_ListView_Physics();
884+ }
885+
886+ return;
887+ }
888+
812889 }
813890
814891 // *************************************************************************
--- Equity10/VersionNo2.h (revision 108)
+++ Equity10/VersionNo2.h (revision 109)
@@ -39,21 +39,21 @@
3939 #ifndef _VERSIONNO__H_
4040 #define _VERSIONNO__H_
4141
42-#define VERSION_FULL 1.20.219.45
42+#define VERSION_FULL 1.20.219.47
4343
4444 #define VERSION_BASEYEAR 2019
4545 #define VERSION_DATE "2019-08-08"
46-#define VERSION_TIME "17:35:26"
46+#define VERSION_TIME "17:42:22"
4747
4848 #define VERSION_MAJOR 1
4949 #define VERSION_MINOR 20
5050 #define VERSION_BUILDNO 219
51-#define VERSION_EXTEND 45
51+#define VERSION_EXTEND 47
5252
53-#define VERSION_FILE 1,20,219,45
54-#define VERSION_PRODUCT 1,20,219,52
55-#define VERSION_FILESTR "1,20,219,45\0"
56-#define VERSION_PRODUCTSTR "1,20,219,52\0"
53+#define VERSION_FILE 1,20,219,47
54+#define VERSION_PRODUCT 1,20,219,54
55+#define VERSION_FILESTR "1,20,219,47\0"
56+#define VERSION_PRODUCTSTR "1,20,219,54\0"
5757 #define VERSION_EVERSION "0.3.4.0\0"
5858
5959 #endif
\ No newline at end of file
Show on old repository browser