Use uppercase extensions for editor resources

This commit is contained in:
Aruki
2017-07-04 19:32:12 -06:00
parent 2c125952d4
commit 2c21276f5a
367 changed files with 214 additions and 214 deletions

View File

@@ -497,7 +497,7 @@ void CDrawUtil::InitLine()
void CDrawUtil::InitCube()
{
Log::Write("Creating cube");
mpCubeModel = gpEditorStore->LoadResource("Cube.cmdl");
mpCubeModel = gpEditorStore->LoadResource("Cube.CMDL");
}
void CDrawUtil::InitWireCube()
@@ -535,14 +535,14 @@ void CDrawUtil::InitWireCube()
void CDrawUtil::InitSphere()
{
Log::Write("Creating sphere");
mpSphereModel = gpEditorStore->LoadResource("Sphere.cmdl");
mpDoubleSidedSphereModel = gpEditorStore->LoadResource("SphereDoubleSided.cmdl");
mpSphereModel = gpEditorStore->LoadResource("Sphere.CMDL");
mpDoubleSidedSphereModel = gpEditorStore->LoadResource("SphereDoubleSided.CMDL");
}
void CDrawUtil::InitWireSphere()
{
Log::Write("Creating wire sphere");
mpWireSphereModel = gpEditorStore->LoadResource("WireSphere.cmdl");
mpWireSphereModel = gpEditorStore->LoadResource("WireSphere.CMDL");
}
void CDrawUtil::InitShaders()
@@ -560,17 +560,17 @@ void CDrawUtil::InitShaders()
void CDrawUtil::InitTextures()
{
Log::Write("Loading textures");
mpCheckerTexture = gpEditorStore->LoadResource("Checkerboard.txtr");
mpCheckerTexture = gpEditorStore->LoadResource("Checkerboard.TXTR");
mpLightTextures[0] = gpEditorStore->LoadResource("LightAmbient.txtr");
mpLightTextures[1] = gpEditorStore->LoadResource("LightDirectional.txtr");
mpLightTextures[2] = gpEditorStore->LoadResource("LightCustom.txtr");
mpLightTextures[3] = gpEditorStore->LoadResource("LightSpot.txtr");
mpLightTextures[0] = gpEditorStore->LoadResource("LightAmbient.TXTR");
mpLightTextures[1] = gpEditorStore->LoadResource("LightDirectional.TXTR");
mpLightTextures[2] = gpEditorStore->LoadResource("LightCustom.TXTR");
mpLightTextures[3] = gpEditorStore->LoadResource("LightSpot.TXTR");
mpLightMasks[0] = gpEditorStore->LoadResource("LightAmbientMask.txtr");
mpLightMasks[1] = gpEditorStore->LoadResource("LightDirectionalMask.txtr");
mpLightMasks[2] = gpEditorStore->LoadResource("LightCustomMask.txtr");
mpLightMasks[3] = gpEditorStore->LoadResource("LightSpotMask.txtr");
mpLightMasks[0] = gpEditorStore->LoadResource("LightAmbientMask.TXTR");
mpLightMasks[1] = gpEditorStore->LoadResource("LightDirectionalMask.TXTR");
mpLightMasks[2] = gpEditorStore->LoadResource("LightCustomMask.TXTR");
mpLightMasks[3] = gpEditorStore->LoadResource("LightSpotMask.TXTR");
}
void CDrawUtil::Shutdown()

View File

@@ -258,7 +258,7 @@ void CSceneNode::DrawBoundingBox() const
void CSceneNode::DrawRotationArrow() const
{
static TResPtr<CModel> spArrowModel = gpEditorStore->LoadResource("RotationArrow.cmdl");
static TResPtr<CModel> spArrowModel = gpEditorStore->LoadResource("RotationArrow.CMDL");
spArrowModel->Draw(eNoRenderOptions, 0);
}

View File

@@ -536,15 +536,15 @@ void CScriptNode::UpdatePreviewVolume()
{
case eAxisAlignedBoxShape:
case eBoxShape:
pVolumeModel = gpEditorStore->LoadResource("VolumeBox.cmdl");
pVolumeModel = gpEditorStore->LoadResource("VolumeBox.CMDL");
break;
case eEllipsoidShape:
pVolumeModel = gpEditorStore->LoadResource("VolumeSphere.cmdl");
pVolumeModel = gpEditorStore->LoadResource("VolumeSphere.CMDL");
break;
case eCylinderShape:
pVolumeModel = gpEditorStore->LoadResource("VolumeCylinder.cmdl");
pVolumeModel = gpEditorStore->LoadResource("VolumeCylinder.CMDL");
break;
}