/******************************************************************************
 * 299_GenM.cxx : file automaticly generated
 ******************************************************************************/

#include "gamedata\world\levels\_common\cfast\299_GenM.h"
void CFast_YAM_GenMenuMap_Rfx_YAM_MapNeRienFaire ( void ) ;
void CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionModifValeur ( void ) ;
void CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionMenuStandard ( void ) ;

void CFast_YAM_GenMenuMap_Cmp_YAM_MapInit ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapAttenteActivation ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapDesactivation ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuChangeValeur ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLangue ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLoad ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuOptions ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuPrincipal ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuSound ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuVideo ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuCentre ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapLivrePolochus ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapInit2 ( void ) ;
void CFast_YAM_GenMenuMap_Cmp_YAM_MapInitLivre ( void ) ;


long CFast_YAM_GenMenuMap_Macro_0 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_1 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_2 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_3 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_4 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_5 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_6 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_7 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_8 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_9 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_10 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_11 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_12 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_13 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_14 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_15 ( void ) ;
long CFast_YAM_GenMenuMap_Macro_16 ( void ) ;
CFast_EvalFunc CFast_YAM_GenMenuMap_ArrayReflex[] = {
  CFast_YAM_GenMenuMap_Rfx_YAM_MapNeRienFaire,
  CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionModifValeur,
  CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionMenuStandard
};
CFast_EvalFunc CFast_YAM_GenMenuMap_ArrayComport[] = { 
  CFast_YAM_GenMenuMap_Cmp_YAM_MapInit,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapAttenteActivation,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapDesactivation,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuChangeValeur,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLangue,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLoad,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuOptions,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuPrincipal,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuSound,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuVideo,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuCentre,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapLivrePolochus,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapInit2,
  CFast_YAM_GenMenuMap_Cmp_YAM_MapInitLivre
};

void CFast_Dummy_YAM_GenMenuMap(void) ;
char g_YAM_GenMenuMap_StaticTreeInit = 0 ;


void CFast_YAM_GenMenuMap_Main ( HIE_tdxHandleToSuperObject hSuperObjPerso )
{
  register long                lIndex ;
   register AI_tdstMind         *p_stMind = M_pstGetMindOfBrain(M_GetMSHandle(hSuperObjPerso, Brain)) ;

  p_stGlobalMind = p_stMind;
  gp_stRefTree = &M_CFast_GetReferenceNodeN(hSuperObjPerso, 0);
  g_hSuperObjectPerso = hSuperObjPerso;

#ifndef U64
  gp_stPseudoTree = p_stMind->p_stAIModel->CFast_dst_ParamArray;
#else
  gp_stPseudoTree = CFast_gast_ArrayFunctions[p_stMind->p_stAIModel->CFast_lFunction].mp_stPseudoTree;
#endif

#ifdef DEBUG_CFAST
  if ( !g_YAM_GenMenuMap_StaticTreeInit )
  {
    g_YAM_GenMenuMap_StaticTreeInit = 1 ;
    CFast_Dummy_YAM_GenMenuMap();
  }
#endif /* DEBUG_CFAST */
  p_cGlobalDsgMemBuffer = p_stMind->p_stDsgMem->p_cDsgMemBuffer;
  p_stGlobalDsgVarInfo = (*(p_stMind->p_stDsgMem->p_p_stDsgVar))->p_stDsgVarInfo;
  CFast_g_bMetaActionInRfx = 0 ;
  AI_M_SetDoingIntel(p_stMind, 0) ;
  CFast_g_bProcessReflex = 1 ;
  lIndex = M_GetCurrentComport(AI_M_p_stGetReflex(p_stMind))->CFast_lMyIndex ;
  CFast_YAM_GenMenuMap_ArrayReflex[lIndex]();

  if ( !CFast_g_bMetaActionInRfx  )
  {
    AI_M_SetDoingIntel(p_stMind, 1) ;
    CFast_g_bProcessReflex = 0 ;
    lIndex = M_GetCurrentComport(AI_M_p_stGetIntelligence(p_stMind))->CFast_lMyIndex ;
    CFast_YAM_GenMenuMap_ArrayComport[lIndex]();
  }
}
/*
 * Model : YAM_GenMenuMap Reflexe YAM_MapNeRienFaire
 */
void CFast_YAM_GenMenuMap_Rfx_YAM_MapNeRienFaire (void)
{
}

/*
 * Model : YAM_GenMenuMap Reflexe YAM_MapGestionModifValeur
 */
void CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionModifValeur (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  CFast_YAM_GenMenuMap_Macro_0 () ;
/* [BeginMacro : 32] ********** [0]*/
/* [EndTree] ************ [0]*/
  CFast_YAM_GenMenuMap_Macro_1 () ;
/* [BeginMacro : 9] ********** [0]*/
/* [EndTree] ************ [0]*/

/* [Cond : =] ********** [2, 2, 2]*/
  long1 = (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 30)))) == 1 ? 1 : 0;
  if ( !long1 ) {

/* [Cond : =] ********** [2, 2, 3]*/
    long1 = (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 29)))) == 1 ? 1 : 0;
  }
  if ( long1 ) {
    LocalCFast_fn_vSetDsgVarBoolean(27, 0) ;
    LocalCFast_fn_vSetDsgVarBoolean(28, 0) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : =] ********** [2, 2, 2]*/
  long1 = (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 27)))) == 0 ? 1 : 0;
if ( long1 ) {

/* [Cond : =] ********** [2, 2, 3]*/
    long1 = (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 28)))) == 0 ? 1 : 0;
  }
  if ( long1 ) {

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 0 ) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : ACT_TestCustomBit] ********** [1, 1, 1]*/
  if ( !( CFast_CallCondition_Static(3) ) ) {

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 27)))) == 1 ) {
      LocalCFast_fn_vSetDsgVarBoolean(8, 0) ;
      if (CFast_YAM_GenMenuMap_Macro_2 ())
        return ;
/* [BeginMacro : 22] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, (LocalCFast_fn_lGetDsgVarInteger(17)-1)) ;

/* [Cond : =] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 2 ) {
        LocalCFast_fn_vSetDsgVarInteger(32, 0) ;
        LocalCFast_fn_vSetDsgVarInteger(36, LocalCFast_fn_lGetDsgVarInteger(31)) ;

/* [Func : Option_GetVolumeMusical] ********** [0, 0, 1]*/
        CFast_CallFunction1_Static( 5 ) ;
        LocalCFast_fn_vSetDsgVarInteger(35, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
        LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(35)) ;
        LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
        LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
        LocalCFast_fn_vSetDsgVarBoolean(8, 1) ;
        if (CFast_YAM_GenMenuMap_Macro_2 ())
          return ;
/* [BeginMacro : 22] ********** [0]*/

/* [Proc : EnvoieRequeteMenuSon] *********** [1, 1, 0]*/
        CFast_CallProcedure_Static( 6 ) ;

/* [Vector] *********** [4, 3, 1]*/
        CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 12 ) ;
        M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
          M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
        CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (22) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
        CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 32 ) ;
        M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
          M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
        CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (42) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 46 ) ;

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
        CFast_CallProcedure_Static( 52 ) ;
      }
    }
    else {

/* [Cond : =] ********** [2, 2, 2]*/
      long1 = (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 28)))) == 1 ? 1 : 0;
if ( long1 ) {

/* [Cond : <>] ********** [2, 2, 3]*/
        long1 = (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) != 3 ? 1 : 0;
      }
      if ( long1 ) {
        LocalCFast_fn_vSetDsgVarBoolean(8, 0) ;
        if (CFast_YAM_GenMenuMap_Macro_2 ())
          return ;
/* [BeginMacro : 22] ********** [0]*/
        LocalCFast_fn_vSetDsgVarInteger(17, (LocalCFast_fn_lGetDsgVarInteger(17)+1)) ;

/* [Cond : =] ********** [2, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 3 ) {
          LocalCFast_fn_vSetDsgVarInteger(32, 1) ;
          LocalCFast_fn_vSetDsgVarInteger(35, LocalCFast_fn_lGetDsgVarInteger(31)) ;

/* [Func : Option_GetVolumeEffets] ********** [0, 0, 1]*/
          CFast_CallFunction1_Static( 55 ) ;
          LocalCFast_fn_vSetDsgVarInteger(36, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
          LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(36)) ;
          LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
          LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
          LocalCFast_fn_vSetDsgVarBoolean(8, 1) ;
          if (CFast_YAM_GenMenuMap_Macro_2 ())
            return ;
/* [BeginMacro : 22] ********** [0]*/

/* [Proc : EnvoieRequeteMenuSon] *********** [1, 1, 0]*/
          CFast_CallProcedure_Static( 6 ) ;

/* [Vector] *********** [4, 3, 1]*/
          CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 12 ) ;
          M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
            M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
          CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (56) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
          CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 32 ) ;
          M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
            M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
          CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (60) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 46 ) ;
        }

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
        CFast_CallProcedure_Static( 52 ) ;
      }
    }
  }
/* [EndTree] ************ [0]*/
  if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 30)))) ) {

/* [Cond : >] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31)))) > (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 33)))) ) {
      M_Full_GetSetParam_Float(&CFast_g_a_stParam[3], MTH_M_xDiv((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 25)))),MTH_M_xLongToReal(20)));
      M_GetSetParam_lValue(&CFast_g_a_stParam[2]) = MTH_M_xRealToLong(M_GetSetParam_xValue(&CFast_g_a_stParam[3])) ;
      M_GetSetParam_Type(&CFast_g_a_stParam[2]) = E_vt_Integer;

/* [Math_ : Math_ConversionEnEntier] ********** [0, 1, 2]*/
      LocalCFast_fn_vSetDsgVarInteger(31, (LocalCFast_fn_lGetDsgVarInteger(31)+M_GetSetParam_lValue(CFast_g_a_stParam+2))) ;

/* [Cond : <] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31)))) < (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 33)))) ) {
        LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(33)) ;
      }

/* [Cond : =] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 32)))) == 0 ) {

/* [Vector] *********** [4, 3, 1]*/
        CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 12 ) ;
        M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
          M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
        CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (22) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 26 ) ;

/* [Proc : Option_ChangeVolumeMusical] *********** [1, 1, 0]*/
        CFast_CallProcedure_Static( 64 ) ;
      }
      else {

/* [Vector] *********** [4, 3, 1]*/
        CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 32 ) ;
        M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
          M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
        CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
        CFast_CallVector2_Static (60) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
          M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
          M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
        CFast_CallProcedure_Static( 46 ) ;

/* [Proc : Option_ChangeVolumeEffets] *********** [1, 1, 0]*/
        CFast_CallProcedure_Static( 66 ) ;
      }
    }
  }
  else {
    if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 29)))) ) {

/* [Cond : <] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31)))) < (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 34)))) ) {
        M_Full_GetSetParam_Float(&CFast_g_a_stParam[3], MTH_M_xDiv((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 25)))),MTH_M_xLongToReal(20)));
        M_GetSetParam_lValue(&CFast_g_a_stParam[2]) = MTH_M_xRealToLong(M_GetSetParam_xValue(&CFast_g_a_stParam[3])) ;
        M_GetSetParam_Type(&CFast_g_a_stParam[2]) = E_vt_Integer;

/* [Math_ : Math_ConversionEnEntier] ********** [0, 1, 2]*/
        LocalCFast_fn_vSetDsgVarInteger(31, (LocalCFast_fn_lGetDsgVarInteger(31)+M_GetSetParam_lValue(CFast_g_a_stParam+2))) ;

/* [Cond : >] ********** [2, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31)))) > (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 34)))) ) {
          LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(34)) ;
        }

/* [Cond : =] ********** [2, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 32)))) == 0 ) {

/* [Vector] *********** [4, 3, 1]*/
          CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 12 ) ;
          M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
            M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
          CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (22) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 26 ) ;

/* [Proc : Option_ChangeVolumeMusical] *********** [1, 1, 0]*/
          CFast_CallProcedure_Static( 64 ) ;
        }
        else {

/* [Vector] *********** [4, 3, 1]*/
          CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 32 ) ;
          M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 31))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
            M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
          CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
          CFast_CallVector2_Static (60) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
            M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
            M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
          CFast_CallProcedure_Static( 46 ) ;

/* [Proc : Option_ChangeVolumeEffets] *********** [1, 1, 0]*/
          CFast_CallProcedure_Static( 66 ) ;
        }
      }
    }
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_0 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  LocalCFast_fn_vSetDsgVarFloat(25, 0) ;
  LocalCFast_fn_vSetDsgVarFloat(26, 0) ;
  LocalCFast_fn_vSetDsgVarBoolean(27, 0) ;
  LocalCFast_fn_vSetDsgVarBoolean(28, 0) ;
  LocalCFast_fn_vSetDsgVarBoolean(29, 0) ;
  LocalCFast_fn_vSetDsgVarBoolean(30, 0) ;

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0)) ) {
    LocalCFast_fn_vSetDsgVarBoolean(27, 1) ;
    LocalCFast_fn_vSetDsgVarFloat(26, -100) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+1)) ) {
    LocalCFast_fn_vSetDsgVarBoolean(28, 1) ;
    LocalCFast_fn_vSetDsgVarFloat(26, 100) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+2)) ) {
    LocalCFast_fn_vSetDsgVarBoolean(30, 1) ;
    LocalCFast_fn_vSetDsgVarFloat(25, -100) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+3)) ) {
    LocalCFast_fn_vSetDsgVarBoolean(29, 1) ;
    LocalCFast_fn_vSetDsgVarFloat(25, 100) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+4)) ) {

/* [Func : PAD_LitValeurAnalogiqueEntree] ********** [1, 1, 1]*/
    CFast_CallFunction1_Static( 68 ) ;
    LocalCFast_fn_vSetDsgVarFloat(26, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : <] ********** [2, 2, 1]*/
    if ( MTH_M_bLess((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 26)))), MTH_M_xFloatToReal(-60.000000f)) ) {
      LocalCFast_fn_vSetDsgVarBoolean(27, 1) ;
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+5)) ) {

/* [Func : PAD_LitValeurAnalogiqueEntree] ********** [1, 1, 1]*/
    CFast_CallFunction1_Static( 70 ) ;
    LocalCFast_fn_vSetDsgVarFloat(26, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : >] ********** [2, 2, 1]*/
    if ( MTH_M_bGreater((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 26)))), MTH_M_xFloatToReal(60.000000f)) ) {
      LocalCFast_fn_vSetDsgVarBoolean(28, 1) ;
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+6)) ) {

/* [Func : PAD_LitValeurAnalogiqueEntree] ********** [1, 1, 1]*/
    CFast_CallFunction1_Static( 72 ) ;
    LocalCFast_fn_vSetDsgVarFloat(25, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : <] ********** [2, 2, 1]*/
    if ( MTH_M_bLess((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 25)))), MTH_M_xFloatToReal(-60.000000f)) ) {
      LocalCFast_fn_vSetDsgVarBoolean(30, 1) ;
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+7)) ) {

/* [Func : PAD_LitValeurAnalogiqueEntree] ********** [1, 1, 1]*/
    CFast_CallFunction1_Static( 74 ) ;
    LocalCFast_fn_vSetDsgVarFloat(25, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : >] ********** [2, 2, 1]*/
    if ( MTH_M_bGreater((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 25)))), MTH_M_xFloatToReal(60.000000f)) ) {
      LocalCFast_fn_vSetDsgVarBoolean(29, 1) ;
    }
  }
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_1 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  LocalCFast_fn_vSetDsgVarPerso(39, CFast_fn_hGetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(76) ) {

/* [Cond : =] ********** [2, 2, 1]*/
    if ( MTH_M_bEqual((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 57)))), MTH_M_xFloatToReal(60.000000f)) ) {
      LocalCFast_fn_vSetDsgVarInteger(58, 4) ;
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( MTH_M_bEqual((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 57)))), MTH_M_xFloatToReal(140.000000f)) ) {
      LocalCFast_fn_vSetDsgVarInteger(58, -4) ;
    }
    LocalCFast_fn_vSetDsgVarFloat(57, MTH_M_xAdd(LocalCFast_fn_xGetDsgVarFloat(57),MTH_M_xLongToReal(LocalCFast_fn_lGetDsgVarInteger(58)))) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 57)))),MTH_M_xLongToReal(100)));

/* [Vector] *********** [3, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+81) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (78) ;

/* [Op : ..] ********** [2, 1, 0]*/

/* [Proc : ACT_DeformePerso] *********** [3, 2, 0]*/
    CFast_fn_vSetUltraOperatorPersoVar(39);
      M_p_stVectorInterpret(p_stPseudoTree+83) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    CFast_CallProcedure_Static( 82 ) ;
  }
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_2 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  LocalCFast_fn_vSetDsgVarPerso(39, CFast_fn_hGetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(76) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
    fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
    CFast_CallProcedure_Static( 84 ) ;
    if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
      CFast_g_bMetaActionInRfx = 1 ;
      if ( CFast_g_bProcessReflex )
        p_stLocalMind0->CFast_lRfxMetaAction = 0 ;
      else
        p_stLocalMind0->CFast_lCmpMetaAction = 0 ;
      return (1) ;
    }
  }
  (LocalCFast_fn_p_stGetDsgVarVector(45))->xX = MTH_M_xLongToReal(CFast_fn_lGetDsgVarIntegerArray(10,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  (LocalCFast_fn_p_stGetDsgVarVector(45))->xY = MTH_M_xLongToReal(CFast_fn_lGetDsgVarIntegerArray(11,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  (LocalCFast_fn_p_stGetDsgVarVector(45))->xZ= MTH_M_xLongToReal(LocalCFast_fn_lGetDsgVarInteger(2)) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
  M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 17 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 3 ;
  long1 = CFast_CallCondition_NoStatic( ) ;
  if ( long1 ) {
    LocalCFast_fn_vSetDsgVarBoolean(7, 1) ;
  }
  else {
    LocalCFast_fn_vSetDsgVarBoolean(7, 0) ;
  }
  LocalCFast_fn_vSetDsgVarPerso(39, NULL) ;

/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 8)))) == 1 ) {

/* [Op : [] ********** [3, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [5, 3, 0]*/
    M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
    M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o240:/w300:" ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 17 ;
    CFast_memcpy ( 4, 5, 8) ;
    CFast_CallProcedure_NoStatic( ) ;
  }
  else {

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 7)))) == 1 ) {

/* [Op : [] ********** [3, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [5, 3, 0]*/
      M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
      M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o180:/w300:" ;

/* [Op : [] ********** [0, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 17 ;
      CFast_memcpy ( 4, 5, 8) ;
      CFast_CallProcedure_NoStatic( ) ;
    }
    else {

/* [Op : [] ********** [3, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [5, 3, 0]*/
      M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
      M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o0:/w300:" ;

/* [Op : [] ********** [0, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 17 ;
      CFast_memcpy ( 4, 5, 8) ;
      CFast_CallProcedure_NoStatic( ) ;
    }
  }

/* [Func : TEXT_Affiche] ********** [5, 5, 1]*/
  CFast_CallFunction1_Static( 86 ) ;
  LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
  CFast_fn_vSetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17),LocalCFast_fn_hGetDsgVarPerso(39)) ;
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Reflexe YAM_MapGestionMenuStandard
 */
void CFast_YAM_GenMenuMap_Rfx_YAM_MapGestionMenuStandard (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+13)) ) {

/* [Proc : ACT_FixePointsDeVieMax] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 92 ) ;

/* [Keyword : ActeurPrincipal] ********** [0, 0, 1]*/

/* [Proc : ACT_AjoutePointsDeVieMax] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 95 ) ;

/* [Keyword : ActeurPrincipal] ********** [0, 0, 1]*/

/* [Keyword : ActeurPrincipal] ********** [1, 0, 3]*/

/* [Func : ACT_LitPointsDeVieMax] ********** [2, 1, 2]*/
    CFast_CallFunction2_Static( 98 ) ;

/* [Proc : ACT_FixePointsDeVie] *********** [2, 2, 0]*/
      M_lValueInterpret(p_stPseudoTree+102) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 100 ) ;

/* [Proc : RAY_FixePointsDairMax] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 103 ) ;

/* [Proc : RAY_InitPointsDair] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 105 ) ;
  }
/* [EndTree] ************ [0]*/
  CFast_YAM_GenMenuMap_Macro_1 () ;
/* [BeginMacro : 9] ********** [0]*/
/* [EndTree] ************ [0]*/
  CFast_YAM_GenMenuMap_Macro_0 () ;
/* [BeginMacro : 32] ********** [0]*/
/* [EndTree] ************ [0]*/
  MTH3D_M_vSetVectorElements(&stVector0, LocalCFast_fn_xGetDsgVarFloat(25), LocalCFast_fn_xGetDsgVarFloat(26), MTH_M_xFloatToReal(0.00000f)) ;
  LocalCFast_fn_vSetDsgVarVector(51, &stVector0) ;
  M_GetSetParam_xValue(&CFast_g_a_stParam[2]) = MTH3D_M_xNormVector(((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 51))));
  M_GetSetParam_Type(&CFast_g_a_stParam[2]) = E_vt_Float;

/* [Cond : >] ********** [2, 2, 1]*/
  if ( MTH_M_bGreater(M_GetSetParam_xValue(&CFast_g_a_stParam[2]), MTH_M_xFloatToReal(50.000000f)) ) {

/* [Cond : ACT_TestCustomBit] ********** [1, 1, 1]*/
    if ( !( CFast_CallCondition_Static(3) ) ) {
      if (MTH3D_M_bIsNullVector(((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 51))))) {
        MTH3D_M_vCopyVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[1]), ((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 51))));
      } else {
        MTH3D_M_vNormalizeVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[1]), ((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 51))));
      }
      M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Vector;
      LocalCFast_fn_vSetDsgVarVector(51, &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1)) ;
      LocalCFast_fn_vSetDsgVarFloat(48, 0) ;
      LocalCFast_fn_vSetDsgVarFloat(49, 0) ;
      LocalCFast_fn_vSetDsgVarFloat(50, 0) ;

/* [Cond : >] ********** [2, 2, 1]*/
      if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 18))))), MTH_M_xFloatToReal(0.000000f)) ) {
        LocalCFast_fn_vSetDsgVarInteger(53, 0) ;

/* [Proc : Boucle] *********** [1, 1, 0]*/
        {
          int i0;
for ( i0=(*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 18)))) ; i0>0 ; i0-- ) { /* Boucle 0 */

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : >] ********** [4, 2, 2]*/
          M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)7 ;

/* [Op : [] ********** [0, 2, 0]*/
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 53 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Real);
          M_xValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = MTH_M_xFloatToReal(1.000000f) ;
          long1 = CFast_CallCondition_NoStatic( ) ;
          if ( long1 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : <>] ********** [4, 2, 3]*/
            M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)5 ;

/* [Op : [] ********** [0, 2, 0]*/
            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
            M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
            M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 53 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 4 ;
            long1 = CFast_CallCondition_NoStatic( ) ;
          }
          if ( long1 ) {
            LocalCFast_fn_vSetDsgVarFloat(49, (CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(53)) - CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17)))) ;
            LocalCFast_fn_vSetDsgVarFloat(50, (CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(53)) - CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17)))) ;
            MTH3D_M_vSetVectorElements(&stVector0, LocalCFast_fn_xGetDsgVarFloat(49), LocalCFast_fn_xGetDsgVarFloat(50), MTH_M_xFloatToReal(0.00000f)) ;
            LocalCFast_fn_vSetDsgVarVector(52, &stVector0) ;
            M_GetSetParam_xValue(&CFast_g_a_stParam[1]) = MTH3D_M_xNormVector(((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 52))));
            M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Float;
            LocalCFast_fn_vSetDsgVarFloat(46, M_GetSetParam_xValue(CFast_g_a_stParam+1)) ;

/* [Cond : <] ********** [2, 2, 1]*/
            if ( MTH_M_bLess((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 46)))), MTH_M_xFloatToReal(10.000000f)) ) {
              LocalCFast_fn_vSetDsgVarFloat(46, 1000) ;
            }
            if (MTH3D_M_bIsNullVector(((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 52))))) {
              MTH3D_M_vCopyVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[1]), ((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 52))));
            } else {
              MTH3D_M_vNormalizeVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[1]), ((MTH3D_tdstVector *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 52))));
            }
            M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Vector;
            LocalCFast_fn_vSetDsgVarVector(52, &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1)) ;

/* [Func : VEC_ProduitScalaire] ********** [2, 2, 1]*/
            CFast_CallFunction1_Static( 107 ) ;
            LocalCFast_fn_vSetDsgVarFloat(47, M_GetSetParam_xValue(CFast_g_a_stParam+1)) ;
            LocalCFast_fn_vSetDsgVarFloat(47, MTH_M_xDiv(LocalCFast_fn_xGetDsgVarFloat(47),MTH_M_xDiv(LocalCFast_fn_xGetDsgVarFloat(46),MTH_M_xFloatToReal(250.00000f)))) ;

/* [Cond : >] ********** [2, 2, 1]*/
            if ( MTH_M_bGreater((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 47)))), (*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 48))))) ) {
              LocalCFast_fn_vSetDsgVarFloat(48, LocalCFast_fn_xGetDsgVarFloat(47)) ;
              LocalCFast_fn_vSetDsgVarInteger(54, LocalCFast_fn_lGetDsgVarInteger(53)) ;
            }
          }
          LocalCFast_fn_vSetDsgVarInteger(53, (LocalCFast_fn_lGetDsgVarInteger(53)+1)) ;

/* [Proc : FinBoucle] ********** [0, 0, 0]*/
          }
}

/* [Cond : <>] ********** [2, 2, 1]*/
        if ( MTH_M_bDifferent((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 48)))), MTH_M_xFloatToReal(0.000000f)) ) {
          LocalCFast_fn_vSetDsgVarBoolean(8, 0) ;
          if (CFast_YAM_GenMenuMap_Macro_2 ())
            return ;
/* [BeginMacro : 22] ********** [0]*/
          LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(54)) ;
          LocalCFast_fn_vSetDsgVarFloat(57, 100) ;
          LocalCFast_fn_vSetDsgVarInteger(58, 4) ;
          LocalCFast_fn_vSetDsgVarBoolean(8, 1) ;
          LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
          LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;

/* [Proc : EnvoieRequeteMenuSon] *********** [1, 1, 0]*/
          CFast_CallProcedure_Static( 6 ) ;
          if (CFast_YAM_GenMenuMap_Macro_2 ())
            return ;
/* [BeginMacro : 22] ********** [0]*/
        }
      }

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
      CFast_CallProcedure_Static( 52 ) ;
    }
  }
  else {

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 0 ) ;
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapInit
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapInit (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Proc : ACT_FixeFrequenceCalculIA] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 110 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 112 ) ;
  CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
  return ;
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapAttenteActivation
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapAttenteActivation (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  if ( p_stLocalMind0 -> CFast_lCmpMetaAction ) 
    goto label1 ;

/* [Cond : BoutonAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {

/* [Proc : ACT_FixeFrequenceCalculIA] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 114 ) ;
    LocalCFast_fn_vSetDsgVarBoolean(70, CFast_fn_lGetDsgVarBoolean(M_CFast_ucGetRealIndice(17), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 14)))) ;

/* [Proc : SON_ArretSonMenu] *********** [0, 0, 0]*/
    CFast_CallProcedure_Static( 116 ) ;

/* [Proc : SPO_SwitchSuperimposedTab] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 117 ) ;

/* [Proc : HIER_GeleMoteur] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 119 ) ;
    CFast_YAM_GenMenuMap_Macro_3 () ;
/* [BeginMacro : 3] ********** [0]*/

/* [Proc : ActiveMenuMap] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 121 ) ;

/* [Proc : MAP_LitLaSortieUtilisee] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 123 ) ;
    CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(22), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 21)),1) ;
    CFast_YAM_GenMenuMap_Macro_4 () ;
/* [BeginMacro : 25] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(2, 20) ;
    LocalCFast_fn_vSetDsgVarInteger(3, 25) ;
    LocalCFast_fn_vSetDsgVarFloat(57, 100) ;
    LocalCFast_fn_vSetDsgVarInteger(58, 4) ;
    LocalCFast_fn_vSetDsgVarInteger(1, 90) ;
    LocalCFast_fn_vSetDsgVarInteger(4, 150) ;
    LocalCFast_fn_vSetDsgVarInteger(5, 16) ;

/* [Op : .] ********** [3, 2, 0]*/

/* [Func : GenereObjet] ********** [4, 2, 1]*/
    M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)66 ;
    CFast_memcpy ( 3, 1, 34) ;

/* [Op : .] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][2], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][2]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 3, 3, 35) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Field);
    M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[3][4]) = (tdeFieldId)0 ;
    CFast_CallFunction1_NoStatic( ) ;
    LocalCFast_fn_vSetDsgVarPersoWithEngine(6, M_GetSetParam_p_stEngineObjValue(CFast_g_a_stParam+1)) ;

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(126) ) {

/* [Op : ..] ********** [1, 1, 0]*/

/* [Func : ACT_ViseePerso] ********** [2, 1, 2]*/
      CFast_fn_vSetUltraOperatorPersoRef(35);
      CFast_CallFunction2_Static( 128 ) ;

/* [Op : v_] ********** [1, 1, 1]*/
        M_p_stVectorInterpret(p_stPseudoTree+130) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
      CFast_CallOperator1_Static( 129 ) ;

/* [Op : ..] ********** [2, 1, 0]*/

/* [Proc : ACT_ChangeViseeQuelconquePerso] *********** [3, 2, 0]*/
      CFast_fn_vSetUltraOperatorPersoVar(6);
        M_p_stVectorInterpret(p_stPseudoTree+132) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      CFast_CallProcedure_Static( 131 ) ;
    }
    CFast_YAM_GenMenuMap_Macro_5 () ;
/* [BeginMacro : 24] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_6 () ;
/* [BeginMacro : 97] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Vector] *********** [4, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Func : GenereObjet] ********** [2, 2, 1]*/
      M_p_stVectorInterpret(p_stPseudoTree+139) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallFunction1_Static( 137 ) ;
    LocalCFast_fn_vSetDsgVarPersoWithEngine(0, M_GetSetParam_p_stEngineObjValue(CFast_g_a_stParam+1)) ;

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(140) ) {
      CFast_fn_vSetDsgVarPerso ( M_CFast_ucGetRealIndice(59), (M_GetMSHandle( (*((HIE_tdxHandleToSuperObject *)M_GetDsgVarAddr(p_stLocalMind0, 0))), Brain)->p_stMind), g_hSuperObjectPerso) ;

/* [Proc : ChangeComportement] *********** [2, 2, 0]*/
      CFast_CallProcedure_Static( 142 ) ;
    }

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 145 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0)) ? 1 : 0;
if ( long1 ) {

/* [Cond : EstDansComportement] ********** [2, 2, 3]*/
    long1 = CFast_CallCondition_Static(147) ;
  }
  if ( long1 ) {

/* [Proc : ACT_FixeFrequenceCalculIA] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 114 ) ;

/* [Proc : MAP_LitLaSortieUtilisee] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 123 ) ;
    CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(22), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 21)),1) ;
    CFast_YAM_GenMenuMap_Macro_4 () ;
/* [BeginMacro : 25] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(2, 16) ;
    LocalCFast_fn_vSetDsgVarInteger(3, 20) ;
    LocalCFast_fn_vSetDsgVarInteger(1, 90) ;
    LocalCFast_fn_vSetDsgVarInteger(4, 150) ;
    LocalCFast_fn_vSetDsgVarInteger(5, 16) ;

/* [Func : Temps_Obtenir] ********** [0, 0, 1]*/
    CFast_CallFunction1_Static( 150 ) ;
    LocalCFast_fn_vSetDsgVarInteger(65, M_GetSetParam_ulValue(CFast_g_a_stParam+1)) ;
    LocalCFast_fn_vSetDsgVarBoolean(70, CFast_fn_lGetDsgVarBoolean(M_CFast_ucGetRealIndice(17), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 14)))) ;
    CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(17), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 14)),0) ;

/* [Func : Temps_LitDT] ********** [0, 0, 3]*/
    CFast_CallFunction3_Static( 151 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xMul(M_GetSetParam_xValue(&CFast_g_a_stParam[3]),MTH_M_xLongToReal(50)));
    M_GetSetParam_lValue(&CFast_g_a_stParam[1]) = MTH_M_xRealToLong(M_GetSetParam_xValue(&CFast_g_a_stParam[2])) ;
    M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Integer;

/* [Math_ : Math_ConversionEnEntier] ********** [0, 1, 1]*/
    LocalCFast_fn_vSetDsgVarInteger(63, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Op : .] ********** [2, 2, 0]*/

/* [Op : .] ********** [5, 2, 0]*/

/* [Op : v-] ********** [6, 2, 2]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)17 ;

/* [Op : .] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 2, 2, 14) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Field);
    M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][3]) = (tdeFieldId)0 ;

/* [Op : .] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][4]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 2, 5, 35) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][6], E_ti_Field);
    M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][6]) = (tdeFieldId)0 ;
    CFast_CallOperator2_NoStatic( ) ;
    M_GetSetParam_xValue(&CFast_g_a_stParam[1]) = MTH3D_M_xNormVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[2]));
    M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Float;
    LocalCFast_fn_vSetDsgVarFloat(64, M_GetSetParam_xValue(CFast_g_a_stParam+1)) ;
    LocalCFast_fn_vSetDsgVarFloat(62, MTH_M_xDiv(MTH_M_xMul(MTH_M_xLongToReal(1000),LocalCFast_fn_xGetDsgVarFloat(64)),MTH_M_xLongToReal(LocalCFast_fn_lGetDsgVarInteger(63)))) ;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 154 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_3 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+2));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+1));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+3));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+18));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+19));
  IPT_fn_vActivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+20));
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_4 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : .] ********** [2, 2, 0]*/

/* [Func : ACT_LitNombreDeBooleensDansTableau] ********** [5, 3, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)246 ;

/* [Op : .] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][5], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][5]) = 800 ;
  CFast_CallFunction1_NoStatic( ) ;
  LocalCFast_fn_vSetDsgVarInteger(68, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Op : .] ********** [2, 2, 0]*/

/* [Func : ACT_LitNombreDeBooleensDansTableau] ********** [5, 3, 2]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)246 ;

/* [Op : .] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1201 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][5]) = 1400 ;
  CFast_CallFunction2_NoStatic( ) ;
  LocalCFast_fn_vSetDsgVarInteger(68, (LocalCFast_fn_lGetDsgVarInteger(68)+M_GetSetParam_lValue(CFast_g_a_stParam+2))) ;
  M_Full_GetSetParam_Integer(&CFast_g_a_stParam[3], (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 68)))) / 50);
  M_GetSetParam_lValue(&CFast_g_a_stParam[2]) = MTH_M_xRealToLong(MTH_M_xLongToReal(M_GetSetParam_lValue(&CFast_g_a_stParam[3]))) ;
  M_GetSetParam_Type(&CFast_g_a_stParam[2]) = E_vt_Integer;

/* [Math_ : Math_ConversionEnEntier] ********** [0, 1, 2]*/
  LocalCFast_fn_vSetDsgVarInteger(67, (M_GetSetParam_lValue(CFast_g_a_stParam+2) + 1)) ;
  LocalCFast_fn_vSetDsgVarInteger(69, ((LocalCFast_fn_lGetDsgVarInteger(67) * 50) - LocalCFast_fn_lGetDsgVarInteger(68))) ;
  LocalCFast_fn_vSetDsgVarInteger(66, LocalCFast_fn_lGetDsgVarInteger(67)) ;

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
  M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
  M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:" ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_String);
  M_szStringInterpret(&CFast_g_a_stPseudoTree[4][2]) = "/c:" ;
  CFast_memcpy ( 4, 3, 24) ;
  CFast_CallProcedure_NoStatic( ) ;

/* [Cond : =] ********** [3, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67)))) == 20 ) {

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
    M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
    M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
    CFast_memcpy ( 4, 2, 25) ;
    CFast_memcpy ( 4, 3, 24) ;
    CFast_CallProcedure_NoStatic( ) ;
  }
  else {

/* [Cond : >] ********** [3, 2, 1]*/
    if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67))))), MTH_M_xFloatToReal(15.000000f)) ) {

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
      M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
      M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
      CFast_memcpy ( 4, 2, 26) ;
      CFast_memcpy ( 4, 3, 24) ;
      CFast_CallProcedure_NoStatic( ) ;
    }
    else {

/* [Cond : >] ********** [3, 2, 1]*/
      if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67))))), MTH_M_xFloatToReal(10.000000f)) ) {

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
        M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
        M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
        CFast_memcpy ( 4, 2, 27) ;
        CFast_memcpy ( 4, 3, 24) ;
        CFast_CallProcedure_NoStatic( ) ;
      }
      else {

/* [Cond : >] ********** [3, 2, 1]*/
        if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67))))), MTH_M_xFloatToReal(5.000000f)) ) {

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
          M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
          M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
          CFast_memcpy ( 4, 2, 28) ;
          CFast_memcpy ( 4, 3, 24) ;
          CFast_CallProcedure_NoStatic( ) ;
        }
        else {

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
          M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
          M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
          CFast_memcpy ( 4, 2, 29) ;
          CFast_memcpy ( 4, 3, 24) ;
          CFast_CallProcedure_NoStatic( ) ;
        }
      }
    }
  }

/* [Proc : TEXT_EntierEnTexte] *********** [3, 2, 0]*/
  CFast_CallProcedure_Static( 156 ) ;

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
  M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
  M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/c:/o240:" ;
  CFast_memcpy ( 4, 2, 31) ;
  CFast_memcpy ( 4, 3, 32) ;
  CFast_CallProcedure_NoStatic( ) ;

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
  CFast_CallProcedure_Static( 159 ) ;

/* [Proc : TEXT_FormateTexte] *********** [4, 3, 0]*/
  CFast_CallProcedure_Static( 163 ) ;
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_5 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  LocalCFast_fn_vSetDsgVarInteger(55, 0) ;
  LocalCFast_fn_vSetDsgVarInteger(19, 0) ;

/* [Func : OPTION_GetNbSlotsAvailable] ********** [2, 1, 1]*/
  CFast_CallFunction1_Static( 167 ) ;
  LocalCFast_fn_vSetDsgVarInteger(20, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Proc : Boucle] *********** [2, 1, 0]*/
  {
    int i0;
for ( i0=3 ; i0>0 ; i0-- ) { /* Boucle 0 */
    M_Full_GetSetParam_Integer(&CFast_g_a_stParam[2], (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 55)))) + 1);

/* [Func : Option_SlotIsValid] ********** [2, 1, 1]*/
      M_lValueInterpret(p_stPseudoTree+170) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallFunction1_Static( 169 ) ;
    LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
    LocalCFast_fn_vSetDsgVarInteger(19, (LocalCFast_fn_lGetDsgVarInteger(19)+LocalCFast_fn_lGetDsgVarInteger(43))) ;
    CFast_fn_vSetDsgVarIntegerArray(24,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),LocalCFast_fn_lGetDsgVarInteger(43)) ;
    LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)+1)) ;

/* [Proc : FinBoucle] ********** [1, 0, 0]*/
    }
}

/* [Cond : <>] ********** [3, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 20)))) != 3 ) {
    LocalCFast_fn_vSetDsgVarInteger(55, 2) ;

/* [Cond : =] ********** [3, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 20)))) == (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 19)))) ) {

/* [Proc : Boucle] *********** [2, 1, 0]*/
      {
        int i1;
for ( i1=3 ; i1>0 ; i1-- ) { /* Boucle 1 */

/* [Op : [] ********** [3, 2, 0]*/

/* [Cond : =] ********** [5, 2, 1]*/
        M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [1, 2, 0]*/
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
        long1 = CFast_CallCondition_NoStatic( ) ;
        if ( long1 ) {
          CFast_fn_vSetDsgVarIntegerArray(24,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),-1) ;
        }
        LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)-1)) ;

/* [Proc : FinBoucle] ********** [1, 0, 0]*/
        }
}
    }
    else {
      LocalCFast_fn_vSetDsgVarInteger(55, 2) ;
      LocalCFast_fn_vSetDsgVarInteger(43, (3 - LocalCFast_fn_lGetDsgVarInteger(20))) ;

/* [Proc : Boucle] *********** [2, 1, 0]*/
      {
        int i2;
for ( i2=3 ; i2>0 ; i2-- ) { /* Boucle 2 */

/* [Op : [] ********** [3, 2, 0]*/

/* [Cond : =] ********** [5, 2, 1]*/
        M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [1, 2, 0]*/
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
        long1 = CFast_CallCondition_NoStatic( ) ;
        if ( long1 ) {
          CFast_fn_vSetDsgVarIntegerArray(24,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),-1) ;
          LocalCFast_fn_vSetDsgVarInteger(43, (LocalCFast_fn_lGetDsgVarInteger(43)-1)) ;
        }
        LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)-1)) ;

/* [Cond : =] ********** [3, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 43)))) == 0 ) {

/* [Proc : Break] *********** [2, 1, 0]*/
          break ;
        }

/* [Proc : FinBoucle] ********** [1, 0, 0]*/
        }
}
    }
  }
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_6 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [3, 2, 0]*/

/* [Op : :=] ********** [5, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [1, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 36) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [3, 2, 0]*/

/* [Op : :=] ********** [5, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [1, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 37) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [3, 2, 0]*/

/* [Op : :=] ********** [5, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [1, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 38) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,50) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,525) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,525) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,300) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,700) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,700) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,700) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,700) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,300) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,700) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;

/* [Cond : =] ********** [3, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 19)))) == 0 ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,1) ;
  }

/* [Cond : <>] ********** [3, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 60)))) != 145 ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,0) ;
  }

/* [Op : .] ********** [3, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [5, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [1, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1112 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Vector] *********** [6, 3, 1]*/
    CFast_CallVector1_Static (171) ;

/* [Vector] *********** [7, 3, 2]*/
    CFast_CallVector2_Static (175) ;

/* [Proc : LanceAGO] *********** [7, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+181) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+182) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 179 ) ;
  }
  else {

/* [Vector] *********** [6, 3, 1]*/
    CFast_CallVector1_Static (171) ;

/* [Vector] *********** [7, 3, 2]*/
    CFast_CallVector2_Static (175) ;

/* [Proc : LanceAGO] *********** [7, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+187) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+188) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 185 ) ;
  }

/* [Op : .] ********** [4, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [6, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [2, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1113 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Vector] *********** [7, 3, 1]*/
    CFast_CallVector1_Static (191) ;

/* [Vector] *********** [8, 3, 2]*/
    CFast_CallVector2_Static (195) ;

/* [Proc : LanceAGO] *********** [8, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+201) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+202) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 199 ) ;
  }
  else {

/* [Vector] *********** [7, 3, 1]*/
    CFast_CallVector1_Static (191) ;

/* [Vector] *********** [8, 3, 2]*/
    CFast_CallVector2_Static (195) ;

/* [Proc : LanceAGO] *********** [8, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+207) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+208) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 205 ) ;
  }

/* [Op : .] ********** [5, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [7, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [3, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1114 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Vector] *********** [8, 3, 1]*/
    CFast_CallVector1_Static (211) ;

/* [Vector] *********** [9, 3, 2]*/
    CFast_CallVector2_Static (215) ;

/* [Proc : LanceAGO] *********** [9, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+221) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+222) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 219 ) ;
  }
  else {

/* [Vector] *********** [8, 3, 1]*/
    CFast_CallVector1_Static (211) ;

/* [Vector] *********** [9, 3, 2]*/
    CFast_CallVector2_Static (215) ;

/* [Proc : LanceAGO] *********** [9, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+227) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+228) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 225 ) ;
  }

/* [Op : .] ********** [6, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [8, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [4, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1115 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Vector] *********** [9, 3, 1]*/
    CFast_CallVector1_Static (231) ;

/* [Vector] *********** [10, 3, 2]*/
    CFast_CallVector2_Static (235) ;

/* [Proc : LanceAGO] *********** [10, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+241) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+242) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 239 ) ;
  }
  else {

/* [Vector] *********** [9, 3, 1]*/
    CFast_CallVector1_Static (231) ;

/* [Vector] *********** [10, 3, 2]*/
    CFast_CallVector2_Static (235) ;

/* [Proc : LanceAGO] *********** [10, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+247) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+248) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 245 ) ;
  }

/* [Op : .] ********** [7, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [9, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [5, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1120 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Op : .] ********** [8, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [10, 2, 1]*/
    M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [6, 2, 0]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 3, 2, 21) ;
    CFast_memcpy ( 3, 3, 23) ;
    M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1102 ;
    CFast_CallFunction1_NoStatic( ) ;
    long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
    if ( !long1 ) {

/* [Vector] *********** [11, 3, 1]*/
      CFast_CallVector1_Static (251) ;

/* [Vector] *********** [12, 3, 2]*/
      CFast_CallVector2_Static (255) ;

/* [Proc : LanceAGO] *********** [12, 5, 0]*/
        M_p_stVectorInterpret(p_stPseudoTree+261) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
        M_p_stVectorInterpret(p_stPseudoTree+262) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
      CFast_CallProcedure_Static( 259 ) ;
    }
  }

/* [Vector] *********** [11, 3, 1]*/
  CFast_CallVector1_Static (265) ;

/* [Vector] *********** [12, 3, 2]*/
  CFast_CallVector2_Static (269) ;

/* [Proc : LanceAGO] *********** [12, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+275) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+276) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 273 ) ;

/* [Vector] *********** [11, 3, 1]*/
  CFast_CallVector1_Static (279) ;

/* [Vector] *********** [12, 3, 2]*/
  CFast_CallVector2_Static (283) ;

/* [Proc : LanceAGO] *********** [12, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+289) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+290) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 287 ) ;
  LocalCFast_fn_vSetDsgVarPerso(41, NULL) ;

/* [Proc : TEXT_EntierEnTexte] *********** [9, 2, 0]*/
  CFast_CallProcedure_Static( 293 ) ;

/* [Op : .] ********** [9, 2, 0]*/

/* [Func : ACT_LitBooleenDansTableau] ********** [11, 2, 1]*/
  M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)245 ;

/* [Op : .] ********** [7, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 3, 2, 21) ;
  CFast_memcpy ( 3, 3, 23) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[3][4]) = 1097 ;
  CFast_CallFunction1_NoStatic( ) ;
  long1 = M_GetSetParam_lValue(&CFast_g_a_stParam[1]);
  if ( long1 ) {

/* [Proc : TEXT_EntierEnTexte] *********** [10, 2, 0]*/
    CFast_CallProcedure_Static( 296 ) ;
  }
  else {

/* [Proc : TEXT_EntierEnTexte] *********** [10, 2, 0]*/
    CFast_CallProcedure_Static( 299 ) ;
  }

/* [Proc : TEXT_FormateTexte] *********** [11, 3, 0]*/
  M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
  CFast_memcpy ( 4, 1, 50) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_String);
  M_szStringInterpret(&CFast_g_a_stPseudoTree[4][2]) = ";" ;
  CFast_memcpy ( 4, 3, 50) ;
  CFast_CallProcedure_NoStatic( ) ;

/* [Proc : TEXT_FormateTexte] *********** [11, 3, 0]*/
  CFast_CallProcedure_Static( 302 ) ;

/* [Vector] *********** [13, 3, 2]*/
  CFast_CallVector2_Static (306) ;

/* [Func : TEXT_Affiche] ********** [13, 5, 1]*/
    M_p_stVectorInterpret(p_stPseudoTree+313) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallFunction1_Static( 310 ) ;
  LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
  LocalCFast_fn_vSetDsgVarPerso(42, NULL) ;

/* [Op : .] ********** [11, 2, 0]*/

/* [Proc : TEXT_EntierEnTexte] *********** [12, 2, 0]*/
  M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)241 ;
  CFast_memcpy ( 4, 1, 50) ;

/* [Op : .] ********** [8, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 4, 3, 21) ;
  CFast_memcpy ( 4, 4, 51) ;
  CFast_CallProcedure_NoStatic( ) ;

/* [Proc : TEXT_EntierEnTexte] *********** [10, 2, 0]*/
  CFast_CallProcedure_Static( 316 ) ;

/* [Proc : TEXT_FormateTexte] *********** [11, 3, 0]*/
  M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
  CFast_memcpy ( 4, 1, 50) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_String);
  M_szStringInterpret(&CFast_g_a_stPseudoTree[4][2]) = ";" ;
  CFast_memcpy ( 4, 3, 50) ;
  CFast_CallProcedure_NoStatic( ) ;

/* [Proc : TEXT_FormateTexte] *********** [11, 3, 0]*/
  CFast_CallProcedure_Static( 302 ) ;

/* [Vector] *********** [13, 3, 2]*/
  CFast_CallVector2_Static (319) ;

/* [Func : TEXT_Affiche] ********** [13, 5, 1]*/
    M_p_stVectorInterpret(p_stPseudoTree+326) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallFunction1_Static( 323 ) ;
  LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
  LocalCFast_fn_vSetDsgVarInteger(18, 3) ;

/* [Op : [] ********** [10, 2, 0]*/

/* [Cond : <>] ********** [12, 2, 1]*/
  M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)5 ;

/* [Op : [] ********** [8, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 0 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 2 ;
  long1 = CFast_CallCondition_NoStatic( ) ;
  if ( long1 ) {
    LocalCFast_fn_vSetDsgVarInteger(17, 1) ;
  }
  else {
    LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
  }
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_7 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  if ( 1 ) {
    LocalCFast_fn_vSetDsgVarInteger(55, 0) ;

/* [Proc : EnvoieRequeteMenuSon] *********** [9, 1, 0]*/
    CFast_CallProcedure_Static( 329 ) ;

/* [Proc : Boucle] *********** [9, 1, 0]*/
    {
      int i0;
for ( i0=(*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 18)))) ; i0>0 ; i0-- ) { /* Boucle 0 */

/* [Op : [] ********** [10, 2, 0]*/

/* [Cond : <>] ********** [12, 2, 1]*/
      M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)5 ;

/* [Op : [] ********** [8, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
      long1 = CFast_CallCondition_NoStatic( ) ;
      if ( long1 ) {
        LocalCFast_fn_vSetDsgVarPerso(39, NULL) ;

/* [Op : [] ********** [10, 2, 0]*/

/* [Cond : =] ********** [12, 2, 1]*/
        M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [8, 2, 0]*/
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 3 ;
        long1 = CFast_CallCondition_NoStatic( ) ;
        if ( long1 ) {
          LocalCFast_fn_vSetDsgVarBoolean(7, 1) ;
        }
        else {
          LocalCFast_fn_vSetDsgVarBoolean(7, 0) ;
        }

/* [Cond : =] ********** [10, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 55)))) == (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) ) {
          LocalCFast_fn_vSetDsgVarBoolean(8, 1) ;
        }
        else {
          LocalCFast_fn_vSetDsgVarBoolean(8, 0) ;
        }

/* [Cond : =] ********** [10, 2, 1]*/
        if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 8)))) == 1 ) {

/* [Op : [] ********** [11, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [13, 3, 0]*/
          M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
          M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o240:/w300:" ;

/* [Op : [] ********** [8, 2, 0]*/
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 55 ;
          CFast_memcpy ( 4, 5, 8) ;
          CFast_CallProcedure_NoStatic( ) ;
        }
        else {

/* [Cond : =] ********** [10, 2, 1]*/
          if ( (*((char *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 7)))) == 1 ) {

/* [Op : [] ********** [11, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [13, 3, 0]*/
            M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
            M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o180:/w300:" ;

/* [Op : [] ********** [8, 2, 0]*/
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 55 ;
            CFast_memcpy ( 4, 5, 8) ;
            CFast_CallProcedure_NoStatic( ) ;
          }
          else {

/* [Op : [] ********** [11, 2, 0]*/

/* [Proc : TEXT_FormateTexte] *********** [13, 3, 0]*/
            M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)424 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
            M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "/o0:/w300:" ;

/* [Op : [] ********** [8, 2, 0]*/
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)26 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][3], E_ti_DsgVarRef);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[4][3]) = 9 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_DsgVarRef);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[4][4]) = 55 ;
            CFast_memcpy ( 4, 5, 8) ;
            CFast_CallProcedure_NoStatic( ) ;
          }
        }
        (LocalCFast_fn_p_stGetDsgVarVector(45))->xX = MTH_M_xLongToReal(CFast_fn_lGetDsgVarIntegerArray(10,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55))) ;
        (LocalCFast_fn_p_stGetDsgVarVector(45))->xY = MTH_M_xLongToReal(CFast_fn_lGetDsgVarIntegerArray(11,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55))) ;
        (LocalCFast_fn_p_stGetDsgVarVector(45))->xZ= MTH_M_xLongToReal(LocalCFast_fn_lGetDsgVarInteger(2)) ;

/* [Func : TEXT_Affiche] ********** [13, 5, 1]*/
        CFast_CallFunction1_Static( 86 ) ;
        LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : Alw_EstAMoi] ********** [9, 1, 1]*/
        if ( CFast_CallCondition_Static(331) ) {
          CFast_fn_vSetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),LocalCFast_fn_hGetDsgVarPerso(39)) ;

/* [Op : ..] ********** [11, 1, 0]*/

/* [Proc : ACT_ChangeCustomBit] *********** [12, 3, 0]*/
          CFast_fn_vSetUltraOperatorPersoVar(39);
          CFast_CallProcedure_Static( 52 ) ;
          CFast_fn_vSetDsgVarInteger ( M_CFast_ucGetRealIndice(54), (M_GetMSHandle( (*((HIE_tdxHandleToSuperObject *)M_GetDsgVarAddr(p_stLocalMind0, 39))), Brain)->p_stMind), LocalCFast_fn_lGetDsgVarInteger(5)) ;

/* [Op : [] ********** [10, 2, 0]*/

/* [Cond : =] ********** [12, 2, 1]*/
          M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [8, 2, 0]*/
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 12 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 1 ;
          long1 = CFast_CallCondition_NoStatic( ) ;
          if ( long1 ) {
            CFast_fn_vSetDsgVarInteger ( M_CFast_ucGetRealIndice(55), (M_GetMSHandle( (*((HIE_tdxHandleToSuperObject *)M_GetDsgVarAddr(p_stLocalMind0, 39))), Brain)->p_stMind), LocalCFast_fn_lGetDsgVarInteger(1)) ;
          }
          else {
            CFast_fn_vSetDsgVarInteger ( M_CFast_ucGetRealIndice(55), (M_GetMSHandle( (*((HIE_tdxHandleToSuperObject *)M_GetDsgVarAddr(p_stLocalMind0, 39))), Brain)->p_stMind), 255) ;
          }
        }
      }
      LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)+1)) ;

/* [Proc : FinBoucle] ********** [8, 0, 0]*/
      }
}
  }
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapDesactivation
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapDesactivation (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(140) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
    fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
    CFast_CallProcedure_Static( 333 ) ;
    if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
      return ;
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(126) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
    fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
    CFast_CallProcedure_Static( 335 ) ;
    if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
      return ;
    }
  }
/* [EndTree] ************ [0]*/
  CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(17), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 14)),LocalCFast_fn_lGetDsgVarBoolean(70)) ;

/* [Proc : SPO_SwitchSuperimposedTab] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 337 ) ;

/* [Proc : SON_Reprendre] *********** [0, 0, 0]*/
  CFast_CallProcedure_Static( 339 ) ;

/* [Proc : ActiveMenuMap] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 340 ) ;

/* [Proc : HIER_GeleMoteur] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 342 ) ;

/* [Cond : EstDansComportement] ********** [2, 2, 1]*/
  if ( CFast_CallCondition_Static(344) ) {
    CFast_YAM_GenMenuMap_Macro_8 () ;
/* [BeginMacro : 3] ********** [0]*/
  }
/* [EndTree] ************ [0]*/
  CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(22), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 21)),0) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
  CFast_CallProcedure_Static( 347 ) ;
  CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
  return ;
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_8 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+2));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+1));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+3));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+18));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+19));
  IPT_fn_vDesactivateEntryElement((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+20));
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuChangeValeur
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuChangeValeur (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (349) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 32 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (353) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 46 ) ;
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (349) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 32 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (353) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 46 ) ;
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 1) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 359 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : >] ********** [2, 2, 1]*/
  if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17))))), MTH_M_xFloatToReal(3.000000f)) ) {
    LocalCFast_fn_vSetDsgVarInteger(17, 3) ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : <] ********** [2, 2, 1]*/
  if ( MTH_M_bLess(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17))))), MTH_M_xFloatToReal(2.000000f)) ) {

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 52 ) ;
    LocalCFast_fn_vSetDsgVarInteger(35, LocalCFast_fn_lGetDsgVarInteger(31)) ;

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (56) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;
    LocalCFast_fn_vSetDsgVarBoolean(8, 1) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    if (CFast_YAM_GenMenuMap_Macro_2 ())
      return ;
/* [BeginMacro : 22] ********** [0]*/

/* [Proc : EnvoieRequeteMenuSon] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 6 ) ;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 361 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_9 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  if ( 1 ) {
    LocalCFast_fn_vSetDsgVarInteger(55, 0) ;

/* [Proc : Boucle] *********** [1, 1, 0]*/
    {
      int i0;
for ( i0=(*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 18)))) ; i0>0 ; i0-- ) { /* Boucle 0 */
      LocalCFast_fn_vSetDsgVarPerso(39, CFast_fn_hGetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55))) ;

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
      if ( CFast_CallCondition_Static(76) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
        fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
        CFast_CallProcedure_Static( 84 ) ;
        if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
          CFast_g_bMetaActionInRfx = 1 ;
          if ( CFast_g_bProcessReflex )
            p_stLocalMind0->CFast_lRfxMetaAction = 0 ;
          else
            p_stLocalMind0->CFast_lCmpMetaAction = 0 ;
          return (1) ;
        }
      }
      CFast_fn_vSetDsgVarPersoArray(15,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),NULL) ;
      LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)+1)) ;

/* [Proc : FinBoucle] ********** [0, 0, 0]*/
      }
}
  }
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_10 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 69) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 70) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 71) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,50) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,625) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,50) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,200) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,800) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,650) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,650) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,750) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,200) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,800) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;

/* [Op : .] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
  p_stLocalMind1 = M_pstGetMindOfBrain(M_GetMSHandle(M_CFast_hGetPersoRef(21) ,Brain));
  if ( (*((char *)(M_GetDsgVarAddr(p_stLocalMind1, 19)))) == 0 ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,1) ;
  }
  LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
  LocalCFast_fn_vSetDsgVarInteger(18, 3) ;
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuLangue
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLangue (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 2) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 359 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : TEXT_ChangeLangueCourante] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 363 ) ;
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 2) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 359 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuLoad
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuLoad (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  case 4 : goto label4 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_5 () ;
/* [BeginMacro : 24] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_6 () ;
/* [BeginMacro : 97] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 145 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;
    M_Full_GetSetParam_Integer(&CFast_g_a_stParam[2], (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) + 1);

/* [Func : ChargePartie] ********** [1, 1, 1]*/
      M_lValueInterpret(p_stPseudoTree+366) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallFunction1_Static( 365 ) ;
    LocalCFast_fn_vSetDsgVarInteger(16, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 16)))) == 1 ) {

/* [Func : ACT_LitPointsDeVie] ********** [2, 1, 1]*/
      CFast_CallFunction1_Static( 367 ) ;

/* [Proc : ACT_FixePointsDeVieInit] *********** [2, 2, 0]*/
        M_lValueInterpret(p_stPseudoTree+371) = M_GetSetParam_lValue(CFast_g_a_stParam+1);
      CFast_CallProcedure_Static( 369 ) ;

/* [Proc : ChangeMap] *********** [1, 1, 0]*/
      M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)86 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
      M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "mapmonde" ;
      CFast_CallProcedure_NoStatic( ) ;
    }
    else {
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_5 () ;
/* [BeginMacro : 24] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_6 () ;
/* [BeginMacro : 97] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
      CFast_CallMetaActionInit_Static( 133 ) ;
      p_stLocalMind0->CFast_lCmpMetaAction = 4;
label4 :
      if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
        return ;
      }
      p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 145 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuOptions
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuOptions (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_5 () ;
/* [BeginMacro : 24] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_6 () ;
/* [BeginMacro : 97] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 1) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 145 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 0 ) {
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 372 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 1 ) {
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_12 () ;
/* [BeginMacro : 62] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 361 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 2 ) {
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_13 () ;
/* [BeginMacro : 43] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 374 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_11 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 76) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 77) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 78) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
  CFast_memcpy ( 2, 4, 79) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 4 ;
  CFast_memcpy ( 2, 4, 80) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 5 ;
  CFast_memcpy ( 2, 4, 81) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 6 ;
  CFast_memcpy ( 2, 4, 82) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,600) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,600) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,3,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,4,600) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,5,600) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,6,100) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,225) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,180) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,270) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,3,575) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,4,530) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,5,620) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,6,850) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,150) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,575) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,575) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,3,150) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,4,575) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,5,575) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,6,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,225) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,150) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,300) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,3,575) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,4,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,5,650) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,6,850) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,4) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,3,4) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,5,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,6,2) ;

/* [Func : VID_NbAvailableResolution] ********** [0, 0, 1]*/
  CFast_CallFunction1_Static( 376 ) ;
  LocalCFast_fn_vSetDsgVarInteger(21, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Func : VID_CurrentResolution] ********** [0, 0, 1]*/
  CFast_CallFunction1_Static( 377 ) ;
  LocalCFast_fn_vSetDsgVarInteger(22, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Cond : >] ********** [2, 2, 1]*/
  if ( !( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 21))))), MTH_M_xFloatToReal(1.000000f)) ) ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,1) ;
  }
  M_Full_GetSetParam_Integer(&CFast_g_a_stParam[1], (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 22)))) + 1);

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 12 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = M_GetSetParam_lValue(&CFast_g_a_stParam[1]) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][4]) = 3 ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 22)))) == 1 ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,1) ;
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,5,3) ;
  }
  else {

/* [Cond : VID_IsShapnessMax] ********** [0, 0, 1]*/
    if ( CFast_CallCondition_Static(378) ) {
      CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,2) ;
      CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,5,3) ;
    }
    else {
      CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,3) ;
      CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,5,2) ;
    }
  }
  LocalCFast_fn_vSetDsgVarInteger(18, 7) ;
  LocalCFast_fn_vSetDsgVarInteger(17, (LocalCFast_fn_lGetDsgVarInteger(22) + 1)) ;
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_12 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 84) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 85) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 86) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
  CFast_memcpy ( 2, 4, 87) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 4 ;
  CFast_memcpy ( 2, 4, 88) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,650) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,650) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,3,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,4,100) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,170) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,280) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,3,800) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,4,225) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,630) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,630) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,400) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,3,630) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,4,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,140) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,310) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,3,800) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,4,700) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,3,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,4) ;

/* [Cond : SOUND_IsInStereoMode] ********** [0, 0, 1]*/
  if ( CFast_CallCondition_Static(379) ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,3) ;
    LocalCFast_fn_vSetDsgVarInteger(17, 1) ;
  }
  else {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,3) ;
    LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
  }
  LocalCFast_fn_vSetDsgVarInteger(33, 0) ;
  LocalCFast_fn_vSetDsgVarInteger(34, 127) ;

/* [Func : Option_GetVolumeMusical] ********** [0, 0, 1]*/
  CFast_CallFunction1_Static( 5 ) ;
  LocalCFast_fn_vSetDsgVarInteger(35, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Func : Option_GetVolumeEffets] ********** [0, 0, 1]*/
  CFast_CallFunction1_Static( 55 ) ;
  LocalCFast_fn_vSetDsgVarInteger(36, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 12 ) ;
  M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
    M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
  CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (56) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 32 ) ;
  M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
    M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
  CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (42) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 46 ) ;
  LocalCFast_fn_vSetDsgVarInteger(18, 5) ;
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_13 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 89) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 90) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 91) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
  CFast_memcpy ( 2, 4, 92) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 4 ;
  CFast_memcpy ( 2, 4, 93) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,25) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,25) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,25) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,3,25) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,4,25) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,200) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,350) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,3,650) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,4,800) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,3,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,4,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,200) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,350) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,3,650) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,4,800) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,1) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,3,1) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,4,1) ;
  LocalCFast_fn_vSetDsgVarInteger(18, 5) ;

/* [Func : TEXT_GetCurrentLanguageId] ********** [0, 0, 1]*/
  CFast_CallFunction1_Static( 380 ) ;
  LocalCFast_fn_vSetDsgVarInteger(17, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17),3) ;
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuPrincipal
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuPrincipal (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ? 1 : 0;
  if ( !long1 ) {

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ? 1 : 0;
  }
  if ( long1 ) {
    if (CFast_YAM_GenMenuMap_Macro_14 ())
      return ;
/* [BeginMacro : 24] ********** [0]*/
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 0 ) {
      CFast_YAM_GenMenuMap_Macro_5 () ;
/* [BeginMacro : 24] ********** [0]*/

/* [Cond : <>] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 19)))) != 0 ) {
        if (CFast_YAM_GenMenuMap_Macro_14 ())
          return ;
/* [BeginMacro : 24] ********** [0]*/
        if (CFast_YAM_GenMenuMap_Macro_9 ())
          return ;
/* [BeginMacro : 7] ********** [0]*/
        CFast_YAM_GenMenuMap_Macro_15 () ;
/* [BeginMacro : 66] ********** [0]*/
        CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
        CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
        CFast_CallProcedure_Static( 381 ) ;
        CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
        return ;
      }
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 1 ) {
      if (CFast_YAM_GenMenuMap_Macro_14 ())
        return ;
/* [BeginMacro : 24] ********** [0]*/
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 359 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 2 ) {

/* [Func : ACT_LitPointsDeVie] ********** [2, 1, 1]*/
      CFast_CallFunction1_Static( 367 ) ;

/* [Proc : ACT_FixePointsDeVieInit] *********** [2, 2, 0]*/
        M_lValueInterpret(p_stPseudoTree+371) = M_GetSetParam_lValue(CFast_g_a_stParam+1);
      CFast_CallProcedure_Static( 369 ) ;

/* [Proc : MAP_IndiqueLaSortieUtilisee] *********** [2, 2, 0]*/
      CFast_CallProcedure_Static( 383 ) ;

/* [Proc : ChangeMap] *********** [1, 1, 0]*/
      M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)86 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_String);
      M_szStringInterpret(&CFast_g_a_stPseudoTree[4][1]) = "mapmonde" ;
      CFast_CallProcedure_NoStatic( ) ;
    }
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_14 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+392) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+393) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 390 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+201) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+202) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 199 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+398) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+399) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 396 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+404) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+405) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 402 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+410) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+411) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 408 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+416) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+417) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 414 ) ;

/* [Vector] *********** [4, 3, 1]*/
  CFast_CallVector1_Static (171) ;

/* [Vector] *********** [5, 3, 2]*/
  CFast_CallVector2_Static (386) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
    M_p_stVectorInterpret(p_stPseudoTree+422) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
    M_p_stVectorInterpret(p_stPseudoTree+423) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
  CFast_CallProcedure_Static( 420 ) ;

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(426) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
    fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
    CFast_CallProcedure_Static( 428 ) ;
    if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
      CFast_g_bMetaActionInRfx = 1 ;
      if ( CFast_g_bProcessReflex )
        p_stLocalMind0->CFast_lRfxMetaAction = 0 ;
      else
        p_stLocalMind0->CFast_lCmpMetaAction = 0 ;
      return (1) ;
    }
  }

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
  if ( CFast_CallCondition_Static(430) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
    fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
    CFast_CallProcedure_Static( 432 ) ;
    if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
      CFast_g_bMetaActionInRfx = 1 ;
      if ( CFast_g_bProcessReflex )
        p_stLocalMind0->CFast_lRfxMetaAction = 0 ;
      else
        p_stLocalMind0->CFast_lCmpMetaAction = 0 ;
      return (1) ;
    }
  }
  return 0 ;
}
long CFast_YAM_GenMenuMap_Macro_15 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
  CFast_memcpy ( 2, 4, 95) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 96) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 97) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
  CFast_memcpy ( 2, 4, 36) ;
  CFast_CallOperator0_NoStatic( ) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,100) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,3,100) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,400) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,600) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,800) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,3,100) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,0,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,2,500) ;
  CFast_fn_vSetDsgVarIntegerArray(13,p_stLocalMind0,3,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,0,300) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,1,500) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,2,700) ;
  CFast_fn_vSetDsgVarIntegerArray(14,p_stLocalMind0,3,100) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,3,4) ;
  if ( 1 ) {
    LocalCFast_fn_vSetDsgVarInteger(55, 2) ;

/* [Proc : Boucle] *********** [1, 1, 0]*/
    {
      int i0;
for ( i0=3 ; i0>0 ; i0-- ) { /* Boucle 0 */

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 2]*/
      M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
      long1 = CFast_CallCondition_NoStatic( ) ;
      if ( !long1 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 3]*/
        M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 55 ;
        M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = -1 ;
        long1 = CFast_CallCondition_NoStatic( ) ;
      }
      if ( long1 ) {
        CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(55),1) ;
      }
      else {
        LocalCFast_fn_vSetDsgVarInteger(53, LocalCFast_fn_lGetDsgVarInteger(55)) ;
      }
      LocalCFast_fn_vSetDsgVarInteger(55, (LocalCFast_fn_lGetDsgVarInteger(55)-1)) ;

/* [Proc : FinBoucle] ********** [0, 0, 0]*/
      }
}
  }

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
  M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 2 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 1 ;
  long1 = CFast_CallCondition_NoStatic( ) ;
  if ( long1 ) {

/* [Func : TEXT_LitNomDuSlot] ********** [2, 1, 1]*/
    CFast_CallFunction1_Static( 434 ) ;

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      M_lValueInterpret(p_stPseudoTree+438) = M_GetSetParam_lValue(CFast_g_a_stParam+1);
    CFast_CallProcedure_Static( 436 ) ;
  }
  else {

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
    M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 2 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
    long1 = CFast_CallCondition_NoStatic( ) ;
    if ( long1 ) {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 440 ) ;
    }
    else {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 444 ) ;
    }
  }

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
  M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 1 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 1 ;
  long1 = CFast_CallCondition_NoStatic( ) ;
  if ( long1 ) {

/* [Func : TEXT_LitNomDuSlot] ********** [2, 1, 1]*/
    CFast_CallFunction1_Static( 448 ) ;

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      M_lValueInterpret(p_stPseudoTree+452) = M_GetSetParam_lValue(CFast_g_a_stParam+1);
    CFast_CallProcedure_Static( 450 ) ;
  }
  else {

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
    M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 1 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
    long1 = CFast_CallCondition_NoStatic( ) ;
    if ( long1 ) {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 454 ) ;
    }
    else {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 458 ) ;
    }
  }

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
  M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 0 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 1 ;
  long1 = CFast_CallCondition_NoStatic( ) ;
  if ( long1 ) {

/* [Func : TEXT_LitNomDuSlot] ********** [2, 1, 1]*/
    CFast_CallFunction1_Static( 462 ) ;

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      M_lValueInterpret(p_stPseudoTree+466) = M_GetSetParam_lValue(CFast_g_a_stParam+1);
    CFast_CallProcedure_Static( 464 ) ;
  }
  else {

/* [Op : [] ********** [2, 2, 0]*/

/* [Cond : =] ********** [4, 2, 1]*/
    M_eCondIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Condition][0]) = (tdeCondId)4 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[1][1]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][2], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][2]) = 24 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][3], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][3]) = 0 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[1][4], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[1][4]) = 0 ;
    long1 = CFast_CallCondition_NoStatic( ) ;
    if ( long1 ) {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 468 ) ;
    }
    else {

/* [Proc : TEXT_FormateTexte] *********** [3, 3, 0]*/
      CFast_CallProcedure_Static( 472 ) ;
    }
  }
  LocalCFast_fn_vSetDsgVarInteger(18, 4) ;
  LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(53)) ;
  LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuSound
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuSound (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (349) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 32 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (353) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 46 ) ;
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (349) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 32 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (353) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 46 ) ;
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 1) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 359 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 2 ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+14) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+15) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 12 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 35))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+21) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (18) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (22) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+28) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+29) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 26 ) ;
    LocalCFast_fn_vSetDsgVarInteger(32, 0) ;
    LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(35)) ;

/* [Proc : ACT_ChangeCustomBit] *********** [2, 2, 0]*/
    CFast_CallProcedure_Static( 52 ) ;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 476 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 478 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 3 ) {

/* [Vector] *********** [4, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+34) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+35) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 32 ) ;
    M_Full_GetSetParam_Float(&CFast_g_a_stParam[2], MTH_M_xDiv(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 36))))),MTH_M_xFloatToReal(1.270000f)));

/* [Vector] *********** [4, 3, 1]*/
      M_lValueInterpret(p_stPseudoTree+41) = M_GetSetParam_lValue(CFast_g_a_stParam+2);
    CFast_CallVector1_Static (38) ;

/* [Vector] *********** [5, 3, 2]*/
    CFast_CallVector2_Static (60) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
      M_p_stVectorInterpret(p_stPseudoTree+48) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      M_p_stVectorInterpret(p_stPseudoTree+49) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallProcedure_Static( 46 ) ;
    LocalCFast_fn_vSetDsgVarInteger(32, 1) ;
    LocalCFast_fn_vSetDsgVarInteger(31, LocalCFast_fn_lGetDsgVarInteger(36)) ;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 476 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 478 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 0 ) {

/* [Proc : SOUND_SetInStereoMode] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 480 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_12 () ;
/* [BeginMacro : 62] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 1 ) {

/* [Proc : SOUND_SetInStereoMode] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 482 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_12 () ;
/* [BeginMacro : 62] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuVideo
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuVideo (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  case 4 : goto label4 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_10 () ;
/* [BeginMacro : 29] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 0) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 359 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 1 ) {

/* [Proc : VID_SelectResolution] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 484 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 2 ) {

/* [Proc : VID_SelectResolution] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 486 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 4 ) {

/* [Proc : VID_SelectShapnessMax] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 488 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 5 ) {

/* [Proc : VID_SelectShapnessMax] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 490 ) ;
      LocalCFast_fn_vSetDsgVarInteger(56, LocalCFast_fn_lGetDsgVarInteger(17)) ;
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
      LocalCFast_fn_vSetDsgVarInteger(17, LocalCFast_fn_lGetDsgVarInteger(56)) ;
      LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 17)))) == 6 ) {

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
      if ( CFast_CallCondition_Static(140) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
        fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
        CFast_CallProcedure_Static( 333 ) ;
        if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
          return ;
        }
      }
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      (LocalCFast_fn_p_stGetDsgVarVector(45))->xX = MTH_M_xLongToReal(500) ;
      (LocalCFast_fn_p_stGetDsgVarVector(45))->xY = MTH_M_xLongToReal(400) ;
      (LocalCFast_fn_p_stGetDsgVarVector(45))->xZ= MTH_M_xLongToReal(LocalCFast_fn_lGetDsgVarInteger(2)) ;
      LocalCFast_fn_vSetDsgVarPerso(41, NULL) ;

/* [Func : TEXT_Affiche] ********** [5, 5, 1]*/
      CFast_CallFunction1_Static( 492 ) ;
      LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;
      (LocalCFast_fn_p_stGetDsgVarVector(45))->xY = MTH_M_xLongToReal(600) ;
      LocalCFast_fn_vSetDsgVarPerso(40, NULL) ;

/* [Func : TEXT_Affiche] ********** [5, 5, 1]*/
      CFast_CallFunction1_Static( 498 ) ;
      LocalCFast_fn_vSetDsgVarInteger(43, M_GetSetParam_lValue(CFast_g_a_stParam+1)) ;

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
      CFast_CallMetaActionInit_Static( 133 ) ;
      p_stLocalMind0->CFast_lCmpMetaAction = 4;
label4 :
      if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
        return ;
      }
      p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
      CFast_CallProcedure_Static( 504 ) ;
      CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
      return ;
    }
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapMenuCentre
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapMenuCentre (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  }

/* [Proc : VID_CenterScreen] *********** [0, 0, 0]*/
  CFast_CallProcedure_Static( 506 ) ;

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 1]*/
  if ( (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ) {

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(426) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
      fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
      CFast_CallProcedure_Static( 428 ) ;
      if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
        return ;
      }
    }

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(507) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
      fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
      CFast_CallProcedure_Static( 509 ) ;
      if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
        return ;
      }
    }

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ? 1 : 0;
  if ( !long1 ) {

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ? 1 : 0;
  }
  if ( long1 ) {

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(426) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
      fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
      CFast_CallProcedure_Static( 428 ) ;
      if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
        return ;
      }
    }

/* [Cond : ObjetValide] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(507) ) {

/* [Proc : DetruitPerso] *********** [1, 1, 0]*/
      fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
      CFast_CallProcedure_Static( 509 ) ;
      if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
        return ;
      }
    }
    CFast_YAM_GenMenuMap_Macro_11 () ;
/* [BeginMacro : 73] ********** [0]*/
    LocalCFast_fn_vSetDsgVarInteger(17, 6) ;
    LocalCFast_fn_vSetDsgVarInteger(37, CFast_fn_lGetDsgVarIntegerArray(13,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    LocalCFast_fn_vSetDsgVarInteger(38, CFast_fn_lGetDsgVarIntegerArray(14,p_stLocalMind0,LocalCFast_fn_lGetDsgVarInteger(17))) ;
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 135 ) ;

/* [Vector] *********** [4, 3, 2]*/
    CFast_CallVector2_Static (8) ;

/* [Func : GenereObjet] ********** [2, 2, 1]*/
      M_p_stVectorInterpret(p_stPseudoTree+139) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
    CFast_CallFunction1_Static( 137 ) ;
    LocalCFast_fn_vSetDsgVarPersoWithEngine(0, M_GetSetParam_p_stEngineObjValue(CFast_g_a_stParam+1)) ;

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(140) ) {
      CFast_fn_vSetDsgVarPerso ( M_CFast_ucGetRealIndice(59), (M_GetMSHandle( (*((HIE_tdxHandleToSuperObject *)M_GetDsgVarAddr(p_stLocalMind0, 0))), Brain)->p_stMind), g_hSuperObjectPerso) ;

/* [Proc : ChangeComportement] *********** [2, 2, 0]*/
      CFast_CallProcedure_Static( 142 ) ;
    }

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 372 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapLivrePolochus
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapLivrePolochus (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;

  switch(p_stLocalMind0->CFast_lCmpMetaAction) {
  case 1 : goto label1 ;
  case 2 : goto label2 ;
  case 3 : goto label3 ;
  }

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ? 1 : 0;
  if ( !long1 ) {

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+1)) ? 1 : 0;
  }
  if ( long1 ) {
    if (CFast_YAM_GenMenuMap_Macro_9 ())
      return ;
/* [BeginMacro : 7] ********** [0]*/

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
    CFast_CallMetaActionInit_Static( 133 ) ;
    p_stLocalMind0->CFast_lCmpMetaAction = 1;
label1 :
    if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
      return ;
    }
    p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+68)) ? 1 : 0;
  if ( !long1 ) {

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+2)) ? 1 : 0;
  }
  if ( long1 ) {

/* [Cond : <>] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67)))) != 1 ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
      CFast_CallMetaActionInit_Static( 133 ) ;
      p_stLocalMind0->CFast_lCmpMetaAction = 2;
label2 :
      if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
        return ;
      }
      p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : >] ********** [2, 2, 1]*/
      if ( MTH_M_bGreater(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66))))), MTH_M_xFloatToReal(1.000000f)) ) {
        LocalCFast_fn_vSetDsgVarInteger(66, (LocalCFast_fn_lGetDsgVarInteger(66)-1)) ;
      }
      else {
        LocalCFast_fn_vSetDsgVarInteger(66, LocalCFast_fn_lGetDsgVarInteger(67)) ;
      }
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_16 () ;
/* [BeginMacro : 85] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+75)) ? 1 : 0;
  if ( !long1 ) {

/* [Cond : BoutonJusteAppuye] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsJustValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+3)) ? 1 : 0;
  }
  if ( long1 ) {

/* [Cond : <>] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67)))) != 1 ) {

/* [Meta : Temps_AttenteFigee] ********** [1, 1, 0]*/
      CFast_CallMetaActionInit_Static( 133 ) ;
      p_stLocalMind0->CFast_lCmpMetaAction = 3;
label3 :
      if ( CFast_CallMetaAction(0) & (C_DefaultMetaActionNotFinished)) {
        return ;
      }
      p_stLocalMind0->CFast_lCmpMetaAction = 0;

/* [Cond : <] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) < (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67)))) ) {
        LocalCFast_fn_vSetDsgVarInteger(66, (LocalCFast_fn_lGetDsgVarInteger(66)+1)) ;
      }
      else {
        LocalCFast_fn_vSetDsgVarInteger(66, 1) ;
      }
      if (CFast_YAM_GenMenuMap_Macro_9 ())
        return ;
/* [BeginMacro : 7] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_16 () ;
/* [BeginMacro : 85] ********** [0]*/
      CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/
    }
  }
/* [EndTree] ************ [0]*/
}

long CFast_YAM_GenMenuMap_Macro_16 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 1 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
    CFast_memcpy ( 2, 4, 107) ;
    CFast_CallOperator0_NoStatic( ) ;
  }
  else {

/* [Cond : =] ********** [2, 2, 1]*/
    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 2 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
      CFast_memcpy ( 2, 4, 108) ;
      CFast_CallOperator0_NoStatic( ) ;
    }
    else {

/* [Cond : =] ********** [2, 2, 1]*/
      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 3 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
        CFast_memcpy ( 2, 4, 109) ;
        CFast_CallOperator0_NoStatic( ) ;
      }
      else {

/* [Cond : =] ********** [2, 2, 1]*/
        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 4 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
          CFast_memcpy ( 2, 4, 110) ;
          CFast_CallOperator0_NoStatic( ) ;
        }
        else {

/* [Cond : =] ********** [2, 2, 1]*/
          if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 5 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
            M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
            CFast_memcpy ( 2, 4, 111) ;
            CFast_CallOperator0_NoStatic( ) ;
          }
          else {

/* [Cond : =] ********** [2, 2, 1]*/
            if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 6 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
              M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
              M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
              M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
              M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
              CFast_memcpy ( 2, 4, 112) ;
              CFast_CallOperator0_NoStatic( ) ;
            }
            else {

/* [Cond : =] ********** [2, 2, 1]*/
              if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 7 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                CFast_memcpy ( 2, 4, 113) ;
                CFast_CallOperator0_NoStatic( ) ;
              }
              else {

/* [Cond : =] ********** [2, 2, 1]*/
                if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 8 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                  CFast_memcpy ( 2, 4, 114) ;
                  CFast_CallOperator0_NoStatic( ) ;
                }
                else {

/* [Cond : =] ********** [2, 2, 1]*/
                  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 9 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                    CFast_memcpy ( 2, 4, 115) ;
                    CFast_CallOperator0_NoStatic( ) ;
                  }
                  else {

/* [Cond : =] ********** [2, 2, 1]*/
                    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 10 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                      CFast_memcpy ( 2, 4, 116) ;
                      CFast_CallOperator0_NoStatic( ) ;
                    }
                    else {

/* [Cond : =] ********** [2, 2, 1]*/
                      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 11 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                        CFast_memcpy ( 2, 4, 117) ;
                        CFast_CallOperator0_NoStatic( ) ;
                      }
                      else {

/* [Cond : =] ********** [2, 2, 1]*/
                        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 12 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                          CFast_memcpy ( 2, 4, 118) ;
                          CFast_CallOperator0_NoStatic( ) ;
                        }
                        else {

/* [Cond : =] ********** [2, 2, 1]*/
                          if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 13 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                            M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                            M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                            M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                            M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                            CFast_memcpy ( 2, 4, 119) ;
                            CFast_CallOperator0_NoStatic( ) ;
                          }
                          else {

/* [Cond : =] ********** [2, 2, 1]*/
                            if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 14 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                              M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                              M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                              M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                              M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                              M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                              CFast_memcpy ( 2, 4, 120) ;
                              CFast_CallOperator0_NoStatic( ) ;
                            }
                            else {

/* [Cond : =] ********** [2, 2, 1]*/
                              if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 15 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                CFast_memcpy ( 2, 4, 121) ;
                                CFast_CallOperator0_NoStatic( ) ;
                              }
                              else {

/* [Cond : =] ********** [2, 2, 1]*/
                                if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 16 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                  CFast_memcpy ( 2, 4, 122) ;
                                  CFast_CallOperator0_NoStatic( ) ;
                                }
                                else {

/* [Cond : =] ********** [2, 2, 1]*/
                                  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 17 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                    CFast_memcpy ( 2, 4, 123) ;
                                    CFast_CallOperator0_NoStatic( ) ;
                                  }
                                  else {

/* [Cond : =] ********** [2, 2, 1]*/
                                    if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 18 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                      M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                      CFast_memcpy ( 2, 4, 124) ;
                                      CFast_CallOperator0_NoStatic( ) ;
                                    }
                                    else {

/* [Cond : =] ********** [2, 2, 1]*/
                                      if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 19 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                        M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                        M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                        M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                        CFast_memcpy ( 2, 4, 125) ;
                                        CFast_CallOperator0_NoStatic( ) ;
                                      }
                                      else {

/* [Cond : =] ********** [2, 2, 1]*/
                                        if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 66)))) == 20 ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
                                          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
                                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
                                          M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
                                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
                                          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
                                          M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
                                          M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 0 ;
                                          CFast_memcpy ( 2, 4, 126) ;
                                          CFast_CallOperator0_NoStatic( ) ;
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 1 ;
  CFast_memcpy ( 2, 4, 24) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
  M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 2 ;
  CFast_memcpy ( 2, 4, 32) ;
  CFast_CallOperator0_NoStatic( ) ;

/* [Cond : <] ********** [2, 2, 1]*/
  if ( MTH_M_bLess(MTH_M_xLongToReal((*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 68))))), MTH_M_xFloatToReal(50.000000f)) ) {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
    CFast_memcpy ( 2, 4, 127) ;
    CFast_CallOperator0_NoStatic( ) ;
  }
  else {

/* [Op : [] ********** [2, 2, 0]*/

/* [Op : :=] ********** [4, 2, 0]*/
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)11 ;

/* [Op : [] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)26 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_DsgVarRef);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][2]) = 9 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[2][3]) = 3 ;
    CFast_memcpy ( 2, 4, 128) ;
    CFast_CallOperator0_NoStatic( ) ;
  }
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,0,70) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,1,70) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,2,70) ;
  CFast_fn_vSetDsgVarIntegerArray(10,p_stLocalMind0,3,70) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,0,200) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,1,100) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,2,820) ;
  CFast_fn_vSetDsgVarIntegerArray(11,p_stLocalMind0,3,900) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,0,2) ;
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,1,2) ;

/* [Cond : =] ********** [2, 2, 1]*/
  if ( (*((int *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 67)))) == 20 ) {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,0) ;
  }
  else {
    CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,2,2) ;
  }
  CFast_fn_vSetDsgVarIntegerArray(12,p_stLocalMind0,3,2) ;
  LocalCFast_fn_vSetDsgVarInteger(18, 4) ;
  return 0 ;
}
/*
 * Model : YAM_GenMenuMap Comportement YAM_MapInit2
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapInit2 (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Cond : BoutonRelache] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsInvalidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+16)) ? 1 : 0;
if ( long1 ) {

/* [Cond : BoutonRelache] ********** [1, 1, 3]*/
    long1 = (long)IPT_fn_bIsInvalidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0)) ? 1 : 0;
  }
  if ( long1 ) {

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 511 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

/*
 * Model : YAM_GenMenuMap Comportement YAM_MapInitLivre
 */
void CFast_YAM_GenMenuMap_Cmp_YAM_MapInitLivre (void)
{
  MTH3D_tdstVector stVector0;


  register  AI_tdstMind * p_stLocalMind0 = p_stGlobalMind ;
  register struct tdstNodeInterpret_   *p_stRefTree = gp_stRefTree;
  register struct tdstNodeInterpret_ * p_stPseudoTree = gp_stPseudoTree ;
  register tdstIntelligence * p_stIntelligence = p_stLocalMind0 -> p_stIntelligence ;
  register char * p_cLocalDsgMemBuffer = p_cGlobalDsgMemBuffer ;
  register tdstDsgVarInfo * p_stLocalDsgVarInfo = p_stGlobalDsgVarInfo ;

  register long long1 , long2 ;
  long long3 , long4 , long5 , long6 , long7 , long8 ;
  register AI_tdstMind * p_stLocalMind1 , * p_stLocalMind2 , * p_stLocalMind4 , * p_stLocalMind8 ;


/* [Cond : BoutonAppuye] ********** [1, 1, 2]*/
  long1 = (long)IPT_fn_bIsValidated((IPT_tdxHandleToEntryElement) M_lValueInterpret(p_stRefTree+0)) ? 1 : 0;
if ( long1 ) {

/* [Cond : EstDansComportement] ********** [2, 2, 3]*/
    long1 = CFast_CallCondition_Static(147) ;
  }
  if ( !long1 ) {

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 357 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
  CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(130), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 35)),1) ;
  CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(131), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 35)),1) ;
  CFast_fn_vSetDsgVarBoolean(M_CFast_ucGetRealIndice(132), AI_M_stGetMindOfSuperObj(M_CFast_hGetPersoRef( 35)),1) ;

/* [Op : ..] ********** [3, 1, 0]*/

/* [Proc : Cam_ChangeConstants] *********** [4, 3, 0]*/
  CFast_fn_vSetUltraOperatorPersoRef(35);
  CFast_CallProcedure_Static( 513 ) ;

/* [Op : ..] ********** [4, 1, 0]*/

/* [Proc : Cam_ChangeLinearSpeed] *********** [5, 4, 0]*/
  CFast_fn_vSetUltraOperatorPersoRef(35);
  CFast_CallProcedure_Static( 516 ) ;

/* [Op : ..] ********** [4, 1, 0]*/

/* [Proc : Cam_ChangeTargetSpeed] *********** [5, 4, 0]*/
  CFast_fn_vSetUltraOperatorPersoRef(35);
  CFast_CallProcedure_Static( 520 ) ;

/* [Op : .] ********** [4, 2, 0]*/

/* [Vector] *********** [8, 3, 2]*/
  CFast_CallVector2_Static (524) ;

/* [Op : v+] ********** [6, 2, 1]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)16 ;

/* [Op : .] ********** [2, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 2, 2, 14) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Field);
  M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][3]) = (tdeFieldId)0 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_ConstantVector);
  M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[2][4]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[2]) ;
  CFast_CallOperator1_NoStatic( ) ;

/* [Op : ..] ********** [4, 1, 0]*/

/* [Proc : Cam_ForceTarget] *********** [5, 4, 0]*/
  CFast_fn_vSetUltraOperatorPersoRef(35);
    M_p_stVectorInterpret(p_stPseudoTree+531) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
  CFast_CallProcedure_Static( 528 ) ;

/* [Op : .] ********** [4, 2, 0]*/

/* [Vector] *********** [8, 3, 2]*/
  CFast_CallVector2_Static (524) ;

/* [Op : v+] ********** [6, 2, 1]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)16 ;

/* [Op : .] ********** [2, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 2, 2, 14) ;
  M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][3]) = (tdeFieldId)0 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_ConstantVector);
  M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[2][4]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[2]) ;
  CFast_CallOperator1_NoStatic( ) ;

/* [Op : ..] ********** [4, 1, 0]*/

/* [Proc : Cam_ForcePosition] *********** [5, 4, 0]*/
  CFast_fn_vSetUltraOperatorPersoRef(35);
    M_p_stVectorInterpret(p_stPseudoTree+535) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
  CFast_CallProcedure_Static( 532 ) ;

/* [Op : .] ********** [2, 2, 0]*/

/* [Vector] *********** [6, 3, 4]*/
  CFast_CallVector4_Static (524) ;

/* [Op : v+] ********** [4, 2, 3]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)16 ;

/* [Op : .] ********** [0, 2, 0]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 2, 2, 14) ;
  M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][3]) = (tdeFieldId)0 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_ConstantVector);
  M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[2][4]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[4]) ;
  CFast_CallOperator3_NoStatic( ) ;

/* [Op : .] ********** [3, 2, 0]*/

/* [Op : v-] ********** [4, 2, 2]*/
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)17 ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_ConstantVector);
  M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[2][1]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[3]) ;

/* [Op : .] ********** [0, 2, 0]*/
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][2], E_ti_Operator);
  M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][2]) = (tdeOperatorId)12 ;
  CFast_memcpy ( 2, 3, 35) ;
  M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_Field);
  M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][4]) = (tdeFieldId)0 ;
  CFast_CallOperator2_NoStatic( ) ;
  M_GetSetParam_xValue(&CFast_g_a_stParam[1]) = MTH3D_M_xNormVector(&M_GetSetParam_stVectorValue(&CFast_g_a_stParam[2]));
  M_GetSetParam_Type(&CFast_g_a_stParam[1]) = E_vt_Float;
  LocalCFast_fn_vSetDsgVarFloat(64, M_GetSetParam_xValue(CFast_g_a_stParam+1)) ;
  if ( ! ( gcGlobAleat & 0x7 ) )
  {
    if ( 1 ) {

/* [Op : .] ********** [3, 2, 0]*/

/* [Vector] *********** [7, 3, 2]*/
      CFast_CallVector2_Static (536) ;

/* [Op : v+] ********** [5, 2, 1]*/
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Operator][0]) = (tdeOperatorId)16 ;

/* [Op : .] ********** [1, 2, 0]*/
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][1], E_ti_Operator);
      M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[2][1]) = (tdeOperatorId)12 ;
      CFast_memcpy ( 2, 2, 14) ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][3], E_ti_Field);
      M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[2][3]) = (tdeFieldId)0 ;
      M_SetTypeInterpret(&CFast_g_a_stPseudoTree[2][4], E_ti_ConstantVector);
      M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[2][4]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[2]) ;
      CFast_CallOperator1_NoStatic( ) ;

/* [Vector] *********** [5, 3, 2]*/
      CFast_CallVector2_Static (8) ;

/* [Proc : LanceAGO] *********** [5, 5, 0]*/
        M_p_stVectorInterpret(p_stPseudoTree+542) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
        M_p_stVectorInterpret(p_stPseudoTree+543) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
      CFast_CallProcedure_Static( 540 ) ;
    }
  }
/* [EndTree] ************ [0]*/

/* [Cond : <] ********** [2, 2, 1]*/
  if ( MTH_M_bLess((*((MTH_tdxReal *)(M_LocalGetDsgVarAddr(p_stLocalMind0, 64)))), MTH_M_xFloatToReal(1.000000f)) ) {

/* [Proc : SON_Pause] *********** [0, 0, 0]*/
    CFast_CallProcedure_Static( 546 ) ;

/* [Proc : SPO_SwitchSuperimposedTab] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 117 ) ;

/* [Proc : HIER_GeleMoteur] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 119 ) ;
    CFast_YAM_GenMenuMap_Macro_3 () ;
/* [BeginMacro : 3] ********** [0]*/

/* [Op : .] ********** [3, 2, 0]*/

/* [Func : GenereObjet] ********** [4, 2, 1]*/
    M_eFuncIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Function][0]) = (tdeFuncId)66 ;
    CFast_memcpy ( 3, 1, 34) ;

/* [Op : .] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][2], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[3][2]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 3, 3, 35) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[3][4], E_ti_Field);
    M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[3][4]) = (tdeFieldId)0 ;
    CFast_CallFunction1_NoStatic( ) ;
    LocalCFast_fn_vSetDsgVarPersoWithEngine(6, M_GetSetParam_p_stEngineObjValue(CFast_g_a_stParam+1)) ;

/* [Cond : Alw_EstAMoi] ********** [1, 1, 1]*/
    if ( CFast_CallCondition_Static(126) ) {

/* [Op : ..] ********** [1, 1, 0]*/

/* [Func : ACT_ViseePerso] ********** [2, 1, 2]*/
      CFast_fn_vSetUltraOperatorPersoRef(35);
      CFast_CallFunction2_Static( 128 ) ;

/* [Op : v_] ********** [1, 1, 1]*/
        M_p_stVectorInterpret(p_stPseudoTree+130) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+2);
      CFast_CallOperator1_Static( 129 ) ;

/* [Op : ..] ********** [2, 1, 0]*/

/* [Proc : ACT_ChangeViseeQuelconquePerso] *********** [3, 2, 0]*/
      CFast_fn_vSetUltraOperatorPersoVar(6);
        M_p_stVectorInterpret(p_stPseudoTree+132) = &M_GetSetParam_stVectorValue(CFast_g_a_stParam+1);
      CFast_CallProcedure_Static( 131 ) ;

/* [Op : ..] ********** [2, 1, 0]*/

/* [Proc : ChangeAction] *********** [3, 2, 0]*/
      CFast_fn_vSetUltraOperatorPersoVar(6);
      fn_vSetProcedureActionReturn(C_ACTION_ENGINE_CONTINUE);
      CFast_CallProcedure_Static( 547 ) ;
      if (fn_ucGetProcedureActionReturn() != (C_ACTION_ENGINE_CONTINUE))
{
        return ;
      }
    }

/* [Proc : ActiveMenuMap] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 121 ) ;
    CFast_YAM_GenMenuMap_Macro_16 () ;
/* [BeginMacro : 85] ********** [0]*/
    CFast_YAM_GenMenuMap_Macro_7 () ;
/* [BeginMacro : 37] ********** [0]*/

/* [Op : .] ********** [3, 2, 0]*/

/* [Vector] *********** [7, 3, 1]*/
    CFast_CallVector1_Static (8) ;

/* [Proc : LanceAGO] *********** [7, 5, 0]*/
    M_eProcedureIdInterpret(&CFast_g_a_stPseudoTree[E_ti_Procedure][0]) = (tdeProcedureId)495 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][1], E_ti_Constant);
    M_lValueInterpret(&CFast_g_a_stPseudoTree[4][1]) = 9 ;

/* [Op : .] ********** [0, 2, 0]*/
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][2], E_ti_Operator);
    M_eOperatorIdInterpret(&CFast_g_a_stPseudoTree[4][2]) = (tdeOperatorId)12 ;
    CFast_memcpy ( 4, 3, 35) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][4], E_ti_Field);
    M_eFieldIdInterpret(&CFast_g_a_stPseudoTree[4][4]) = (tdeFieldId)0 ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][5], E_ti_ConstantVector);
    M_p_stVectorInterpret(&CFast_g_a_stPseudoTree[4][5]) = &M_GetSetParam_stVectorValue(&CFast_g_a_stParam[1]) ;
    CFast_memcpy ( 4, 6, 133) ;
    M_SetTypeInterpret(&CFast_g_a_stPseudoTree[4][7], E_ti_Real);
    M_xValueInterpret(&CFast_g_a_stPseudoTree[4][7]) = MTH_M_xFloatToReal(0.000000f) ;
    CFast_CallProcedure_NoStatic( ) ;

/* [Proc : ChangeMonComportementReflexe] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 152 ) ;

/* [Proc : ChangeMonComportement] *********** [1, 1, 0]*/
    CFast_CallProcedure_Static( 549 ) ;
    CFast_YAM_GenMenuMap_ArrayComport[p_stIntelligence->p_stCurrentComport->CFast_lMyIndex]();
    return ;
  }
/* [EndTree] ************ [0]*/
}

void CFast_Dummy_YAM_GenMenuMap(void) {
#ifdef DEBUG_CFAST
  long lSize ;
  FILE *fd = fopen ( "CfastAISize.log", "a") ;

  lSize = (long)CFast_Dummy_YAM_GenMenuMap - (long)CFast_YAM_GenMenuMap_Main ;
  lSize += sizeof ( CFast_YAM_GenMenuMap_ArrayReflex ) ;
  lSize += sizeof ( CFast_YAM_GenMenuMap_ArrayComport ) ;
  lSize += 4408;
  fprintf ( fd, "YAM_GenMenuMap : 	AI = 118224\tC = %d\tDiff = %+d\n", lSize, 118224-lSize ) ;
  fclose (fd) ;
#endif /* DEBUG_CFAST */
}
