소스 검색

Merge pull request #2043 from John3/toolShapes_3

cleaning the modules
Areloch 6 년 전
부모
커밋
b759bde0c0

+ 1 - 1
Engine/source/T3D/shapeImage.cpp

@@ -189,7 +189,7 @@ ShapeBaseImageData::ShapeBaseImageData()
    lightRadius = 10.f;
    lightBrightness = 1.0f;
 
-   shapeName = "core/art/shapes/noshape.dts";
+   shapeName = "core/shapes/noshape.dts";
    shapeNameFP = "";
    imageAnimPrefix = "";
    imageAnimPrefixFP = "";

+ 3 - 3
Engine/source/ts/tsShapeConstruct.cpp

@@ -74,9 +74,9 @@ EndImplementEnumType;
 
 //-----------------------------------------------------------------------------
 
-String TSShapeConstructor::smCapsuleShapePath("core/art/shapes/unit_capsule.dts");
-String TSShapeConstructor::smCubeShapePath("core/art/shapes/unit_cube.dts");
-String TSShapeConstructor::smSphereShapePath("core/art/shapes/unit_sphere.dts");
+String TSShapeConstructor::smCapsuleShapePath("tools/shapes/unit_capsule.dts");
+String TSShapeConstructor::smCubeShapePath("tools/shapes/unit_cube.dts");
+String TSShapeConstructor::smSphereShapePath("tools/shapes/unit_sphere.dts");
 
 ResourceRegisterPostLoadSignal< TSShape > TSShapeConstructor::_smAutoLoad( &TSShapeConstructor::_onTSShapeLoaded );
 ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload( &TSShapeConstructor::_onTSShapeUnloaded );

+ 16 - 0
Templates/BaseGame/game/core/shapes/materials.cs

@@ -0,0 +1,16 @@
+//--- noshape.dts MATERIALS BEGIN ---
+singleton Material(noshape_NoShape)
+{
+    mapTo = "NoShape";
+
+    diffuseMap[0] = "";
+    diffuseColor[0] = "0.8 0.003067 0 .8";
+    emissive[0] = 0;
+    doubleSided = false;
+    translucent = 1;
+    translucentBlendOp = "LerpAlpha";
+    castShadows = false;
+    materialTag0 = "WorldEditor";
+};
+
+//--- noshape.dts MATERIALS END ---

+ 0 - 0
Templates/Modules/FPSGameplay/art/shapes/noshape.dts → Templates/BaseGame/game/core/shapes/noshape.dts


+ 0 - 0
Templates/Modules/FPSGameplay/art/shapes/noshape.mb → Templates/BaseGame/game/core/shapes/noshape.mb


+ 0 - 0
Templates/Modules/FPSGameplay/art/shapes/unit_capsule.dts → Templates/BaseGame/game/tools/shapes/unit_capsule.dts


+ 0 - 0
Templates/Modules/FPSGameplay/art/shapes/unit_cube.dts → Templates/BaseGame/game/tools/shapes/unit_cube.dts


+ 0 - 0
Templates/Modules/FPSGameplay/art/shapes/unit_sphere.dts → Templates/BaseGame/game/tools/shapes/unit_sphere.dts


+ 0 - 54
Templates/Modules/FPSGameplay/art/shapes/materials.cs

@@ -65,57 +65,3 @@ singleton Material(CameraMat)
 };
 
 //--- camera.dts MATERIALS END ---
-//--- noshape.dts MATERIALS BEGIN ---
-singleton Material(noshape_NoShape)
-{
-   mapTo = "NoShape";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.8 0.003067 0 .8";
-	emissive[0] = 0;
-
-	doubleSided = false;
-	translucent = 1;
-	translucentBlendOp = "LerpAlpha";
-	castShadows = false;
-};
-
-//--- noshape.dts MATERIALS END ---
-
-//--- noshapetext.dae MATERIALS BEGIN ---
-singleton Material(noshapetext_lambert1)
-{
-   mapTo = "lambert1";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.4 0.4 0.4 1";
-	specular[0] = "1 1 1 1";
-	specularPower[0] = 8;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = false;
-	translucent = false;
-	translucentBlendOp = "None";
-};
-
-singleton Material(noshapetext_noshape_mat)
-{
-   mapTo = "noshape_mat";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.4 0.3504 0.363784 0.33058";
-	specular[0] = "1 1 1 1";
-	specularPower[0] = 8;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = false;
-	translucent = true;
-	translucentBlendOp = "None";
-};
-
-//--- noshapetext.dae MATERIALS END ---

BIN
Templates/Modules/spectatorGameplay/art/shapes/base-normal.png


BIN
Templates/Modules/spectatorGameplay/art/shapes/base.png


BIN
Templates/Modules/spectatorGameplay/art/shapes/lightray.png


+ 0 - 94
Templates/Modules/spectatorGameplay/art/shapes/materials.cs

@@ -65,97 +65,3 @@ singleton Material(CameraMat)
 };
 
 //--- camera.dts MATERIALS END ---
-//--- noshape.dts MATERIALS BEGIN ---
-singleton Material(noshape_NoShape)
-{
-   mapTo = "NoShape";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.8 0.003067 0 .8";
-	emissive[0] = 0;
-
-	doubleSided = false;
-	translucent = 1;
-	translucentBlendOp = "LerpAlpha";
-	castShadows = false;
-};
-
-//--- noshape.dts MATERIALS END ---
-
-//--- noshapetext.dae MATERIALS BEGIN ---
-singleton Material(noshapetext_lambert1)
-{
-   mapTo = "lambert1";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.4 0.4 0.4 1";
-	specular[0] = "1 1 1 1";
-	specularPower[0] = 8;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = false;
-	translucent = false;
-	translucentBlendOp = "None";
-};
-
-singleton Material(noshapetext_noshape_mat)
-{
-   mapTo = "noshape_mat";
-
-	diffuseMap[0] = "";
-
-	diffuseColor[0] = "0.4 0.3504 0.363784 0.33058";
-	specular[0] = "1 1 1 1";
-	specularPower[0] = 8;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = false;
-	translucent = true;
-	translucentBlendOp = "None";
-};
-
-//--- noshapetext.dae MATERIALS END ---
-
-//--- portal MATERIALS BEGIN ---
-
-singleton Material(portal5_portal_top)
-{
-   mapTo = "portal_top";
-
-	diffuseMap[0] = "top";
-   normalMap[0]  = "top-normal";
-
-   diffuseColor[0] = "0.4 0.4 0.4 1";
-	specular[0] = "0.5 0.5 0.5 1";
-	specularPower[0] = 2;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = false;
-	translucent = false;
-	translucentBlendOp = "None";
-};
-
-singleton Material(portal5_portal_lightray)
-{
-   mapTo = "portal_lightray";
-
-	diffuseMap[0] = "lightray";
-
-	diffuseColor[0] = "0.4 0.4 0.4 0.64462";
-	specular[0] = "0.5 0.5 0.5 1";
-	specularPower[0] = 2;
-	pixelSpecular[0] = false;
-	emissive[0] = true;
-
-	doubleSided = 1;
-	translucent = true;
-	translucentBlendOp = "AddAlpha";
-   castShadows = "0";
-};
-//--- portal MATERIALS END ---
-

BIN
Templates/Modules/spectatorGameplay/art/shapes/noshape.dts


BIN
Templates/Modules/spectatorGameplay/art/shapes/noshape.mb


BIN
Templates/Modules/spectatorGameplay/art/shapes/portal.dts


BIN
Templates/Modules/spectatorGameplay/art/shapes/top-normal.png


BIN
Templates/Modules/spectatorGameplay/art/shapes/top.png


BIN
Templates/Modules/spectatorGameplay/art/shapes/unit_capsule.dts


BIN
Templates/Modules/spectatorGameplay/art/shapes/unit_cube.dts


BIN
Templates/Modules/spectatorGameplay/art/shapes/unit_sphere.dts