/*#include "fonhdls.h"
 
#include "ACP_Base.h"
*/
#include "MTH.h"
/*
#include "DPT.h"
#include "GEO.h"
#include "GLI.h"
*/
#include "SCR.h"
 
#include "RND.h"
/*
#include "POS.h"
#include "SPO.h"
#include "LST.h"
*/
 
#include "fonfont.h"
 
/*************************************************************************/
void FON_fn_vSetElapsedTime(unsigned long ulTime)
{
 FON_g_stGeneral.ulElapsedTime = ulTime;
}
/*************************************************************************/
/*void FON_fn_vInitEffectFor(FON_tdxHandleOfString _hText,FON_tdeTypeOfDisplay _eTypeOfDisplay)
{
 switch(_eTypeOfDisplay)
 {
  case FON_Disabled:
   FON_fn_vReinitTextEffectWithEffect(_hText,&FON_g_stEffectByDisplay.stDisabledEffect);
   break;
  case FON_Enabled:
   FON_fn_vReinitTextEffectWithEffect(_hText,&FON_g_stEffectByDisplay.stEnabledEffect);
   break;
  case FON_Selected:
   FON_fn_vReinitTextEffectWithEffect(_hText,&FON_g_stEffectByDisplay.stSelectedEffect);
   break;
  case FON_Pressed:
   FON_fn_vReinitTextEffectWithEffect(_hText,&FON_g_stEffectByDisplay.stPressedEffect);
   break;
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitEffectOfOneCharactFor(FON_tdxHandleOfString _hText,FON_tdeTypeOfDisplay _eTypeOfDisplay,unsigned long _ulIndex)
{
 switch(_eTypeOfDisplay)
 {
  case FON_Disabled:
   FON_fn_vReinitTextEffectOfOneCharactWithEffect(_hText,&FON_g_stEffectByDisplay.stDisabledEffect,_ulIndex);
   break;
  case FON_Enabled:
   FON_fn_vReinitTextEffectOfOneCharactWithEffect(_hText,&FON_g_stEffectByDisplay.stEnabledEffect,_ulIndex);
   break;
  case FON_Selected:
   FON_fn_vReinitTextEffectOfOneCharactWithEffect(_hText,&FON_g_stEffectByDisplay.stSelectedEffect,_ulIndex);
   break;
  case FON_Pressed:
   FON_fn_vReinitTextEffectOfOneCharactWithEffect(_hText,&FON_g_stEffectByDisplay.stPressedEffect,_ulIndex);
   break;
 }
}*/
/*************************************************************************/
/*void FON_fn_vReinitTextEffect(FON_tdxHandleOfString _hText)
{
 FON_fn_vReinitTextEffectWithEffect(_hText,&FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect);
}*/
/*************************************************************************/
/*void FON_fn_vReinitTextEffectOfOneCharact(FON_tdxHandleOfString _hText,unsigned long _ulIndex)
{
 FON_fn_vReinitTextEffectOfOneCharactWithEffect(_hText,&FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect,_ulIndex);
}*/
/*************************************************************************/
/*void FON_fn_vDesinitTextEffectOfOneCharact(FON_tdxHandleOfString _hText,unsigned long _ulIndex)
{
 POS_fn_vSetIdentityMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[_ulIndex]);
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[_ulIndex],0.0,0.0,0.0);
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[_ulIndex],0.0,0.0,0.0);
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[_ulIndex],1.0,1.0,1.0);
 FON_fn_p_stGetTextPointerOfHandle(_hText)->d_p_stLight[_ulIndex]=NULL;
}*/
/*************************************************************************/
/*void FON_fn_vCopyEffectOfOneCharact(FON_tdxHandleOfString _hTextDest,unsigned long _ulIndexDest,FON_tdxHandleOfString _hTextSrc,unsigned long _ulIndexSrc)
{
 if (  FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalMatrix!=NULL
     &&FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalMatrix[_ulIndexSrc]!=NULL)
  POS_fn_vCopyMatrix(FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalMatrix[_ulIndexDest],
                     FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalMatrix[_ulIndexSrc]);
 
 if (  FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynTranslation!=NULL
     &&FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynTranslation!=NULL)
  POS_fn_vCopyCompletDyn(FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynTranslation[_ulIndexDest],
                         FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynTranslation[_ulIndexSrc]);
 if (  FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynRotation!=NULL
     &&FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynRotation!=NULL)
  POS_fn_vCopyCompletDyn(FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynRotation[_ulIndexDest],
                         FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynRotation[_ulIndexSrc]);
 if (  FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynScale!=NULL
     &&FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynScale!=NULL)
 POS_fn_vCopyCompletDyn(FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_hLocalDynScale[_ulIndexDest],
                        FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_hLocalDynScale[_ulIndexSrc]);
 
 if (  FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_p_stLight!=NULL
     &&FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_p_stLight!=NULL)
 FON_fn_p_stGetTextPointerOfHandle(_hTextDest)->d_p_stLight[_ulIndexDest]=FON_fn_p_stGetTextPointerOfHandle(_hTextSrc)->d_p_stLight[_ulIndexSrc];
}*/
/*************************************************************************/
/*void FON_fn_vReinitTextEffectWithEffect(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect)
{
 if (p_stEffect->eEffect&FON_E_EffectTranslationXTo0)
  FON_fn_vInitTextEffectTranslationXTo0(_hText,p_stEffect,p_stEffect->ulTranslationXParam);
 if (p_stEffect->eEffect&FON_E_EffectTranslationYTo0)
  FON_fn_vInitTextEffectTranslationYTo0(_hText,p_stEffect,p_stEffect->ulTranslationYParam);
 if (p_stEffect->eEffect&FON_E_EffectTranslationZTo0)
  FON_fn_vInitTextEffectTranslationZTo0(_hText,p_stEffect,p_stEffect->ulTranslationZParam);
 if (p_stEffect->eEffect&FON_E_EffectRotation)
  FON_fn_vInitTextEffectRotation(_hText,p_stEffect,p_stEffect->ulRotationParam);
 if (p_stEffect->eEffect&FON_E_EffectRotationTo0)
  FON_fn_vInitTextEffectRotationTo0(_hText,p_stEffect,p_stEffect->ulRotationParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleXTo1)
  FON_fn_vInitTextEffectScaleXTo1(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleYTo1)
  FON_fn_vInitTextEffectScaleYTo1(_hText,p_stEffect,p_stEffect->ulScaleYParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleZTo1)
  FON_fn_vInitTextEffectScaleZTo1(_hText,p_stEffect,p_stEffect->ulScaleZParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleXWave)
  FON_fn_vInitTextEffectScaleXWave(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleYWave)
  FON_fn_vInitTextEffectScaleYWave(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleZWave)
  FON_fn_vInitTextEffectScaleZWave(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleXWaveTo1)
  FON_fn_vInitTextEffectScaleXWaveTo1(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleYWaveTo1)
  FON_fn_vInitTextEffectScaleYWaveTo1(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectScaleZWaveTo1)
  FON_fn_vInitTextEffectScaleZWaveTo1(_hText,p_stEffect,p_stEffect->ulScaleXParam);
 if (p_stEffect->eEffect&FON_E_EffectLight)
  FON_fn_vInitTextEffectLight(_hText,p_stEffect,p_stEffect->ulRotationParam);
}*/
/*************************************************************************/
/*void FON_fn_vReinitTextEffectOfOneCharactWithEffect(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulIndex)
{
 if (p_stEffect->eEffect&FON_E_EffectTranslationXTo0)
  FON_fn_vInitTextEffectTranslationXTo0OfOneCharact(_hText,p_stEffect,p_stEffect->ulTranslationXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectTranslationYTo0)
  FON_fn_vInitTextEffectTranslationYTo0OfOneCharact(_hText,p_stEffect,p_stEffect->ulTranslationYParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectTranslationZTo0)
  FON_fn_vInitTextEffectTranslationZTo0OfOneCharact(_hText,p_stEffect,p_stEffect->ulTranslationZParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectRotation)
  FON_fn_vInitTextEffectRotationOfOneCharact(_hText,p_stEffect,p_stEffect->ulRotationParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectRotationTo0)
  FON_fn_vInitTextEffectRotationTo0OfOneCharact(_hText,p_stEffect,p_stEffect->ulRotationParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleXTo1)
  FON_fn_vInitTextEffectScaleXTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleYTo1)
  FON_fn_vInitTextEffectScaleYTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleYParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleZTo1)
  FON_fn_vInitTextEffectScaleZTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleZParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleXWave)
  FON_fn_vInitTextEffectScaleXWaveOfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleYWave)
  FON_fn_vInitTextEffectScaleYWaveOfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleZWave)
  FON_fn_vInitTextEffectScaleZWaveOfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleXWaveTo1)
  FON_fn_vInitTextEffectScaleXWaveTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleYWaveTo1)
  FON_fn_vInitTextEffectScaleYWaveTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectScaleZWaveTo1)
  FON_fn_vInitTextEffectScaleZWaveTo1OfOneCharact(_hText,p_stEffect,p_stEffect->ulScaleXParam,_ulIndex);
 if (p_stEffect->eEffect&FON_E_EffectLight)
  FON_fn_vInitTextEffectLightOfOneCharact(_hText,p_stEffect,p_stEffect->ulRotationParam,_ulIndex);
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffect(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,FON_tdeEffect _eEffect,unsigned long _ulParam)
{
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.eEffect |= _eEffect;
 
 if (_eEffect&FON_E_EffectTranslationXTo0)
  FON_fn_vInitTextEffectTranslationXTo0(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectTranslationYTo0)
  FON_fn_vInitTextEffectTranslationYTo0(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectTranslationZTo0)
  FON_fn_vInitTextEffectTranslationZTo0(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectRotation)
  FON_fn_vInitTextEffectRotation(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectRotationTo0)
  FON_fn_vInitTextEffectRotationTo0(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleXTo1)
  FON_fn_vInitTextEffectScaleXTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleYTo1)
  FON_fn_vInitTextEffectScaleYTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleZTo1)
  FON_fn_vInitTextEffectScaleZTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleXWave)
  FON_fn_vInitTextEffectScaleXWave(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleYWave)
  FON_fn_vInitTextEffectScaleYWave(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleZWave)
  FON_fn_vInitTextEffectScaleZWave(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleXWaveTo1)
  FON_fn_vInitTextEffectScaleXWaveTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleYWaveTo1)
  FON_fn_vInitTextEffectScaleYWaveTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectScaleZWaveTo1)
  FON_fn_vInitTextEffectScaleZWaveTo1(_hText,p_stEffect,_ulParam);
 else if (_eEffect&FON_E_EffectLight)
  FON_fn_vInitTextEffectLight(_hText,p_stEffect,_ulParam);
}*/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffect(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 if (  p_stEffect->eEffect&FON_E_EffectTranslationXTo0
     ||p_stEffect->eEffect&FON_E_EffectTranslationYTo0
     ||p_stEffect->eEffect&FON_E_EffectTranslationZTo0)
  FON_fn_vPlayLetterEffectTranslationXYZTo0(_hText,p_stEffect,lIndex);
 if (  p_stEffect->eEffect&FON_E_EffectRotation
     ||p_stEffect->eEffect&FON_E_EffectRotationTo0)
  FON_fn_vPlayLetterEffectRotation(_hText,p_stEffect,lIndex);
 if (  p_stEffect->eEffect&FON_E_EffectScaleXTo1
     ||p_stEffect->eEffect&FON_E_EffectScaleYTo1
     ||p_stEffect->eEffect&FON_E_EffectScaleZTo1)
  FON_fn_vPlayLetterEffectScaleXYZTo1(_hText,p_stEffect,lIndex);
 if (  p_stEffect->eEffect&FON_E_EffectScaleXWave
     ||p_stEffect->eEffect&FON_E_EffectScaleYWave
     ||p_stEffect->eEffect&FON_E_EffectScaleZWave
     ||p_stEffect->eEffect&FON_E_EffectScaleXWaveTo1
     ||p_stEffect->eEffect&FON_E_EffectScaleYWaveTo1
     ||p_stEffect->eEffect&FON_E_EffectScaleZWaveTo1)
  FON_fn_vPlayLetterEffectScaleXYZWave(_hText,p_stEffect,lIndex);
 if (p_stEffect->eEffect&FON_E_EffectLight)
  FON_fn_vPlayLetterEffectLight(_hText,p_stEffect,lIndex);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationXTo0(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulTranslationXParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulTranslationXParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectTranslationXTo0OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationXTo0OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistX;
 MTH_tdxReal xAlphaDistX;
	MTH3D_tdstVector stI;
 
 xBasedDistX = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff));
 xAlphaDistX = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/10.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],
                      xBasedDistX+lIndex*xAlphaDistX,
                      POS_fn_xGetDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]),
                      POS_fn_xGetDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]));
 POS_fn_vGetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 MTH3D_M_vSetXofVector(&stI,xBasedDistX+lIndex*xAlphaDistX);
 POS_fn_vSetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 
 POS_fn_vBeginDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/1000.0f);
 POS_fn_vStopDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],0,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationYTo0(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulTranslationYParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulTranslationYParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectTranslationYTo0OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationYTo0OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistY;
 MTH_tdxReal xAlphaDistY;
	MTH3D_tdstVector stI;
 
 xBasedDistY = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff));
 xAlphaDistY = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/10.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],
                      POS_fn_xGetDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]),
                      xBasedDistY+lIndex*xAlphaDistY,
                      POS_fn_xGetDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]));
 POS_fn_vGetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 MTH3D_M_vSetYofVector(&stI,xBasedDistY+lIndex*xAlphaDistY);
 POS_fn_vSetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 
 POS_fn_vBeginDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/1000.0f);
 POS_fn_vStopDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],0,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationZTo0(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulTranslationZParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulTranslationZParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectTranslationZTo0OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectTranslationZTo0OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistZ;
 MTH_tdxReal xAlphaDistZ;
	MTH3D_tdstVector stI;
 
 xBasedDistZ = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff));
 xAlphaDistZ = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/10.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],
                      POS_fn_xGetDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]),
                      POS_fn_xGetDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]),
                      xBasedDistZ+lIndex*xAlphaDistZ);
 POS_fn_vGetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 MTH3D_M_vSetZofVector(&stI,xBasedDistZ+lIndex*xAlphaDistZ);
 POS_fn_vSetTranslationVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI);
 
 POS_fn_vBeginDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/1000.0f);
 POS_fn_vStopDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],0,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectTranslationXYZTo0(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 p_stEffect=p_stEffect;
 
 POS_fn_vPlayTrans(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex],FON_g_stGeneral.ulElapsedTime);
 POS_fn_vGetMatrixFromDynTrans(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynTranslation[lIndex]);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectRotation(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulRotationParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulRotationParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectRotationOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectRotationOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 p_stEffect = p_stEffect;
 POS_fn_vBeginDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/10000.0f);
 POS_fn_vBeginDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/10000.0f);
 POS_fn_vBeginDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x000000ff)>> 0)))/10000.0f);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectRotationTo0(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulRotationParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulRotationParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectRotationTo0OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectRotationTo0OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 FON_fn_vInitTextEffectRotationOfOneCharact(_hText,p_stEffect,_ulParam,lIndex);
 
 POS_fn_vStopDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],0,TRUE);
 POS_fn_vStopDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],0,TRUE);
 POS_fn_vStopDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],0,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectRotation(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 p_stEffect=p_stEffect;
 
 POS_fn_vPlayRot(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex],FON_g_stGeneral.ulElapsedTime);
 POS_fn_vGetMatrixFromRot(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynRotation[lIndex]);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleX(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleXParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleXParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleXOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 p_stEffect = p_stEffect;
}*/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectScaleX(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 p_stEffect=p_stEffect;
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleXParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleXParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleXTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistX;
 MTH_tdxReal xAlphaDistX;
	MTH3D_tdstVector stI,stJ,stK;
 
 xBasedDistX = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff))/10.0f;
 xAlphaDistX = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/100.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],
                      xBasedDistX+lIndex*xAlphaDistX,
                      POS_fn_xGetDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      POS_fn_xGetDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]));
 POS_fn_vGetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 MTH3D_M_vSetXofVector(&stI,xBasedDistX+lIndex*xAlphaDistX);
 POS_fn_vSetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 
 POS_fn_vBeginDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/10000.0f);
 POS_fn_vStopDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleYParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleYParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleYTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistY;
 MTH_tdxReal xAlphaDistY;
	MTH3D_tdstVector stI,stJ,stK;
 
 xBasedDistY = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff))/10.0f;
 xAlphaDistY = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/100.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],
                      POS_fn_xGetDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      xBasedDistY+lIndex*xAlphaDistY,
                      POS_fn_xGetDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]));
 POS_fn_vGetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 MTH3D_M_vSetYofVector(&stJ,xBasedDistY+lIndex*xAlphaDistY);
 POS_fn_vSetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 
 POS_fn_vBeginDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/10000.0f);
 POS_fn_vStopDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleZParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleZParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleZTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xBasedDistZ;
 MTH_tdxReal xAlphaDistZ;
	MTH3D_tdstVector stI,stJ,stK;
 
 xBasedDistZ = (MTH_tdxReal)((signed char)(_ulParam&0x000000ff))/10.0f;
 xAlphaDistZ = ((MTH_tdxReal)((signed char)((_ulParam&0x0000ff00)>> 8)))/100.0f;
 
 POS_fn_vSetDynVector(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],
                      POS_fn_xGetDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      POS_fn_xGetDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      xBasedDistZ+lIndex*xAlphaDistZ);
 POS_fn_vGetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 MTH3D_M_vSetZofVector(&stK,xBasedDistZ+lIndex*xAlphaDistZ);
 POS_fn_vSetScaleMatrix(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],&stI,&stJ,&stK);
 
 POS_fn_vBeginDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],((MTH_tdxReal)((signed char)((_ulParam&0x00ff0000)>>16)))/10000.0f);
 POS_fn_vStopDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectScaleXYZTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 p_stEffect=p_stEffect;
 
 POS_fn_vPlayScale(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],FON_g_stGeneral.ulElapsedTime);
 POS_fn_vGetMatrixFromScale(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXWave(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleXParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleXParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleXWaveOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXWaveOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xRandomValue;
 
 xRandomValue = RND_fn_xGetRealRandomValue(FON_g_stGeneral.hRandomHandle,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0x00ff0000)>>16)))/10000.0f,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0xff000000)>>24)))/10000.0f);
 POS_fn_vBeginDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],xRandomValue);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXWaveTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleXParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleXParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleXWaveTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleXWaveTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 FON_fn_vInitTextEffectScaleXWaveOfOneCharact(_hText,p_stEffect,_ulParam,lIndex);
 POS_fn_vStopDynX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYWave(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleYParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleYParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleYWaveOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYWaveOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xRandomValue;
 
 xRandomValue = RND_fn_xGetRealRandomValue(FON_g_stGeneral.hRandomHandle,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0x00ff0000)>>16)))/10000.0f,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0xff000000)>>24)))/10000.0f);
 POS_fn_vBeginDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],xRandomValue);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYWaveTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleYParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleYParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleYWaveTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleYWaveTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 FON_fn_vInitTextEffectScaleYWaveOfOneCharact(_hText,p_stEffect,_ulParam,lIndex);
 POS_fn_vStopDynY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZWave(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleZParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleZParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleZWaveOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZWaveOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 MTH_tdxReal xRandomValue;
 
 xRandomValue = RND_fn_xGetRealRandomValue(FON_g_stGeneral.hRandomHandle,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0x00ff0000)>>16)))/10000.0f,
                                           ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0xff000000)>>24)))/10000.0f);
 POS_fn_vBeginDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],xRandomValue);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZWaveTo1(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 p_stEffect->ulScaleZParam = _ulParam;
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.ulScaleZParam = _ulParam;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectScaleZWaveTo1OfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectScaleZWaveTo1OfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 FON_fn_vInitTextEffectScaleZWaveOfOneCharact(_hText,p_stEffect,_ulParam,lIndex);
 POS_fn_vStopDynZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex],1,TRUE);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectScaleXYZWave(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 POS_fn_vPlayDynValue(POS_fn_hGetDynValueX(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      (MTH_tdxReal)((signed char)(p_stEffect->ulScaleXParam&0x000000ff))/50.0f,
                      ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleXParam&0x0000ff00)>> 8)))/50.0f,
                      POS_E_Wave,
                      FON_g_stGeneral.ulElapsedTime);
 POS_fn_vPlayDynValue(POS_fn_hGetDynValueY(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      (MTH_tdxReal)((signed char)(p_stEffect->ulScaleYParam&0x000000ff))/50.0f,
                      ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleYParam&0x0000ff00)>> 8)))/50.0f,
                      POS_E_Wave,
                      FON_g_stGeneral.ulElapsedTime);
 POS_fn_vPlayDynValue(POS_fn_hGetDynValueZ(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]),
                      (MTH_tdxReal)((signed char)(p_stEffect->ulScaleZParam&0x000000ff))/50.0f,
                      ((MTH_tdxReal)((signed char)((p_stEffect->ulScaleZParam&0x0000ff00)>> 8)))/50.0f,
                      POS_E_Wave,
                      FON_g_stGeneral.ulElapsedTime);
 
 POS_fn_vGetMatrixFromScale(FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalMatrix[lIndex],FON_fn_p_stGetTextPointerOfHandle(_hText)->d_hLocalDynScale[lIndex]);
}*/
/*************************************************************************/
/*************************************************************************/
/*void FON_fn_vInitTextEffectLight(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam)
{
 unsigned long i;
 
 FON_fn_p_stGetFontAndEffectPointerOfHandle(_hText)->stEffect.p_stLight=p_stEffect->p_stLight;
 
 for (i=0;i<FON_fn_ulGetTrueLenghtOfText(_hText);i++)
 {
  FON_fn_vInitTextEffectLightOfOneCharact(_hText,p_stEffect,_ulParam,i);
 }
}*/
/*************************************************************************/
/*void FON_fn_vInitTextEffectLightOfOneCharact(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long _ulParam,unsigned long lIndex)
{
 lIndex = lIndex;
 _ulParam = _ulParam;
 FON_fn_p_stGetTextPointerOfHandle(_hText)->d_p_stLight[lIndex]=p_stEffect->p_stLight;
}*/
/*************************************************************************/
/*void FON_fn_vPlayLetterEffectLight(FON_tdxHandleOfString _hText,FON_tdstEffect *p_stEffect,unsigned long lIndex)
{
 _hText = _hText;
 p_stEffect = p_stEffect;
 lIndex = lIndex;
}*/
/*************************************************************************/
/*************************************************************************/
