}; pcstr InputObject::sm_kapszPropertyNames[] = { "FKey", "Orientation" }; InputObject::InputObject(ISystemScene* pSystemScene) : ISystemObject( pSystemScene, NULL ) { m_Type = Type_Controlled; } const Properties::Property InputObject::sm_kaDefaultProperties[] = { Properties::Property( sm_kapszPropertyNames[ Property_FKey ], VALUE1( Properties::Values::Int32 ), Properties::Flags::Valid, NULL, NULL, NULL, NULL, 0), Properties::Property( sm_kapszPropertyNames[ Property_Orientation ], VALUE1x3( Properties::Values::Float32 ), Properties::Flags::Valid, NULL, NULL, NULL, NULL, 0) }; InputObject::InputObject(ISystemScene* pSystemScene, pcstr pszType, pcstr pszName) : ISystemObject( pSystemScene, NULL ) { ASSERT( Property_Count == sizeof sm_kapszPropertyNames / sizeof sm_kapszPropertyNames[ 0 ] ); ASSERT( Property_Count == sizeof sm_kaDefaultProperties / sizeof sm_kaDefaultProperties[ 0 ] );
}; const Properties::Property GraphicsSystem::sm_kaDefaultProperties[] = { Properties::Property( sm_kapszPropertyNames[ Property_ResourceLocation ], VALUE4( Properties::Values::String, Properties::Values::String, Properties::Values::String, Properties::Values::Boolean ), Properties::Flags::Valid | Properties::Flags::InitOnly | Properties::Flags::Multiple, "Path", "Type", "Group", "Recursive", "", "", "", 0 ), Properties::Property( sm_kapszPropertyNames[ Property_WindowName ], VALUE1( Properties::Values::String ), Properties::Flags::Valid | Properties::Flags::InitOnly, NULL, NULL, NULL, NULL, "" ), Properties::Property( sm_kapszPropertyNames[ Property_Resolution ], VALUE1x2( Properties::Values::Int32 ), Properties::Flags::Valid, NULL, NULL, NULL, NULL, 1024, 768 ), Properties::Property( sm_kapszPropertyNames[ Property_ShadowTextureCount ], VALUE1( Properties::Values::Int32 ), Properties::Flags::Valid, NULL, NULL, NULL, NULL, 1 ), Properties::Property( sm_kapszPropertyNames[ Property_ShadowTextureSize ], VALUE1( Properties::Values::Int32 ),
const pcstr OGREGraphicsObjectCamera::sm_kapszPolygonModeEnumOptions[] = { "Points", "WireFrame", "Solid", nullptr }; const pcstr OGREGraphicsObjectCamera::sm_kapszPropertyNames[] = { "FOVy", "ClipDistances", "Position", "LookAt", "PolygonMode", "LockCamera", "PagedGeometry" }; const Properties::Property OGREGraphicsObjectCamera::sm_kaDefaultProperties[] = { Properties::Property( sm_kapszPropertyNames[ Property_FOVy ], VALUE1( Properties::Values::Float32 ), Properties::Flags::Valid, nullptr, nullptr, nullptr, nullptr, 0.0f ), Properties::Property( sm_kapszPropertyNames[ Property_ClipDistances ], VALUE1x2( Properties::Values::Float32 ), Properties::Flags::Valid, nullptr, nullptr, nullptr, nullptr, 0.0f, 0.0f ), Properties::Property( sm_kapszPropertyNames[ Property_Position ], Properties::Values::Vector3, Properties::Flags::Valid, nullptr, nullptr, nullptr, nullptr, Base::Vector3::Zero ), Properties::Property( sm_kapszPropertyNames[ Property_LookAt ], Properties::Values::Vector3,