## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

# Deprecated List

Member awsEmbeddedComponent::GetProperty (const char *name, void **parm)
  For proper 64-bit platform support, use the intptr_t version of GetProperty().

Member awsEmbeddedComponent::SetProperty (const char *name, void *parm)
  For proper 64-bit platform support, use the intptr_t version of SetProperty().

Member csArray::SetLength (size_t n, T const &what)
  Use SetSize() instead.

Member csArray::DeleteFast (T const &item)
  The speed gain promised by this method is mostly illusory on account of the linear search for the item. In many cases, it will be faster to keep the array sorted, search for `item` using FindSortedKey(), and then remove it using the plain DeleteIndex().

Member csArray::Length () const
  Use GetSize() instead.

Member csBitArray::Length () const
  Use GetSize() instead.

Member csBitArray::SetLength (size_t newSize)
  Use SetSize() instead.

Member csHash::PutFirst (const K &key, const T &value)
  Use PutUnique() instead.

Member csPath::Calculate (float time)
  Use CalculateAtTime() instead.

Member csPath::GetPointCount ()
  Use Length() instead.

Member csPath::GetTimeValue (int idx) const
  Use GetTime() instead.

Member csPath::GetTimeValues () const
  Use GetTimes() instead.

Member csPath::SetTimeValue (int idx, float t)
  Use SetTime() instead.

Member csPath::SetTimeValues (float const *t)
  Use SetTimes() instead.

Member csRect::AddAdjanced (const csRect &rect)
  Misspelling; use AddAdjacent() instead

Class csSoundWrapper

Member csStringBase::FindReplace (const char *search, const char *replacement)
  Use ReplaceAll() instead.

Member csStringBase::FindStr (const char *search, size_t pos=0) const
  Use Find() instead.

Member csStringBase::GetGrowsExponentially () const
  Use GetGrowsBy() instead.

Member csStringBase::SetGrowsExponentially (bool b)
  Use SetGrowsBy(0) instead.

Member csStringHash::Clear ()
  Use Empty() instead.

Member csStringSet::Clear ()
  Use Empty() instead.

Class csStrKey
  csString can also be used for hash keys.

Member csVerbosityManager::CheckFlag (char const *major, char const *minor) const
  Use instead the more generic Enabled() method, which accepts any granularity of class breakdown; not just major and minor components.

Member csVerbosityParser::CheckFlag (char const *major, char const *minor) const
  Use instead the more generic Enabled() method, which accepts any granularity of class breakdown; not just major and minor components.

Member iAwsComponent::GetProperty (const char *name, void **parm)=0
  For proper 64-bit platform support, use the intptr_t version of GetProperty().

Member iAwsComponent::SetProperty (const char *name, void *parm)=0
  For proper 64-bit platform support, use the intptr_t version of SetProperty().

Member iAwsSink::RegisterTrigger (const char *name, void(*Trigger)(unsigned long, void *, iAwsSource *))=0
  For proper 64-bit platform support, use the intptr_t version of RegisterTrigger().

Member iAwsSinkManager::CreateSink (void *parm)=0
  For proper 64-bit platform support, use the intptr_t version of CreateSink().

Member iCamera::InvPerspective (const csVector2 &p, float z, csVector3 &v) const =0
  Use InvPerspective(const csVector2&, float) instead.

Member iCamera::Perspective (const csVector3 &v, csVector2 &p) const =0
  Use Perspective(const csVector3&) instead.

Member iGraphics2D::WriteBaseline (iFont *font, int x, int y, int fg, int bg, const char *str)=0
  Instead, use Write() with the CS_WRITE_BASELINE flag set.

Member iImage::GetKeycolor (int &r, int &g, int &b) const =0
  Use GetKeyColor() instead.

Member iImage::HasKeycolor () const =0
  Use HasKeyColor() instead.

Member iMaterial::GetFlatColor (csRGBpixel &oColor, bool useTextureMean=true)=0
  Use the shader variable system instead.

Member iMaterial::GetReflection (float &oDiffuse, float &oAmbient, float &oReflection)=0
  Use the shader variable system instead.

Member iMaterial::SetFlatColor (const csRGBcolor &col)=0
  Use the shader variable system instead.

Member iMaterial::SetReflection (float oDiffuse, float oAmbient, float oReflection)=0
  Use the shader variable system instead.

Member iMeshWrapper::GetRadius (csVector3 &rad, csVector3 &cent) const =0
  Use GetRadius() that returns csEllipsoid.

Member iMeshWrapper::GetScreenBoundingBox (iCamera *camera, csBox2 &sbox, csBox3 &cbox)=0
  Use GetScreenBoundingBox() that returns a csScreenBoxResult instead.

Member iMeshWrapper::GetTransformedBoundingBox (const csReversibleTransform &trans, csBox3 &cbox)=0
  Use GetTransformedBoundingBox that returns a csBox3 instead.

Member iMeshWrapper::GetWorldBoundingBox (csBox3 &cbox)=0
  Use GetWorldBoundingBox that returns a csBox3 instead.

Member iMeshWrapper::HitBeam (const csVector3 &start, const csVector3 &end, csVector3 &isect, float *pr)=0
  Use HitBeamObject() with csHitBeamResult instead.

Member iMeshWrapper::HitBeamBBox (const csVector3 &start, const csVector3 &end, csVector3 &isect, float *pr)=0
  Use HitBeamBBox() with csHitBeamResult instead.

Member iMeshWrapper::HitBeamObject (const csVector3 &start, const csVector3 &end, csVector3 &isect, float *pr, int *polygon_idx=0)=0
  Use HitBeamObject() with csHitBeamResult instead.

Member iMeshWrapper::HitBeamOutline (const csVector3 &start, const csVector3 &end, csVector3 &isect, float *pr)=0
  Use HitBeamOutline() with csHitBeamResult instead.

Member iString::Clear ()=0
  Use Empty() instead.

Member iString::GetData ()=0
  Use the 'const' version of GetData() instead.

Member iString::Reclaim ()=0
  Use ShrinkBestFit() instead.

Member iStringArray::DeleteAll ()=0
  Use Empty() instead.

Member iStringArray::Length () const =0
  Use GetSize() instead.

Member iStringSet::Clear ()=0
  Use Empty() instead.

Member iVerbosityManager::CheckFlag (char const *major, char const *minor) const =0
  Use instead the more generic Enabled() method, which accepts any granularity of class breakdown; not just major and minor components.

Member scfString::Clear ()
  Use Empty() instead.

Member scfString::Reclaim ()
  Use ShrinkBestFit() instead.

Member scfStringArray::DeleteAll ()
  Use Empty() instead.

Member scfStringArray::Length () const
  Use GetSize() instead.

Member CS_QUERY_REGISTRY
  Compatibility macro

Member CS_QUERY_REGISTRY_TAG
  Compatibility macro

Member CS_QUERY_REGISTRY_TAG_INTERFACE
  Compatibility macro

Member csCheckVerbosity
  Use instead the more generic csCheckVerbosity() function which takes a single verbosity class flag since it accepts any granularity of class breakdown; not just major and minor components.

Member CS_LOAD_PLUGIN
  Compatibility macro.

Member CS_LOAD_PLUGIN_ALWAYS
  Compatibility macro.

Member csPathsIdentical
  Use the equivalent from csPathsUtilities or csInstallationPathsHelper instead.

Member csFindReplace
  Use csReplaceAll() instead.