• R/O
  • SSH
  • HTTPS

gdx64: Commit


Commit MetaInfo

Revisión278 (tree)
Tiempo2020-01-20 06:52:30
Autorhgtterry

Log Message

GD19 Ogre 1.9 Camera Follower 190120

Cambiar Resumen

Diferencia incremental

--- GD19_OSDN/GD19_OSDN.cpp (revision 277)
+++ GD19_OSDN/GD19_OSDN.cpp (revision 278)
@@ -280,6 +280,21 @@
280280 return 1;
281281 }
282282
283+ //------------------------- Add Item
284+ case ID_ADDITEM_OBJECT:
285+ {
286+ App->Cl_Dialogs->YesNo("Add Object", "Do you want to add a new Object now");
287+ bool Doit = App->Cl_Dialogs->Canceled;
288+ if (Doit == 0)
289+ {
290+ App->Cl_Mesh_Viewer->Mesh_Viewer_Mode = Enums::Mesh_Viewer_Objects; // Objects
291+ App->Cl_Mesh_Viewer->StartMeshViewer();
292+ App->Cl_Object_Props->Is_Player = 0; // Mark as Object selected
293+ }
294+
295+ return 1;
296+ }
297+
283298 //------------------------- Tools
284299 case ID_TOOLS_SOUNDPLAYER:
285300 {
@@ -300,7 +315,6 @@
300315 }*/
301316
302317 //------------------------- Mode
303-
304318 case ID_MODE_FREECAM:
305319 {
306320 if (App->Cl_Player->PlayerAdded == 1)
--- GD19_OSDN/Resource.h (revision 277)
+++ GD19_OSDN/Resource.h (revision 278)
@@ -408,6 +408,8 @@
408408
409409 #define ID_CAMERA_OBJECTPROPERTIES 32797
410+#define ID_ADDITEM_OBJECT 32798 +
410411 #define IDC_STATIC -1
411412 @@ -424,7 +426,7 @@
412413
413414 #define _APS_NEXT_RESOURCE_VALUE 168
414-#define _APS_NEXT_COMMAND_VALUE 32798 +#define _APS_NEXT_COMMAND_VALUE 32799
415415 #define _APS_NEXT_CONTROL_VALUE 1079
Show on old repository browser