127 lines
3.8 KiB
C++
127 lines
3.8 KiB
C++
// Allocation and free functions for all types of Mechanics
|
|
////////////////////////////////////////////////////////////////
|
|
#include "StdAfx.h"
|
|
|
|
#include "EMECAllo.hpp"
|
|
|
|
#include "_MecCard.hpp"
|
|
#include "_MInterf.hpp"
|
|
#include "IncMEC.h"
|
|
|
|
//Unallocation functions
|
|
|
|
// ANNECY AV CLEAN_MEC {
|
|
/*
|
|
//*************************************************************
|
|
void fn_vUnalloc1(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecWalkIdCard *p_tdstStruct = (DNM_stMecWalkIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc2(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecSkiIdCard *p_tdstStruct = (DNM_tdstMecSkiIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
// free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc3(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecSwimIdCard *p_tdstStruct = (DNM_stMecSwimIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
// free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc4(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecJumpIdCard *p_tdstStruct = (DNM_tdstMecJumpIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
// free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc5(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecFlyIdCard *p_tdstStruct = (DNM_stMecFlyIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
// free(p_tdstStruct);
|
|
}
|
|
*/
|
|
// END ANNECY AV }
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc6(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecCameraIdCard *p_tdstStruct = (DNM_stMecCameraIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
// free(p_tdstStruct);
|
|
}
|
|
|
|
// ANNECY AV CLEAN_MEC {
|
|
/*
|
|
//*************************************************************
|
|
void fn_vUnalloc7(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecWalkIdCard *p_tdstStruct = (DNM_stMecWalkIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc8(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecWalkIdCard *p_tdstStruct = (DNM_stMecWalkIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc9(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_stMecStoneIdCard *p_tdstStruct = (DNM_stMecStoneIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc10(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecHelicopterIdCard *p_tdstStruct = (DNM_tdstMecHelicopterIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc11(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecHookIdCard *p_tdstStruct = (DNM_tdstMecHookIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc12(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecShootingIdCard *p_tdstStruct = (DNM_tdstMecShootingIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc13(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecRaftIdCard *p_tdstStruct = (DNM_tdstMecRaftIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
|
|
//*************************************************************
|
|
void fn_vUnalloc14(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecWalkOPIdCard *p_tdstStruct = (DNM_tdstMecWalkOPIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
//free(p_tdstStruct);
|
|
}
|
|
*/
|
|
// END ANNECY AV }
|
|
|
|
//ANNECY jt {
|
|
//*************************************************************
|
|
void fn_vUnallocRay2Egypte1(CPA_Meca_Card *pclCard)
|
|
{
|
|
DNM_tdstMecBaseIdCard *p_tdstStruct = (DNM_tdstMecBaseIdCard *)pclCard->m_fn_pvGetBaseAddress();
|
|
}
|
|
//ENDANNECY jt }
|
|
|