2012-03-20 01:57:42 +01:00
|
|
|
#include "lc_global.h"
|
2011-09-07 23:06:51 +02:00
|
|
|
#include "object.h"
|
|
|
|
|
2014-05-01 20:42:11 +02:00
|
|
|
lcObject::lcObject(lcObjectType ObjectType)
|
2014-08-31 02:53:12 +02:00
|
|
|
: mObjectType(ObjectType)
|
2011-09-07 23:06:51 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-05-01 20:42:11 +02:00
|
|
|
lcObject::~lcObject()
|
2011-09-07 23:06:51 +02:00
|
|
|
{
|
|
|
|
}
|
2024-02-19 21:32:19 +01:00
|
|
|
|
|
|
|
QString lcObject::GetCheckpointString(lcObjectPropertyId PropertyId)
|
|
|
|
{
|
|
|
|
switch (PropertyId)
|
|
|
|
{
|
|
|
|
case lcObjectPropertyId::PieceId:
|
2024-03-03 02:37:46 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Piece Id");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::PieceColor:
|
2024-03-03 02:37:46 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Piece Color");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::PieceStepShow:
|
|
|
|
case lcObjectPropertyId::PieceStepHide:
|
2024-02-20 01:31:02 +01:00
|
|
|
break;
|
|
|
|
|
2024-02-20 02:38:04 +01:00
|
|
|
case lcObjectPropertyId::CameraName:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Renaming Camera");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::CameraType:
|
2024-02-20 01:31:02 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Camera Type");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::CameraFOV:
|
|
|
|
case lcObjectPropertyId::CameraNear:
|
|
|
|
case lcObjectPropertyId::CameraFar:
|
|
|
|
case lcObjectPropertyId::CameraPositionX:
|
|
|
|
case lcObjectPropertyId::CameraPositionY:
|
|
|
|
case lcObjectPropertyId::CameraPositionZ:
|
|
|
|
case lcObjectPropertyId::CameraTargetX:
|
|
|
|
case lcObjectPropertyId::CameraTargetY:
|
|
|
|
case lcObjectPropertyId::CameraTargetZ:
|
|
|
|
case lcObjectPropertyId::CameraUpX:
|
|
|
|
case lcObjectPropertyId::CameraUpY:
|
|
|
|
case lcObjectPropertyId::CameraUpZ:
|
2024-02-19 23:54:45 +01:00
|
|
|
break;
|
|
|
|
|
2024-02-20 02:38:04 +01:00
|
|
|
case lcObjectPropertyId::LightName:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Renaming Light");
|
|
|
|
|
2024-02-20 01:31:02 +01:00
|
|
|
case lcObjectPropertyId::LightType:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Type");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightColor:
|
2024-02-19 23:54:45 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Color");
|
|
|
|
|
2024-04-07 20:28:54 +02:00
|
|
|
case lcObjectPropertyId::LightBlenderPower:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Blender Power");
|
|
|
|
|
|
|
|
case lcObjectPropertyId::LightPOVRayPower:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light POV-Ray Power");
|
2024-02-19 21:32:19 +01:00
|
|
|
|
|
|
|
case lcObjectPropertyId::LightCastShadow:
|
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Shadow");
|
|
|
|
|
2024-04-07 02:29:15 +02:00
|
|
|
case lcObjectPropertyId::LightPOVRayFadeDistance:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light POV-Ray Fade Distance");
|
|
|
|
|
2024-04-07 02:29:15 +02:00
|
|
|
case lcObjectPropertyId::LightPOVRayFadePower:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light POV-Ray Fade Power");
|
|
|
|
|
2024-04-07 21:48:41 +02:00
|
|
|
case lcObjectPropertyId::LightPointBlenderRadius:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Point Light Blender Radius");
|
|
|
|
|
2024-04-07 21:48:41 +02:00
|
|
|
case lcObjectPropertyId::LightSpotBlenderRadius:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Spot Light Blender Radius");
|
|
|
|
|
2024-04-07 21:48:41 +02:00
|
|
|
case lcObjectPropertyId::LightDirectionalBlenderAngle:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Directional Light Blender Angle");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightAreaSizeX:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Area X Size");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightAreaSizeY:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Area Y Size");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightSpotConeAngle:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light Cone Angle");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightSpotPenumbraAngle:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light Penumbra Angle");
|
|
|
|
|
2024-04-07 03:50:37 +02:00
|
|
|
case lcObjectPropertyId::LightSpotPOVRayTightness:
|
2024-04-14 20:08:30 +02:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light POV-Ray Tightness");
|
2024-02-20 01:31:02 +01:00
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::LightAreaShape:
|
2024-02-20 01:31:02 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Area Light Shape");
|
|
|
|
|
2024-04-07 03:50:37 +02:00
|
|
|
case lcObjectPropertyId::LightAreaPOVRayGridX:
|
|
|
|
case lcObjectPropertyId::LightAreaPOVRayGridY:
|
2024-02-20 01:31:02 +01:00
|
|
|
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Area Light Grid");
|
|
|
|
|
2024-02-19 21:32:19 +01:00
|
|
|
case lcObjectPropertyId::ObjectPositionX:
|
|
|
|
case lcObjectPropertyId::ObjectPositionY:
|
|
|
|
case lcObjectPropertyId::ObjectPositionZ:
|
|
|
|
case lcObjectPropertyId::ObjectRotationX:
|
|
|
|
case lcObjectPropertyId::ObjectRotationY:
|
|
|
|
case lcObjectPropertyId::ObjectRotationZ:
|
|
|
|
case lcObjectPropertyId::Count:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return QString();
|
|
|
|
}
|