49 lines
1.6 KiB
C
49 lines
1.6 KiB
C
#include "MEC/hmecmatc.h"
|
|
#include "GMT.h"
|
|
#include "MEC/DNMSurSt.h"
|
|
#include "MEC/DNMRepor.h"
|
|
|
|
/*#ifdef U64*/
|
|
/*#include "DNM/DNMVecto.h"*/
|
|
/*#endif /* U64 */
|
|
|
|
|
|
/* Main globla report */
|
|
DNM_tdstMecReport g_stReport;
|
|
|
|
/* Default initialisation */
|
|
/* Author : JM Soudagne */
|
|
/* Date : 1996-12-26 */
|
|
/* Version : 1.02 */
|
|
/* Modify : 1997-02-13 */
|
|
DNM_tdstReport *DNM_p_stReportDefaultInit(DNM_tdstReport *_p_stReport)
|
|
{
|
|
#ifdef DNM_DEBUG
|
|
if(_p_stReport == NULL)
|
|
return NULL;
|
|
#endif
|
|
|
|
/* Initialisation of the obstacle */
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetObstacle(_p_stReport), NULL);// YLG*/
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetGround(_p_stReport), NULL);*/
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetWall(_p_stReport), NULL);*/
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetCharacter(_p_stReport), NULL);*/
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetWater(_p_stReport), NULL);*/
|
|
/* DNM_M_vObstacleSetCollidedMaterial (DNM_M_p_stReportGetCeil(_p_stReport), NULL);*/
|
|
|
|
|
|
/* Kinetic values */
|
|
/* MTH_M_MoveSetNull(DNM_M_p_stReportGetAbsolutePrevSpeed(_p_stReport));*/
|
|
/* MTH_M_MoveSetNull(DNM_M_p_stReportGetAbsoluteCurrSpeed(_p_stReport));*/
|
|
/* MTH_M_MoveSetNull(DNM_M_p_stReportGetAbsolutePrevPosition(_p_stReport));*/
|
|
/* MTH_M_MoveSetNull(DNM_M_p_stReportGetAbsoluteCurrPosition(_p_stReport));*/
|
|
|
|
/* DNM_M_bReportSetWallFlagToFalse(_p_stReport);*/
|
|
/* DNM_M_bReportSetCharFlagToFalse(_p_stReport);*/
|
|
|
|
|
|
memset ( _p_stReport, 0, sizeof(DNM_tdstReport) );
|
|
|
|
return _p_stReport;
|
|
}
|