Add rayman2 source files

This commit is contained in:
2024-09-18 02:33:44 +08:00
parent bcc093f8ed
commit fb036c54fd
14339 changed files with 2596224 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
#if !defined(__CONV_ACT_H__)
#define __CONV_ACT_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* Meta-Action for editor and/or debugger + readrule.c*/
EXTERN_AI_DLL CPA_EXPORT char *szGetMetaActionTypeInParamFromId(enum tdeMetaActionId_ eMetaActionId);
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szGetMetaActionTypeOutParamFromId(enum tdeMetaActionId_ eMetaActionId);
EXTERN_AI_DLL CPA_EXPORT enum tdeMetaActionId_ fn_eFindMetaActionIdFromEditorName(char *szMetaAction);
EXTERN_AI_DLL CPA_EXPORT char *szFindMetaActionEditorNameFromId(enum tdeMetaActionId_ eMetaActionId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT char *szFindMetaActionScriptNameFromId(enum tdeMetaActionId_ eMetaActionId);
EXTERN_AI_DLL CPA_EXPORT enum tdeMetaActionId_ fn_eFindMetaActionIdFromScriptName(char *szMetaAction);
EXTERN_AI_DLL CPA_EXPORT enum tdeMetaActionId_ fn_eGetNbMetaAction(void);
#define M_IsMetaActionIdValid(eMetaActionId) ((eMetaActionId)<fn_eGetNbMetaAction())
#if defined(_AI_LIB_)
tdp_fn_p_stMetaActionInitFunctionPtr fn_p_fn_pGetMetaActionInitFunctionPtr(enum tdeMetaActionId_ eMetaActionId);
tdp_fn_ucMetaActionFunctionPtr fn_p_fn_pGetMetaActionFunctionPtr(enum tdeMetaActionId_ eMetaActionId);
#endif /* _AI_LIB_*/
#if !defined(OPTIMIZED_COMMAND)
#if defined(ACTIVE_EDITOR)
#define M_METAACTION_ENTRY(a,b,english,c,d,e,f) a,b,english,c,d,e,f
void fn_vDefineMetaActionEntry(enum tdeMetaActionId_ eMetaActionId,char *szMetaActionEditorName,char *szMetaActionEditorName_En,char *szMetaActionScriptName,tdp_fn_p_stMetaActionInitFunctionPtr p_fn_p_stMetaActionInitFunction,tdp_fn_ucMetaActionFunctionPtr p_fn_ucMetaActionFunction,char *szMetaActionTypeParam);
#elif defined(_AI_LIB_)
#define M_METAACTION_ENTRY(a,b,english,c,d,e,f) a,c,d,e,f
void fn_vDefineMetaActionEntry(enum tdeMetaActionId_ eMetaActionId,char *szMetaActionScriptName,tdp_fn_p_stMetaActionInitFunctionPtr p_fn_p_stMetaActionInitFunction,tdp_fn_ucMetaActionFunctionPtr p_fn_ucMetaActionFunction,char *szMetaActionTypeParam);
#endif
#if defined(__DEBUG_AI__)
void fn_vInitMetaActionTable(tdp_fn_p_stMetaActionInitFunctionPtr fn_p_stDefaultActionInitFunctionPointer,tdp_fn_ucMetaActionFunctionPtr fn_ucDefaultActionFunctionPointer);
void fn_vCheckMetaActionTable(tdp_fn_p_stMetaActionInitFunctionPtr fn_p_stDefaultActionInitFunctionPointer,tdp_fn_ucMetaActionFunctionPtr fn_ucDefaultActionFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_ACT_H__*/

View File

@@ -0,0 +1,68 @@
#if !defined(__CONV_COND_H__)
#define __CONV_COND_H__
#include "..\AiBase\Specif\AiOption.h"
#ifdef CODEWARRIOR
#include"AI\AIGame\TypePtr.h"
#endif
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* Condition*/
/* for editor and/or debugger + readrule.c*/
#if defined(__DEBUG_AI__) || defined (U64_AIDEBUG)
EXTERN_AI_DLL CPA_EXPORT char *szGetConditionTypeInParamFromId(enum tdeCondId_ eCondId);
#endif /* __DEBUG_AI__*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szGetConditionTypeOutParamFromId(enum tdeCondId_ eCondId);
EXTERN_AI_DLL CPA_EXPORT enum tdeCondId_ fn_eFindConditionIdFromEditorName(char *szCondition);
EXTERN_AI_DLL CPA_EXPORT char *szFindConditionEditorNameFromId(enum tdeCondId_ eCondId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT char *szFindConditionScriptNameFromId(enum tdeCondId_ eCondId);
EXTERN_AI_DLL CPA_EXPORT enum tdeCondId_ fn_eFindConditionIdFromScriptName(char *szCondition);
EXTERN_AI_DLL CPA_EXPORT enum tdeCondId_ fn_eGetNbCond();
#define M_IsConditionIdValid(eCondId) ((eCondId)<fn_eGetNbCond())
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetConditionUltraOperator(enum tdeCondId_ eCondId);
#if defined(_AI_LIB_)
tdp_fn_p_stConditionFunctionPtr fn_p_fn_pGetConditionFunctionPtr(enum tdeCondId_ eCondId);
#endif
#if !defined(OPTIMIZED_COMMAND)
void fn_vSetConditionUltraOperator(enum tdeCondId_ eCondId,unsigned char bFlag);
#if defined(ACTIVE_EDITOR)
#define M_CONDITION_ENTRY(a,b,g,c,d,e) a,b,g,c,d,e
void fn_vDefineConditionEntry(enum tdeCondId_ eCondId,char *szConditionEditorName,char *szConditionEditorName_En,char *szConditionScriptName,tdp_fn_p_stConditionFunctionPtr p_fn_p_stConditionFunction,char *szConditionTypeInParam);
#elif defined(_AI_LIB_)
#define M_CONDITION_ENTRY(a,b,g,c,d,e) a,c,d,e
void fn_vDefineConditionEntry(enum tdeCondId_ eCondId,char *szConditionScriptName,tdp_fn_p_stConditionFunctionPtr p_fn_p_stConditionFunction,char *szConditionTypeInParam);
#endif /* ACTIVE_EDITOR _AI_LIB_*/
#if defined(__DEBUG_AI__)
void fn_vInitConditionTable(tdp_fn_p_stConditionFunctionPtr p_fn_p_stDefaultConditionFunctionPointer);
void fn_vCheckConditionTable(tdp_fn_p_stConditionFunctionPtr p_fn_p_stDefaultConditionFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_COND_H__*/

View File

@@ -0,0 +1,287 @@
#if !defined(__CONV_CST_H__)
#define __CONV_CST_H__
#define C_MAX_LENGTH_STRING 200
#define ULTRA_ABLE 1
#define NOT_ULTRA_ABLE 0
#define STRING1_TO_CHAR(str1) ((char) (*((char *)str1)))
/* maximum number of parameters for meta-actions, functions, conditions, operators*/
/* XB 25/05/99 */
#ifndef U64
#define C_MAX_NB_PARAM 8
#else /* U64 */
#if defined(AI_EXCLUDE_NEVER_USED) && defined(FINAL_VERSION)
#define C_MAX_NB_PARAM 1
#else
#define C_MAX_NB_PARAM 6
#endif
#endif /* U64 */
/* End XB 25/05/99 */
/**************************************************************** //
* WARNING : Letters used * * //
* ABCDEFGHIJKLMNOPQRSTUVWXYZ * * ======================================\
* 11101111111111111111111111 * <======== PLEASE FILL THIS LINE * \\ |
**************************************************************** \\ |
!!! |
!!! |
WWWW WWWW AAAA RRRRRRR NNN NNN III NNN NNN GGGGGGG !!! |
WWWW WWWW AA AA RRR RRR NNNNN NNN III NNNNN NNN GGG !!! |
WWWW WWWW AAA AAA RRR RRR NNNNNN NNN III NNNNNN NNN GGG GGGG !!! |
WWWWW WWWWW AAAAAAAAAA RRRRRRR NNN NNNNNN III NNN NNNNNN GGG GGG !!! ========/
WWWWWWWWW AAA AAA RRR RRR NNN NNNNN III NNN NNNNN GGGGGGGGGG
WWW WWW AAA AAA RRR RRR NNN NNN III NNN NNN GGGGGGGG 000
**********************************************************************
* DON'T USE C_..._PARAM, USE USE_...._PARAM INSTEAD *
**********************************************************************
PLEASE FILL szAutorizedTypeParam[] IN CONVERT.C
*/
/*******************************************************/
/* WARNING : DON'T USE THE SAME LETTER TWICE ..........*/
/*******************************************************/
/* must be uppercase*/
#define C_NO_PARAM ""
#define C_ACTION_PARAM "A" /* for editor*/
#define C_ADDR_ACTION_PARAM "a"
#define C_BOOLEAN_PARAM "B" /* for editor*/
#define C_ADDR_BOOLEAN_PARAM "b"
#define C_GMT_PARAM "C"
#define C_ADDR_GMT_PARAM "c"
#define C_ARRAY_PARAM "D"
#define C_ADDR_ARRAY_PARAM "d"
#define C_ZDE_PERSO_PARAM "E" /* for editor*/
#define C_SURFACE_PARAM "F" /* for SRF_tdxHandleToSurface*/
#define C_FAMILY_PARAM "G" /* hFamily = tdxHandleToFamilyList*/
#define C_ENV_PARAM "H" /* hEnvironment = ENV_tdxHandleToEnvironment*/
#define C_LIST_PARAM "I" /* for editor*/
#define C_ADDR_LIST_PARAM "i"
#define C_OBJECTTABLE_PARAM "J" /* hObjectTable*/
#define C_MASK_PARAM "K" /* for GMT_mask*/
#define C_LONG_PARAM "L" /* for integers (lValue)*/
#define C_ADDR_LONG_PARAM "l"
#define C_CHANNEL_PARAM "M"
#define C_MODULE_PARAM C_CHANNEL_PARAM /* for Module (Id long)*/
#define C_ZDE_MODULE_PARAM C_MODULE_PARAM /* for editor*/
#define C_ZDD_MODULE_PARAM C_MODULE_PARAM /* for editor*/
#define C_POWER_PARAM "N" /* for power in inventory */
#define C_LIPSYNCHRO_PARAM "O" /* hLipSynchro*/
#define C_PERSO_PARAM "P" /* for perso (p_stSuperObjValue)*/
#define C_ALWAYS_PARAM C_PERSO_PARAM /*"?"*/
#define C_PERSO_PARAM_ONLY "!"
#define C_ADDR_PERSO_PARAM "p"
#define C_COMPORT_PARAM "Q"
#define C_ADDR_COMPORT_PARAM "q"
#define C_SECTOR_PARAM "R" /* hSector = HIE_tdxHandleToSuperObject*/
#define C_STRING_PARAM "S"
#define C_MAP_PARAM C_STRING_PARAM
#define C_TEXT_PARAM "T" /* for text*/
#define C_ADDR_TEXT_PARAM "t"
#define C_ZDM_PERSO_PARAM "U" /* for editor*/
#define C_VECTOR_PARAM "V" /* for Vertex (stVertex)*/
#define C_ADDR_VECTOR_PARAM "v"
#define C_WAYPOINT_PARAM "W" /* for editor*/
#define C_ADDR_WAYPOINT_PARAM "w"
#define C_REAL_PARAM "X" /* for reals (xValue) */
#define C_ADDR_REAL_PARAM "x"
#define C_ZDD_PERSO_PARAM "Z" /* for editor*/
#if defined(ACTIVE_EDITOR)
/* for Xavier only*/
#define C_MY_REFLEX_COMPORT_PARAM "1"
#define C_MY_INTELL_COMPORT_PARAM "2"
#define C_REFLEX_COMPORT_PARAM "3"
#define C_INTELL_COMPORT_PARAM "4"
#else
#define C_MY_REFLEX_COMPORT_PARAM C_COMPORT_PARAM
#define C_MY_INTELL_COMPORT_PARAM C_COMPORT_PARAM
#define C_REFLEX_COMPORT_PARAM C_COMPORT_PARAM
#define C_INTELL_COMPORT_PARAM C_COMPORT_PARAM
#endif
#define C_FONT_PARAM "5"
#define C_BUTTON_PARAM "6" /* for button*/
#define C_PARTICLEGENERATOR_PARAM "7"
#define C_MODEL_PARAM "8" /* for model*/
#define C_SUPEROBJECT_PARAM "9"
#define C_SOUNDEVENT_PARAM "0"
#define C_LIGHT_PARAM "<22>"
#define C_CAPS_PARAM "#"
#define C_ADDR_CAPS_PARAM C_CAPS_PARAM
#define C_GRAPH_PARAM "$"
#define C_ADDR_GRAPH_PARAM C_GRAPH_PARAM
#define C_ZDR_PERSO_PARAM "r"
/* macros to use in defining meta-actions, functions, conditions, procedures (fn_vDefine....Entry)*/
/* very simple in fact to do string concatenation with some defines*/
/* comments prevent Lint information message 786 from raising during macro expansion*/
#define USE_NO_PARAM C_NO_PARAM
#define USE_SUPEROBJECT_PARAM C_SUPEROBJECT_PARAM
#define USE_GMT_PARAM C_GMT_PARAM
#define USE_RGB_PARAM C_LONG_PARAM C_LONG_PARAM C_LONG_PARAM
#define USE_RGBA_PARAM USE_RGB_PARAM C_LONG_PARAM
#define USE_COLOR_PARAM C_LONG_PARAM
#define USE_MODEL_PARAM C_MODEL_PARAM
#define USE_ARRAY_PARAM C_ARRAY_PARAM
#define USE_MY_REFLEX_COMPORT_PARAM C_MY_REFLEX_COMPORT_PARAM
#define USE_REFLEX_COMPORT_PARAM C_REFLEX_COMPORT_PARAM
#define USE_MY_INTELL_COMPORT_PARAM C_MY_INTELL_COMPORT_PARAM
#define USE_INTELL_COMPORT_PARAM C_INTELL_COMPORT_PARAM
#define USE_FAMILY_PARAM C_FAMILY_PARAM
#define USE_CHANNEL_PARAM C_CHANNEL_PARAM
#define USE_MASK_PARAM C_MASK_PARAM
#define USE_BUTTON_PARAM C_BUTTON_PARAM
#define USE_MAP_PARAM C_MAP_PARAM
#define USE_STRING_PARAM C_STRING_PARAM
#define USE_SURFACE_PARAM C_SURFACE_PARAM
#define USE_POWER_PARAM C_POWER_PARAM
/* CGHT*/
#define USE_LIPSYNCHRO_PARAM C_LIPSYNCHRO_PARAM
#define USE_OBJECTTABLE_PARAM C_OBJECTTABLE_PARAM
#define USE_SECTOR_PARAM C_SECTOR_PARAM
#define USE_ENV_PARAM C_ENV_PARAM
#define USE_PERSO_PARAM C_PERSO_PARAM
#define USE_ALWAYS_PARAM C_ALWAYS_PARAM
/*#define USE_PERSO_PARAM_ONLY C_PERSO_PARAM_ONLY*/
#define USE_PERSO_PARAM_ONLY C_PERSO_PARAM
#define USE_CONSTANT_PARAM C_LONG_PARAM
#define USE_REAL_PARAM C_REAL_PARAM
#define USE_VECTOR_PARAM C_VECTOR_PARAM
#define USE_MODULE_PARAM C_MODULE_PARAM
#define USE_ZDM_PERSO_PARAM C_ZDM_PERSO_PARAM
#define USE_ZDD_PERSO_PARAM C_ZDD_PERSO_PARAM
#define USE_ZDD_MODULE_PARAM C_ZDD_MODULE_PARAM
#define USE_ZDE_PERSO_PARAM C_ZDE_PERSO_PARAM
#define USE_ZDE_MODULE_PARAM C_ZDE_MODULE_PARAM
#define USE_ZDR_PERSO_PARAM C_ZDR_PERSO_PARAM
#define USE_WAYPOINT_PARAM C_WAYPOINT_PARAM
#define USE_LIST_PARAM C_LIST_PARAM
#define USE_ADDR_LIST_PARAM C_ADDR_LIST_PARAM
#define USE_ACTION_PARAM C_ACTION_PARAM
#define USE_ADDR_LONG_PARAM C_ADDR_LONG_PARAM
#define USE_ADDR_REAL_PARAM C_ADDR_REAL_PARAM
#define USE_ADDR_WAY_PARAM C_ADDR_WAY_PARAM
#define USE_ADDR_VECTOR_PARAM C_ADDR_VECTOR_PARAM
#define USE_ADDR_PERSO_PARAM C_ADDR_PERSO_PARAM
#define USE_ADDR_ARRAY_PARAM C_ADDR_ARRAY_PARAM
#define USE_SOUNDEVENT_PARAM C_SOUNDEVENT_PARAM
#define USE_BOOLEAN_PARAM C_BOOLEAN_PARAM
#define USE_2_BOOLEANS_PARAM /*lint -save -e786*/ USE_BOOLEAN_PARAM USE_BOOLEAN_PARAM /*lint -restore*/
#define USE_SURFACE_REAL_PARAM /*lint -save -e786*/ USE_SURFACE_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_PERSO_CONSTANT_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_PERSO_REAL_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_PERSO_2_REALS_PARAM /*lint -save -e786*/ USE_PERSO_REAL_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_PERSO_3_REALS_PARAM /*lint -save -e786*/ USE_PERSO_2_REALS_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_PERSO_CONSTANT_3_REALS_PARAM /*lint -save -e786*/ USE_PERSO_CONSTANT_PARAM USE_3_REALS_PARAM /*lint -restore*/
#define USE_PERSO_MY_REFLEX_COMPORT_PARAM /*lint -save -e786*/ USE_PERSO_PARAM_ONLY USE_MY_REFLEX_COMPORT_PARAM /*lint -restore*/
#define USE_PERSO_REFLEX_COMPORT_PARAM /*lint -save -e786*/ USE_PERSO_PARAM_ONLY USE_REFLEX_COMPORT_PARAM /*lint -restore*/
#define USE_PERSO_MY_INTELL_COMPORT_PARAM /*lint -save -e786*/ USE_PERSO_PARAM_ONLY USE_MY_INTELL_COMPORT_PARAM /*lint -restore*/
#define USE_PERSO_INTELL_COMPORT_PARAM /*lint -save -e786*/ USE_PERSO_PARAM_ONLY USE_INTELL_COMPORT_PARAM /*lint -restore*/
#define USE_PERSO_CONSTANT_VECTOR_PARAM /*lint -save -e786*/ USE_PERSO_CONSTANT_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_PERSO_VECTOR_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_2_CONSTANTS_PARAM /*lint -save -e786*/ USE_CONSTANT_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_3_CONSTANTS_PARAM /*lint -save -e786*/ USE_2_CONSTANTS_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_4_CONSTANTS_PARAM /*lint -save -e786*/ USE_3_CONSTANTS_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_2_REALS_PARAM /*lint -save -e786*/ USE_REAL_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_3_REALS_PARAM /*lint -save -e786*/ USE_2_REALS_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_4_REALS_PARAM /*lint -save -e786*/ USE_3_REALS_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_2_PERSOS_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_PERSO_PARAM /*lint -restore*/
#define USE_3_PERSOS_PARAM /*lint -save -e786*/ USE_2_PERSOS_PARAM USE_PERSO_PARAM /*lint -restore*/
#define USE_4_PERSOS_PARAM /*lint -save -e786*/ USE_3_PERSOS_PARAM USE_PERSO_PARAM /*lint -restore*/
/* Vertex param */
#define USE_VECTOR_CONSTANT_PARAM /*lint -save -e786*/ USE_VECTOR_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_VECTOR_REAL_PARAM /*lint -save -e786*/ USE_VECTOR_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_VECTOR_2_REALS_PARAM /*lint -save -e786*/ USE_VECTOR_REAL_PARAM USE_REAL_PARAM /*lint -restore*/
#define USE_2_VECTORS_PARAM /*lint -save -e786*/ USE_VECTOR_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_3_VECTORS_PARAM /*lint -save -e786*/ USE_2_VECTORS_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_VECTORID_PARAM /*lint -save -e786*/ USE_ADDR_VECTOR_PARAM /*lint -restore*/
#define USE_2_VECTORIDS_PARAM /*lint -save -e786*/ USE_VECTORID_PARAM USE_VECTORID_PARAM /*lint -restore*/
#define USE_3_VECTORIDS_PARAM /*lint -save -e786*/ USE_2_VECTORIDS_PARAM USE_VECTORID_PARAM /*lint -restore*/
/* CGHT */
#define USE_MVV_PARAM /*lint -save -e786*/ USE_MODULE_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_MPV_PARAM /*lint -save -e786*/ USE_MODULE_PARAM USE_PERSO_PARAM USE_VECTOR_PARAM /*lint -restore*/
/* fonction de list*/
#define USE_DSGVARIDLIST_CONSTANT_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDD_MODULE_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_ZDD_MODULE_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDD_PERSO_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_ZDD_PERSO_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_PERSO_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_PERSO_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDE_PERSO_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_ZDE_PERSO_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDE_MODULE_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM USE_ZDE_MODULE_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDE_PERSO_MASK_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_ZDE_PERSO_PARAM USE_MASK_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_ZDE_MODULE_MASK_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_ZDE_MODULE_PARAM USE_MASK_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_PERSO_CONSTANT_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_PERSO_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_2_CONSTANTS_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_CONSTANT_PARAM USE_CONSTANT_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_PARAM /*lint -save -e786*/ USE_ADDR_LIST_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_FAMILY_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_PARAM USE_FAMILY_PARAM /*lint -restore*/
#define USE_DSGVARIDLIST_MODEL_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_PARAM USE_MODEL_PARAM /*lint -restore*/
#define USE_2_DSGVARIDLISTS_PARAM /*lint -save -e786*/ USE_DSGVARIDLIST_PARAM USE_DSGVARIDLIST_PARAM /*lint -restore*/
#define USE_3_DSGVARIDLISTS_PARAM /*lint -save -e786*/ USE_2_DSGVARIDLISTS_PARAM USE_DSGVARIDLIST_PARAM /*lint -restore*/
/* ZDD + ZDE*/
#define USE_PERSO_ZDD_PERSO_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDD_PERSO_PARAM /*lint -restore*/
#define USE_PERSO_ZDE_PERSO_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDE_PERSO_PARAM /*lint -restore*/
#define USE_PERSO_ZDD_MODULE_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDD_MODULE_PARAM /*lint -restore*/
#define USE_PERSO_ZDE_MODULE_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDE_MODULE_PARAM /*lint -restore*/
#define USE_PERSO_MASK_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_MASK_PARAM /*lint -restore*/
#define USE_ZDM_PERSO_VECTOR_PARAM /*lint -save -e786*/ USE_ZDM_PERSO_PARAM USE_VECTOR_PARAM /*lint -restore*/
#define USE_PERSO_ZDM_PERSO_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDM_PERSO_PARAM /*lint -restore*/
#define USE_PERSO_ZDR_PERSO_PARAM /*lint -save -e786*/ USE_PERSO_PARAM USE_ZDR_PERSO_PARAM /*lint -restore*/
#define USE_FONT_PARAM C_FONT_PARAM
#define USE_TEXT_PARAM C_TEXT_PARAM
#define USE_ADDR_TEXT_PARAM C_ADDR_TEXT_PARAM
#define USE_PARTICLEGENERATOR_PARAM C_PARTICLEGENERATOR_PARAM
/*ANNECY CT 22/01/98 {*/
#define USE_LIGHT_PARAM C_LIGHT_PARAM
/*ENDANNECY CT}*/
/*ANNECY Bart 02/02/98 {*/
#define USE_CAPS_PARAM C_CAPS_PARAM
#define USE_GRAPH_PARAM C_GRAPH_PARAM
#define USE_ADDR_CAPS_PARAM C_ADDR_CAPS_PARAM
#define USE_ADDR_GRAPH_PARAM C_ADDR_GRAPH_PARAM
/*ENDANNECY Bart }*/
#endif /* __CONV_CST_H__*/

View File

@@ -0,0 +1,62 @@
#if !defined(__CONV_FILD_H__)
#define __CONV_FILD_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* Field for editor and/or debugger + readrule.c*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT enum tdeFieldId_ fn_eFindFieldIdFromEditorName(char *szField);
EXTERN_AI_DLL CPA_EXPORT char *szFindFieldScriptNameFromId(enum tdeFieldId_ eFieldId);
EXTERN_AI_DLL CPA_EXPORT char *szFindFieldEditorNameFromId(enum tdeFieldId_ eFieldId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT enum tdeVariableType_ fn_eGetFieldType(enum tdeFieldId_ eFieldId);
enum tdeFieldTypeId_ fn_eGetEngineFieldType(enum tdeFieldId_ eFieldId);
EXTERN_AI_DLL CPA_EXPORT enum tdeFieldId_ fn_eFindFieldIdFromScriptName(char *szField);
EXTERN_AI_DLL CPA_EXPORT enum tdeFieldId_ fn_eGetNbField(void);
#define M_IsFieldIdValid(eFieldId) ((eFieldId)<fn_eGetNbField())
#if defined(_AI_LIB_)
tdp_fn_vGetTypeFunctionPtr fn_p_fn_pGetFieldTypeGetFunctionPtr(enum tdeFieldTypeId_ eFieldTypeId);
tdp_fn_vSetTypeFunctionPtr fn_p_fn_pGetFieldTypeSetFunctionPtr(enum tdeFieldTypeId_ eFieldTypeId);
tdp_fn_cGetFunctionPtr fn_p_fn_pGetFieldGetFunctionPtr(enum tdeFieldId_ eFieldId);
tdp_fn_cSetFunctionPtr fn_p_fn_pGetFieldSetFunctionPtr(enum tdeFieldId_ eFieldId);
#endif
#if !defined(OPTIMIZED_COMMAND)
#if defined(ACTIVE_EDITOR)
#define M_FIELD_ENTRY(a,b,english,c,d,e,f) a,b,english,c,d,e,f
void fn_vDefineFieldEntry(enum tdeFieldId_ eFieldId,char *szFieldEditorName,char *szFieldEditorName_En,char *szFieldScriptName,enum tdeFieldTypeId_ eType,tdp_fn_cGetFunctionPtr p_fn_cGetFieldFunction,tdp_fn_cSetFunctionPtr p_fn_cSetFieldFunction);
#elif defined(_AI_LIB_)
#define M_FIELD_ENTRY(a,b,english,c,d,e,f) a,c,d,e,f
void fn_vDefineFieldEntry(enum tdeFieldId_ eFieldId,char *szFieldScriptName,enum tdeFieldTypeId_ eType,tdp_fn_cGetFunctionPtr p_fn_cGetFieldFunction,tdp_fn_cSetFunctionPtr p_fn_cSetFieldFunction);
#endif /* ACTIVE_EDITOR*/
#if defined(__DEBUG_AI__)
void fn_vInitFieldTable(tdp_fn_cGetFunctionPtr fn_cGetFieldDefaultFunctionPointer,tdp_fn_cSetFunctionPtr fn_cSetFieldDefaultFunctionPointer);
void fn_vCheckFieldTable(tdp_fn_cGetFunctionPtr fn_cGetFieldDefaultFunctionPointer,tdp_fn_cSetFunctionPtr fn_cSetFieldDefaultFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_FILD_H__*/

View File

@@ -0,0 +1,64 @@
#if !defined(__CONV_FUNC_H__)
#define __CONV_FUNC_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* Function for editor and/or debugger + readrule.c*/
#if defined(__DEBUG_AI__) || defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szFindFunctionScriptNameFromId(enum tdeFuncId_ eFuncId);
#endif /* __DEBUG_AI__ ACTIVE_EDITOR*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szGetFunctionTypeOutParamFromId(enum tdeFuncId_ eFuncId);
EXTERN_AI_DLL CPA_EXPORT enum tdeFuncId_ fn_eFindFunctionIdFromEditorName(char *szFunction);
EXTERN_AI_DLL CPA_EXPORT char *szFindFunctionEditorNameFromId(enum tdeFuncId_ eFuncId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT char *szGetFunctionTypeInParamFromId(enum tdeFuncId_ eFuncId);
EXTERN_AI_DLL CPA_EXPORT enum tdeFuncId_ fn_eGetNbFunc();
EXTERN_AI_DLL CPA_EXPORT enum tdeFuncId_ fn_eFindFunctionIdFromScriptName(char *szFunction);
#define M_IsFuncIdValid(eFuncId) ((eFuncId)<fn_eGetNbFunc())
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetFunctionUltraOperator(enum tdeFuncId_ eFuncId);
#if defined(_AI_LIB_)
tdp_fn_p_stFunctionFunctionPtr fn_p_fn_pGetFunctionFunctionPtr(enum tdeFuncId_ eFuncId);
#endif /* _AI_LIB_*/
#if !defined(OPTIMIZED_COMMAND)
void fn_vSetFunctionUltraOperator(enum tdeFuncId_ eFuncId,unsigned char bFlag);
#if defined(ACTIVE_EDITOR)
#define M_FUNCTION_ENTRY(a,b,english,c,d,e,f) a,b,english,c,d,e,f
void fn_vDefineFunctionEntry(enum tdeFuncId_ eFuncId,char *szFunctionEditorName,char *szFunctionEditorName_En,char *szFunctionScriptName,tdp_fn_p_stFunctionFunctionPtr p_fn_p_stFunctionFunction,char *szFunctionTypeInParam,char *szFunctionTypeOutParam);
#elif defined(_AI_LIB_)
#define M_FUNCTION_ENTRY(a,b,english,c,d,e,f) a,c,d,e,f
void fn_vDefineFunctionEntry(enum tdeFuncId_ eFuncId,char *szFunctionScriptName,tdp_fn_p_stFunctionFunctionPtr p_fn_p_stFunctionFunction,char *szFunctionTypeInParam,char *szFunctionTypeOutParam);
#endif /* ACTIVE_EDITOR _AI_LIB_*/
#if defined(__DEBUG_AI__)
void fn_vInitFunctionTable(tdp_fn_p_stFunctionFunctionPtr fn_p_stDefaultFunctionFunctionPointer);
void fn_vCheckFunctionTable(tdp_fn_p_stFunctionFunctionPtr fn_p_stDefaultFunctionFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_FUNC_H__*/

View File

@@ -0,0 +1,65 @@
#if !defined(__CONV_KEY_H__)
#define __CONV_KEY_H__
#include "..\AIBase\specif\AiOption.h"
#ifdef CODEWARRIOR
#include"AI\AIGame\TypePtr.h"
#endif
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* KeyWord for editor and/or debugger + readrule.c*/
#if defined(ACTIVE_EDITOR) || defined (U64_AIDEBUG)
EXTERN_AI_DLL CPA_EXPORT char *szGetKeyWordTypeInParamFromId(enum tdeKeyWordId_ eKeyWordId);
EXTERN_AI_DLL CPA_EXPORT char *szGetKeyWordTypeOutParamFromId(enum tdeKeyWordId_ eKeyWordId);
#endif /* ACTIVE_EDITOR || defined (U64_AIDEBUG)*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szFindKeyWordScriptNameFromId(enum tdeKeyWordId_ eKeyWordId);
EXTERN_AI_DLL CPA_EXPORT char *szFindKeyWordEditorNameFromId(enum tdeKeyWordId_ eKeyWordId);
EXTERN_AI_DLL CPA_EXPORT enum tdeKeyWordId_ fn_eFindKeyWordIdFromEditorName(char *szKeyWord);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT enum tdeKeyWordId_ fn_eFindKeyWordIdFromScriptName(char *szKeyWord);
EXTERN_AI_DLL CPA_EXPORT enum tdeKeyWordId_ fn_eGetNbKeyWord();
#define M_IsKeyWordIdValid(eKeyWordId) ((eKeyWordId)<fn_eGetNbKeyWord())
#if defined(_AI_LIB_)
tdp_fn_p_stKeyWordFunctionPtr fn_p_fn_pGetKeyWordFunctionPtr(enum tdeKeyWordId_ eKeyWordId);
#endif /* _AI_LIB_*/
#if !defined(OPTIMIZED_COMMAND)
#if defined(ACTIVE_EDITOR)
#define M_KEYWORD_ENTRY(a,b,g,c,d,e,f) a,b,g,c,d,e,f
void fn_vDefineKeyWordEntry(enum tdeKeyWordId_ eKeyWordId,char *szKeyWordEditorName,char *szKeyWordEditorName_En,char *szKeyWordScriptName,tdp_fn_p_stKeyWordFunctionPtr p_fn_p_stKeyWordFunction,char *szKeyWordTypeInParam,char *szKeyWordTypeOutParam);
#elif defined(_AI_LIB_)
#define M_KEYWORD_ENTRY(a,b,g,c,d,e,f) a,c,d,e,f
void fn_vDefineKeyWordEntry(enum tdeKeyWordId_ eKeyWordId,char *szKeyWordScriptName,tdp_fn_p_stKeyWordFunctionPtr p_fn_p_stKeyWordFunction,char *szKeyWordTypeInParam,char *szKeyWordTypeOutParam);
#endif /* ACTIVE_EDITOR _AI_LIB_*/
#if defined(__DEBUG_AI__)
void fn_vInitKeyWordTable(tdp_fn_p_stKeyWordFunctionPtr fn_p_stDefaultKeyWordFunctionPointer);
void fn_vCheckKeyWordTable(tdp_fn_p_stKeyWordFunctionPtr fn_p_stDefaultKeyWordFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_KEY_H__*/

View File

@@ -0,0 +1,62 @@
#if !defined(__CONV_OPER_H__)
#define __CONV_OPER_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/*************************************************************************************/
/* Converted in function pointers */
/* Operator*/
/* for editor and/or debugger + readrule.c*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szGetOperatorTypeInParamFromId(enum tdeOperatorId_ eOperatorId);
EXTERN_AI_DLL CPA_EXPORT char *szGetOperatorTypeOutParamFromId(enum tdeOperatorId_ eOperatorId);
EXTERN_AI_DLL CPA_EXPORT enum tdeOperatorId_ fn_eFindOperatorIdFromEditorName(char *szOperator);
EXTERN_AI_DLL CPA_EXPORT char *szFindOperatorEditorNameFromId(enum tdeOperatorId_ eOperatorId);
EXTERN_AI_DLL CPA_EXPORT char *szFindOperatorScriptNameFromId(enum tdeOperatorId_ eOperatorId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT enum tdeOperatorId_ fn_eFindOperatorIdFromScriptName(char *szOperator);
EXTERN_AI_DLL CPA_EXPORT enum tdeOperatorId_ fn_eGetNbOperator();
#define M_IsOperatorIdValid(eOperatorId) ((eOperatorId)<fn_eGetNbOperator())
#if defined(_AI_LIB_)
tdp_fn_p_stOperatorFunctionPtr fn_p_fn_pGetOperatorFunctionPtr(enum tdeOperatorId_ eOperatorId);
#endif /* _AI_LIB_*/
#if !defined(OPTIMIZED_COMMAND)
#if defined(ACTIVE_EDITOR)
#define M_OPERATOR_ENTRY(a,b,c,d,e,f) a,b,c,d,e,f
void fn_vDefineOperatorEntry(enum tdeOperatorId_ eOperatorId,char *szOperatorEditorName,char *szOperatorScriptName,tdp_fn_p_stOperatorFunctionPtr p_fn_p_stOperatorFunction,char *szOperatorTypeInParam,char *szOperatorTypeOutParam);
#elif defined(_AI_LIB_)
#define M_OPERATOR_ENTRY(a,b,c,d,e,f) a,c,d,e,f
void fn_vDefineOperatorEntry(enum tdeOperatorId_ eOperatorId,char *szOperatorScriptName,tdp_fn_p_stOperatorFunctionPtr p_fn_p_stOperatorFunction,char *szOperatorTypeInParam,char *szOperatorTypeOutParam);
#endif /* ACTIVE_EDITOR _AI_LIB_*/
#if defined(__DEBUG_AI__)
void fn_vInitOperatorTable(tdp_fn_p_stOperatorFunctionPtr fn_p_stDefaultOperatorFunctionPointer);
void fn_vCheckOperatorTable(tdp_fn_p_stOperatorFunctionPtr fn_p_stDefaultOperatorFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_OPER_H__*/

View File

@@ -0,0 +1,64 @@
#if !defined(__CONV_PROC_H__)
#define __CONV_PROC_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* Procedure for editor and/or debugger + readrule.c*/
#if defined(__DEBUG_AI__) || defined(ACTIVE_EDITOR) || defined (U64_AIDEBUG)
EXTERN_AI_DLL CPA_EXPORT char *szGetProcedureTypeInParamFromId(enum tdeProcedureId_ eProcedureId);
#endif /* __DEBUG_AI__ ACTIVE_EDITOR*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *szGetProcedureTypeOutParamFromId(enum tdeProcedureId_ eProcedureId);
EXTERN_AI_DLL CPA_EXPORT enum tdeProcedureId_ fn_eFindProcedureIdFromEditorName(char *szProcedure);
EXTERN_AI_DLL CPA_EXPORT char *szFindProcedureEditorNameFromId(enum tdeProcedureId_ eProcedureId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT char *szFindProcedureScriptNameFromId(enum tdeProcedureId_ eProcedureId);
EXTERN_AI_DLL CPA_EXPORT enum tdeProcedureId_ fn_eFindProcedureIdFromScriptName(char *szFunction);
EXTERN_AI_DLL CPA_EXPORT enum tdeProcedureId_ fn_eGetNbProcedure();
#define M_IsProcedureIdValid(eProcId) ((eProcId) < fn_eGetNbProcedure())
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetProcedureUltraOperator(enum tdeProcedureId_ eProcId);
#if defined(_AI_LIB_)
tdp_fn_p_stProcedureFunctionPtr fn_p_fn_pGetProcedureFunctionPtr(enum tdeProcedureId_ eProcedureId);
#endif /* _AI_LIB_*/
#if !defined(OPTIMIZED_COMMAND)
void fn_vSetProcedureUltraOperator(enum tdeProcedureId_ eProcId,unsigned char bFlag);
#if defined(ACTIVE_EDITOR)
#define M_PROCEDURE_ENTRY(a,b,english,c,d,e) a,b,english,c,d,e
void fn_vDefineProcedureEntry(enum tdeProcedureId_ eProcedureId,char *szProcedureEditorName,char *szProcedureEditorName_En,char *szProcedureScriptName,tdp_fn_p_stProcedureFunctionPtr p_fn_p_stProcedureFunction,char *szProcedureTypeInParam);
#elif defined(_AI_LIB_)
#define M_PROCEDURE_ENTRY(a,b,english,c,d,e) a,c,d,e
void fn_vDefineProcedureEntry(enum tdeProcedureId_ eProcedureId,char *szProcedureScriptName,tdp_fn_p_stProcedureFunctionPtr p_fn_p_stProcedureFunction,char *szProcedureTypeInParam);
#endif /* ACTIVE_EDITOR _AI_LIB_*/
#if defined(__DEBUG_AI__)
void fn_vInitProcedureTable(tdp_fn_p_stProcedureFunctionPtr fn_p_stDefaultProcedureFunctionPointer);
void fn_vCheckProcedureTable(tdp_fn_p_stProcedureFunctionPtr fn_p_stDefaultProcedureFunctionPointer);
#endif /* __DEBUG_AI__*/
#endif /* OPTIMIZED_COMMAND*/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_PROC_H__*/

View File

@@ -0,0 +1,94 @@
#if !defined(__CONV_VAR_H__)
#define __CONV_VAR_H__
#include "..\AiBase\Specif\AiOption.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
/* DsgVar*/
#if defined(__DEBUG_AI__)
EXTERN_AI_DLL CPA_EXPORT char *szFindDsgVarTypeScriptNameFromId(enum tdeDsgVarTypeId_ eDsgVarTypeId);
#endif
#if defined(_AI_LIB_)
tdp_fn_ucGetDsgVarFunctionPtr fn_p_fn_pGetDsgVarGetFunctionPtr(enum tdeDsgVarTypeId_ eDsgVarTypeId);
tdp_fn_ucSetDsgVarFunctionPtr fn_p_fn_pGetDsgVarSetFunctionPtr(enum tdeDsgVarTypeId_ eDsgVarTypeId);
#endif
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT enum tdeDsgVarTypeId_ fn_eFindDsgVarTypeIdFromEditorName(char *szDsgVarType);
EXTERN_AI_DLL CPA_EXPORT char *szFindDsgVarTypeEditorNameFromId(enum tdeDsgVarTypeId_ eDsgVarTypeId);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindStringTypeFromVariableType(enum tdeVariableType_ eType);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindStringTypeFromDsgVarType(enum tdeDsgVarTypeId_ eDsgVarTypeId);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindStringSubTypeFromDsgVarType(enum tdeDsgVarTypeId_ eDsgVarTypeId);
#endif /* ACTIVE_EDITOR*/
EXTERN_AI_DLL CPA_EXPORT enum tdeVariableType_ fn_GetDsgVarType(enum tdeDsgVarTypeId_ eDsgVarTypeId);
EXTERN_AI_DLL CPA_EXPORT enum tdeDsgVarTypeId_ fn_eFindDsgVarTypeIdFromScriptName(char *szDsgVarType);
EXTERN_AI_DLL CPA_EXPORT enum tdeDsgVarTypeId_ fn_eGetNbDsgVarType();
#define M_IsDsgVarTypeIdValid(eDsgVarTypeId) ((eDsgVarTypeId)<fn_eGetNbDsgVarType())
/*************************************************************************************/
/*************************************************************************************/
/* SAI save type*/
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucDefaultSaveTypeNumber();
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetSaveTypeNumber();
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindScriptNameFromSaveTypeNumber(unsigned char ucSaveTypeNumber);
#if defined(_AI_LIB_)
EXTERN_AI_DLL CPA_EXPORT SAI_tdeFlags fn_eFindSaveTypeFromScriptName(char *szSaveType, char *_p_szPersoName, unsigned char _ucVarId);
EXTERN_AI_DLL CPA_EXPORT SAI_tdeFlags fn_eFindSaveTypeFromSaveTypeNumber(unsigned char ucSaveTypeNumber);
#endif /* _AI_LIB_*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindEditorNameFromSaveTypeNumber(unsigned char ucSaveTypeNumber);
#if defined(_AI_LIB_)
EXTERN_AI_DLL CPA_EXPORT SAI_tdeFlags fn_eFindSaveTypeFromEditorName(char *szSaveType);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindEditorNameFromSaveType(SAI_tdeFlags eFlags);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindScriptNameFromSaveType(SAI_tdeFlags eFlags);
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucFindSaveTypeNumberFromScriptName(char *szSaveType);
#endif /* _AI_LIB_*/
#endif /* ACTIVE_EDITOR*/
/*************************************************************************************/
/*************************************************************************************/
/* OTI init type*/
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucDefaultInitTypeNumber();
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetInitTypeNumber();
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindScriptNameFromInitTypeNumber(unsigned char ucInitTypeNumber);
#if defined(_AI_LIB_)
EXTERN_AI_DLL CPA_EXPORT enum tdeObjectTreeInit_ fn_eFindInitTypeFromScriptName(char *szInitType);
EXTERN_AI_DLL CPA_EXPORT enum tdeObjectTreeInit_ fn_eFindInitTypeFromInitTypeNumber(unsigned char ucInitTypeNumber);
#endif /* _AI_LIB_*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindEditorNameFromInitTypeNumber(unsigned char ucInitTypeNumber);
#if defined(_AI_LIB_)
EXTERN_AI_DLL CPA_EXPORT enum tdeObjectTreeInit_ fn_eFindInitTypeFromEditorName(char *szInitType);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindEditorNameFromInitType(enum tdeObjectTreeInit_ eFlags);
EXTERN_AI_DLL CPA_EXPORT char *fn_szFindScriptNameFromInitType(enum tdeObjectTreeInit_ eFlags);
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucFindInitTypeNumberFromScriptName(char *szInitType);
#endif /* _AI_LIB_*/
#endif /* ACTIVE_EDITOR*/
/*************************************************************************************/
/*******************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONV_VAR_H__*/

View File

@@ -0,0 +1,135 @@
/*---------------------------------------------------------------------------*/
/* Convert.h : Convert Id <-> string (mainly usefull for editor)*/
/* creation : 17/01/1997 (Olivier Couvreur)*/
/* modify : 29/01/1997 (Fabien Morales) Vertex param*/
/* modify : 31/01/1997 (Olivier Couvreur) Lint verification + tdstInfoParamTableEntry_ struct*/
/* modify : 04/02/1997 (Olivier Couvreur) Lint 0 Warnings*/
/* modify : 05/02/1997 (Fabien Morales) add special param defines*/
/* modify : 12/02/1997 (Fabien Morales) Module & DsgVarId param types*/
/* modify : 18/02/1997 (Olivier Couvreur) Function List param types*/
/* modify : 21/02/1997 (Olivier Couvreur) new param types for editor*/
/* modify : 25/03/1997 (Olivier Couvreur) ACTIVE_EDITOR support*/
/* modify : 27/05/1997 (Olivier Couvreur) ZDD + ZDE stuff*/
/* modify : 26/06/1997 (Olivier Couvreur) function pointers for operators*/
/*---------------------------------------------------------------------------*/
#if !defined(__CONVERT_H__)
#define __CONVERT_H__
#include "..\AIBase\Specif\AIOption.h"
#include "TypePtr.h"
#if defined(U64)
#include "EnumKey.h"
#include "EnumCond.h"
#include "EnumFunc.h"
#include "EnumOper.h"
#include "EnumProc.h"
#include "EnumAct.h"
#include "EnumFild.h"
#include "EnumVar.h"
#endif /* U64 */
#include "ConvCst.h"
#include "ConvKey.h"
#include "ConvCond.h"
#include "ConvFunc.h"
#include "ConvOper.h"
#include "ConvProc.h"
#include "ConvAct.h"
#include "ConvFild.h"
#include "ConvVar.h"
/**************************************/
#if !defined(CPA_EXPORT)
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif /*CPA_WANTS_IMPORT || CPA_WANTS_EXPORT*/
#endif /*CPA_EXPORT*/
/**************************************/
#undef extern
#define EXTERN_AI_DLL extern
/************************************************************************************************************************/
#if !defined(OPTIMIZED_COMMAND)
EXTERN_AI_DLL CPA_EXPORT char *fn_szGetAutorizedTypeParam(void);
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucCheckTypeParam(char *szTypeParam);
#endif /* OPTIMIZED_COMMAND*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT ACP_tdxBool fn_bIsCompatibleTypeForAffect(char c1,char c2);
EXTERN_AI_DLL CPA_EXPORT ACP_tdxBool fn_bIsCompatibleType(char c1,char c2);
EXTERN_AI_DLL CPA_EXPORT ACP_tdxBool fn_bIsCompatibleStringType(char *szType1,char *szType2);
EXTERN_AI_DLL CPA_EXPORT ACP_tdxBool fn_bIsCompatibleStringTypeForAffect(char *szType1,char *szType2);
/*EXTERN_AI_DLL CPA_EXPORT char fn_cGetCompatibleType(char c1,char c2);*/
/*EXTERN_AI_DLL CPA_EXPORT char *fn_szGetCompatibleStringType(char *szType1,char *szType2);*/
/*EXTERN_AI_DLL CPA_EXPORT char *fn_szFindStringTypeFromVariableType(enum tdeVariableType_ eType);*/
EXTERN_AI_DLL CPA_EXPORT ACP_tdxBool IsADDRType(char cType);
EXTERN_AI_DLL CPA_EXPORT char fn_cConvertToADDRType(char cType);
EXTERN_AI_DLL CPA_EXPORT char fn_cConvertFromADDRType(char cType);
#endif /* ACTIVE_EDITOR*/
/**********************************************************************************************************/
/* Nb Entries in action table*/
#if defined(ACTIVE_EDITOR)
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetDefaultActionTableNbEntries();
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetMinActionTableNbEntries();
EXTERN_AI_DLL CPA_EXPORT unsigned char fn_ucGetMaxActionTableNbEntries();
#endif /* ACTIVE_EDITOR*/
/**********************************************************************************************************/
EXTERN_AI_DLL CPA_EXPORT void fn_vReSetStopAIEngineFlag(); /*** DR ***/
/**********************************************************************************************************/
/* To generate the multilanguage file very soon used by XB */
#if defined(ACTIVE_EDITOR)
#define AI_MULTI_LANGUAGE_SCRIPT "AILANGUE.TXT"
#define AI_ALL_METAACTIONS "CreateAllMetaActions"
#define AI_ONE_METAACTION "CreateOneMetaAction"
#define AI_ALL_PROCEDURES "CreateAllProcedures"
#define AI_ONE_PROCEDURE "CreateOneProcedure"
#define AI_ALL_FUNCTIONS "CreateAllFunctions"
#define AI_ONE_FUNCTION "CreateOneFunction"
#define AI_ALL_CONDITIONS "CreateAllConditions"
#define AI_ONE_CONDITION "CreateOneCondition"
#define AI_ALL_KEYWORDS "CreateAllKeyWords"
#define AI_ONE_KEYWORD "CreateOneKeyWord"
#define AI_ALL_FIELDS "CreateAllFields"
#define AI_ONE_FIELD "CreateOneField"
#define AI_ALL_DSGVAR_TYPES "CreateAllDsgVarTypes"
#define AI_ONE_DSGVAR_TYPE "CreateOneDsgVarType"
#define AI_ALL_DSGVAR_INIT_TYPES "CreateAllDsgVarInitTypes"
#define AI_ONE_DSGVAR_INIT_TYPE "CreateOneDsgVarInitType"
#define AI_ALL_DSGVAR_SAVE_TYPES "CreateAllDsgVarSaveTypes"
#define AI_ONE_DSGVAR_SAVE_TYPE "CreateOneDsgVarSaveType"
#define AI_FRENCH "French"
#define AI_ENGLISH "English"
EXTERN_AI_DLL CPA_EXPORT void fn_vWriteAILangue();
#endif /*ACTIVE_EDITOR*/
/**********************************************************************************************************/
#undef EXTERN_AI_DLL
#endif /* __CONVERT_H__*/

View File

@@ -0,0 +1,35 @@
#if !defined(M_DEFINE_METAACTION)
#error You should define M_DEFINE_METAACTION accordingly before including this file !
#endif
/*
* 6 parameters to define a metaaction : enum , editor name, script name, functions pointers init next in actmain.c, in params.
*/
/************************************************************************************************
* le #ifdef suivant permet d'exclure les fonctions inutilis<69>es
* Merci
* Marc
************************************************************************************************/
#if defined(_AI_EXCLUDE_NEVER_USED_) /* MT {*/
#define NU_M_DEFINE_METAACTION(a,b,english,c,d,e,f)
#else
#define NU_M_DEFINE_METAACTION M_DEFINE_METAACTION
#endif /* _AI_EXCLUDE_NEVER_USED_ }*/
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_METAACTION(eMetaAction_FrozenWait ,"Temps_AttenteFigee", "TIME_FrozenWait", "Action_FrozenWait", fn_p_stFrozenWaitInit,fn_ucFrozenWait,USE_CONSTANT_PARAM)
M_DEFINE_METAACTION(eMetaAction_ExecuteAction ,"ExecuteAction", "ACTION_ExecuteAction", "Action_ExecuteAction", fn_p_stExecuteActionInit,fn_ucExecuteAction,USE_ACTION_PARAM)
M_DEFINE_METAACTION(eMetaAction_WaitEndOfAction ,"AttendFinAction", "ACTION_WaitEndOfAction", "Action_WaitEndOfAction", fn_p_stDefaultActionInit,fn_ucWaitEndOfAction,USE_NO_PARAM)
M_DEFINE_METAACTION(eMetaAction_WaitEndOfAnim ,"AttendFinAnim", "ACTION_WaitEndOfAnim", "Action_WaitEndOfAnim", fn_p_stDefaultActionInit,fn_ucWaitEndOfAnim,USE_NO_PARAM)
#ifdef D_USE_LIPSYNC
NU_M_DEFINE_METAACTION(eMetaAction_SpeakAndWaitEnd ,"ParleEtAttendLaFin", "ACTION_SpeakAndWaitEnd", "Action_SpeakAndWaitEnd", fn_p_stSpeakAndWaitEndInit,fn_ucSpeakAndWaitEnd,USE_LIPSYNCHRO_PARAM)
#endif /*D_USE_LIPSYNC*/
/**********************************************************************************************************************************************************************************************************************************************************/
#include "DefActCa.h"
#if defined(M_DEFINE_METAACTION)
#undef M_DEFINE_METAACTION
#endif

View File

@@ -0,0 +1,9 @@
NU_M_DEFINE_METAACTION(eMetaAction_CamCineMoveAToBTgtC, "CAM_CineMoveAToBTgtC", "CAM_CineMoveAToBTgtC", "Action_CAM_CineMoveAToBTgtC", fn_p_stCamCineInit, fn_ucCamCineMoveAToBTgtC, USE_3_VECTORS_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCineMoveAToBTgtAC, "CAM_CineMoveAToBTgtAC", "CAM_CineMoveAToBTgtAC", "Action_CAM_CineMoveAToBTgtAC", fn_p_stCamCineInit, fn_ucCamCineMoveAToBTgtAC, USE_3_VECTORS_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosATgtB, "CAM_CinePosATgtB", "CAM_CinePosATgtB", "Action_CAM_CinePosATgtB", fn_p_stCamCineInit, fn_ucCamCinePosATgtB, USE_2_VECTORS_PARAM USE_2_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosAMoveTgtBToC, "CAM_CinePosAMoveTgtBToC", "CAM_CinePosAMoveTgtBToC", "Action_CAM_CinePosAMoveTgtBToC", fn_p_stCamCineInit, fn_ucCamCinePosAMoveTgtBToC, USE_3_VECTORS_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosATgtBTurnPosH, "CAM_CinePosATgtBTurnPosH", "CAM_CinePosATgtBTurnPosH", "Action_CAM_CinePosATgtBTurnPosH", fn_p_stCamCineInit, fn_ucCamCinePosATgtBTurnPosH, USE_2_VECTORS_PARAM USE_REAL_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosATgtBTurnTgtH, "CAM_CinePosATgtBTurnTgtH", "CAM_CinePosATgtBTurnTgtH", "Action_CAM_CinePosATgtBTurnTgtH", fn_p_stCamCineInit, fn_ucCamCinePosATgtBTurnTgtH, USE_2_VECTORS_PARAM USE_REAL_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosATgtBTurnPosV, "CAM_CinePosATgtBTurnPosV", "CAM_CinePosATgtBTurnPosV", "Action_CAM_CinePosATgtBTurnPosV", fn_p_stCamCineInit, fn_ucCamCinePosATgtBTurnPosV, USE_2_VECTORS_PARAM USE_REAL_PARAM USE_3_CONSTANTS_PARAM)
NU_M_DEFINE_METAACTION(eMetaAction_CamCinePosATgtBTurnTgtV, "CAM_CinePosATgtBTurnTgtV", "CAM_CinePosATgtBTurnTgtV", "Action_CAM_CinePosATgtBTurnTgtV", fn_p_stCamCineInit, fn_ucCamCinePosATgtBTurnTgtV, USE_2_VECTORS_PARAM USE_REAL_PARAM USE_3_CONSTANTS_PARAM)

View File

@@ -0,0 +1,24 @@
NU_M_DEFINE_CONDITION (eCond_Cam_IsActive, "Cam_IsActive", "Cam_IsActive", "Cond_Cam_IsActive", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsViewportOwner, "Cam_IsViewportOwner", "Cam_IsViewportOwner", "Cond_Cam_IsViewportOwner", CAM_fn_p_stIs, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
/* IA FLAGS */
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoDynamicTarget, "Cam_IsFlagNoDynamicTarget", "Cam_IsFlagNoDynamicTarget", "Cond_Cam_IsFlagNoDynamicTarget", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoAverageMoveTgtPerso, "Cam_IsFlagNoAverageMoveTgtPerso", "Cam_IsFlagNoAverageMoveTgtPerso", "Cond_Cam_IsFlagNoAverageMoveTgtPerso", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoParseCutAngle, "Cam_IsFlagNoParseCutAngle", "Cam_IsFlagNoParseCutAngle", "Cond_Cam_IsFlagNoParseCutAngle", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoVisibility, "Cam_IsFlagNoVisibility", "Cam_IsFlagNoVisibility", "Cond_Cam_IsFlagNoVisibility", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoVisibilityWithDynHie, "Cam_IsFlagNoVisibilityWithDynHie", "Cam_IsFlagNoVisibilityWithDynHie", "Cond_Cam_IsFlagNoVisibilityWithDynHie", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoDynChangeTheta, "Cam_IsFlagNoDynChangeTheta", "Cam_IsFlagNoDynChangeTheta", "Cond_Cam_IsFlagNoDynChangeTheta", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoShiftUntilPosReached, "Cam_IsFlagNoShiftUntilPosReached", "Cam_IsFlagNoShiftUntilPosReached", "Cond_Cam_IsFlagNoShiftUntilPosReached", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoDynSpeed, "Cam_IsFlagNoDynSpeed", "Cam_IsFlagNoDynSpeed", "Cond_Cam_IsFlagNoDynSpeed", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
/* DNM FLAGS */
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoLinearParsing, "Cam_IsFlagNoLinearParsing", "Cam_IsFlagNoLinearParsing", "Cond_Cam_IsFlagNoLinearParsing", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoLinearInertia, "Cam_IsFlagNoLinearInertia", "Cam_IsFlagNoLinearInertia", "Cond_Cam_IsFlagNoLinearInertia", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoAngularParsing, "Cam_IsFlagNoAngularParsing", "Cam_IsFlagNoAngularParsing", "Cond_Cam_IsFlagNoAngularParsing", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoAngularInertia, "Cam_IsFlagNoAngularInertia", "Cam_IsFlagNoAngularInertia", "Cond_Cam_IsFlagNoAngularInertia", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoTargetParsing, "Cam_IsFlagNoTargetParsing", "Cam_IsFlagNoTargetParsing", "Cond_Cam_IsFlagNoTargetParsing", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoTargetInertia, "Cam_IsFlagNoTargetInertia", "Cam_IsFlagNoTargetInertia", "Cond_Cam_IsFlagNoTargetInertia", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagNoObstacle, "Cam_IsFlagNoObstacle", "Cam_IsFlagNoObstacle", "Cond_Cam_IsFlagNoObstacle", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagFixedOrientation, "Cam_IsFlagFixedOrientation", "Cam_IsFlagFixedOrientation", "Cond_Cam_IsFlagFixedOrientation", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION (eCond_Cam_IsFlagForcedPosition, "Cam_IsFlagForcedPosition", "Cam_IsFlagForcedPosition", "Cond_Cam_IsFlagForcedPosition", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagForcedTarget, "Cam_IsFlagForcedTarget", "Cam_IsFlagForcedTarget", "Cond_Cam_IsFlagForcedTarget", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION (eCond_Cam_IsFlagForcedAxis, "Cam_IsFlagForcedAxis", "Cam_IsFlagForcedAxis", "Cond_Cam_IsFlagForcedAxis", CAM_fn_p_stIs, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)

View File

@@ -0,0 +1,148 @@
/*-------------------------------------------------------------------------------------
DefCond.h : Conditions definitions
Author : Olivier Couvreur 21/08/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_CONDITION)
#error You should define M_DEFINE_CONDITION accordingly before including this file !
#endif
/* 6 parameters to define a condition : enum , editor name, script name, function pointers in Cond.c, in params ,ultra-able */
/************************************************************************************************
* le #ifdef suivant permet d'exclure les fonctions inutilis<69>es
* Merci
* Marc
************************************************************************************************/
#if defined(_AI_EXCLUDE_NEVER_USED_) /* MT {*/
#define NU_M_DEFINE_CONDITION(a,b,english,c,d,e,f)
#else
#define NU_M_DEFINE_CONDITION M_DEFINE_CONDITION
#endif /* _AI_EXCLUDE_NEVER_USED_ }*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Boolean conditions */
M_DEFINE_CONDITION(eCond_Et ,"Et" ,"And" ,"Cond_And" ,fn_p_stBooleanCondition,USE_2_BOOLEANS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_Ou ,"Ou" ,"Or" ,"Cond_Or" ,fn_p_stBooleanCondition,USE_2_BOOLEANS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_Not ,"Non" ,"Not" ,"Cond_Not" ,fn_p_stBooleanCondition,USE_BOOLEAN_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_XOr ,"OuExclusif" ,"XOr" ,"Cond_XOr" ,fn_p_stBooleanCondition,USE_2_BOOLEANS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Comparison conditions */
M_DEFINE_CONDITION(eCond_Equal ,"=" ,"=" ,"Cond_Equal" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_Different ,"<>" ,"<>" ,"Cond_Different" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_Lesser ,"<" ,"<" ,"Cond_Lesser" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_Greater ,">" ,">" ,"Cond_Greater" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_LesserOrEqual ,"<=" ,"<=" ,"Cond_LesserOrEqual" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_GreaterOrEqual ,">=" ,">=" ,"Cond_GreaterOrEqual" ,fn_p_stComparisonCondition,USE_2_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* ZDD conditions */
M_DEFINE_CONDITION(eCond_CollidePersoZDDNoWithPerso ,"Col_CollisionZDDPersoAvecPerso" ,"COL_CollidePersoZDDWithPerso" ,"Cond_CollidePersoZDDWithPerso" ,fn_p_stZDDCondition,USE_PERSO_ZDD_PERSO_PARAM USE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDDNoWithPerso ,"Col_CollisionZDDModuleAvecPerso" ,"COL_CollideModuleZDDWithPerso" ,"Cond_CollideModuleZDDWithPerso" ,fn_p_stZDDCondition,USE_PERSO_ZDD_MODULE_PARAM USE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollidePersoAllZDDWithPerso ,"Col_CollisionPersoTouteZDDAvecPerso" ,"COL_CollidePersoAllZDDWithPersoAllZDD" ,"Cond_CollidePersoAllZDDWithPersoAllZDD" ,fn_p_stZDDCondition,USE_2_PERSOS_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollidePersoZDDWithAnyPerso ,"Col_CollisionZDDPersoAvecNimporteQuelPerso" ,"COL_CollidePersoZDDWithAnyPErso" ,"Cond_CollidePersoZDDWithAnyPErso" ,fn_p_stZDDCondition,USE_PERSO_ZDD_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDDWithAnyPerso ,"Col_CollisionZDDModuleAvecNimporteQuelPerso" ,"COL_CollideModuleZDDWithAnyPerso" ,"Cond_CollideModuleZDDWithAnyPerso" ,fn_p_stZDDCondition,USE_PERSO_ZDD_MODULE_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* ZDE conditions */
M_DEFINE_CONDITION(eCond_CollidePersoZDENoWithPersoZDENo ,"Col_CollisionZDEPersoAvecZDEPerso" ,"COL_CollidePersoZDEWithPersoZDE" ,"Cond_CollidePersoZDEWithPersoZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_PERSO_PARAM USE_PERSO_ZDE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDENoWithPersoZDENo ,"Col_CollisionZDEModuleAvecZDEPerso" ,"COL_CollideModuleZDEWithPersoZDE" ,"Cond_CollideModuleZDEWithPersoZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_MODULE_PARAM USE_PERSO_ZDE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollidePersoZDENoWithModuleZDENo ,"Col_CollisionZDEPersoAvecZDEModule" ,"COL_CollidePersoZDEWithModuleZDE" ,"Cond_CollidePersoZDEWithModuleZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_PERSO_PARAM USE_PERSO_ZDE_MODULE_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDENoWithModuleZDENo ,"Col_CollisionZDEModuleAvecZDEModule" ,"COL_CollideModuleZDEWithModuleZDE" ,"Cond_CollideModuleZDEWithModuleZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_MODULE_PARAM USE_PERSO_ZDE_MODULE_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollidePersoZDENoWithPersoTypeZDE ,"Col_CollisionZDEPersoAvecPersoTypeZDE" ,"COL_CollidePersoZDEWithPersoTypeZDE" ,"Cond_CollidePersoZDEWithPersoTypeZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_PERSO_PARAM USE_PERSO_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDENoWithPersoTypeZDE ,"Col_CollisionZDEModuleAvecPersoTypeZDE" ,"COL_CollideModuleZDEWithPersoTypeZDE" ,"Cond_CollideModuleZDEWithPersoTypeZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_MODULE_PARAM USE_PERSO_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollidePersoTypeZDEWithPersoTypeZDE ,"Col_CollisionPersoTypeZDEAvecPersoTypeZDE" ,"COL_CollidePersoTypeZDEWithPersoTypeZDE" ,"Cond_CollidePersoTypeZDEWithPersoTypeZDE",fn_p_stZDECondition,USE_PERSO_MASK_PARAM USE_PERSO_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollidePersoAllZDEWithPersoAllZDE ,"Col_CollisionPersoTouteZDEAvecPersoTouteZDE" ,"COL_CollidePersoAllZDEWithPersoAllZDE" ,"Cond_CollidePersoAllZDEWithPersoAllZDE" ,fn_p_stZDECondition,USE_2_PERSOS_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollidePersoTypeZDEWithPersoAllZDE ,"Col_CollisionPersoTypeZDEAvecPersoTouteZDE" ,"COL_CollidePersoTypeZDEWithPersoAllZDE" ,"Cond_CollidePersoTypeZDEWithPersoAllZDE" ,fn_p_stZDECondition,USE_PERSO_MASK_PARAM USE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollidePersoAllZDEWithPersoTypeZDE ,"Col_CollisionPersoTouteZDEAvecPersoTypeZDE" ,"COL_CollidePersoAllZDEWithPersoTypeZDE" ,"Cond_CollidePersoAllZDEWithPersoTypeZDE" ,fn_p_stZDECondition,USE_PERSO_PARAM USE_PERSO_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollidePersoZDENoWithTypeZDE ,"Col_CollisionPersoZDEAvecTypeZDE" ,"COL_CollidePersoZDENoWithTypeZDE" ,"Cond_CollidePersoZDENoWithTypeZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_PERSO_PARAM USE_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_CollideModuleZDENoWithTypeZDE ,"Col_CollisionModuleZDEAvecTypeZDE" ,"COL_CollideModuleZDENoWithTypeZDE" ,"Cond_CollideModuleZDENoWithTypeZDE" ,fn_p_stZDECondition,USE_PERSO_ZDE_MODULE_PARAM USE_MASK_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* ZDM Collision Test */
/* M_DEFINE_CONDITION(eCond_CollideMovingZDM ,"Col_CollisionAvecZDMDeplacee" ,"Cond_CollideMovingZDM",fn_p_stCollisionTestCondition, USE_ZDM_PERSO_VECTOR_PARAM,/* NOT_ULTRA_ABLE /* )*/
/* Collision conditions : ULTRA */
M_DEFINE_CONDITION(eCond_CollideWithGround ,"Col_CollisionAvecSol" ,"COL_CollideWithGround" ,"Cond_CollideWithGround" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithWall ,"Col_CollisionAvecMur" ,"COL_CollideWithWall" ,"Cond_CollideWithWall" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithNothing ,"Col_PasDeCollision" ,"COL_CollideWithNothing" ,"Cond_CollideWithNothing",fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithCeiling ,"Col_CollisionAvecPlafond" ,"COL_CollideWithCeiling" ,"Cond_CollideWithCeiling",fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithPerso ,"Col_CollisionAvecPerso" ,"COL_CollideWithPerso" ,"Cond_CollideWithPerso" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithWater ,"Col_CollisionAvecEau" ,"COL_CollideWithWater" ,"Cond_CollideWithWater" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollideWithThisPerso ,"Col_CollisionAvecCePerso" ,"COL_CollideWithThisPerso" ,"Cond_CollideWithThisPerso" ,fn_p_stReportThisPerso, USE_PERSO_PARAM,/**/ ULTRA_ABLE /**/)
/*ANNECY BBB*/
/*M_DEFINE_CONDITION(eCond_CollideWithTrap ,"Col_CollisionAvecTrappe" ,"Cond_CollideWithTrap" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/* ULTRA_ABLE /* )*/
/*M_DEFINE_CONDITION(eCond_CollideWithSlope ,"Col_CollisionAvecPente" ,"Cond_CollideWithSlope" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/* ULTRA_ABLE /* )*/
/*M_DEFINE_CONDITION(eCond_CollideWithAttic ,"Col_CollisionAvecMansarde" ,"Cond_CollideWithAttic" ,fn_p_stReportOnSurfaceCondition, USE_NO_PARAM,/* ULTRA_ABLE /* )*/
/* ZDM Collision conditions : ULTRA */
M_DEFINE_CONDITION(eCond_ZDMCollideWithGround ,"Col_ZDMCollisionAvecSol" ,"COL_ZDMCollideWithGround" ,"Cond_ZDMCollideWithGround" ,fn_p_stReportOnZDMSurfaceCondition,USE_MASK_PARAM,/**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_ZDMCollideWithWall ,"Col_ZDMCollisionAvecMur" ,"COL_ZDMCollideWithWall" ,"Cond_ZDMCollideWithWall" ,fn_p_stReportOnZDMSurfaceCondition,USE_MASK_PARAM,/**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_ZDMCollideWithNothing ,"Col_ZDMPasDeCollision" ,"COL_ZDMCollideWithNothing" ,"Cond_ZDMCollideWithNothing",fn_p_stReportOnZDMSurfaceCondition, USE_MASK_PARAM,/**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_ZDMCollideWithCeiling ,"Col_ZDMCollisionAvecPlafond" ,"COL_ZDMCollideWithCeiling" ,"Cond_ZDMCollideWithCeiling",fn_p_stReportOnZDMSurfaceCondition, USE_MASK_PARAM,/**/ ULTRA_ABLE /**/)
/*M_DEFINE_CONDITION(eCond_ZDMCollideWithSlope ,"Col_ZDMCollisionAvecPente" ,"Cond_ZDMCollideWithSlope" ,fn_p_stReportOnZDMSurfaceCondition, USE_MASK_PARAM,/* ULTRA_ABLE /* )*/
/*M_DEFINE_CONDITION(eCond_ZDMCollideWithAttic ,"Col_ZDMCollisionAvecMansarde" ,"Cond_ZDMCollideWithAttic" ,fn_p_stReportOnZDMSurfaceCondition, USE_MASK_PARAM,/* ULTRA_ABLE /* )*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* List conditions */
M_DEFINE_CONDITION(eCond_IsPersoInList ,"LST_PersoExisteDansListe" ,"LST_IsPersoInList" ,"Cond_IsPersoInList" ,fn_p_stListCondition,USE_DSGVARIDLIST_PERSO_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsModelInList ,"LST_ModeleExisteDansListe" ,"LST_IsModelInList" ,"Cond_IsModelInList" ,fn_p_stListCondition,USE_DSGVARIDLIST_MODEL_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsFamilyInList ,"LST_FamilleExisteDansListe" ,"LST_IsFamilyInList" ,"Cond_IsFamilyInList" ,fn_p_stListCondition,USE_DSGVARIDLIST_FAMILY_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_ListEmptyTest ,"LST_ListeVide" ,"LST_ListEmptyTest" ,"Cond_ListEmptyTest" ,fn_p_stListCondition,USE_DSGVARIDLIST_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* UserEvent */
M_DEFINE_CONDITION(eCond_UserEvent_IsSet ,"UserEvent_IsSet" ,"UserEvent_IsSet" ,"Cond_UserEvent_IsSet" ,fn_p_st_UserEvent_IsSet, USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_UserEvent_IsSet2 ,"UserEvent_IsSet2" ,"UserEvent_IsSet2" ,"Cond_UserEvent_IsSet2",fn_p_st_UserEvent_IsSet, USE_CONSTANT_PARAM USE_ADDR_VECTOR_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* NO FAMILY */
M_DEFINE_CONDITION(eCond_PressedBut ,"BoutonAppuye" ,"BUT_PressedBut" ,"Cond_PressedBut" ,fn_p_stButtonCondition,USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_JustPressedBut ,"BoutonJusteAppuye" ,"BUT_JustPressedBut" ,"Cond_JustPressedBut" ,fn_p_stButtonCondition,USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_ReleasedBut ,"BoutonRelache" ,"BUT_ReleasedBut" ,"Cond_ReleasedBut" ,fn_p_stButtonCondition,USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_JustReleasedBut ,"BoutonJusteRelache" ,"BUT_JustReleasedBut" ,"Cond_JustReleasedBut" ,fn_p_stButtonCondition,USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Time conditions */
M_DEFINE_CONDITION(eCond_IsTimeElapsed ,"TempsDepasse" ,"TIME_IsTimeElapsed" ,"Cond_IsTimeElapsed" ,fn_p_stTimeCondition,USE_CONSTANT_PARAM USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Validity condition */
M_DEFINE_CONDITION(eCond_IsValidObject ,"ObjetValide" ,"SPO_IsValidObject" ,"Cond_IsValidObject" ,fn_p_stValidityCondition,USE_PERSO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsValidWayPoint ,"Reseau_WayPointValide" ,"NET_IsValidWayPoint" ,"Cond_IsValidWayPoint" ,fn_p_stValidityCondition,USE_WAYPOINT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsValidGMT ,"GMTValide" ,"GMT_IsValidGMT" ,"Cond_IsValidGMT" ,fn_p_stValidityCondition,USE_GMT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsValidAction ,"ActionValide" ,"ACT_IsValidAction" ,"Cond_IsValidAction" ,fn_p_stValidityCondition,USE_ACTION_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsValidText ,"TexteValide" ,"TEXT_IsValidText" ,"Cond_IsValidText" ,fn_p_stValidityCondition,USE_TEXT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Lips_Synchro : ULTRA */
#ifdef D_USE_LIPSYNC
NU_M_DEFINE_CONDITION(eCond_IsSpeechOver ,"DiscoursTermine" ,"SPEEK_IsSpeechOver" ,"Cond_IsSpeechOver" ,fn_p_stLipsSynchroCondition,USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
#endif /* D_USE_LIPSYNC*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Sector : ULTRA for eCond_SeePerso */
M_DEFINE_CONDITION(eCond_SeePerso ,"VoitPerso" ,"ACT_SeePerso" ,"Cond_SeePerso" ,fn_p_stSectorCondition,USE_PERSO_PARAM,/**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* activation */
M_DEFINE_CONDITION(eCond_IsActivable ,"EstActivable" ,"ACT_IsActivable" ,"Cond_IsActivable" ,fn_p_st_ActivationCondition,USE_NO_PARAM,/**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* traitement */
M_DEFINE_CONDITION(eCond_IsAlreadyHandled ,"ACT_EstDejaTraite" ,"ACT_IsAlreadyHandled","Cond_IsAlreadyHandled" ,fn_p_st_HandledCondition,USE_PERSO_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Always condition */
M_DEFINE_CONDITION(eCond_Alw_IsMine ,"Alw_EstAMoi" ,"ALW_IsMain" ,"Cond_Alw_IsMain" ,fn_p_stAlw_IsMine,USE_PERSO_PARAM,/**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Lights */
NU_M_DEFINE_CONDITION(eCond_IsPersoLightOn ,"LumierePersoAllumee" ,"LIGHT_IsPersoLightOn" ,"Cond_IsPersoLightOn" ,fn_p_stLightCondition,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsPersoLightPulseOn ,"PulseLumierePersoAllumee" ,"LIGHT_IsPersoLightPulseOn" ,"Cond_IsPersoLightPulseOn" ,fn_p_stLightCondition,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsPersoLightGyroPhareOn ,"GyroPhareLumierePersoAllumee" ,"LIGHT_IsPersoLightGyroPhareOn" ,"Cond_IsPersoLightGyroPhareOn" ,fn_p_stLightCondition,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
//KWN : Add a New AI Function
M_DEFINE_CONDITION(eCond_StyletJustPressed ,"DS_StyletJustPressed" ,"DS_StyletJustPressed" ,"Cond_DS_StyletJustPressed" ,fn_p_stStyletCondition ,USE_NO_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_StyletPressed ,"DS_StyletPressed" ,"DS_StyletPressed" ,"Cond_DS_StyletPressed" ,fn_p_stStyletCondition ,USE_NO_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_StyletJustReleased ,"DS_StyletJustReleased" ,"DS_StyletJustReleased" ,"Cond_DS_StyletJustReleased" ,fn_p_stStyletCondition ,USE_NO_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_StyletSlice ,"DS_StyletSlice" ,"DS_StyletSlice" ,"Cond_DS_StyletSlice" ,fn_p_stStyletSlice ,USE_2_VECTORS_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_StyletRotation ,"DS_CheckStyletRotation" ,"CheckStyletRotation" ,"Cond_DS_CheckStyletRotation" ,fn_p_stCheckStyletRotation ,USE_VECTOR_PARAM USE_CONSTANT_PARAM USE_BOOLEAN_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_StyletGratter ,"DS_CheckStyletGratter" ,"CheckStyletGratter" ,"Cond_DS_CheckStyletGratter" ,fn_p_stCheckStyletGratter ,USE_2_VECTORS_PARAM USE_CONSTANT_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
#include "DefCond1.h"
#include "DefConCa.h"
#if defined(M_DEFINE_CONDITION)
#undef M_DEFINE_CONDITION
#endif

View File

@@ -0,0 +1,110 @@
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_IsZDMCollideWithObstacle ,"ZON_ZDMCollisionAvecObstacle" ,"ZON_ZDMCollideWithObstacle" ,"Cond_ZDMCollideWithObstacle" ,fn_p_stZDMCollideWithObstacle,USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsZDMCollideWithWall ,"ZON_ZDMContreMur" ,"ZON_IsZDMCollideWithWall" ,"Cond_IsZDMCollideWithWall" ,fn_p_stZDMCollideWithObstacle,USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsZDMCollideWithGround ,"ZON_ZDMContreSol" ,"ZON_IsZDMCollideWithGround" ,"Cond_IsZDMCollideWithGround" ,fn_p_stZDMCollideWithObstacle,USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsZDMCollideWithCeiling ,"ZON_ZDMContrePlafond" ,"ZON_IsZDMCollideWithCeiling" ,"Cond_IsZDMCollideWithCeiling" ,fn_p_stZDMCollideWithObstacle,USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* collision communication management : NOT ULTRA */
M_DEFINE_CONDITION(eCond_CmtIdentifierContainsMask ,"COL_TesteCmtContreMasque" ,"COL_CmtIdentifierContainsMask" ,"Cond_CmtIdentifierContainsMask" ,fn_p_stMiscCondition ,USE_MASK_PARAM USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_HitByCollider ,"COL_CollisionneurTouche" ,"COL_HitByCollider" ,"Cond_HitByCollider" ,fn_p_stMiscCondition ,USE_NO_PARAM,/**/ NOT_ULTRA_ABLE /**/) /*la fct est dans Cond.c*/
NU_M_DEFINE_CONDITION(eCond_IsTypeOfGMTCollide ,"TypeGMTCollision" ,"COL_IsTypeOfGMTCollide" ,"Cond_IsTypeOfGMTCollide" ,fn_p_stMiscCondition ,USE_MASK_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsInComport ,"EstDansComportement" ,"ACT_IsInComport" ,"Cond_IsInComport" ,fn_p_stMiscCondition ,USE_PERSO_INTELL_COMPORT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsInReflexComport ,"EstDansComportementReflexe" ,"ACT_IsInReflexComport" ,"Cond_IsInReflexComport" ,fn_p_stMiscCondition ,USE_PERSO_REFLEX_COMPORT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsInAction ,"EstDansAction" ,"ACT_IsInAction" ,"Cond_IsInAction" ,fn_p_stMiscCondition ,USE_ACTION_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_ChangeActionEnable ,"ChangeActionPossible" ,"ACT_ChangeActionEnable" ,"Cond_ChangeActionEnable" ,fn_p_stMiscCondition ,USE_ACTION_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_EngineReinitRequested ,"ReinitMoteurDemande" ,"ReinitMoteurDemande" ,"Cond_EngineReinitRequested" ,fn_p_stMiscCondition , USE_NO_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_CONDITION(eCond_IsThereMechEvent ,"EvenementMecanique" ,"MEC__IsThereMechEvent" ,"Cond_IsThereMechEvent" ,fn_p_stMiscCondition ,USE_ADDR_LONG_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_CollisionWP ,"COL_CollisionWP" ,"COL_CollisionWP" ,"Cond_CollisionWP" ,fn_p_stCollisionWP ,USE_PERSO_PARAM USE_WAYPOINT_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Acteurs */
M_DEFINE_CONDITION(eCond_IsCustomBitSet ,"ACT_TestCustomBit" ,"ACT_IsCustomBitSet" ,"Cond_IsCustomBitSet" ,fn_p_stCustomBitsCond,USE_CONSTANT_PARAM,/**/ ULTRA_ABLE /**/)
M_DEFINE_CONDITION(eCond_IsPersoActive ,"ACT_EstActif" ,"ACT_IsPersoActive" ,"Cond_IsPersoActive" ,fn_p_stIsPersoActive,USE_PERSO_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_CheckActionEnd ,"ACT_TestFinAction" ,"ACT_CheckActionEnd" ,"Cond_CheckActionEnd" ,fn_p_stCheckAnimEnd,USE_NO_PARAM,ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_IsCurrentStateCustomBitSet ,"ACT_TestCustomBitDEtatCourant" ,"ACT_IsCurrentStateCustomBitSet" ,"Cond_IsCurrentStateCustomBitSet" ,fn_p_stCustomBitsCond,USE_CAPS_PARAM,/**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Meca */
M_DEFINE_CONDITION(eCond_IsGiBlock ,"MEC_GiBloque" ,"MEC_GiBlock" ,"Cond_GiBlock" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
M_DEFINE_CONDITION(eCond_IsMechanicBlock ,"MEC_MecaniqueBloque" ,"MEC_MechanicBlock" ,"Cond_MechanicBlock" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicAnimation ,"MEC_OptionAnimation" ,"MEC_IsMechanicAnimatino" ,"Cond_IsMechanicAnimatino" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicCollide ,"MEC_OptionCollision" ,"MEC_IsMechanicCollide" ,"Cond_IsMechanicCollide" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicGravity ,"MEC_OptionGravite" ,"MEC_IsMechanicGravity" ,"Cond_IsMechanicGravity" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicTilt ,"MEC_OptionTilt" ,"MEC_IsMechanicTilt" ,"Cond_IsMechanicTilt" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicGi ,"MEC_OptionGi" ,"MEC_IsMechanicGi" ,"Cond_IsMechanicGi" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicClimb ,"MEC_OptionVarappe" ,"MEC_IsMechanicClimb" ,"Cond_IsMechanicClimb" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicOnGround ,"MEC_OptionPlaqueAuSol" ,"MEC_IsMechanicOnGround" ,"Cond_IsMechanicOnGround" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicSpider ,"MEC_OptionAraignee" ,"MEC_IsMechanicSpider" ,"Cond_IsMechanicSpider" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicShoot ,"MEC_OptionShoot" ,"MEC_IsMechanicShoot" ,"Cond_IsMechanicShoot" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicSwim ,"MEC_OptionNage" ,"MEC_IsMechanicSwim" ,"Cond_IsMechanicSwim" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicNeverFall ,"MEC_OptionNeTombePas" ,"MEC_IsMechanicNeverFall" ,"Cond_IsMechanicNeverFall" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicCollisionControl ,"MEC_OptionControleCollision" ,"MEC_IsMechanicCollisionControl" ,"Cond_IsMechanicCollisionControl" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicKeepSpeedZ ,"MEC_OptionConserveVitesseZ" ,"MEC_IsMechanicKeepSpeedZ" ,"Cond_IsMechanicKeepSpeedZ" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicSpeedLimit ,"MEC_OptionLimiteVitesse" ,"MEC_IsMechanicSpeedLimit" ,"Cond_IsMechanicSpeedLimit" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicInertia ,"MEC_OptionInertie" ,"MEC_IsMechanicInertia" ,"Cond_IsMechanicInertia" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
M_DEFINE_CONDITION(eCond_IsMechanicStream ,"MEC_OptionFlux" ,"MEC_IsMechanicStream" ,"Cond_IsMechanicStream" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicStickOnPlatform ,"MEC_OptionCollerAuxPlateformes" ,"MEC_IsMechanicStickOnPlatform" ,"Cond_IsMechanicStickOnPlatform" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicPatformCrash ,"MEC_EcraseParPlateforme" ,"MEC_MechanicPatformCrash" ,"Cond_MechanicPatformCrash" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicScale ,"MEC_OptionScale" ,"MEC_IsMechanicScale" ,"Cond_IsMechanicScale" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_CONDITION(eCond_IsMechanicExec ,"MEC_Execution" ,"MEC_IsMechanicExec" ,"Cond_IsMechanicExec" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
M_DEFINE_CONDITION(eCond_CanFall ,"MEC_PeutTomber" ,"MEC_CanFall" ,"Cond_CanFall" ,fn_p_stMechanicOption, USE_ADDR_VECTOR_PARAM , ULTRA_ABLE )
M_DEFINE_CONDITION(eCond_IsMechanicCrash ,"MEC_ActeurPrincipalEcrase" ,"MEC_IsMainActorCrashed" ,"Cond_MainActorCrashed" ,fn_p_stMechanicOption, USE_NO_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_IsNullVector ,"VEC_VecteurNul" ,"VEC_NullVector" ,"Cond_NullVector" ,fn_p_stNullVector, USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Hierarchy - Platform */
M_DEFINE_CONDITION(eCond_HierIsSonOfActor ,"HIER_EstFils_acteur" ,"HIER_HierIsSonOfActor" ,"Cond_HierIsSonOfActor" ,fn_p_stHierarchySon, USE_PERSO_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_CONDITION(eCond_IsMorphing ,"MOD_MorphingEnCours" ,"MOD_IsMorphing" ,"Cond_IsMorphing" ,fn_p_stIsMorphing, USE_CHANNEL_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_CheckAnimEnd ,"ANI_TestFinAnim" ,"ANI_CheckAnimEnd" ,"Cond_CheckAnimEnd" ,fn_p_stCheckAnimEnd,USE_NO_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_HasTheCapability ,"Caps_ALaCapacite" ,"CAPS_HasTheCapability" ,"Cond_HasTheCapability" ,fn_p_stCheckCapabilities, USE_CAPS_PARAM USE_CAPS_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_HasOneOfTheCapabilities ,"Caps_AUneDesCapacites" ,"CAPS_HasOneOfTheCapabilities" ,"Cond_HasOneOfTheCapabilities" ,fn_p_stCheckCapabilities, USE_CAPS_PARAM USE_CAPS_PARAM, ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_HasTheCapabilityNumber ,"Caps_ALaCapaciteNumero" ,"CAPS_HasTheCapabilityNumber" ,"Cond_HasTheCapabilityNumber" ,fn_p_stCheckCapabilities, USE_CAPS_PARAM USE_CONSTANT_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_PersoHasTheCapability ,"Caps_PersoALaCapacite" ,"CAPS_PersoHasTheCapability" ,"Cond_PersoHasTheCapability" ,fn_p_stCheckCapabilities, USE_CAPS_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_PersoHasOneOfTheCapabilities ,"Caps_PersoAUneDesCapacites" ,"CAPS_PersoHasOneOfTheCapabilities","Cond_PersoHasOneOfTheCapabilities",fn_p_stCheckCapabilities, USE_CAPS_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_PersoHasTheCapabilityNumber ,"Caps_PersoALaCapaciteNumero" ,"CAPS_PersoHasTheCapabilityNumber" ,"Cond_PersoHasTheCapabilityNumber" ,fn_p_stCheckCapabilities, USE_CONSTANT_PARAM, ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
/*XB980824*/
#ifndef D_THROW_MGT
NU_M_DEFINE_CONDITION(eCond_MagnetIsActivated ,"Magnet_EstActif" ,"MAGNET_IsMagnetActivated" ,"Cond_IsMagnetActivated" ,fn_p_stMagnetActivated, USE_NO_PARAM, ULTRA_ABLE)
#else
NU_M_DEFINE_CONDITION(eCond_MagnetIsActivated ,"Magnet_EstActif" ,"MAGNET_IsMagnetActivated" ,"Cond_IsMagnetActivated" ,fn_p_stDummyCondition, USE_NO_PARAM, ULTRA_ABLE)
#endif
/*End XB*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Collision Flags */
NU_M_DEFINE_CONDITION(eCond_NEstPasEnCollisionAvecMap ,"ACT_NEstPasEnCollisionAvecMap" ,"ACT_IsNotInCollWithMap" ,"Cond_IsNotInCollWithMap" ,fn_p_stIsCollisionFlag, USE_NO_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_NEstPasEnCollisionAvecProjectile ,"ACT_NEstPasEnCollisionAvecProjectiles" ,"ACT_IsNotInCollWithProj" ,"Cond_IsNotInCollWithProj" ,fn_p_stIsCollisionFlag, USE_NO_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_NEstPasEnCollisionAvecSecondCharact ,"ACT_NEstPasEnCollisionAvecActeursSecondaires" ,"ACT_IsNotInColWithSecondCharact" ,"Cond_IsNotInColWithSecondCharact" ,fn_p_stIsCollisionFlag, USE_NO_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_NEstPasEnCollisionAvecMainCharact ,"ACT_NEstPasEnCollisionAvecActeurPrincipal" ,"ACT_IsNotInColWithMainCharact" ,"Cond_IsNotInColWithMainCharact" ,fn_p_stIsCollisionFlag, USE_NO_PARAM, ULTRA_ABLE)
NU_M_DEFINE_CONDITION(eCond_NEstPasEnCollisionAvecAutresSecteurs ,"ACT_NEstPasEnCollisionAvecAutresSecteurs" ,"ACT_IsNotInColWithOtherSectors" ,"Cond_IsNotInColWithOtherSectors" ,fn_p_stIsCollisionFlag, USE_NO_PARAM, ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_IsInFamily ,"ACT_EstDeFamille" ,"ACT_IsOfFamily" ,"Cond_IsOfFamily" ,fn_p_stIsOf, USE_FAMILY_PARAM, ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_IsInModel ,"ACT_EstDeModele" ,"ACT_IsOfModel" ,"Cond_IsOfModel" ,fn_p_stIsOf, USE_MODEL_PARAM, ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_CONDITION(eCond_AJoypadIsConnected ,"IPT_AJoypadIsConnected" ,"IPT_AJoypadIsConnected" ,"Cond_AJoypadIsConnected" ,fn_p_stAJoypadIsConnected, USE_NO_PARAM, ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_AKeyJustPressed ,"IPT_AKeyJustPressed" ,"IPT_AKeyJustPressed" ,"Cond_AKeyJustPressed" ,fn_p_stAKeyJustPressed, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_AButtonPadJustPressed ,"IPT_AButtonPadJustPressed" ,"IPT_AButtonPadJustPressed" ,"Cond_AButtonPadJustPressed" ,fn_p_stAButtonPadJustPressed, USE_NO_PARAM, NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
/* demos */
/*HP 101298*/
M_DEFINE_CONDITION(eCond_IsInDemoMode , "EstDansDemoMode" ,"IsInDemoMode" ,"Cond_IsInDemoMode" , fn_p_stDemoCondition, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_CONDITION(eCond_IsInStereoMode ,"SOUND_IsInStereoMode" ,"SOUND_IsInStereoMode" ,"Cond_IsInStereoMode" ,fn_p_stIsInStereoMode, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_IsMusicPlaying ,"SOUND_IsMusicPlaying" ,"SOUND_IsMusicPlaying" ,"Cond_IsMusicPlaying" ,fn_p_stIsMusicPlaying, USE_NO_PARAM, NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
#ifdef U64
M_DEFINE_CONDITION(eCond_IsShapnessMax ,"VID_IsShapnessMax" ,"VID_IsShapnessMax" ,"Cond_IsShapnessMax" ,fn_p_stIsIsShapnessMax, USE_NO_PARAM, NOT_ULTRA_ABLE)
#else
M_DEFINE_CONDITION(eCond_IsShapnessMax ,"VID_IsShapnessMax" ,"VID_IsShapnessMax" ,"Cond_IsShapnessMax" ,fn_p_stDummyCondition, USE_NO_PARAM, NOT_ULTRA_ABLE)
#endif
M_DEFINE_CONDITION(eCond_IsSlotDataCorrupt, "SLOT_IsDataCorrupt", "SLOT_IsDataCorrupt", "COND_IsDataCorrupt", fn_p_stIsSlotDataCorrupt, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_IsCheatMenu, "CHEAT_IsCheatMenu", "CHEAT_IsCheatMenu", "COND_IsCheatMenu", fn_p_stIsCheatMenu, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_CONDITION(eCond_IsUSBuild, "COND_IsUSBuild", "COND_IsUSBuild", "COND_IsUSBuild", fn_p_stIsUSBuild, USE_NO_PARAM, NOT_ULTRA_ABLE)

View File

@@ -0,0 +1,42 @@
/*-------------------------------------------------------------------------------------
DefFild.h : Field definitions
Author : Olivier Couvreur 25/08/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_FIELD)
#error You should define M_DEFINE_FIELD accordingly before including this file !
#endif
#include "..\AIBase\Specif\AIOption.h"
/* 6 parameters to define a fiels : enum , editor name, script name, type, function pointers Get, function pointers Set */
/**********************************************************************************************************************************************************************************************************************************************************/
/* Affect the Perso */
M_DEFINE_FIELD(eField_Position ,"Position" ,"Position" ,"Position" , eFieldType_Vector , fn_ucGetFieldPosition, fn_ucSetFieldDefaultFunction)
M_DEFINE_FIELD(eField_Orientation ,"Orientation" ,"Orientation" ,"Orientation" , eFieldType_Vector , fn_ucGetFieldOrientation, fn_ucSetFieldOrientation)
M_DEFINE_FIELD(eField_Speed ,"Speed" ,"Speed" ,"Speed" , eFieldType_Vector , fn_ucGetFieldSpeed, fn_ucSetFieldDefaultFunction)
M_DEFINE_FIELD(eField_NormSpeed ,"NormSpeed" ,"NormSpeed" ,"NormSpeed" , eFieldType_Float , fn_ucGetFieldNormSpeed, fn_ucSetFieldDefaultFunction)
/**********************************************************************************************************************************************************************************************************************************************************/
/* M_DEFINE_FIELD(eField_SightAxis ,"AxeDeVue" ,"SightAxis" , eFieldType_Vector , fn_ucGetFieldSightAxis, fn_ucSetFieldSightAxis)*/
/* M_DEFINE_FIELD(eField_FirstCompAxis ,"AxeComplementaire1" ,"FirstCompAxis" , eFieldType_Vector , fn_ucGetFieldFirstCompAxis, fn_ucSetFieldFirstCompAxis)*/
/* M_DEFINE_FIELD(eField_SecondCompAxis ,"AxeComplementaire2" ,"SecondCompAxis" , eFieldType_Vector , fn_ucGetFieldSecondCompAxis, fn_ucSetFieldSecondCompAxis)*/
M_DEFINE_FIELD(eField_AbsoluteAxisX ,"AxeXEnAbsolu" ,"AbsoluteAxisX" ,"AbsoluteAxisX" , eFieldType_Vector , fn_ucGetFieldAbsoluteAxisX, fn_ucSetFieldDefaultFunction)
M_DEFINE_FIELD(eField_AbsoluteAxisY ,"AxeYEnAbsolu" ,"AbsoluteAxisY" ,"AbsoluteAxisY" , eFieldType_Vector , fn_ucGetFieldAbsoluteAxisY, fn_ucSetFieldDefaultFunction)
M_DEFINE_FIELD(eField_AbsoluteAxisZ ,"AxeZEnAbsolu" ,"AbsoluteAxisZ" ,"AbsoluteAxisZ" , eFieldType_Vector , fn_ucGetFieldAbsoluteAxisZ, fn_ucSetFieldDefaultFunction)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FIELD(eField_PrevComportIntell ,"ComportIntelPrec" ,"PrevComportIntell","PrevComportIntell" , eFieldType_Comport, fn_ucGetFieldPrevComportIntell, fn_ucSetFieldDefaultFunction)
M_DEFINE_FIELD(eField_PrevComportReflex ,"ComportReflexePrec" ,"PrevComportReflex","PrevComportReflex" , eFieldType_Comport, fn_ucGetFieldPrevComportReflex, fn_ucSetFieldDefaultFunction)
/**********************************************************************************************************************************************************************************************************************************************************/
/* ANNECY AV {*/
/* M_DEFINE_FIELD(eField_CollisionFlag ,"CollisionFlag" ,"CollisionFlag" , eFieldType_0To255 , fn_ucGetFieldCollisionFlag, fn_ucSetFieldCollisionFlag)*/
/* END ANNECY AV }*/
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FIELD(eField_ShadowScaleX ,"ShadowScaleX" ,"ShadowScaleX" ,"ShadowScaleX" , eFieldType_Float , fn_ucGetFieldShadowScaleX, fn_ucSetFieldShadowScaleX)
M_DEFINE_FIELD(eField_ShadowScaleY ,"ShadowScaleY" ,"ShadowScaleY" ,"ShadowScaleY" , eFieldType_Float , fn_ucGetFieldShadowScaleY, fn_ucSetFieldShadowScaleY)
#if defined(M_DEFINE_FIELD)
#undef M_DEFINE_FIELD
#endif

View File

@@ -0,0 +1,35 @@
M_DEFINE_FUNCTION(eFct_Cam_GetShiftTarget, "Cam_GetShiftTarget", "Cam_GetShiftTarget", "Proc_Cam_GetShiftTarget", CAM_fn_p_stGetVectorParameter, USE_CONSTANT_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetShiftPos, "Cam_GetShiftPos", "Cam_GetShiftPos", "Proc_Cam_GetShiftPos", CAM_fn_p_stGetVectorParameter, USE_CONSTANT_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetDistMin, "Cam_GetDistMin", "Cam_GetDistMin", "Fct_Cam_GetDistMin", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetDistMax, "Cam_GetDistMax", "Cam_GetDistMax", "Fct_Cam_GetDistMax", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetBoundDistMin, "Cam_GetBoundDistMin", "Cam_GetBoundDistMin", "Fct_Cam_GetBoundDistMin", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetBoundDistMax, "Cam_GetBoundDistMax", "Cam_GetBoundDistMax", "Fct_Cam_GetBoundDistMax", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngleAlpha, "Cam_GetAngleAlpha", "Cam_GetAngleAlpha", "Fct_Cam_GetAngleAlpha", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngleShiftAlpha, "Cam_GetAngleShiftAlpha", "Cam_GetAngleShiftAlpha", "Fct_Cam_GetAngleShiftAlpha", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetAngleTheta, "Cam_GetAngleTheta", "Cam_GetAngleTheta", "Fct_Cam_GetAngleTheta", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngleShiftTheta, "Cam_GetAngleShiftTheta", "Cam_GetAngleShiftTheta", "Fct_Cam_GetAngleShiftTheta", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetLinearSpeed, "Cam_GetLinearSpeed", "Cam_GetLinearSpeed", "Fct_Cam_GetLinearSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetLinearIncreaseSpeed, "Cam_GetLinearIncreaseSpeed", "Cam_GetLinearIncreaseSpeed", "Fct_Cam_GetLinearIncreaseSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetLinearDecreaseSpeed, "Cam_GetLinearDecreaseSpeed", "Cam_GetLinearDecreaseSpeed", "Fct_Cam_GetLinearDecreaseSpeed", CAM_fn_p_stGetRealParameter , USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngularSpeed, "Cam_GetAngularSpeed", "Cam_GetAngularSpeed", "Fct_Cam_GetAngularSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngularIncreaseSpeed, "Cam_GetAngularIncreaseSpeed", "Cam_GetAngularIncreaseSpeed", "Fct_Cam_GetAngularIncreaseSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetAngularDecreaseSpeed, "Cam_GetAngularDecreaseSpeed", "Cam_GetAngularDecreaseSpeed", "Fct_Cam_GetAngularDecreaseSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetTargetSpeed, "Cam_GetTargetSpeed", "Cam_GetTargetSpeed", "Fct_Cam_GetTargetSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetTargetIncreaseSpeed, "Cam_GetTargetIncreaseSpeed", "Cam_GetTargetIncreaseSpeed", "Fct_Cam_GetTargetIncreaseSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetTargetDecreaseSpeed, "Cam_GetTargetDecreaseSpeed", "Cam_GetTargetDecreaseSpeed", "Fct_Cam_GetTargetDecreaseSpeed", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetFocal, "Cam_GetFocal", "Cam_GetFocal", "Fct_Cam_GetFocal", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetZMin, "Cam_GetZMin", "Cam_GetZMin", "Fct_Cam_GetZMin", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetZMax, "Cam_GetZMax", "Cam_GetZMax", "Fct_Cam_GetZMax", CAM_fn_p_stGetRealParameter, USE_CONSTANT_PARAM , USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetTargetedSuperObject, "Cam_GetTargetedSuperObject", "Cam_GetTargetedSuperObject", "Fct_Cam_GetTargetedSuperObject", CAM_fn_p_stGetTargetedSuperObject, USE_CONSTANT_PARAM, USE_PERSO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetTypeOfViewport, "Cam_GetTypeOfViewport", "Cam_GetTypeOfViewport", "Fct_Cam_GetTypeOfViewport", CAM_fn_p_stGetTypeOfViewport, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetCameraOfViewport, "Cam_GetCameraOfViewport", "Cam_GetCameraOfViewport", "Fct_Cam_GetCameraOfViewport", CAM_fn_p_stGetCameraOfViewport, USE_CONSTANT_PARAM, USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetMainCamera, "Cam_GetMainCamera", "Cam_GetMainCamera", "Fct_Cam_GetMainCamera", CAM_fn_p_stGetCameraOfViewport, USE_NO_PARAM, USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_ComputeTargetWithTgtPerso, "Cam_ComputeTargetWithTgtPerso","Cam_ComputeTargetWithTgtPerso", "Fct_Cam_ComputeTargetWithTgtPerso", CAM_fn_p_stComputeTargetWithTgtPerso, USE_NO_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetCurrentTargetPosition, "Cam_ComputeCurrentTarget", "Cam_ComputeCurrentTarget", "Fct_Cam_ComputeCurrentTarget", CAM_fn_p_stComputeCurrentTarget, USE_NO_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFct_Cam_GetSectorCameraType, "Cam_GetSectorCameraType", "Cam_GetSectorCameraType", "Fct_Cam_GetSectorCameraType", CAM_fn_p_stGetSectorCameraType, USE_NO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFct_Cam_GetBestPos, "Cam_GetBestPos", "Cam_GetBestPos", "Fct_Cam_GetBestPos", CAM_fn_p_stGetBestPos, USE_NO_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)

View File

@@ -0,0 +1,166 @@
#if !defined(M_DEFINE_FUNCTION)
#error You should define M_DEFINE_FUNCTION accordingly before including this file !
#endif
/************************************************************************************************
* le #ifdef suivant permet d'exclure les fonctions inutilis<69>es
* Merci
* Marc
************************************************************************************************/
#if defined(_AI_EXCLUDE_NEVER_USED_) /* MT {*/
#define NU_M_DEFINE_FUNCTION(a,b,english,c,d,e,f,g)
#else
#define NU_M_DEFINE_FUNCTION M_DEFINE_FUNCTION
#endif /* _AI_EXCLUDE_NEVER_USED_ }*/
/* 6 parameters to define a function : enum , editor name, script name, function pointers in Function.c, in params, out param ,ultra-able */
/**********************************************************************************************************************************************************************************************************************************************************/
/* Acthor */
M_DEFINE_FUNCTION(eFunc_GetPersoAbsolutePosition ,"ACT_PositionAbsoluePerso" ,"ACT_GetPersoAbsolutePosition" ,"Func_GetPersoAbsolutePosition" ,fn_p_stGetPersoAbsolutePosition,USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetMyAbsolutePosition ,"ACT_MaPositionAbsolue" ,"ACT_GetMyAbsolutePosition" ,"Func_GetMyAbsolutePosition" ,fn_p_stGetMyAbsolutePosition,USE_NO_PARAM,USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetAngleAroundZToPerso ,"ACT_AngleAutourZVersPerso" ,"ACT_GetAngleAroundZToPerso" ,"Func_GetAngleAroundZToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceToPerso ,"ACT_DistanceAuPerso" ,"ACT_DistanceToPerso" ,"Func_DistanceToPerso" ,fn_p_stDistanceToPerso,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceXToPerso ,"ACT_DistanceXAuPerso" ,"ACT_DistanceXToPerso" ,"Func_DistanceXToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceYToPerso ,"ACT_DistanceYAuPerso" ,"ACT_DistanceYToPerso" ,"Func_DistanceYToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceZToPerso ,"ACT_DistanceZAuPerso" ,"ACT_DistanceZToPerso" ,"Func_DistanceZToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceXYToPerso ,"ACT_DistanceXYAuPerso" ,"ACT_DistanceXYToPerso" ,"Func_DistanceXYToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceXZToPerso ,"ACT_DistanceXZAuPerso" ,"ACT_DistanceXZToPerso" ,"Func_DistanceXZToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_DistanceYZToPerso ,"ACT_DistanceYZAuPerso" ,"ACT_DistanceYZToPerso" ,"Func_DistanceYZToPerso" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceToPersoCenter ,"ACT_DistanceAuCentrePerso" ,"ACT_DistanceToPersoCenter" ,"Func_DistanceToPersoCenter" ,fn_p_stDistanceToPersoCenter,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_DistanceXToPersoCenter ,"ACT_DistanceXAuCentrePerso" ,"ACT_DistanceXToPersoCenter" ,"Func_DistanceXToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceYToPersoCenter ,"ACT_DistanceYAuCentrePerso" ,"ACT_DistanceYToPersoCenter" ,"Func_DistanceYToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceZToPersoCenter ,"ACT_DistanceZAuCentrePerso" ,"ACT_DistanceZToPersoCenter" ,"Func_DistanceZToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DistanceXYToPersoCenter ,"ACT_DistanceXYAuCentrePerso" ,"ACT_DistanceXYToPersoCenter" ,"Func_DistanceXYToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_DistanceXZToPersoCenter ,"ACT_DistanceXZAuCentrePerso" ,"ACT_DistanceXZToPersoCenter" ,"Func_DistanceXZToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_DistanceYZToPersoCenter ,"ACT_DistanceYZAuCentrePerso" ,"ACT_DistanceYZToPersoCenter" ,"Func_DistanceYZToPersoCenter" ,fn_p_stDistanceFunction,USE_PERSO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Reseau */
M_DEFINE_FUNCTION(eFunc_DistanceToWP ,"Reseau_DistanceAuWP" ,"NETWORK_DistanceToWP" ,"Func_DistanceToWP" ,fn_p_stDistanceFunction,USE_WAYPOINT_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetWPAbsolutePosition ,"Reseau_PositionAbsolueWP" ,"NETWORK_GetWPAbsolutePosition" ,"Func_GetWPAbsolutePosition" ,fn_p_stGetWpAbsolutePosition,USE_WAYPOINT_PARAM ,USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Math Functions */
M_DEFINE_FUNCTION(eFunc_Int ,"Math_ConversionEnEntier" ,"MATH_Int" ,"Func_Int" ,fn_p_stMathFunctionInt,USE_REAL_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_RandomInt ,"Math_EntierAuHasard" ,"MATH_RandomInt" ,"Func_RandomInt" ,fn_p_stMathFunctionInt,USE_2_CONSTANTS_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Real ,"Math_ConversionEnReel" ,"MATH_Real" ,"Func_Real" ,fn_p_stMathFunctionReal,USE_CONSTANT_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Sinus ,"Math_Sinus" ,"MATH_Sinus" ,"Func_Sinus" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Cosinus ,"Math_Cosinus" ,"MATH_Cosinus" ,"Func_Cosinus" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Square ,"Math_Carre" ,"MATH_Square" ,"Func_Square" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_SquareRoot ,"Math_Racine" ,"MATH_SquareRoot" ,"Func_SquareRoot" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_RandomReal ,"Math_ReelAuHasard" ,"MATH_RandomReal" ,"Func_RandomReal" ,fn_p_stMathFunctionReal,USE_2_REALS_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_MinimumReal ,"Math_MinimumReel" ,"MATH_MinimumReal" ,"Func_MinimumReal" ,fn_p_stMathFunctionReal,USE_2_REALS_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_MaximumReal ,"Math_MaximumReel" ,"MATH_MaximumReal" ,"Func_MaximumReal" ,fn_p_stMathFunctionReal,USE_2_REALS_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_DegreeToRadian ,"Math_ConversionDegreEnRadian" ,"MATH_DegreeToRadian" ,"Func_DegreeToRadian" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_RadianToDegree ,"Math_ConversionRadianEnDegre" ,"MATH_RadianToDegree" ,"Func_RadianToDegree" ,fn_p_stMathFunctionReal,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_AbsoluteValue ,"Math_ValeurAbsolue" ,"MATH_AbsoluteValue" ,"Func_AbsoluteValue" ,fn_p_stMathAbsoluteValue,USE_REAL_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_LimitRealInRange ,"Math_ReelBorne" ,"MATH_LimitRealInRange" ,"Func_LimitRealInRange" ,fn_p_stMathFunctionReal,USE_3_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Sign ,"Math_Signe" ,"MATH_Sign" ,"Func_Sign" ,fn_p_stMathFunctionReal,USE_REAL_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_Cube ,"Math_Cube" ,"MATH_Cube" ,"Func_Cube" ,fn_p_stMathFunctionReal,USE_REAL_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Modulo ,"Math_Modulo" ,"MATH_Modulo" ,"Func_Modulo" ,fn_p_stMathFunctionReal,USE_3_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernInf ,"Math_TernInf" ,"MATH_TernInf" ,"Func_TernInf" ,fn_p_stMathTernarReal,USE_4_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernSup ,"Math_TernSup" ,"MATH_TernSup" ,"Func_TernSup" ,fn_p_stMathTernarReal,USE_4_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernEq ,"Math_TernEq" ,"MATH_TernEq" ,"Func_TernEq" ,fn_p_stMathTernarReal,USE_4_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernInfEq ,"Math_TernInfEq" ,"MATH_TernInfEq" ,"Func_TernInfEq" ,fn_p_stMathTernarReal,USE_4_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernSupEq ,"Math_TernSupEq" ,"MATH_TernSupEq" ,"Func_TernSupEq" ,fn_p_stMathTernarReal,USE_4_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TernOp ,"Math_TernOp" ,"MATH_TernOp" ,"Func_TernOp" ,fn_p_stMathTernarReal,USE_BOOLEAN_PARAM USE_2_REALS_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_TemporalRealCombination ,"Math_CombinaisonTemporelleReel" ,"MATH_TemporalRealCombination" ,"Func_TemporalRealCombination" ,fn_p_stRealFunction, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/) /*this function is in Function.c*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* HitPoints & HitPointsMax Functions */
M_DEFINE_FUNCTION(eFunc_GetHitPoints ,"ACT_LitPointsDeVie" ,"ACT_GetHitPoints" ,"Func_GetHitPoints" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_AddAndGetHitPoints ,"ACT_AjouteEtLitPointsDeVie" ,"ACT_AddAndGetHitPoints" ,"Func_AddAndGetHitPoints" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_SubAndGetHitPoints ,"ACT_EnleveEtLitPointsDeVie" ,"ACT_SubAndGetHitPoints" ,"Func_SubAndGetHitPoints" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetHitPointsMax ,"ACT_LitPointsDeVieMax" ,"ACT_GetHitPointsMax" ,"Func_GetHitPointsMax" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_AddAndGetHitPointsMax ,"ACT_AjouteEtLitPointsDeVieMax" ,"ACT_AddAndGetHitPointsMax" ,"Func_AddAndGetHitPointsMax" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_SubAndGetHitPointsMax ,"ACT_EnleveEtLitPointsDeVieMax" ,"ACT_SubAndGetHitPointsMax" ,"Func_SubAndGetHitPointsMax" ,fn_p_stHitPointsAndHitPointsMaxFunction,USE_PERSO_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* List Functions */
M_DEFINE_FUNCTION(eFunc_ListSize ,"LST_TailleDeListe" ,"LST_ListSize" ,"Func_ListSize" ,fn_p_stListFunction,USE_DSGVARIDLIST_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GivePersoInList ,"LST_PrendPersoDansListe" ,"LST_GivePersoInList" ,"Func_GivePersoInList" ,fn_p_stListFunction,USE_DSGVARIDLIST_CONSTANT_PARAM,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Vector */
M_DEFINE_FUNCTION(eFunc_AbsoluteVector ,"VEC_VecteurAbsolu" ,"VEC_AbsoluteVector" ,"Func_AbsoluteVector" ,fn_p_stLocalToGlobal,USE_VECTOR_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_RelativeVector ,"VEC_VecteurRelatif" ,"VEC_RelativeVector" ,"Func_RelativeVector" ,fn_p_stGlobalToLocal,USE_VECTOR_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_VecteurLocalToGlobal ,"VEC_VecteurLocalToGlobal" ,"VEC_VectorLocalToGlobal" ,"Func_VectorLocalToGlobal" ,fn_p_stLocalToGlobal,USE_VECTOR_PARAM,USE_VECTOR_PARAM,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_VecteurGlobalToLocal ,"VEC_VecteurGlobalToLocal" ,"VEC_VectorGlobalToLocal" ,"Func_VectorGlobalToLocal" ,fn_p_stGlobalToLocal,USE_VECTOR_PARAM,USE_VECTOR_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
//KWN : Add a New AI Function
M_DEFINE_FUNCTION(eFunc_GetScreenCoordinates ,"ACT_GetScreenCoordinates" ,"ACT_ScreenCoordinates" ,"Func_GetScreenCoordinates" ,fn_p_stVectorFunction,USE_VECTOR_PARAM ,USE_VECTOR_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetScreenDSActif ,"ACT_GetScreenDSActif" ,"ACT_GetScreenDSActif" ,"Func_GetScreenDSActif" ,fn_p_GetScreenDSActif,USE_NO_PARAM ,USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetStyletCordinates ,"ACT_GetStyletCordinates" ,"ACT_GetStyletCordinates" ,"Func_GetStyletCordinates" ,fn_p_GetStyletCordinates,USE_NO_PARAM ,USE_VECTOR_PARAM, NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Magnet MGT functions */
/*XB980824*/
#ifndef D_THROW_MGT
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetStrength ,"Magnet_GetStrength" ,"MAGNET_GetStrength" ,"Func_MAGNETGetStrength" ,MGT_fn_p_stGetInfo, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetFar ,"Magnet_GetFar" ,"MAGNET_GetFar" ,"Func_MAGNETGetFar" ,MGT_fn_p_stGetInfo, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetNear ,"Magnet_GetNear" ,"MAGNET_GetNear" ,"Func_MAGNETGetNear" ,MGT_fn_p_stGetInfo, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetDuration ,"Magnet_GetDuration" ,"MAGNET_GetDuration" ,"Func_MAGNETGetDuration" ,MGT_fn_p_stGetInfo, USE_NO_PARAM,USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
#else
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetStrength ,"Magnet_GetStrength" ,"MAGNET_GetStrength" ,"Func_MAGNETGetStrength" ,fn_p_stDummyFunction, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetFar ,"Magnet_GetFar" ,"MAGNET_GetFar" ,"Func_MAGNETGetFar" ,fn_p_stDummyFunction, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetNear ,"Magnet_GetNear" ,"MAGNET_GetNear" ,"Func_MAGNETGetNear" ,fn_p_stDummyFunction, USE_NO_PARAM,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetMagnetDuration ,"Magnet_GetDuration" ,"MAGNET_GetDuration" ,"Func_MAGNETGetDuration" ,fn_p_stDummyFunction, USE_NO_PARAM,USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
#endif /* D_THROW_MGT */
/*End XB*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* to change SPO draw mask */
NU_M_DEFINE_FUNCTION(eFunc_SPO_GetDrawFlag ,"SPO_GetDrawFlag" ,"SPO_GetDrawFlag" ,"Func_SPO_GetDrawFlag" ,fn_p_st_SPO_GetDrawFlag,USE_SUPEROBJECT_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Time Functions */
M_DEFINE_FUNCTION(eFunc_GetTime ,"Temps_Obtenir" ,"TIME_GetTime" ,"Func_GetTime" ,fn_p_stTimeFunction,USE_NO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetElapsedTime ,"Temps_Ecoule" ,"TIME_ElapsedTime" ,"Func_ElapsedTime" ,fn_p_stTimeFunction,USE_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetDeltaT ,"Temps_LitDT" ,"TIME_GetDT" ,"Func_GetDT" ,fn_p_stGetDTFunction,USE_NO_PARAM,USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_GetFrameLength ,"Temps_DureeTrame" ,"TIME_GetFrameLength" ,"Func_GetFrameLength" ,fn_p_stGetFrameLength,USE_NO_PARAM,USE_REAL_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Input analogic value Functions */
M_DEFINE_FUNCTION(eFunc_InputAnalogicValue ,"PAD_LitValeurAnalogiqueEntree" ,"PAD_GetInputAnalogicValue" ,"Func_GetInputAnalogicValue" ,fn_p_stInputFunction,USE_BUTTON_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_VitessePadAnalogique ,"PAD_VitessePadAnalogique" ,"PAD_VitessePadAnalogique" ,"Func_VitessePadAnalogique" ,fn_p_stCode4VitessePadAnalogique, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_REAL_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Misc */
M_DEFINE_FUNCTION(eFunc_GenerateObject ,"GenereObjet" ,"ACT_GenerateObject" ,"Func_GenerateObject" ,fn_p_stMiscFunction,USE_ALWAYS_PARAM USE_VECTOR_PARAM,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_CountGeneratedObjects ,"ACT_CompteObjetsGeneres" ,"ACT_CountGeneratedObjects" ,"Func_CountGeneratedObjects" ,fn_p_stMiscFunction,USE_PERSO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetGlobalCounter ,"MAP_LitCompteurGlobal" ,"MAP_GetGlobalCounter" ,"Func_GetGlobalCounter" ,fn_p_stMiscFunction,USE_NO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetSubMapId ,"MAP_LitNumeroDeSousMap" ,"MAP_GetSubMapId" ,"Func_GetSubMapId" ,fn_p_stMiscFunction,USE_NO_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Color functions */
NU_M_DEFINE_FUNCTION(eFunc_AddColor ,"AjouteCouleur" ,"COLOR_AddColor" ,"Func_AddColor" ,fn_p_stColorFunction,USE_COLOR_PARAM USE_COLOR_PARAM ,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_AddRed ,"AjouteRouge" ,"COLOR_AddRed" ,"Func_AddRed" ,fn_p_stColorFunction,USE_COLOR_PARAM USE_CONSTANT_PARAM,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_AddGreen ,"AjouteVert" ,"COLOR_AddGreen" ,"Func_AddGreen" ,fn_p_stColorFunction,USE_COLOR_PARAM USE_CONSTANT_PARAM,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_AddBlue ,"AjouteBleu" ,"COLOR_AddBlue" ,"Func_AddBlue" ,fn_p_stColorFunction,USE_COLOR_PARAM USE_CONSTANT_PARAM,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_AddAlpha ,"AjouteAlpha" ,"COLOR_AddAlpha" ,"Func_AddAlpha" ,fn_p_stColorFunction,USE_COLOR_PARAM USE_CONSTANT_PARAM,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_FUNCTION(eFunc_ColorRedGreenBlueAlpha ,"CouleurRVBA" ,"COLOR_ColorRGBA" ,"Func_ColorRGBA" ,fn_p_stColorFunction,USE_RGBA_PARAM ,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_FUNCTION(eFunc_ColorRedGreenBlue ,"CouleurRVB" ,"COLOR_ColorRGB" ,"Func_ColorRGB" ,fn_p_stColorFunction,USE_RGB_PARAM ,USE_COLOR_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_ColorRed ,"ComposanteRouge" ,"COLOR_ColorRed" ,"Func_ColorRed" ,fn_p_stColorFunction,USE_COLOR_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_ColorGreen ,"ComposanteVerte" ,"COLOR_ColorGreen" ,"Func_ColorGreen" ,fn_p_stColorFunction,USE_COLOR_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_ColorBlue ,"ComposanteBleue" ,"COLOR_ColorBlue" ,"Func_ColorBlue" ,fn_p_stColorFunction,USE_COLOR_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_ColorAlpha ,"ComposanteAlpha" ,"COLOR_ColorAlpha" ,"Func_ColorAlpha" ,fn_p_stColorFunction,USE_COLOR_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Visual GMT functions */
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTColor ,"LitVisuelGMTCouleur" ,"GMT_GetVisualGMTColor" ,"Func_GetVisualGMTColor" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTSpecularCoef ,"LitVisuelGMTSpeculaireCoef" ,"GMT_GetVisualGMTSpecularCoef" ,"Func_GetVisualGMTSpecularCoef" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTSpecularExponent ,"LitVisuelGMTSpeculaireCoef" ,"GMT_GetVisualGMTSpecularExponant" ,"Func_GetVisualGMTSpecularExponant" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTDiffuseCoef ,"LitVisuelGMTDiffusionCoef" ,"GMT_GetVisualGMTDiffuseCoef" ,"Func_GetVisualGMTDiffuseCoef" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTAmbientCoef ,"LitVisuelGMTAmbientCoef" ,"GMT_GetVisualGMTAmbientCoef" ,"Func_GetVisualGMTAmbientCoef" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTTextureScrollingCoefU ,"LitVisuelGMTTextureScrollingCoefU","GMT_GetVisualGMTTextureScrollCoefU" ,"Func_GetVisualGMTTextureScrollingCoefU" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_REAL_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTTextureScrollingCoefV ,"LitVisuelGMTTextureScrollingCoefV","GMT_GetVisualGMTTextureScrollCoefV" ,"Func_GetVisualGMTTextureScrollingCoefV" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_REAL_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTFrame ,"LitNoImageVisuelGMT" ,"GMT_GetVisualGMTFrame" ,"Func_GetVisualGMTFrame" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetVisualGMTNumberOfFrames ,"LitNbImagesVisuelGMT" ,"GMT_GetVisualGMTNumberOfFrames" ,"Func_GetVisualGMTNumberOfFrames" ,fn_p_stVisualGameMaterialFunction ,USE_GMT_PARAM, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Function for savegames */
M_DEFINE_FUNCTION(eFunc_SaveGame ,"SauvePartie" ,"GAME_SaveGame" ,"Func_SaveGame" ,fn_p_stSaveGameFunction,USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_LoadGame ,"ChargePartie" ,"GAME_LoadGame" ,"Func_LoadGame" ,fn_p_stSaveGameFunction,USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_EraseGame ,"EffacePartie" ,"GAME_EraseGame" ,"Func_EraseGame" ,fn_p_stSaveGameFunction,USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetCurrentSlot ,"LitNumeroSlotCourant" ,"GAME_GetCurrentSlotNumber" ,"Func_GetCurrentSlotNumber" ,fn_p_stSaveGameFunction,USE_NO_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_IsAValidSlotName ,"OPTION_IsAValidSlotName" ,"OPTION_IsAValidSlotName" ,"Func_IsAValidSlotName" ,fn_p_stIsAValidSlotName, USE_TEXT_PARAM USE_2_CONSTANTS_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_RepairCorruptSlot, "GAME_RepairCorruption", "GAME_RepairCorruption", "Func_RepairCorruption", fn_p_stSaveGameFunction, USE_NO_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
#include "DefFunc1.h"
#include "DefFunCa.h"
#if defined(M_DEFINE_FUNCTION)
#undef M_DEFINE_FUNCTION
#endif

View File

@@ -0,0 +1,199 @@
/************************************************************************************************
* Name: DefFunc1.h *
* Use : Macro Definition of functions for AI of Rayman II and Egypte *
* Author: Yann Le tensorer, Benoit Germain, Jacques Thenoz, Christophe Giraud *
* (c) UBI Simulations Annecy *
************************************************************************************************/
#include "FuncRay2.h"
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_VitesseHorizontaleDuPerso ,"ACT_VitesseHorizontaleDuPerso" ,"ACT_HorizontalPersoSpeed" ,"Func_VitesseHorizontaleDuPerso" ,fn_p_stCode4VitesseHorizontaleDuPerso, USE_CONSTANT_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_VitesseVerticaleDuPerso ,"ACT_VitesseVerticaleDuPerso" ,"ACT_VerticalPersoSpeed" ,"Func_VitesseVerticaleDuPerso" ,fn_p_stCode4VitesseHorizontaleDuPerso, USE_CONSTANT_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_GetPersoZoomFactor ,"ACT_DeformationPerso" ,"ACT_GetPersoZoomFactor" ,"Func_GetPersoZoomFactor" ,fn_p_st3DFunc,USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetPersoSighting ,"ACT_ViseePerso" ,"ACT_GetPersoSighting" ,"Func_GetPersoSighting" ,fn_p_stGetPersoSighting, USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetPersoHorizon ,"ACT_HorizonPerso" ,"ACT_GetPersoHorizon" ,"Func_GetPersoHorizon" ,fn_p_st3DFunc, USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetPersoBanking ,"ACT_AssiettePerso" ,"ACT_GetPersoBanking" ,"Func_GetPersoBanking" ,fn_p_st3DFunc, USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_LitPositionZDM ,"ZON_LitPositionZDM" ,"ZON_GetZDMPosition" ,"Func_LitPositionZDM" ,fn_p_stCode4LitPositionZDx, USE_ZDM_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_LitPositionZDE ,"ZON_LitPositionZDE" ,"ZON_GetZDEPosition" ,"Func_LitPositionZDE" ,fn_p_stCode4LitPositionZDx, USE_ZDE_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitPositionZDD ,"ZON_LitPositionZDD" ,"ZON_GetZDDPosition" ,"Func_LitPositionZDD" ,fn_p_stCode4LitPositionZDx, USE_ZDD_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitCentreZDM ,"ZON_LitCentreZDM" ,"ZON_GetZDMCenter" ,"Func_LitCentreZDM" ,fn_p_stCode4LitCentreZDx, USE_ZDM_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitCentreZDE ,"ZON_LitCentreZDE" ,"ZON_GetZDECenter" ,"Func_LitCentreZDE" ,fn_p_stCode4LitCentreZDx, USE_ZDE_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_LitCentreZDD ,"ZON_LitCentreZDD" ,"ZON_GetZDDCenter" ,"Func_LitCentreZDD" ,fn_p_stCode4LitCentreZDx, USE_ZDD_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitAxeZDM ,"ZON_LitAxeZDM" ,"ZON_GetZDMAxis" ,"Func_LitAxeZDM" ,fn_p_stCode4LitAxeZDx, USE_ZDM_PERSO_PARAM USE_BOOLEAN_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitAxeZDE ,"ZON_LitAxeZDE" ,"ZON_GetZDEAxis" ,"Func_LitAxeZDE" ,fn_p_stCode4LitAxeZDx, USE_ZDE_PERSO_PARAM USE_BOOLEAN_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitAxeZDD ,"ZON_LitAxeZDD" ,"ZON_GetZDDAxis" ,"Func_LitAxeZDD" ,fn_p_stCode4LitAxeZDx, USE_ZDD_PERSO_PARAM USE_BOOLEAN_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_LitDimensionZDM ,"ZON_LitDimensionZDM" ,"ZON_GetZDMDimension" ,"Func_LitDimensionZDM" ,fn_p_stCode4LitDimensionZDx, USE_ZDM_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitDimensionZDE ,"ZON_LitDimensionZDE" ,"ZON_GetZDEDimension" ,"Func_LitDimensionZDE" ,fn_p_stCode4LitDimensionZDx, USE_ZDE_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_LitDimensionZDD ,"ZON_LitDimensionZDD" ,"ZON_GetZDDDimension" ,"Func_LitDimensionZDD" ,fn_p_stCode4LitDimensionZDx, USE_ZDD_PERSO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_VecteurPointAxe ,"VEC_VecteurPointAxe" ,"VEC_PointAxisVector" ,"Func_VecteurPointAxe" ,fn_p_stCode4VecteurPointAxe, USE_VECTOR_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM, USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_VecteurPointSegment ,"VEC_VecteurPointSegment" ,"VEC_PointSegmentVector" ,"Func_VecteurPointSegment" ,fn_p_stCode4VecteurPointAxe, USE_VECTOR_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM, USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_VectorContribution ,"VEC_ContributionVecteur" ,"VEC_VectorContribution" ,"Func_VectorContribution" ,fn_p_stVectorFunction, USE_VECTOR_PARAM USE_VECTOR_PARAM, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/) /*this function is in Function.c*/
M_DEFINE_FUNCTION(eFunc_VectorCombination ,"VEC_CombinaisonVecteur" ,"VEC_VectorCombination" ,"Func_VectorCombination" ,fn_p_stVectorFunction, USE_VECTOR_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/) /*this function is in Function.c*/
M_DEFINE_FUNCTION(eFunc_TemporalVectorCombination ,"VEC_CombinaisonTemporelleVecteur" ,"VEC_TemporalVectorCombination" ,"Func_TemporalVectorCombination" ,fn_p_stVectorFunction, USE_VECTOR_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/) /*this function is in Function.c*/
M_DEFINE_FUNCTION(eFunc_ScaledVector ,"VEC_MulVecteurScalaire" ,"VEC_ScaledVector" ,"Func_ScaledVector" ,fn_p_stVectorFunction, USE_VECTOR_PARAM USE_REAL_PARAM, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/) /*this function is in Function.c*/
M_DEFINE_FUNCTION(eFunc_GetVectorNorm ,"VEC_VecteurNorme" ,"VEC_GetVectorNorm" ,"Func_GetVectorNorm" ,fn_p_stVectorFunction,USE_VECTOR_PARAM,USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_FUNCTION(eFunc_RotateVector ,"VEC_TourneVecteur" ,"VEC_RotateVector" ,"Func_RotateVector" ,fn_p_stVectorFunction,USE_VECTOR_PARAM USE_REAL_PARAM USE_VECTOR_PARAM,USE_VECTOR_PARAM ,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_VectorAngle ,"VEC_VecteurAngle" ,"VEC_AngleVector" ,"Func_VecteurAngle" ,fn_p_stVectorAndAngle,USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM,USE_REAL_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_VectorCos ,"VEC_VecteurCos" ,"VEC_CosVector" ,"Func_VecteurCos" ,fn_p_stVectorAndAngle,USE_VECTOR_PARAM USE_VECTOR_PARAM,USE_REAL_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_VectorSin ,"VEC_VecteurSin" ,"VEC_SinVector" ,"Func_VecteurSin" ,fn_p_stVectorAndAngle,USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM,USE_REAL_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetNormalCollideVector ,"COL_VecteurNormalCollision" ,"COL_GetNormalCollideVector" ,"Func_GetNormalCollideVector" ,fn_p_stGetNormalCollideVector,USE_NO_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetNormalCollideVector2 ,"COL_VecteurNormalCollision2" ,"COL_GetNormalCollideVector2" ,"Func_GetNormalCollideVector2" ,fn_p_stGetNormalCollideVector,USE_CONSTANT_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetCollidePoint ,"COL_LitPointCollision" ,"COL_GetCollidePoint" ,"Func_GetCollidePoint" ,fn_p_stGetCollidePoint,USE_NO_PARAM,USE_VECTOR_PARAM,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetCollidePoint2 ,"COL_LitPointCollision2" ,"COL_GetCollidePoint2" ,"Func_GetCollidePoint2" ,fn_p_stGetCollidePoint,USE_CONSTANT_PARAM,USE_VECTOR_PARAM,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetHandsCollidePoint ,"COL_LitPointCollisionMains" ,"COL_GetHandsCollidePoint" ,"Func_GetHandsCollidePoint" ,fn_p_stGetCollidePoint,USE_NO_PARAM,USE_VECTOR_PARAM,ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetCollideRate ,"COL_LitTauxDePenetrationCollision" ,"COL_GetCollideRate" ,"eFunc_GetCollideRate" ,fn_p_stGetCollidePoint,USE_NO_PARAM,USE_REAL_PARAM,ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetCollideRate2 ,"COL_LitTauxDePenetrationCollision2" ,"COL_GetCollideRate2" ,"Func_GetCollideRate2" ,fn_p_stGetCollidePoint,USE_CONSTANT_PARAM,USE_REAL_PARAM,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetCollideMaterialType ,"COL_LitTypeMateriauCollision" ,"COL_GetCollideMaterialType" ,"Func_GetCollideMaterialType" ,fn_p_stGetCollidePoint,USE_NO_PARAM,USE_MASK_PARAM,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetCollideMaterialType2 ,"COL_LitTypeMateriauCollision2" ,"COL_GetCollideMaterialType2" ,"eFunc_GetCollideMaterialType2" ,fn_p_stGetCollidePoint,USE_CONSTANT_PARAM,USE_MASK_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetCollisionPoint ,"COL_PointCollision" ,"COL_CollisionPoint" ,"Func_CollisionPoint" ,fn_p_stGetCollision,USE_VECTOR_PARAM USE_VECTOR_PARAM C_LONG_PARAM,USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetCollisionVector ,"COL_NormaleCollision" ,"COL_CollisionNormalVector" ,"Func_CollisionNormalVector" ,fn_p_stGetCollision,USE_VECTOR_PARAM USE_VECTOR_PARAM C_LONG_PARAM, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetCollisionPerso ,"COL_PersoCollisionne" ,"COL_PersoCollisionne" ,"Func_PersoCollisionne" ,fn_p_stGetCollision,USE_VECTOR_PARAM USE_VECTOR_PARAM C_LONG_PARAM, USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetCollisionPointMaterial ,"COL_PointCollisionAvecMateriau" ,"COL_CollisionPointMaterial" ,"Func_CollisionPointMaterial" ,fn_p_stGetCollisionWithCollideMaterial,USE_VECTOR_PARAM USE_VECTOR_PARAM C_LONG_PARAM USE_MASK_PARAM,USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* GMT functions */
NU_M_DEFINE_FUNCTION(eFunc_GetLastTraversedMaterialType ,"COL_TypeDernierMateriauTraverse" ,"COL_GetLastTraversedMaterialType","Func_GetLastTraversedMaterialType" ,fn_p_stGameMaterialFunction ,USE_NO_PARAM,USE_MASK_PARAM,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetLastTraversedMaterial ,"COL_DernierMateriauTraverse" ,"COL_GetLastTraversedMaterial" ,"Func_GetLastTraversedMaterial" ,fn_p_stGameMaterialFunction ,USE_NO_PARAM,USE_GMT_PARAM,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_FUNCTION(eFunc_GetCurrentCollidedGMT ,"LitGMTCourant" ,"COL_GetCurrentCollidedGMT" ,"Func_GetCurrentCollidedGMT" ,fn_p_stGameMaterialFunction ,USE_NO_PARAM,USE_GMT_PARAM,/**/ ULTRA_ABLE /**/ )
/* collision communication management : NOT ULTRA, because only the executed actor can read his information */
M_DEFINE_FUNCTION(eFunc_GetColliderType ,"COL_LitTypeDeCollisionneur" ,"COL_GetColliderType" ,"Func_GetColliderType" ,fn_p_stCollideCommunicationFunc, USE_NO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetColliderVector ,"COL_LitVecteurDeCollisionneur" ,"COL_GetColliderVector" ,"Func_GetColliderVector" ,fn_p_stCollideCommunicationFunc, USE_CONSTANT_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetColliderReal ,"COL_LitReelDeCollisionneur" ,"COL_GetColliderReal" ,"Func_GetColliderReal" ,fn_p_stCollideCommunicationFunc, USE_CONSTANT_PARAM, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetLastCollisionActor ,"COL_LitDernierPersoCollisione" ,"COL_LitDernierPersoCollisione" ,"Func_LitDernierPersoCollisione" ,fn_p_stGetLastCollisionActor,USE_PERSO_PARAM,USE_PERSO_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_ComputeRebondVector ,"COL_CalculVecteurRebond" ,"COL_CalculVecteurRebond" ,"Func_CalculVecteurRebond" ,fn_p_stComputeRebondVector,USE_VECTOR_PARAM USE_VECTOR_PARAM USE_REAL_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
/* position management : ULTRA */
M_DEFINE_FUNCTION(eFunc_GetModuleAbsolutePosition ,"MOD_PositionAbsolueModule" ,"MOD_GetModuleAbsolutePosition" ,"Func_GetModuleAbsolutePosition" ,fn_p_st3DFunc,USE_MODULE_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetModuleRelativePosition ,"MOD_PositionRelativeModule" ,"MOD_GetModuleRelativePosition" ,"Func_GetModuleRelativePosition" ,fn_p_st3DFunc,USE_MODULE_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetModuleZoomFactor ,"MOD_DeformationModule" ,"MOD_GetModuleZoomFactor" ,"Func_GetModuleZoomFactor" ,fn_p_st3DFunc,USE_MODULE_PARAM,USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetModuleSighting ,"MOD_ViseeModule" ,"MOD_GetModuleSighting" ,"Func_GetModuleSighting" ,fn_p_st3DFunc, USE_MODULE_PARAM USE_BOOLEAN_PARAM, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_CastIntegerToChannel ,"MOD_ConversionEnModule" ,"MOD_CastIntegerToChannel" ,"Func_CastIntegerToChannel" ,fn_p_stMiscFunction, USE_CONSTANT_PARAM, USE_MODULE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* names and strings management */
M_DEFINE_FUNCTION(eFunc_GetSlotDate ,"TEXT_LitDateDuSlot" ,"TEXT_GetSlotDate" ,"Func_GetSlotDate" ,fn_p_stNamesFunc,USE_CONSTANT_PARAM,USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetSlotName ,"TEXT_LitNomDuSlot" ,"TEXT_GetSlotName" ,"Func_GetSlotName" ,fn_p_stNamesFunc,USE_CONSTANT_PARAM,USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetSlotScore ,"TEXT_LitScoreDuSlot" ,"TEXT_GetSlotScore" ,"Func_GetSlotScore" ,fn_p_stNamesFunc,USE_CONSTANT_PARAM,USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetStringCharAt ,"TEXT_LettreDuTexteALaPosition" ,"TEXT_GetStringCharAt" ,"Func_GetStringCharAt" ,fn_p_stNamesFunc,USE_STRING_PARAM USE_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetFormattedTextInfo ,"TEXT_LitInfoSurTexteFormate" ,"TEXT_GetFormattedTextInfo" ,"Func_GetFormattedTextInfo" ,fn_p_stNamesFunc,USE_STRING_PARAM USE_REAL_PARAM USE_ADDR_ARRAY_PARAM USE_ADDR_ARRAY_PARAM USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetInputEntryName ,"TEXT_LitNomDeLaTouche" ,"TEXT_GetInputEntryName" ,"Func_GetInputEntryName" ,fn_p_stNamesFunc,USE_BUTTON_PARAM, USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetMechanicGravityFactor ,"MEC_LitGravite" ,"MEC_GetGravityFactor" ,"Proc_GetMechanicGravityFactor" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicSlide ,"MEC_LitGlissement" ,"MEC_GetSlide" ,"Proc_GetMechanicSlide" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicRebound ,"MEC_LitRebond" ,"MEC_GetRebound" ,"Proc_GetMechanicRebound" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicSlopeLimit ,"MEC_LitLimitePente" ,"MEC_GetSlopeLimit" ,"Proc_GetMechanicSlopeLimit" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicInertiaX ,"MEC_LitInertieX" ,"MEC_GetInertiaX" ,"Proc_GetMechanicInertiaX" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicInertiaY ,"MEC_LitInertieY" ,"MEC_GetInertiaY" ,"Proc_GetMechanicInertiaY" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicInertiaZ ,"MEC_LitInertieZ" ,"MEC_GetInertiaZ" ,"Proc_GetMechanicInertiaZ" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicTiltIntensity ,"MEC_LitIntensiteTilt" ,"MEC_GetTiltIntensity" ,"Proc_GetMechanicTiltIntensity" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicTiltInertia ,"MEC_LitInertieTilt" ,"MEC_GetTiltInertia" ,"Proc_GetMechanicTiltInertia" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicTiltOrigin ,"MEC_LitOrigineTilt" ,"MEC_GetTiltOrigin" ,"Proc_GetMechanicTiltOrigin" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicMaxSpeed ,"MEC_LitVitesseMax" ,"MEC_GetMaxSpeed" ,"Proc_GetMechanicMaxSpeed" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicStreamPriority ,"MEC_LitPrioriteFlux" ,"MEC_GetStreamPriority" ,"Proc_GetMechanicStreamPriority" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicStreamSpeed ,"MEC_LitVitesseFlux" ,"MEC_GetStreamSpeed" ,"Proc_GetMechanicStreamSpeed" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetMechanicStreamFactor ,"MEC_LitFacteurDeFlux" ,"MEC_GetStreamFactor" ,"Proc_GetMechanicStreamFactor" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
/* slide coef */
NU_M_DEFINE_FUNCTION(eFunc_GetSlideFactorX ,"MEC_LitCoefDeGlisseX" ,"MEC_GetSlideFactorX" ,"Proc_GetSlideFactorX" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetSlideFactorY ,"MEC_LitCoefDeGlisseY" ,"MEC_GetSlideFactorY" ,"Proc_GetSlideFactorY" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetSlideFactorZ ,"MEC_LitCoefDeGlisseZ" ,"MEC_GetSlideFactorZ" ,"Proc_GetSlideFactorZ" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_JumpImpulsion ,"MEC_ImpulsionSaut" ,"MEC_JumpImpulsion" ,"Proc_JumpImpulsion" ,fn_p_ComputeJumpImpulsion, USE_VECTOR_PARAM USE_VECTOR_PARAM USE_REAL_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
/* anim speed */
M_DEFINE_FUNCTION(eFunc_GetSpeedAnim ,"MEC_LitVitesseAnimation" ,"MEC_GetSpeedAnim" ,"Proc_GetSpeedAnim" ,fn_p_GetMechanicParameter, USE_NO_PARAM, USE_VECTOR_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Hierarchy - Platform */
M_DEFINE_FUNCTION(eFunc_HierGetFather ,"HIER_MonPere" ,"HIER_GetFather" ,"proc_HIERGetFather" ,fn_p_GetHierarchyLink, USE_NO_PARAM, USE_PERSO_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Zone Activation Privileged */
NU_M_DEFINE_FUNCTION(eFunc_GetActivationZDD ,"ZON_LitActivationZDD" ,"ZON_GetZDDActivation" ,"Func_LitActivationZDD" ,fn_p_GetPriviligedActivationZdx, USE_ZDD_PERSO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetActivationZDM ,"ZON_LitActivationZDM" ,"ZON_GetZDMActivation" ,"Func_LitActivationZDM" ,fn_p_GetPriviligedActivationZdx, USE_ZDM_PERSO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetActivationZDE ,"ZON_LitActivationZDE" ,"ZON_GetZDEActivation" ,"Func_LitActivationZDE" ,fn_p_GetPriviligedActivationZdx, USE_ZDE_PERSO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetActivationZDR ,"ZON_LitActivationZDR" ,"ZON_GetZDRActivation" ,"Func_LitActivationZDR" ,fn_p_GetPriviligedActivationZdx, USE_ZDR_PERSO_PARAM, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Computing collision frequency */
/* Computing Brain frequency */
/* Computing Light frequency */
NU_M_DEFINE_FUNCTION(eFunc_GetCollisionFrequency ,"ACT_LitFrequenceCalculCollisions" ,"ACT_GetCollComputationFrequency" ,"Func_GetCollComputationFrequency" ,fn_p_GetComputationFrequency, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_GetBrainFrequency ,"ACT_LitFrequenceCalculIA" ,"ACT_GetBrainComputationFrequency" ,"Func_GetBrainComputationFrequency" ,fn_p_GetComputationFrequency, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetLightFrequency ,"ACT_LitFrequenceCalculLumieres" ,"ACT_GetLightComputationFrequency" ,"Func_GetLightComputationFrequency" ,fn_p_GetComputationFrequency, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetBooleanInArray ,"ACT_LitBooleenDansTableau" ,"ACT_GetBooleanInArray" ,"Func_GetBooleanInArray" ,fn_p_GetBooleanInArray ,USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM, USE_BOOLEAN_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetNumberOfBooleanInArray ,"ACT_LitNombreDeBooleensDansTableau" ,"ACT_GetNumberOfBooleanInArray" ,"Func_GetNumberOfBooleanInArray" ,fn_p_GetBooleanInArray ,USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetButtonName ,"BUT_GetButtonName" ,"BUT_GetButtonName" ,"Func_GetButtonName" ,fn_p_stGetButtonName ,USE_BUTTON_PARAM, USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
#if (!defined U64)
NU_M_DEFINE_FUNCTION(eFunc_GetDriversAvailable ,"VID_GetDriversAvailable" ,"VID_GetDriversAvailable" ,"Func_GetDriversAvailable" ,fn_p_stGetDriversAvailable ,USE_NO_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#else
NU_M_DEFINE_FUNCTION(eFunc_GetDriversAvailable ,"VID_GetDriversAvailable" ,"VID_GetDriversAvailable" ,"Func_GetDriversAvailable" ,fn_p_stDummyFunction ,USE_NO_PARAM, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#endif /* U64*/
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetCurrentLanguageId ,"TEXT_GetCurrentLanguageId" ,"TEXT_GetCurrentLanguageId" ,"Func_GetCurrentLanguageId" ,fn_p_stGetCurrentLanguageId ,USE_NO_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetNbLanguages ,"TEXT_GetNbLanguages" ,"TEXT_GetNbLanguages" ,"Func_GetNbLanguages" ,fn_p_stGetNbLanguages ,USE_NO_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetLanguageText ,"TEXT_GetLanguageText" ,"TEXT_GetLanguageText" ,"Func_GetLanguageText" ,fn_p_stGetLanguageText ,USE_CONSTANT_PARAM ,USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_TextToInt ,"TEXT_TexteEnEntier" ,"TEXT_TextToInt" ,"Func_TextToInt" ,fn_p_stTextToInt ,USE_STRING_PARAM ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetMusicVolume ,"Option_GetVolumeMusical" ,"OPTION_GetMusicVolume" ,"Func_GetMusicVolume" ,fn_p_stOptionRecupererFunc ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetSfxVolume ,"Option_GetVolumeEffets" ,"OPTION_GetSfxVolume" ,"Func_GetSfxVolume" ,fn_p_stOptionRecupererFunc ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_SlotIsValid ,"Option_SlotIsValid" ,"OPTION_SlotIsValid" ,"Func_SlotIsValid" ,fn_p_stOptionSlotIsValid ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_NbAvailableResolution ,"VID_NbAvailableResolution" ,"VID_NbAvailableResolution" ,"Func_NbAvailableResolution" ,fn_p_stGetNbAvailableResolution ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_CurrentResolution ,"VID_CurrentResolution" ,"VID_CurrentResolution" ,"Func_CurrentResolution" ,fn_p_stGetCurrentResolution ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetBrightness ,"VID_GetBrightness" ,"VID_GetBrightness" ,"Func_GetBrightness" ,fn_p_stGetBrightness ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_NameResolution ,"VID_NameResolution" ,"VID_NameResolution" ,"Func_NameResolution" ,fn_p_stGetNameResolution ,USE_CONSTANT_PARAM ,USE_STRING_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetNbSlotsAvailable ,"OPTION_GetNbSlotsAvailable" ,"OPTION_GetNbSlotsAvailable" ,"Func_GetNbSlotsAvailable" ,fn_p_stGetNbSlotsAvailable ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetTextureFiltering ,"VID_GetTextureFiltering" ,"VID_GetTextureFiltering" ,"Func_GetTextureFiltering" ,fn_p_stGetVideoOptions ,USE_NO_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_FUNCTION(eFunc_GetAntiAliasing ,"VID_GetAntiAliasing" ,"VID_GetAntiAliasing" ,"Func_GetAntiAliasing" ,fn_p_stGetVideoOptions ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetSaturationDistance ,"ACT_LitDistanceDeSaturation" ,"ACT_GetSaturationDistance" ,"Func_GetSaturationDistance" ,fn_p_stGetMSSoundValues ,USE_NO_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetBackgroundDistance ,"ACT_LitDistanceDeBackground" ,"ACT_GetBackGroundDistance" ,"Func_GetBackGroundDistance" ,fn_p_stGetMSSoundValues ,USE_NO_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetTooFarLimit ,"ACT_LitLimiteEloignement" ,"ACT_GetTooFarLimit" ,"Func_GetTooFarLimit" ,fn_p_stGetStdGameLimit ,USE_NO_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetTransparencyZoneMin ,"ACT_LitZoneMinTransparence" ,"ACT_GetTransparencyZoneMin" ,"Func_GetTransparencyZoneMin" ,fn_p_stGetStdGameLimit ,USE_NO_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_GetTransparencyZoneMax ,"ACT_LitZoneMaxTransparence" ,"ACT_GetTransparencyZoneMax" ,"Func_GetTransparencyZoneMax" ,fn_p_stGetStdGameLimit ,USE_NO_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
/* ANNECY MT - 30/03/99 { PC Protection Code */
#if (!defined U64)
M_DEFINE_FUNCTION(eFunc_ExecuteVariable ,"PRO_ExecuteVariable" ,"PRO_ExecuteVariable" ,"Func_ExecuteVariable" ,fn_p_ExecuteVariable ,USE_ADDR_ARRAY_PARAM USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ComputeProtectKey ,"ACT_CalculeClefProtection" ,"ACT_ComputeProtectKey" ,"Func_ComputeProtectKey" ,fn_p_stComputeProtectKey ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_Xor ,"MATH_Xor" ,"MATH_Xor" ,"Func_Xor" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* ANNECY OA - 26/08/99 { */
M_DEFINE_FUNCTION(eFunc_And ,"MATH_And" ,"MATH_And" ,"MATH_And" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Or ,"MATH_Or" ,"MATH_Or" ,"Func_Or" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Not ,"MATH_Not" ,"MATH_Not" ,"Func_Not" ,fn_p_stComputeNot ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* END ANNECY OA } */
M_DEFINE_FUNCTION(eFunc_DivUnsigned ,"MATH_DivU" ,"MATH_DivU" ,"Func_DivU" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_MulUnsigned ,"MATH_MulU" ,"MATH_MulU" ,"Func_MulU" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_AddUnsigned ,"MATH_AddU" ,"MATH_AddU" ,"Func_AddU" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_SubUnsigned ,"MATH_SubU" ,"MATH_SubU" ,"Func_SubU" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetMemoryValue ,"MATH_ValeurMemoire" ,"MATH_MemoryValue" ,"Func_MemoryValue" ,fn_p_stComputeXor ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
#else
M_DEFINE_FUNCTION(eFunc_ExecuteVariable ,"PRO_ExecuteVariable" ,"PRO_ExecuteVariable" ,"Func_ExecuteVariable" ,fn_p_stDummyFunction ,USE_ADDR_ARRAY_PARAM USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ComputeProtectKey ,"ACT_CalculeClefProtection" ,"ACT_ComputeProtectKey" ,"Func_ComputeProtectKey" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_Xor ,"MATH_Xor" ,"MATH_Xor" ,"Func_Xor" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* ANNECY OA - 26/08/99 { */
M_DEFINE_FUNCTION(eFunc_And ,"MATH_And" ,"MATH_And" ,"MATH_And" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Or ,"MATH_Or" ,"MATH_Or" ,"Func_Or" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_Not ,"MATH_Not" ,"MATH_Not" ,"Func_Not" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
/* END ANNECY OA } */
M_DEFINE_FUNCTION(eFunc_DivUnsigned ,"MATH_DivU" ,"MATH_DivU" ,"Func_DivU" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_MulUnsigned ,"MATH_MulU" ,"MATH_MulU" ,"Func_MulU" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_AddUnsigned ,"MATH_AddU" ,"MATH_AddU" ,"Func_AddU" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_SubUnsigned ,"MATH_SubU" ,"MATH_SubU" ,"Func_SubU" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetMemoryValue ,"MATH_ValeurMemoire" ,"MATH_MemoryValue" ,"Func_MemoryValue" ,fn_p_stDummyFunction ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
#endif /* U64 */
M_DEFINE_FUNCTION(eFunc_GetCheats ,"FUNC_GetCheats" ,"FUNC_GetCheats" ,"Func_GetCheats" ,fn_GetCheatFlags ,USE_CONSTANT_PARAM ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_FUNCTION(eFunc_GetBacklight, "FUNC_GetBacklight", "FUNC_GetBacklight", "Func_GetBacklight", fn_GetBacklight, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_DoneAnalogCalibration, "FUNC_DoneAnalogCalibration", "FUNC_DoneAnalogCalibration", "Func_DoneAnalogCalibration", fn_DoneAnalogCalibration, USE_NO_PARAM, USE_BOOLEAN_PARAM, NOT_ULTRA_ABLE)
/* END ANNECY MT } */

View File

@@ -0,0 +1,60 @@
/*-------------------------------------------------------------------------------------
DefKey.h : Keywords definitions
Author : Olivier Couvreur 20/08/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_KEYWORD)
#error You should define M_DEFINE_KEYWORD accordingly before including this file !
#endif
/* 6 parameters to define a keyword : enum , editor name, script name, function pointers in KeyWord.c, in params, out params */
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_KEYWORD(eKeyWord_If ,"Si" ,"If" ,"If" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_IfNot ,"SiPas" ,"IfNot" ,"IfNot" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_If2 ,"Si2" ,"If2" ,"If2" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_If4 ,"Si4" ,"If4" ,"If4" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_If8 ,"Si8" ,"If8" ,"If8" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_If16 ,"Si16" ,"If16" ,"If16" ,fn_p_stIfKeyWord,USE_BOOLEAN_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_IfDebug ,"SiDebug" ,"IfDebug" ,"IfDebug" ,fn_p_stIfDebug,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_IfNotU64 ,"SiPasU64" ,"IfNotU64" ,"IfNotU64" ,fn_p_stIfNotU64,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_Then ,"Alors" ,"Then" ,"Then" ,fn_p_stThenKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_Else ,"Sinon" ,"Else" ,"Else" ,fn_p_stElseKeyWord,USE_NO_PARAM,USE_NO_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_KEYWORD(eKeyWord_EngineGoto ,"_EngineGoto" ,"_EngineGoto" ,"_EngineGoto" ,fn_p_stEngineGotoKeyWord,USE_CONSTANT_PARAM,USE_NO_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_KEYWORD(eKeyWord_Me ,"Moi" ,"Me" ,"Me" ,fn_p_stMeKeyWord,USE_NO_PARAM,USE_PERSO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_MainActor ,"ActeurPrincipal" ,"MainActor" ,"MainActor" ,fn_p_stMainActorKeyWord,USE_NO_PARAM,USE_PERSO_PARAM)
/*M_DEFINE_KEYWORD(eKeyWord_World ,"Monde" ,"World" ,fn_p_stWorldKeyWord,USE_NO_PARAM,USE_PERSO_PARAM)*/
M_DEFINE_KEYWORD(eKeyWord_Nobody ,"Personne" ,"Nobody" ,"Nobody" ,fn_p_stNobodyKeyWord,USE_NO_PARAM,USE_PERSO_PARAM)
/* ANNECY OA - 05/08/99 { */
#ifndef U64
M_DEFINE_KEYWORD(eKeyWord_NoSuperObject,"SansSuperObjet" ,"NoSuperObject" ,"NoSuperObject" ,fn_p_stNoSuperObjectKeyWord,USE_NO_PARAM,USE_SUPEROBJECT_PARAM)
#endif
/* END ANNECY OA } */
M_DEFINE_KEYWORD(eKeyWord_Nowhere ,"Nullepart" ,"Nowhere" ,"Nowhere" ,fn_p_stNowhereKeyWord,USE_NO_PARAM,USE_WAYPOINT_PARAM)
M_DEFINE_KEYWORD(eKeyWord_EmptyText ,"TexteVide" ,"EmptyText" ,"EmptyText" ,fn_p_stEmptyTextKeyWord,USE_NO_PARAM,USE_TEXT_PARAM)
/*ANNECY Bart 06/02/98 {*/
M_DEFINE_KEYWORD(eKeyWord_CapsNull ,"CapaZero" ,"CapaNull" ,"CapaNull" ,fn_p_stCapsNullKeyWord, USE_NO_PARAM, USE_CAPS_PARAM)
M_DEFINE_KEYWORD(eKeyWord_NoGraph ,"SansGraph" ,"NoGraph" ,"NoGraph" ,fn_p_stNoGraphKeyWord, USE_NO_PARAM, USE_GRAPH_PARAM)
/*ENDANNECY Bart }*/
M_DEFINE_KEYWORD(eKeyWord_NoAction ,"SansAction" ,"NoAction" ,"NoAction" ,fn_p_stNoActionKeyWord,USE_NO_PARAM,USE_ACTION_PARAM)
#if defined(ACTIVE_EDITOR)
M_DEFINE_KEYWORD(eKeyWord_NoComport ,"SansComportement" ,"NoComport" ,"NoComport" ,fn_p_stMiscKeyWord,USE_NO_PARAM,"") /* to define ??*/
M_DEFINE_KEYWORD(eKeyWord_Schedule ,"EmploiTemps" ,"Schedule" ,"Schedule" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_InterruptRule,"RegleInterruption","InterruptRule" ,"InterruptRule" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_Vector ,"Vecteur" ,"Vector" ,"Vector" ,fn_p_stMiscKeyWord,USE_3_REALS_PARAM,USE_VECTOR_PARAM)
M_DEFINE_KEYWORD(eKeyWord_ConstVector ,"VecteurConstant" ,"ConstantVector" ,"ConstantVector" ,fn_p_stMiscKeyWord,USE_3_REALS_PARAM,USE_VECTOR_PARAM)
M_DEFINE_KEYWORD(eKeyWord_Endif ,"FinSi" ,"Endif" ,"Endif" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_Macro ,"Macro" ,"Macro" ,"Macro" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_True ,"Vrai" ,"True" ,"True" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_False ,"Faux" ,"False" ,"False" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_StopEngine ,"BloquantMoteur" ,"StopEngine" ,"StopEngine" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_StopRule ,"BloquantRegle" ,"StopRule" ,"StopRule" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
M_DEFINE_KEYWORD(eKeyWord_NonStop ,"NonBloquant" ,"NonStop" ,"NonStop" ,fn_p_stMiscKeyWord,USE_NO_PARAM,USE_NO_PARAM)
#endif
/**********************************************************************************************************************************************************************************************************************************************************/
#if defined(M_DEFINE_KEYWORD)
#undef M_DEFINE_KEYWORD
#endif

View File

@@ -0,0 +1,32 @@
/*-------------------------------------------------------------------------------------
DefOTI.h : Variables init type definitions (use GAM OTI flags (cf Francois Mahieu))
Author : Olivier Couvreur 25/09/97
--------------------------------------------------------------------------------------*/
/* NOT FINISHED YET */
#if !defined(M_DEFINE_DSGVAR_INIT_TYPE)
#error You should define M_DEFINE_DSGVAR_INIT_TYPE accordingly before including this file !
#endif
#define DEFAULT_DSGVAR_INIT_TYPE_ENTRY 2
M_DEFINE_DSGVAR_INIT_TYPE("ChargementMap" ,"MapLoaded" ,OTI_MapLoaded)
M_DEFINE_DSGVAR_INIT_TYPE("ReinitialiseLaMap" ,"ReinitTheMap" ,OTI_ReinitTheMap)
M_DEFINE_DSGVAR_INIT_TYPE("JoueurMort" ,"PlayerDead" ,OTI_PlayerDead)
M_DEFINE_DSGVAR_INIT_TYPE("LancementJeu" ,"GameStart" ,OTI_WhenGameStart)
/*
OTI_WhenGameStart = 0,
OTI_MapLoaded,
OTI_LoadSavedGame,
OTI_ReinitTheMap,
OTI_PlayerDead,
OTI_WhenGoOutOfZone = OTI_PlayerDead,
OTI_Always = OTI_WhenGoOutOfZone,
OTI_AlwaysCreated,
*/
#if defined(M_DEFINE_DSGVAR_INIT_TYPE)
#undef M_DEFINE_DSGVAR_INIT_TYPE
#endif

View File

@@ -0,0 +1,63 @@
/*-------------------------------------------------------------------------------------
DefOper.h : Operator definitions
Author : Olivier Couvreur 25/08/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_OPERATOR)
#error You should define M_DEFINE_OPERATOR accordingly before including this file !
#endif
/* 6 parameters to define an operator : enum , editor name, script name, function pointers in Operator.c, in params,ultra-able */
/**********************************************************************************************************************************************************************************************************************************************************/
/* Math operator */
M_DEFINE_OPERATOR(eOperator_ScalarPlusScalar ,"+" ,"Operator_Plus" ,fn_p_stScalarOperator ,USE_2_REALS_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_ScalarMinusScalar ,"-" ,"Operator_Minus" ,fn_p_stScalarOperator ,USE_2_REALS_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_ScalarMulScalar ,"*" ,"Operator_Mul" ,fn_p_stScalarOperator ,USE_2_REALS_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_ScalarDivScalar ,"/" ,"Operator_Div" ,fn_p_stScalarOperator ,USE_2_REALS_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_ScalarUnaryMinus ,"_" ,"Operator_UnaryMinus" ,fn_p_stScalarOperator ,USE_REAL_PARAM,USE_REAL_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Affect operator */
M_DEFINE_OPERATOR(eOperator_PlusAffect ,"+=" ,"Operator_PlusAffect" ,fn_p_stAffectOperator ,USE_ADDR_REAL_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_MinusAffect ,"-=" ,"Operator_MinusAffect" ,fn_p_stAffectOperator ,USE_ADDR_REAL_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_MulAffect ,"*=" ,"Operator_MulAffect" ,fn_p_stAffectOperator ,USE_ADDR_REAL_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_DivAffect ,"/=" ,"Operator_DivAffect" ,fn_p_stAffectOperator ,USE_ADDR_REAL_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_PlusPlusAffect ,"++" ,"Operator_PlusPlusAffect" ,fn_p_stAffectOperator ,USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_MinusMinusAffect,"--" ,"Operator_MinusMinusAffect",fn_p_stAffectOperator ,USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_Affect ,":=" ,"Operator_Affect" ,fn_p_stAffectOperator ,"","") /* to define*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Dot operator */
M_DEFINE_OPERATOR(eOperator_Dot ,"." ,"Operator_Dot" ,fn_p_stDotOperator ,"","") /* to define*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Vector Dot operator */
M_DEFINE_OPERATOR(eOperator_GetVectorX ,".X" ,".X" ,fn_p_stVectorDotOperator,USE_VECTOR_PARAM,USE_ADDR_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_GetVectorY ,".Y" ,".Y" ,fn_p_stVectorDotOperator,USE_VECTOR_PARAM,USE_ADDR_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_GetVectorZ ,".Z" ,".Z" ,fn_p_stVectorDotOperator,USE_VECTOR_PARAM,USE_ADDR_REAL_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Vector operator */
M_DEFINE_OPERATOR(eOperator_VectorPlusVector ,"v+" ,"Operator_VectorPlusVector" ,fn_p_stVectorOperator ,USE_2_VECTORS_PARAM ,USE_VECTOR_PARAM)
M_DEFINE_OPERATOR(eOperator_VectorMinusVector ,"v-" ,"Operator_VectorMinusVector" ,fn_p_stVectorOperator ,USE_2_VECTORS_PARAM,USE_VECTOR_PARAM)
M_DEFINE_OPERATOR(eOperator_VectorMulScalar ,"v*" ,"Operator_VectorMulScalar" ,fn_p_stVectorOperator ,USE_VECTOR_PARAM USE_REAL_PARAM,USE_VECTOR_PARAM)
M_DEFINE_OPERATOR(eOperator_VectorDivScalar ,"v/" ,"Operator_VectorDivScalar" ,fn_p_stVectorOperator ,USE_VECTOR_PARAM USE_REAL_PARAM,USE_VECTOR_PARAM)
M_DEFINE_OPERATOR(eOperator_VectorUnaryMinus ,"v_" ,"Operator_VectorUnaryMinus" ,fn_p_stVectorOperator ,USE_VECTOR_PARAM,USE_VECTOR_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Vector Affect operator */
M_DEFINE_OPERATOR(eOperator_SetVectorX ,".X:=" ,".X:=" ,fn_p_stAffectOperator,USE_VECTOR_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_SetVectorY ,".Y:=" ,".Y:=" ,fn_p_stAffectOperator,USE_VECTOR_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
M_DEFINE_OPERATOR(eOperator_SetVectorZ ,".Z:=" ,".Z:=" ,fn_p_stAffectOperator,USE_VECTOR_PARAM USE_REAL_PARAM,USE_REAL_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Ultra Operator */
M_DEFINE_OPERATOR(eOperator_Ultra ,".." ,"Operator_Ultra" ,fn_p_stUltraOperator ,USE_PERSO_PARAM ""/*ANY PARAM */,"")
/**********************************************************************************************************************************************************************************************************************************************************/
/* Model Cast Operator */
M_DEFINE_OPERATOR(eOperator_ModelCast ,"@" ,"Operator_ModelCast" ,fn_p_stModelCastOperator ,USE_MODEL_PARAM USE_PERSO_PARAM ,USE_PERSO_PARAM)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Array Operator */
M_DEFINE_OPERATOR(eOperator_Array ,"[" ,"Operator_Array" ,fn_p_stArrayOperator ,USE_ARRAY_PARAM USE_CONSTANT_PARAM ,"")
/**********************************************************************************************************************************************************************************************************************************************************/
/* Affect Array Operator */
M_DEFINE_OPERATOR(eOperator_AffectArray ,":={" ,"Operator_AffectArray" ,fn_p_stAffectOperator ,USE_ARRAY_PARAM USE_CONSTANT_PARAM ,"")
#if defined(M_DEFINE_OPERATOR)
#undef M_DEFINE_OPERATOR
#endif

View File

@@ -0,0 +1,71 @@
M_DEFINE_PROCEDURE(eProc_Cam_UpdatePosition, "Cam_UpdatePosition", "Cam_UpdatePosition" ,"Proc_Cam_UpdatePosition", CAM_fn_p_stUpdatePosition, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeShiftTarget, "Cam_ChangeShiftTarget", "Cam_ChangeShiftTarget" ,"Proc_Cam_ChangeShiftTarget", CAM_fn_p_stChangeVectorParameter, USE_2_CONSTANTS_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeShiftPos, "Cam_ChangeShiftPos", "Cam_ChangeShiftPos" ,"Proc_Cam_ChangeShiftPos", CAM_fn_p_stChangeVectorParameter, USE_2_CONSTANTS_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeDistMin, "Cam_ChangeDistMin", "Cam_ChangeDistMin" ,"Proc_Cam_ChangeDistMin", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeDistMax, "Cam_ChangeDistMax", "Cam_ChangeDistMax" ,"Proc_Cam_ChangeDistMax", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeBoundDistMin, "Cam_ChangeBoundDistMin", "Cam_ChangeBoundDistMin" ,"Proc_Cam_ChangeBoundDistMin", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ChangeBoundDistMax, "Cam_ChangeBoundDistMax", "Cam_ChangeBoundDistMax" ,"Proc_Cam_ChangeBoundDistMax", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngleAlpha, "Cam_ChangeAngleAlpha", "Cam_ChangeAngleAlpha" ,"Proc_Cam_ChangeAngleAlpha", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngleShiftAlpha, "Cam_ChangeAngleShiftAlpha", "Cam_ChangeAngleShiftAlpha" ,"Proc_Cam_ChangeAngleShiftAlpha", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngleTheta, "Cam_ChangeAngleTheta", "Cam_ChangeAngleTheta" ,"Proc_Cam_ChangeAngleTheta", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngleShiftTheta, "Cam_ChangeAngleShiftTheta", "Cam_ChangeAngleShiftTheta" ,"Proc_Cam_ChangeAngleShiftTheta", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeLinearSpeed, "Cam_ChangeLinearSpeed", "Cam_ChangeLinearSpeed" ,"Proc_Cam_ChangeLinearSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeLinearIncreaseSpeed, "Cam_ChangeLinearIncreaseSpeed", "Cam_ChangeLinearIncreaseSpeed" ,"Proc_Cam_ChangeLinearIncreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeLinearDecreaseSpeed, "Cam_ChangeLinearDecreaseSpeed", "Cam_ChangeLinearDecreaseSpeed" ,"Proc_Cam_ChangeLinearDecreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngularSpeed, "Cam_ChangeAngularSpeed", "Cam_ChangeAngularSpeed" ,"Proc_Cam_ChangeAngularSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngularIncreaseSpeed, "Cam_ChangeAngularIncreaseSpeed", "Cam_ChangeAngularIncreaseSpeed" ,"Proc_Cam_ChangeAngularIncreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeAngularDecreaseSpeed, "Cam_ChangeAngularDecreaseSpeed", "Cam_ChangeAngularDecreaseSpeed" ,"Proc_Cam_ChangeAngularDecreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeTargetSpeed, "Cam_ChangeTargetSpeed", "Cam_ChangeTargetSpeed" ,"Proc_Cam_ChangeTargetSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeTargetIncreaseSpeed, "Cam_ChangeTargetIncreaseSpeed", "Cam_ChangeTargetIncreaseSpeed" ,"Proc_Cam_ChangeTargetIncreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeTargetDecreaseSpeed, "Cam_ChangeTargetDecreaseSpeed", "Cam_ChangeTargetDecreaseSpeed" ,"Proc_Cam_ChangeTargetDecreaseSpeed", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeFocal, "Cam_ChangeFocal", "Cam_ChangeFocal" ,"Proc_Cam_ChangeFocal", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeZMin, "Cam_ChangeZMin", "Cam_ChangeZMin" ,"Proc_Cam_ChangeZMin", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeZMax, "Cam_ChangeZMax", "Cam_ChangeZMax" ,"Proc_Cam_ChangeZMax", CAM_fn_p_stChangeRealParameter, USE_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeTgtPerso, "Cam_ChangeTgtPerso", "Cam_ChangeTgtPerso" ,"Proc_Cam_ChangeTgtPerso", CAM_fn_p_stChangeTgtPerso, USE_2_CONSTANTS_PARAM USE_PERSO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeSecondTgtPerso, "Cam_ChangeSecondTgtPerso", "Cam_ChangeSecondTgtPerso" ,"Proc_Cam_ChangeSecondTgtPerso", CAM_fn_p_stChangeSecondTgtPerso, USE_2_CONSTANTS_PARAM USE_PERSO_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ChangeChannel, "Cam_ChangeChannel", "Cam_ChangeChannel" ,"Proc_Cam_ChangeChannel", CAM_fn_p_stChangeChannel, USE_2_CONSTANTS_PARAM USE_MODULE_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_Activate, "Cam_Activate", "Cam_Activate" ,"Proc_Cam_Activate", CAM_fn_p_stActivate, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_AssociateViewport, "Cam_AssociateViewport", "Cam_AssociateViewport" ,"Proc_Cam_AssociateViewport", CAM_fn_p_stAssociateViewport, USE_2_CONSTANTS_PARAM USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ResetIAFlags, "Cam_ResetIAFlags", "Cam_ResetIAFlags" ,"Proc_Cam_ResetIAFlags", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoDynamicTarget, "Cam_SetFlagNoDynamicTarget", "Cam_SetFlagNoDynamicTarget" ,"Proc_Cam_SetFlagNoDynamicTarget", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoAverageMoveTgtPerso, "Cam_SetFlagNoAverageMoveTgtPerso", "Cam_SetFlagNoAverageMoveTgtPerso" ,"Proc_Cam_SetFlagNoAverageMoveTgtPerso", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoParseCutAngle, "Cam_SetFlagNoParseCutAngle", "Cam_SetFlagNoParseCutAngle" ,"Proc_Cam_SetFlagNoParseCutAngle", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoVisibility, "Cam_SetFlagNoVisibility", "Cam_SetFlagNoVisibility" ,"Proc_Cam_SetFlagNoVisibility", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoVisibilityWithDynHie, "Cam_SetFlagNoVisibilityWithDynHie", "Cam_SetFlagNoVisibilityWithDynHie" ,"Proc_Cam_SetFlagNoVisibilityWithDynHie", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoDynChangeTheta, "Cam_SetFlagNoDynChangeTheta", "Cam_SetFlagNoDynChangeTheta" ,"Proc_Cam_SetFlagNoDynChangeTheta", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoShiftUntilPosReached, "Cam_SetFlagNoShiftUntilPosReached", "Cam_SetFlagNoShiftUntilPosReached" ,"Proc_Cam_SetFlagNoShiftUntilPosReached", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoDynSpeed, "Cam_SetFlagNoDynSpeed", "Cam_SetFlagNoDynSpeed" ,"Proc_Cam_SetFlagNoDynSpeed", CAM_fn_p_stSetIAFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ResetDNMFlags, "Cam_ResetDNMFlags", "Cam_ResetDNMFlags" ,"Proc_Cam_ResetDNMFlags", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoLinearParsing, "Cam_SetFlagNoLinearParsing", "Cam_SetFlagNoLinearParsing" ,"Proc_Cam_SetFlagNoLinearParsing", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoLinearInertia, "Cam_SetFlagNoLinearInertia", "Cam_SetFlagNoLinearInertia" ,"Proc_Cam_SetFlagNoLinearInertia", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoAngularParsing, "Cam_SetFlagNoAngularParsing", "Cam_SetFlagNoAngularParsing" ,"Proc_Cam_SetFlagNoAngularParsing", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoAngularInertia, "Cam_SetFlagNoAngularInertia", "Cam_SetFlagNoAngularInertia" ,"Proc_Cam_SetFlagNoAngularInertia", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoTargetParsing, "Cam_SetFlagNoTargetParsing", "Cam_SetFlagNoTargetParsing" ,"Proc_Cam_SetFlagNoTargetParsing", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoTargetInertia, "Cam_SetFlagNoTargetInertia", "Cam_SetFlagNoTargetInertia" ,"Proc_Cam_SetFlagNoTargetInertia", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagFixedOrientation, "Cam_SetFlagFixedOrientation", "Cam_SetFlagFixedOrientation" ,"Proc_Cam_SetFlagFixedOrientation", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoObstacle, "Cam_SetFlagNoObstacle", "Cam_SetFlagNoObstacle" ,"Proc_Cam_SetFlagNoObstacle", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetFlagNoCollisionWhenNotMoving, "Cam_SetFlagNoCollisionWhenNotMoving", "Cam_SetFlagNoCollisionWhenNotMoving" ,"Proc_Cam_SetFlagNoCollisionWhenNotMoving", CAM_fn_p_stSetDNMFlags, USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ChangeConstants, "Cam_ChangeConstants", "Cam_ChangeConstants" ,"Proc_Cam_ChangeConstants", CAM_fn_p_stChangeConstants, USE_CONSTANT_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SaveConstants, "Cam_SaveConstants", "Cam_SaveConstants" ,"Proc_Cam_SaveConstants", CAM_fn_p_stConstants, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_RestoreConstants, "Cam_RestoreConstants", "Cam_RestoreConstants" ,"Proc_Cam_RestoreConstants", CAM_fn_p_stConstants, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ShowInfo, "Cam_ShowInfo", "Cam_ShowInfo" ,"Proc_Cam_ShowInfo", CAM_fn_p_stShowInfo, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ForceTarget, "Cam_ForceTarget", "Cam_ForceTarget" ,"Proc_Cam_ForceTarget", CAM_fn_p_stSetForce, USE_2_CONSTANTS_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ForcePosition, "Cam_ForcePosition", "Cam_ForcePosition" ,"Proc_Cam_ForcePosition", CAM_fn_p_stSetForce, USE_2_CONSTANTS_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ForceRefAxis, "Cam_ForceRefAxis", "Cam_ForceRefAxis" ,"Proc_Cam_ForceRefAxis", CAM_fn_p_stSetForce, USE_2_CONSTANTS_PARAM USE_2_VECTORS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_Reset, "Cam_Reset", "Cam_Reset" ,"Proc_Cam_Reset", CAM_fn_p_stReset, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ForceBestPos, "Cam_ForceBestPos", "Cam_ForceBestPos" ,"Proc_Cam_ForceBestPos", CAM_fn_p_stForceBestPos, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_ForceNormalState, "Cam_ForceNormalState", "Cam_ForceNormalState" ,"Proc_Cam_ForceNormalState", CAM_fn_p_stForceNormalState, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Cam_ForceMovingOnRail, "Cam_ForceMovingOnRail", "Cam_ForceMovingOnRail" ,"Proc_Cam_ForceMovingOnRail", CAM_fn_p_stForceMovingOnRail, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Cam_SetCameraModeForEngine, "Cam_ChangeModePourMoteur", "Cam_SetCameraModeForEngine" ,"Proc_Cam_SetCameraModeForEngine", CAM_fn_p_stCameraMode, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)

View File

@@ -0,0 +1,346 @@
#if !defined(M_DEFINE_PROCEDURE)
#error You should define M_DEFINE_PROCEDURE accordingly before including this file !
#endif
/* 6 parameters to define a procedure : enum , editor name, script name, function pointers in Procedure.c, in params,ultra-able */
/************************************************************************************************
* le #ifdef suivant permet d'exclure les fonctions inutilis<69>es
* Merci
* Marc
************************************************************************************************/
#if defined(_AI_EXCLUDE_NEVER_USED_) /* MT {*/
#define NU_M_DEFINE_PROCEDURE(a,b,english,c,d,e,f)
#else
#define NU_M_DEFINE_PROCEDURE M_DEFINE_PROCEDURE
#endif /* _AI_EXCLUDE_NEVER_USED_ }*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* HitPoints procedures */
M_DEFINE_PROCEDURE(eProc_SetHitPoints ,"ACT_FixePointsDeVie" ,"ACT_SetHitPoints" ,"Proc_SetHitPoints" ,fn_p_stHitPointsProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetHitPointsInit ,"ACT_FixePointsDeVieInit" ,"ACT_SetHitPointsInit" ,"Proc_SetHitPointsInit" ,fn_p_stHitPointsProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetHitPointsToInitValue ,"ACT_ReinitPointsDeVie" ,"ACT_SetHitPointsToInit" ,"Proc_SetHitPointsToInit" ,fn_p_stHitPointsProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetHitPointsToMaxValue ,"ACT_ReinitPointsDeVieAMax" ,"ACT_SetHitPointsToMax" ,"Proc_SetHitPointsToMax" ,fn_p_stHitPointsProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_AddHitPoints ,"ACT_AjoutePointsDeVie" ,"ACT_AddHitPoints" ,"Proc_AddHitPoints" ,fn_p_stHitPointsProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SubHitPoints ,"ACT_EnlevePointsDeVie" ,"ACT_SubHitPoints" ,"Proc_SubHitPoints" ,fn_p_stHitPointsProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* HitPointsMax procedures */
M_DEFINE_PROCEDURE(eProc_SetHitPointsMax ,"ACT_FixePointsDeVieMax" ,"ACT_SetHitPointsMax" ,"Proc_SetHitPointsMax" ,fn_p_stHitPointsMaxProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetHitPointsMaxToInitValue ,"ACT_ReinitPointsDeVieMax" ,"ACT_SetHitPointsMaxToInit" ,"Proc_SetHitPointsMaxToInit" ,fn_p_stHitPointsMaxProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetHitPointsMaxToMaxValue ,"ACT_ReinitPointsDeVieMaxAMax" ,"ACT_SetHitPointsMaxToMax" ,"Proc_SetHitPointsMaxToMax" ,fn_p_stHitPointsMaxProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_AddHitPointsMax ,"ACT_AjoutePointsDeVieMax" ,"ACT_AddHitPointsMax" ,"Proc_AddHitPointsMax" ,fn_p_stHitPointsMaxProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SubHitPointsMax ,"ACT_EnlevePointsDeVieMax" ,"ACT_SubHitPointsMax" ,"Proc_SubHitPointsMax" ,fn_p_stHitPointsMaxProcedure,USE_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* Transparence */
M_DEFINE_PROCEDURE(eProc_TransparentDisplay ,"ACT_ActivationTransparence" ,"ACT_TransparentDisplay" ,"Proc_TransparentDisplay" ,fn_p_stTransparenceProcedure, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetTransparency ,"ACT_NiveauTransparence" ,"ACT_SetTransparency" ,"Proc_SetTransparency" ,fn_p_stTransparenceProcedure, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* draw mask */
M_DEFINE_PROCEDURE(eProc_ACT_SetDrawFlag ,"ACT_SetDrawFlag" ,"ACT_SetDrawFlag" ,"Proc_ACT_SetDrawFlag" ,fn_p_st_ACT_SetDrawFlag ,USE_PERSO_PARAM USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
/***********************************************************************************************************************************************************************************************************************************************************/
/* Transparence */
M_DEFINE_PROCEDURE(eProc_ModuleTransparentDisplay ,"MOD_ActivationTransparence" ,"MOD_ModuleTransparentDisplay" ,"Proc_ModuleTransparentDisplay" ,fn_p_stTransparenceProcedure, USE_MODULE_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ModuleTransparentDisplay2 ,"MOD_ActivationTransparence2" ,"MOD_ModuleTransparentDisplay2" ,"Proc_ModuleTransparentDisplay2" ,fn_p_stTransparenceProcedure, USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetModuleTransparency ,"MOD_NiveauTransparence" ,"MOD_SetModuleTransparency" ,"Proc_SetModuleTransparency" ,fn_p_stTransparenceProcedure, USE_MODULE_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetModuleTransparency2 ,"MOD_NiveauTransparence2" ,"MOD_SetModuleTransparency2" ,"Proc_SetModuleTransparency2" ,fn_p_stTransparenceProcedure, USE_CONSTANT_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/***********************************************************************************************************************************************************************************************************************************************************/
/* List ZDD ZDE procedures */
M_DEFINE_PROCEDURE(eProc_ListAffectPersoZDD ,"LST_AffecteListeAvecZDDPerso" ,"LST_ListAffectWithPersoZDD" ,"Proc_ListAffectWithPersoZDD" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDD_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ListAffectModuleZDD ,"LST_AffecteListeAvecZDDModule" ,"LST_ListAffectWithModuleZDD" ,"Proc_ListAffectWithModuleZDD" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDD_MODULE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListAffectPersoZDE ,"LST_AffecteListeAvecZDEPerso" ,"LST_ListAffectWithPersoZDE" ,"Proc_ListAffectWithPersoZDE" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListAffectModuleZDE ,"LST_AffecteListeAvecZDEModule" ,"LST_ListAffectWithModuleZDE" ,"Proc_ListAffectWithModuleZDE" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDE_MODULE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ListAffectPersoTypeZDE ,"LST_AffecteListeAvecTypeZDEPerso" ,"LST_ListAffectWithPersoTypeZDE" ,"Proc_ListAffectWithPersoTypeZDE" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDE_PERSO_MASK_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListAffectModuleTypeZDE ,"LST_AffecteListeAvecTypeZDEModule" ,"LST_ListAffectWithModuleTypeZDE" ,"Proc_ListAffectWithModuleTypeZDE" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_ZDE_MODULE_MASK_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListAffectTypeZDEWithTypeZDE ,"LST_AffecteListeTypeZDEAvecTypeZDE" ,"LST_ListAffectTypeZDEWithTypeZDE" ,"Proc_ListAffectTypeZDEWithTypeZDE" ,fn_p_stListZDDZDEProcedure,USE_DSGVARIDLIST_PARAM USE_MASK_PARAM USE_MASK_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* List Misc procedures */
NU_M_DEFINE_PROCEDURE(eProc_AddPersoInList ,"LST_AjoutePersoDansListe" ,"LST_AddPersoInList" ,"Proc_AddPersoInList" ,fn_p_stListProcedure,USE_DSGVARIDLIST_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_AddPersoInListAt ,"LST_AjoutePersoDansListeA" ,"LST_AddPersoInListAt" ,"Proc_AddPersoInListAt" ,fn_p_stListProcedure,USE_DSGVARIDLIST_PERSO_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_DeletePersoAtInList ,"LST_DetruitPersoDansListe" ,"LST_DeletePersoAtInList" ,"Proc_DeletePersoAtInList" ,fn_p_stListProcedure,USE_DSGVARIDLIST_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_FindPersoAndDeleteInList ,"LST_TrouveEtDetruitPersoDansListe" ,"LST_FindPersoAndDeleteInList" ,"Proc_FindPersoAndDeleteInList" ,fn_p_stListProcedure,USE_DSGVARIDLIST_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListSelect ,"LST_SelectDansListe" ,"LST_Select" ,"Proc_Select" ,fn_p_stListProcedure,USE_DSGVARIDLIST_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListUnSelect ,"LST_UnSelectDansListe" ,"LST_UnSelect" ,"Proc_UnSelect" ,fn_p_stListProcedure,USE_DSGVARIDLIST_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ListSort ,"LST_TrieListe" ,"LST_ListSort" ,"Proc_ListSort" ,fn_p_stListProcedure,USE_DSGVARIDLIST_2_CONSTANTS_PARAM USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ListSortByFamily ,"LST_TrieListeParFamille" ,"LST_ListSortByFamily" ,"Proc_ListSortByFamily" ,fn_p_stListProcedure,USE_DSGVARIDLIST_FAMILY_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ListSortByModel ,"LST_TrieListeParModele" ,"LST_ListSortByModele" ,"Proc_ListSortByModele" ,fn_p_stListProcedure,USE_DSGVARIDLIST_MODEL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_FillListWithAllPersoOfAFamily ,"LST_RemplirListeAvecTouteUneFamille" ,"LST_ListSortByModele" ,"Proc_FillListWithAllPersoOfAFamily" ,fn_p_stListProcedure,USE_DSGVARIDLIST_FAMILY_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_FillListWithAllPersoOfAModel ,"LST_RemplirListeAvecToutUnModele" ,"LST_FillListWithAllPersoOfAModel" ,"Proc_FillListWithAllPersoOfAModel" ,fn_p_stListProcedure,USE_DSGVARIDLIST_MODEL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_DeleteFamilyInList ,"LST_DetruitFamilleDansListe" ,"LST_DeleteFamilyInList" ,"Proc_DeleteFamilyInList" ,fn_p_stListProcedure,USE_DSGVARIDLIST_FAMILY_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_DeleteModelInList ,"LST_DetruitModeleDansListe" ,"LST_DeleteModelInList" ,"Proc_DeleteModelInList" ,fn_p_stListProcedure,USE_DSGVARIDLIST_MODEL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* List Ensemble procedures */
NU_M_DEFINE_PROCEDURE(eProc_ListUnion ,"LST_ListeUnion" ,"LST_DeleteModelInList" ,"Proc_ListUnion" ,fn_p_stListEnsembleProcedure,USE_3_DSGVARIDLISTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListInter ,"LST_ListeInter" ,"LST_ListInter" ,"Proc_ListInter" ,fn_p_stListEnsembleProcedure,USE_3_DSGVARIDLISTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListDiff ,"LST_ListeDiff" ,"LST_ListDiff" ,"Proc_ListDiff" ,fn_p_stListEnsembleProcedure,USE_3_DSGVARIDLISTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ListAdd ,"LST_ListeAjoute" ,"LST_ListAdd" ,"Proc_ListAdd" ,fn_p_stListEnsembleProcedure,USE_3_DSGVARIDLISTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Brouillards */
M_DEFINE_PROCEDURE(eProc_FogActivate ,"LUM_BrouillardActive" ,"FOG_Activate" ,"FOG_Proc_Activate" ,fn_p_stFogProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFogColor ,"LUM_BrouillardFixeCouleur" ,"FOG_SetColor" ,"FOG_Proc_SetColor" ,fn_p_stFogProcedure,USE_COLOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFogNearFarInf ,"LUM_BrouillardFixeDistances" ,"FOG_SetNearFarInf" ,"FOG_Proc_SetNearFarInf" ,fn_p_stFogProcedure,USE_3_REALS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFogBlend ,"LUM_BrouillardFixeBlend" ,"FOG_SetBlend" ,"FOG_Proc_SetBlend" ,fn_p_stFogProcedure,USE_2_REALS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RestoreFog ,"LUM_RestaurerBrouillard" ,"FOG_RestoreFog" ,"FOG_Proc_RestoreFog" ,fn_p_stFogProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SaveFog ,"LUM_SauverBrouillard" ,"FOG_SaveFog" ,"FOG_Proc_SaveFog" ,fn_p_stFogProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/*************************************************************************************************************************************/
/* Magnet MGT procedure */
/*XB980824*/
#ifndef D_THROW_MGT
NU_M_DEFINE_PROCEDURE(eProc_Magnet_ActiveMagnet ,"Magnet_ON" ,"MAGNET_ON" ,"Procedure_Magnet_ActiveMagnet" ,MGT_fn_p_stActiveMagnet, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Magnet_DeactiveMagnet ,"Magnet_OFF" ,"MAGNET_OFF" ,"Procedure_Magnet_DeactiveMagnet" ,MGT_fn_p_stDeactiveMagnet, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetStrength ,"Magnet_SetStrength" ,"MAGNET_SetStrength" ,"Procedure_Magnet_SetStrength" ,MGT_fn_p_stSetParam, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetFar ,"Magnet_SetFar" ,"MAGNET_SetFar" ,"Procedure_Magnet_SetFar" ,MGT_fn_p_stSetParam, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetNear ,"Magnet_SetNear" ,"MAGNET_SetNear" ,"Procedure_Magnet_SetNear" ,MGT_fn_p_stSetParam, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetDuration ,"Magnet_SetDuration" ,"MAGNET_SetDuration" ,"Procedure_Magnet_SetDuration" ,MGT_fn_p_stSetParam, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
#else
NU_M_DEFINE_PROCEDURE(eProc_Magnet_ActiveMagnet ,"Magnet_ON" ,"MAGNET_ON" ,"Procedure_Magnet_ActiveMagnet" ,fn_p_stDummy, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_DeactiveMagnet ,"Magnet_OFF" ,"MAGNET_OFF" ,"Procedure_Magnet_DeactiveMagnet" ,fn_p_stDummy, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetStrength ,"Magnet_SetStrength" ,"MAGNET_SetStrength" ,"Procedure_Magnet_SetStrength" ,fn_p_stDummy, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetFar ,"Magnet_SetFar" ,"MAGNET_SetFar" ,"Procedure_Magnet_SetFar" ,fn_p_stDummy, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetNear ,"Magnet_SetNear" ,"MAGNET_SetNear" ,"Procedure_Magnet_SetNear" ,fn_p_stDummy, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Magnet_SetDuration ,"Magnet_SetDuration" ,"MAGNET_SetDuration" ,"Procedure_Magnet_SetDuration" ,fn_p_stDummy, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
#endif /* D_THROW_MGT */
/*End XB*/
/**********************************************************************************************************************************************************************************************************************************************************/
#ifndef D_THROW_PRT
/* FootPath */
NU_M_DEFINE_PROCEDURE(eProc_FootPath_AddFootPrint ,"FootPath_AddFootPrint" ,"FootPath_AddFootPrint" ,"Proc_FootPath_AddFootPrint" ,fn_p_st_FootPath_AddFootPrint ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_FootPath_Clear ,"FootPath_Clear" ,"FootPath_Clear" ,"Proc_FootPath_Clear" ,fn_p_st_FootPath_Clear ,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#else
NU_M_DEFINE_PROCEDURE(eProc_FootPath_AddFootPrint ,"FootPath_AddFootPrint" ,"FootPath_AddFootPrint" ,"Proc_FootPath_AddFootPrint" ,fn_p_stDummy ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_FootPath_Clear ,"FootPath_Clear" ,"FootPath_Clear" ,"Proc_FootPath_Clear" ,fn_p_stDummy ,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#endif /* D_THROW_PRT */
/**********************************************************************************************************************************************************************************************************************************************************/
/* Effect */
M_DEFINE_PROCEDURE(eProc_SinEffect_SetFreq ,"Effect_SetSinusFreq" ,"EFFECT_SetSinusFreq" ,"Proc_SinusEffect_SetFreq" ,fn_p_st_SinusEffect_SetFreq ,USE_2_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SinEffect_SetAmplitude ,"Effect_SetSinusAmplitude" ,"EFFECT_SetSinusAmplitude" ,"Proc_SinusEffect_SetAmplitude" ,fn_p_st_SinusEffect_SetAmplitude, USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SinEffect_SetState ,"Effect_SetSinusState" ,"EFFECT_SetSinusState" ,"Proc_SinusEffect_SetState" ,fn_p_st_SinusEffect_SetState ,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SinEffect_SetFreq3D ,"Effect_SetSinusFreq3D" ,"EFFECT_SetSinusFreq3D" ,"Proc_SinusEffect_SetFreq3D" ,fn_p_st_SinusEffect_SetFreq ,USE_3_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SinEffect_SetRLIAmplitude ,"Effect_SetRLISinusAmplitude" ,"EFFECT_SetRLISinusAmplitude" ,"Proc_SinusEffect_SetRLIAmplitude" ,fn_p_st_SinusEffect_SetRLIParams, USE_3_REALS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SinEffect_SetRLIBase ,"Effect_SetRLISinusBase" ,"EFFECT_SetRLISinusBase" ,"Proc_SinusEffect_SetRLIBase" ,fn_p_st_SinusEffect_SetRLIParams, USE_3_REALS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* SuperObject Draw mask */
M_DEFINE_PROCEDURE(eProc_SPO_SetDrawFlag ,"SPO_SetDrawFlag" ,"SPO_SetDrawFlag" ,"Proc_SPO_SetDrawFlag" ,fn_p_st_SPO_SetDrawFlag ,USE_SUPEROBJECT_PARAM USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SPO_SetEngineDisplayModeFlag ,"SPO_SetEngineDisplayModeFlag" ,"SPO_SetEngineDisplayModeFlag" ,"Proc_SPO_SetEngineDisplayModeFlag" ,fn_p_st_SPO_SetEngineDisplayModeFlag,USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* NO FAMILY */
M_DEFINE_PROCEDURE(eProc_DeactivateBut ,"BoutonDesactive" ,"DeactivateBut" ,"Proc_DeactivateBut" ,fn_p_stKeyboardProcedure, USE_BUTTON_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ActivateBut ,"BoutonActive" ,"ActivateBut" ,"Proc_ActivateBut" ,fn_p_stKeyboardProcedure, USE_BUTTON_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_None ,"NeRienFaire" ,"None" ,"Proc_None" ,fn_p_stNoneProcedure , USE_NO_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeComport ,"ChangeComportement" ,"ChangeComport" ,"Proc_ChangeComport" ,fn_p_stChangeComportIntelligenceProcedure ,USE_PERSO_INTELL_COMPORT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeComportReflex ,"ChangeComportementReflexe" ,"ChangeComportReflex" ,"Proc_ChangeComportReflex" ,fn_p_stChangeComportReflexProcedure ,USE_PERSO_REFLEX_COMPORT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeMyComport ,"ChangeMonComportement" ,"ChangeMyComport" ,"Proc_ChangeMyComport" ,fn_p_stChangeMyComportIntelligenceProcedure,USE_MY_INTELL_COMPORT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeMyComportReflex ,"ChangeMonComportementReflexe" ,"ChangeMyComportReflex" ,"Proc_ChangeMyComportReflex" ,fn_p_stChangeMyComportReflexProcedure ,USE_MY_REFLEX_COMPORT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeMyComportAndMyReflex ,"ChangeMonComportementEtMonReflexe" ,"ChangeMyComportAndMyReflex" ,"Proc_ChangeMyComportAndMyReflex" ,fn_p_stChangeMyComportIntelligenceAndReflexProcedure , USE_MY_INTELL_COMPORT_PARAM USE_MY_REFLEX_COMPORT_PARAM ,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeAction ,"ChangeAction" ,"ChangeAction" ,"Proc_ChangeAction" ,fn_p_stChangeActionProcedure,USE_ACTION_PARAM , ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_ChangeActionForce ,"ChangeActionForce" ,"ChangeActionForce" ,"Proc_ChangeActionForce" ,fn_p_stChangeActionProcedure,USE_ACTION_PARAM , ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_ChangeActionRandom ,"ChangeActionAleatoire" ,"ChangeActionRandom" ,"Proc_ChangeActionRandom" ,fn_p_stChangeActionRandomProcedure,USE_ACTION_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeActionWithEvents ,"ChangeActionAvecEvenements" ,"ChangeActionWithEvents" ,"Proc_ChangeActionWithEvents" ,fn_p_stChangeActionProcedure,USE_ACTION_PARAM USE_BOOLEAN_PARAM , ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eKeyWord_Boucle ,"Boucle" ,"Loop" ,"Proc_Loop" ,fn_p_stLoopKeyWord,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eKeyWord_FinBoucle ,"FinBoucle" ,"EndLoop" ,"Proc_EndLoop" ,fn_p_stEndLoopKeyWord,USE_NO_PARAM,/**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eKeyWord_Break ,"Break" ,"Break" ,"Proc_Break" ,fn_p_stBreakKeyword,USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Misc procedures with no parameter */
M_DEFINE_PROCEDURE(eProc_PlayerIsDead ,"MortDuJoueur" ,"ACT_PlayerIsDead" ,"Proc_PlayerIsDead" ,fn_p_stMiscNoProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ResetDynamicsWithCard ,"MEC_RestaureParametresCarte" ,"MEC_RestoreCardParameters" ,"Proc_RestoreCardParameters" ,fn_p_stMiscNoProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_BreakAI ,"BreakAI" ,"BreakAI" ,"Proc_BreakAI" ,fn_p_stMiscNoProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_IgnoreTraceFlagForNextPicking ,"COL_IgnoreFlagRayTraceAuProchainPicking" ,"Proc_IgnoreTraceFlagForNextPicking" ,"Proc_IgnoreTraceFlagForNextPicking" ,fn_p_stMiscNoProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Misc procedures with one parameter */
M_DEFINE_PROCEDURE(eProc_SetMainActor ,"FixeActeurPrincipal" ,"ACT_SetMainActor" ,"Proc_SetMainActor" ,fn_p_stMiscProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ActivateObject ,"ActiveObjet" ,"SPO_ActivateObject" ,"Proc_ActivateObject" ,fn_p_stMiscProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_DesactivateObject ,"DesactiveObjet" ,"SPO_DesactivateObject" ,"Proc_DesactivateObject" ,fn_p_stMiscProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeMap ,"ChangeMap" ,"MAP_ChangeMap" ,"Proc_ChangeMap" ,fn_p_stMiscProcedure,USE_MAP_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeMapNoAutosave ,"ChangeMapSansSauver" ,"MAP_ChangeMapNoAutosave" ,"Proc_ChangeMapNoAutosave" ,fn_p_stMiscProcedure,USE_MAP_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetActionReturn ,"ForceValeurDeRetourMetaAction" ,"SetActionReturn" ,"Proc_SetActionReturn" ,fn_p_stMiscProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_FactorAnimationFrameRate ,"FixeFacteurVitesseAnimation" ,"FactorAnimationFrameRate" ,"Proc_FactorAnimationFrameRate" ,fn_p_stMiscUltraProcedure,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetCharacterPriority ,"ACT_FixePriorite" ,"ACT_SetCharacterPriority" ,"Proc_SetCharacterPriority" ,fn_p_stMiscUltraProcedure,USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ForcePersoHandling ,"ACT_ForceTraitementPerso" ,"ACT_ForcePersoHandling" ,"Proc_ForcePersoHandling" ,fn_p_stMiscProcedure,USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/*M_DEFINE_PROCEDURE(eProc_PlayerIsDeadWithOption ,"MortDuJoueurAvecOption" ,"Proc_PlayerIsDeadWithOption" ,fn_p_stMiscProcedure,USE_CONSTANT_PARAM, /* NOT_ULTRA_ABLE /* )*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Misc procedures with two or more parameters */
/*M_DEFINE_PROCEDURE(eProc_ChangeMapAtPosition ,"ChangeMapALaPosition" ,"Proc_ChangeMapAtPosition" ,fn_p_stMiscMoreProcedure,USE_MAP_PARAM USE_STRING_PARAM USE_STRING_PARAM, /* NOT_ULTRA_ABLE /* )*/
M_DEFINE_PROCEDURE(eProc_PlayerIsDeadWithPlacement ,"MortDuJoueurAvecRepositionnement" ,"ACT_PlayerIsDeadWithPlacement" ,"Proc_PlayerIsDeadWithPlacement" ,fn_p_stMiscMoreProcedure,USE_PERSO_PARAM USE_PERSO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Table procedures */
NU_M_DEFINE_PROCEDURE(eProc_SwapLinkTableObjects ,"EchangeObjetsDansTable" ,"SwapLinkTableObjects" ,"Proc_SwapLinkTableObjects" ,fn_p_stLinkTableProcedure,USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeCurrentObjectTable ,"ChangeTableObjetCourante" ,"ChangeCurrentObjectTable" ,"Proc_ChangeCurrentObjectTable" ,fn_p_stLinkTableProcedure,USE_OBJECTTABLE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/*ANNECY BBB {*/
NU_M_DEFINE_PROCEDURE(eProc_BuildObjectTableFromTableAndString ,"ModifieTableCouranteAvecTableEtTexte" ,"BuildObjectTableFromTableAndString" ,"Proc_BuildObjectTableFromTableAndString" ,fn_p_stBuildObjectTableFromTableAndStringProcedure, USE_OBJECTTABLE_PARAM USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_BuildObjectTableFromFormattedString,"ModifieTableCouranteAvecTexteFormate" ,"BuildObjectTableFromFormattedString" ,"Proc_BuildObjectTableFromFormattedString" ,fn_p_stBuildObjectTableFromTableAndStringProcedure, USE_STRING_PARAM USE_REAL_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/*ANNECY BBB }*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* LipsSynchro */
#ifdef D_USE_LIPSYNC
M_DEFINE_PROCEDURE(eProc_StartSpeech ,"Parle" ,"StartSpeech" ,"Proc_StartSpeech" ,fn_p_stLipsSynchroProcedure,USE_LIPSYNCHRO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_StopSpeech ,"ArreteDeParler" ,"StopSpeech" ,"Proc_StopSpeech" ,fn_p_stLipsSynchroProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#endif /* D_USE_LIPSYNC*/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Module Control */
M_DEFINE_PROCEDURE(eProc_TakeModuleControl ,"ControlerModule" ,"MOD_TakeModuleControl" ,"Proc_TakeModuleControl" ,fn_p_stModuleControlProcedure,USE_MODULE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_TakeManyModulesControl ,"ControlerPlusieursModules" ,"MOD_TakeManyModulesControl" ,"Proc_TakeManyModulesControl" ,fn_p_stModuleControlProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ReleaseModuleControl ,"LibererModule" ,"MOD_ReleaseModuleControl" ,"Proc_ReleaseModuleControl" ,fn_p_stModuleControlProcedure,USE_MODULE_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Saved game */
#if 0 /* Mis en fonction */
NU_M_DEFINE_PROCEDURE(eProc_SaveGame ,"SauvePartie" ,"GAME_SaveGame" ,"Proc_SaveGame" ,fn_p_stSaveGameProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_LoadGame ,"ChargePartie" ,"GAME_LoadGame" ,"Proc_LoadGame" ,fn_p_stSaveGameProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_EraseGame ,"EffacePartie" ,"GAME_EraseGame" ,"Proc_EraseGame" ,fn_p_stSaveGameProcedure,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#endif /* 0 */
NU_M_DEFINE_PROCEDURE(eProc_CopyGame ,"CopiePartie" ,"GAME_CopyGame" ,"Proc_CopyGame" ,fn_p_stSaveGameProcedure,USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_QuitGame ,"TerminePartie" ,"GAME_QuitGame" ,"Proc_QuitGame" ,fn_p_stSaveGameProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Channel activation : ULTRA */
M_DEFINE_PROCEDURE(eProc_ActivateChannel ,"ActiveCanal" ,"ActivateChannel" ,"Proc_ActivateChannel" ,fn_p_stChangeActivationChannelProcedure,USE_MODULE_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_DeactivateChannel ,"DesactiveCanal" ,"DeactivateChannel" ,"Proc_DeactivateChannel" ,fn_p_stChangeActivationChannelProcedure,USE_MODULE_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Light */
M_DEFINE_PROCEDURE(eProc_PersoLightOn ,"AllumeLumierePerso" ,"ACT_PersoLightOn" ,"Proc_PersoLightOn" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_PersoLightOff ,"EteintLumierePerso" ,"ACT_PersoLightOff" ,"Proc_PersoLightOff" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetPersoLightColor ,"FixeCouleurLumierePerso" ,"ACT_SetPersoLightColor" ,"Proc_SetPersoLightColor" ,fn_p_stPersoLightProcedure,USE_COLOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetPersoLightNearFar ,"FixeDistancesLumierePerso" ,"ACT_SetPersoLightNearFar" ,"Proc_SetPersoLightNearFar" ,fn_p_stPersoLightProcedure,USE_2_REALS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightLittleBigAlpha ,"FixeAlphasLumierePerso" ,"ACT_SetPersoLightLittleBigAlpha" ,"Proc_SetPersoLightLittleBigAlpha" ,fn_p_stPersoLightProcedure,USE_2_REALS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightGyrophare ,"FixeGyrophareLumierePerso" ,"ACT_SetPersoLightGyrophare" ,"Proc_SetPersoLightGyrophare" ,fn_p_stPersoLightProcedure,USE_BOOLEAN_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightPulse ,"FixePulseLumierePerso" ,"ACT_SetPersoLightPulse" ,"Proc_SetPersoLightPulse" ,fn_p_stPersoLightProcedure,USE_BOOLEAN_PARAM USE_2_REALS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightParalleleType ,"FixeTypeParalleleLumierePerso" ,"ACT_SetPersoLightParalleleType" ,"Proc_SetPersoLightParalleleType" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetPersoLightSphericalType ,"FixeTypeSpheriqueLumierePerso" ,"ACT_SetPersoLightSphericalType" ,"Proc_SetPersoLightSphericalType" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightHotSpotType ,"FixeTypeHotSpotLumierePerso" ,"ACT_SetPersoLightHotSpotType" ,"Proc_SetPersoLightHotSpotType" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetPersoLightAmbientType ,"FixeTypeAmbientLumierePerso" ,"ACT_SetPersoLightAmbientType" ,"Proc_SetPersoLightAmbientType" ,fn_p_stPersoLightProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Sound */
M_DEFINE_PROCEDURE(eProc_SendSoundRequest ,"EnvoieRequeteSon" ,"SOUND_SendSoundRequest" ,"Proc_SendSoundRequest" ,fn_p_stSoundProcedure,USE_SOUNDEVENT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SendVoiceRequest ,"EnvoieRequeteVoix" ,"SOUND_SendVoiceRequest" ,"Proc_SendVoiceRequest" ,fn_p_stSoundProcedure,USE_SOUNDEVENT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SendMusicRequest ,"EnvoieRequeteMusique" ,"SOUND_SendMusicRequest" ,"Proc_SendMusicRequest" ,fn_p_stSoundProcedure,USE_SOUNDEVENT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SendAmbianceRequest ,"EnvoieRequeteAmbiance" ,"SOUND_SendAmbianceRequest" ,"Proc_SendAmbianceRequest" ,fn_p_stSoundProcedure,USE_SOUNDEVENT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SendMenuSndRequest ,"EnvoieRequeteMenuSon" ,"SOUND_SendMenuSndRequest" ,"Proc_SendMenuSndRequest" ,fn_p_stSoundProcedure,USE_SOUNDEVENT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* display */
NU_M_DEFINE_PROCEDURE(eProc_DefaultDisplay ,"AfficheDefaut" ,"DefautDisplay" ,"Proc_DefautDisplay" ,fn_p_stDisplayProcedure, USE_NO_PARAM,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_DisplayVignette ,"VIG_AfficheVignette" ,"VIG_DisplayVignette" ,"Proc_DisplayVignette" ,fn_p_stMenuAndVignetteProcedure, USE_STRING_PARAM,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_DeleteVignette ,"VIG_SupprimeVignette" ,"VIG_DeleteVignette" ,"Proc_DeleteVignette" ,fn_p_stMenuAndVignetteProcedure, USE_NO_PARAM,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
#ifndef D_THROW_PRT
/* ParticleGenerator */
/* diverse*/
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGeneratorOn ,"PRT_DeclencheGenerateur" ,"PRT_SetParticleGeneratorOn" ,"Proc_SetParticleGeneratorOn",fn_p_stParticleGeneratorProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGeneratorOff ,"PRT_ArreteGenerateur" ,"PRT_SetParticleGeneratorOff" ,"Proc_SetParticleGeneratorOff",fn_p_stParticleGeneratorProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGenerator ,"PRT_InstalleGenerateur" ,"PRT_SetParticleGenerator" ,"Proc_SetParticleGenerator",fn_p_stParticleGeneratorProcedure,USE_PARTICLEGENERATOR_PARAM, /**/ ULTRA_ABLE /**/)
/* Generation mode*/
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeNone ,"PRT_PasDeGeneration" ,"PRT_SetGenerationModeNone" ,"Proc_SetGenerationModeNone",fn_p_stParticleGeneratorProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeContinuous ,"PRT_GenerationContinue" ,"PRT_SetGenerationModeContinuous" ,"Proc_SetGenerationModeContinuous",fn_p_stParticleGeneratorProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeCrenel ,"PRT_GenerationEnCreneau" ,"PRT_SetGenerationModeCrenel" ,"Proc_SetGenerationModeCrenel",fn_p_stParticleGeneratorProcedure,USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeProbability ,"PRT_GenerationProbabiliste" ,"PRT_SetGenerationModeProbability" ,"Proc_SetGenerationModeProbability",fn_p_stParticleGeneratorProcedure,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
/* Generation number*/
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetNumberConstant ,"PRT_GenereNombreConstant" ,"PRT_SetGenerationNbConstant" ,"Proc_SetGenerationNbConstant",fn_p_stParticleGeneratorProcedure,USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetNumberProbabilist ,"PRT_GenereNombreProbabiliste" ,"PRT_SetGenerationNbProbabilist" ,"Proc_SetGenerationNbProbabilist",fn_p_stParticleGeneratorProcedure,USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
/* Particles LifeTime*/
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetInfiniteLifeTime ,"PRT_TempsDeVieInfini" ,"PRT_SetInfiniteLifeTime" ,"Proc_SetInfiniteLifeTime",fn_p_stParticleGeneratorProcedure,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetConstantLifeTime ,"PRT_TempsDeVieConstant" ,"PRT_SetConstantLifeTime" ,"Proc_SetConstantLifeTime",fn_p_stParticleGeneratorProcedure,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetPobabilistLifeTime ,"PRT_TempsDeVieProbabiliste" ,"PRT_SetProbabilistLifeTime" ,"Proc_SetProbabilistLifeTime",fn_p_stParticleGeneratorProcedure,USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
/*XB for Fred !!!!!!!!!! Do not remove*/
#else
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGeneratorOn ,"PRT_DeclencheGenerateur" ,"PRT_SetParticleGeneratorOn" ,"Proc_SetParticleGeneratorOn",fn_p_stDummy,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGeneratorOff ,"PRT_ArreteGenerateur" ,"PRT_SetParticleGeneratorOff" ,"Proc_SetParticleGeneratorOff",fn_p_stDummy,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetGenerator ,"PRT_InstalleGenerateur" ,"PRT_SetParticleGenerator" ,"Proc_SetParticleGenerator",fn_p_stDummy,USE_PARTICLEGENERATOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeNone ,"PRT_PasDeGeneration" ,"PRT_SetGenerationModeNone" ,"Proc_SetGenerationModeNone",fn_p_stDummy,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeContinuous ,"PRT_GenerationContinue" ,"PRT_SetGenerationModeContinuous" ,"Proc_SetGenerationModeContinuous",fn_p_stDummy,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeCrenel ,"PRT_GenerationEnCreneau" ,"PRT_SetGenerationModeCrenel" ,"Proc_SetGenerationModeCrenel",fn_p_stDummy,USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetModeProbability ,"PRT_GenerationProbabiliste" ,"PRT_SetGenerationModeProbability" ,"Proc_SetGenerationModeProbability",fn_p_stDummy,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetNumberConstant ,"PRT_GenereNombreConstant" ,"PRT_SetGenerationNbConstant" ,"Proc_SetGenerationNbConstant",fn_p_stDummy,USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetNumberProbabilist ,"PRT_GenereNombreProbabiliste" ,"PRT_SetGenerationNbProbabilist" ,"Proc_SetGenerationNbProbabilist",fn_p_stDummy,USE_2_CONSTANTS_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetInfiniteLifeTime ,"PRT_TempsDeVieInfini" ,"PRT_SetInfiniteLifeTime" ,"Proc_SetInfiniteLifeTime",fn_p_stDummy,USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetConstantLifeTime ,"PRT_TempsDeVieConstant" ,"PRT_SetConstantLifeTime" ,"Proc_SetConstantLifeTime",fn_p_stDummy,USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_PRT_SetPobabilistLifeTime ,"PRT_TempsDeVieProbabiliste" ,"PRT_SetProbabilistLifeTime" ,"Proc_SetProbabilistLifeTime",fn_p_stDummy,USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
/*End XB for Fred !!!!!!!!!! DO not remove*/
#endif /* D_THROW_PRT */
/**********************************************************************************************************************************************************************************************************************************************************/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Old metactions*/
/* Old ActBasic.c procedure*/
/* Old ActHed.c procedure*/
/*M_DEFINE_PROCEDURE(eProc_TurnAbsoluteDirection ,"TourneDirectionAbsolue" ,"Proc_TurnAbsoluteDirection" ,fn_p_stTurnAbsoluteDirectionProcedure ,USE_REAL_PARAM ,/* NOT_ULTRA_ABLE /* )*/
/*M_DEFINE_PROCEDURE(eProc_GoAbsoluteDirection ,"VaToutDroitDirectionAbsolue" ,"Proc_GoAbsoluteDirection" ,fn_p_stGoAbsoluteDirectionProcedure ,USE_2_REALS_PARAM ,/* NOT_ULTRA_ABLE /* )*/
/* Old ActMain.c procedure*/
M_DEFINE_PROCEDURE(eProc_Turn ,"ACT_TourneVitesse" ,"ACT_Turn" ,"Proc_Turn" ,fn_p_stTurnProcedure ,USE_REAL_PARAM ,/**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_Turn2 ,"ACT_TourneAngle" ,"ACT_Turn2" ,"Proc_Turn2" ,fn_p_stTurnProcedure ,USE_REAL_PARAM ,/**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_DeltaTurnPerso ,"OrienteVersPersoAvecDelta" ,"ACT_DeltaTurnPerso" ,"Proc_DeltaTurnPerso" ,fn_p_stTurnPersoProcedure ,USE_PERSO_3_REALS_PARAM ,/**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_TurnPerso ,"OrienteVersPerso" ,"ACT_TurnPerso" ,"Proc_TurnPerso" ,fn_p_stTurnPersoProcedure ,USE_PERSO_PARAM ,/**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_KillPerso ,"DetruitPerso" ,"ACT_KillPerso" ,"Proc_KillPerso" ,fn_p_stKillPersoAndClearVariableProcedure, USE_PERSO_PARAM , /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_KillPersoAndClearVariable ,"DetruitPersoEtEffaceVariable" ,"ACT_KillPersoAndClearVariable" ,"Proc_KillPersoAndClearVariable" ,fn_p_stKillPersoAndClearVariableProcedure , USE_ADDR_PERSO_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/*************************************************************************************************************************************/
/* Visual GMT procedure*/
NU_M_DEFINE_PROCEDURE(eProc_SetVisualGMTColor ,"FixeVisuelGMTCouleur" ,"GMT_SetVisualGMTColor" ,"Proc_SetVisualGMTColor" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_SetVisualGMTSpecularExponent ,"FixeVisuelGMTSpeculaireExposant" ,"GMT_SetVisualGMTSpecularExponant" ,"Proc_SetVisualGMTSpecularExponant" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTSpecularCoef ,"FixeVisuelGMTSpeculaireCoef" ,"GMT_SetVisualGMTSpecularCoef" ,"Proc_SetVisualGMTSpecularCoef" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTDiffuseCoef ,"FixeVisuelGMTDiffusionCoef" ,"GMT_SetVisualGMTDiffuseCoef" ,"Proc_SetVisualGMTDiffuseCoef" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTAmbientCoef ,"FixeVisuelGMTAmbientCoef" ,"GMT_SetVisualGMTAmbientCoef" ,"Proc_SetVisualGMTAmbientCoef" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_COLOR_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTAsChromed ,"FixeVisuelGMTChrome" ,"GMT_SetVisualGMTAsChromed" ,"Proc_SetVisualGMTAsChromed" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_BOOLEAN_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTTextureScrollingCoef,"FixeVisuelGMTTextureScrollingCoef" ,"GMT_SetVisualGMTTextureScrollingCoef" ,"Proc_SetVisualGMTTextureScrollingCoef" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_REAL_PARAM USE_REAL_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_LockVisualGMT ,"BloqueVisuelGMT" ,"GMT_LockVisualGMT" ,"Proc_LockVisualGMT" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_UnlockVisualGMT ,"DebloqueVisuelGMT" ,"GMT_UnlockVisualGMT" ,"Proc_UnlockVisualGMT" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetVisualGMTFrame ,"FixeNoImageVisuelGMT" ,"GMT_SetVisualGMTFrame" ,"Proc_SetVisualGMTFrame" ,fn_p_stVisualGameMaterialProcedure ,USE_GMT_PARAM USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/*************************************************************************************************************************************/
//KWN : Add a New AI Function
M_DEFINE_PROCEDURE(eProc_SetScreenDSActif ,"ACT_SetScreenDSActif" ,"ACT_SetScreenDSActif" ,"Func_SetScreenDSActif" ,fn_p_SetScreenDSActif,USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
/*************************************************************************************************************************************/
#include "DefProc1.h"
#include "DefProCa.h"
/*/////////////////////////////////////////////////////////////////////////////////////*/
/* Animations Graphiques Optimis<69>es*/
/*/////////////////////////////////////////////////////////////////////////////////////*/
/* Generates a simple particle*/
/* Arg 1 = Particle type (int)*/
/* Arg 2 = Position*/
/* Arg 3 = Initial Direction*/
/* Arg 4 = Game Material*/
/* Arg 5 = Optional Real Parameter*/
M_DEFINE_PROCEDURE(eProc_LaunchAGO ,"LanceAGO" ,"SetAGO" ,"Proc_SetAGO" ,fn_p_stAGOProcedure ,USE_CONSTANT_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM USE_GMT_PARAM USE_REAL_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**/
/*///////////////////////////////////////////////////////////////////////////////////////*/
M_DEFINE_PROCEDURE(eProc_SetInGameMenu ,"ActiveMenuMap" ,"ActivateMenuMap" ,"Proc_ActivateMenuMap" ,fn_p_stInGameMenuProcedure ,USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/*///////////////////////////////////////////////////////////////////////////////////////*/
/* Texts without always */
/*///////////////////////////////////////////////////////////////////////////////////////*/
M_DEFINE_PROCEDURE(eProc_JffTxt_Affiche ,"JFFTXT_Affiche" ,"JFFTXT_Affiche", "Proc_JffTxt_Affiche" ,fn_p_stJFFTXTProcedure, USE_CONSTANT_PARAM USE_VECTOR_PARAM USE_STRING_PARAM USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_JffTxt_Extend ,"JFFTXT_Extend" ,"JFFTXT_Extend", "Proc_JffTxt_Extend" ,fn_p_stJFFTXTProcedure, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_JffTxt_Modify ,"JFFTXT_Modify" ,"JFFTXT_Modify", "Proc_JffTxt_Modify" ,fn_p_stJFFTXTProcedure, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
#ifdef U64
/* FQ FADE*/
NU_M_DEFINE_PROCEDURE(eProc_FadeIn ,"FadeIn" ,"FADE_FadeIn" ,"Proc_FadeIn" ,fn_p_stFadeProcedure ,USE_NO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_FadeOut ,"FadeOut" ,"FADE_FadeOut" ,"Proc_FadeOut" ,fn_p_stFadeProcedure ,USE_NO_PARAM ,/**/ ULTRA_ABLE /**/ )
#else
NU_M_DEFINE_PROCEDURE(eProc_FadeIn ,"FadeIn" ,"FADE_FadeIn" ,"Proc_FadeIn" ,fn_p_stDummy, USE_NO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_FadeOut ,"FadeOut" ,"FADE_FadeOut" ,"Proc_FadeOut" ,fn_p_stDummy, USE_NO_PARAM ,/**/ ULTRA_ABLE /**/ )
#endif U64
M_DEFINE_PROCEDURE(eProc_HUD_SetLumsCount, "HUD_SetLumsCount", "HUD_SetLumsCount", "Proc_HUD_SetLumsCount", fn_p_stHUDSetLumsCount, USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HUD_SetCagesCount, "HUD_SetCagesCount", "HUD_SetCagesCount", "Proc_HUD_SetCagesCount", fn_p_stHUDSetCagesCount, USE_2_CONSTANTS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HUD_SetSwimGauge, "HUD_SetSwimGauge", "HUD_SetSwimGauge", "Proc_HUD_SetSwimGauge", fn_p_stHUDSetSwimGauge, USE_REAL_PARAM USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HUD_SetHealthGauge, "HUD_SetHealthGauge", "HUD_SetHealthGauge", "Proc_HUD_SetHealthGauge", fn_p_stHUDSetHealthGauge, USE_3_REALS_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HUD_SetEnemyHealthGauge, "HUD_SetEnemyHealthGauge", "HUD_SetEnemyHealthGauge", "Proc_HUD_SetEnemyHealthGauge", fn_p_stHUDSetEnemyHealthGauge, USE_2_REALS_PARAM USE_CONSTANT_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_DoCheatMenu, "PROC_DoCheatMenu", "PROC_DoCheatMenu", "Proc_DoCheatMenu", fn_vDoCheatMenu, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetBacklight, "PROC_SetBacklight", "PROC_SetBacklight", "Proc_SetBacklight", fn_vSetBacklight, USE_2_CONSTANTS_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_BeginAnalogCalibration, "PROC_BeginAnalogCalibration", "PROC_BeginAnalogCalibration", "Proc_BeginAnalogCalibration", fn_vBeginAnalogCalibration, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_EndAnalogCalibration, "PROC_EndAnalogCalibration", "PROC_EndAnalogCalibration", "Proc_EndAnalogCalibration", fn_vEndAnalogCalibration, USE_NO_PARAM, NOT_ULTRA_ABLE)
#if defined(M_DEFINE_PROCEDURE)
#undef M_DEFINE_PROCEDURE
#endif

View File

@@ -0,0 +1,317 @@
/************************************************************************************************
* Name: DefProc1.h *
* Use : Macro Definition of procedure for AI of Rayman II and Egypte *
* Author: Jacques Th<54>noz *
* (c) UBI Simulations Annecy *
************************************************************************************************/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Option procedures */
NU_M_DEFINE_PROCEDURE(eProc_OptionChangeDetailsValue ,"Option_ChangeNiveauDeDetails" ,"OPTION_ChangeDetailsValue" ,"Proc_OptionChangeDetailsValue" ,fn_p_stOptionChangerProc, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_OptionChangeMusicVolume ,"Option_ChangeVolumeMusical" ,"OPTION_ChangeMusicVolume" ,"Proc_OptionChangeMusicVolume" ,fn_p_stOptionChangerProc, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_OptionChangeSfxVolume ,"Option_ChangeVolumeEffets" ,"OPTION_ChangeSfxVolume" ,"Proc_OptionChangeSfxVolume" ,fn_p_stOptionChangerProc, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_OptionChangeVoiceVolume ,"Option_ChangeVolumeVoix" ,"OPTION_ChangeVoiceVolume" ,"Proc_OptionChangeVoiceVolume" ,fn_p_stOptionChangerProc, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_OptionChangeActionKey ,"Option_ChangeConfigDeTouche" ,"OPTION_ChangeActionKey" ,"Proc_OptionChangeActionKey" ,fn_p_stOptionChangerProc, USE_BUTTON_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_OptionConfigureKey ,"Option_ConfigureTouche" ,"OPTION_ConfigureKey" ,"Proc_ConfigureKey" ,fn_p_stOptionChangerProc, USE_BUTTON_PARAM USE_BUTTON_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* 3D procedures */
M_DEFINE_PROCEDURE(eProc_SetPersoAbsolutePosition ,"ACT_ChangePositionAbsoluePerso" ,"ACT_SetPersoAbsolutePosition" ,"Proc_SetPersoAbsolutePosition" ,fn_p_st3DProc, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetPersoAtModulePosition ,"ACT_PlaceSurModuleDePerso" ,"ACT_SetPersoAtModulePosition" ,"Proc_SetPersoAtModulePosition" ,fn_p_st3DProc, USE_PERSO_PARAM USE_MODULE_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ForcePersoAveragePosition ,"ACT_ForcePositionMoyennePerso" ,"ACT_ForcePersoAveragePosition" ,"Proc_ForcePersoAveragePosition" ,fn_p_stDynamProcedure, USE_NO_PARAM, /**/ ULTRA_ABLE /**/) /*dans procedur.c*/
M_DEFINE_PROCEDURE(eProc_RelativeMovePerso ,"ACT_DeplacePerso" ,"ACT_RelativeMovePerso" ,"Proc_RelativeMovePerso" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangePersoAnySighting ,"ACT_ChangeViseeQuelconquePerso" ,"ACT_SetPersoAnySighting" ,"Proc_ChangePersoAnySighting" ,fn_p_st3DProc, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangePersoSightingWithOffset ,"ACT_ChangeViseePersoAvecOffset" ,"ACT_SetPersoSightingWithOffset" ,"Proc_ChangePersoSightingWithOffset" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundX ,"ACT_TournePersoAutourDeX" ,"ACT_RotatePersoAroundX" ,"Proc_RotatePersoAroundX" ,fn_p_st3DProc, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundY ,"ACT_TournePersoAutourDeY" ,"ACT_RotatePersoAroundY" ,"Proc_RotatePersoAroundY" ,fn_p_st3DProc, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundZ ,"ACT_TournePersoAutourDeZ" ,"ACT_RotatePersoAroundZ" ,"Proc_RotatePersoAroundZ" ,fn_p_st3DProc, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundVector ,"ACT_TournePersoAutourDeVecteur" ,"ACT_RotatePersoAroundVector" ,"Proc_RotatePersoAroundVector" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundVectorWithOffset ,"ACT_TournePersoAutourDeVecteurAvecOffset" ,"ACT_RotatePersoAroundVectorOffset" ,"Proc_RotatePersoAroundVectorWithOffset" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RotatePersoAroundXwithOffset ,"ACT_TournePersoAutourDeXavecOffset" ,"ACT_RotatePersoAroundXwithOffset" ,"Proc_RotatePersoAroundXwithOffset" ,fn_p_st3DProc, USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundYwithOffset ,"ACT_TournePersoAutourDeYavecOffset" ,"ACT_RotatePersoAroundYwithOffset" ,"Proc_RotatePersoAroundYwithOffset" ,fn_p_st3DProc, USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotatePersoAroundZwithOffset ,"ACT_TournePersoAutourDeZavecOffset" ,"ACT_RotatePersoAroundZwithOffset" ,"Proc_RotatePersoAroundZwithOffset" ,fn_p_st3DProc, USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFullPersoOrientation ,"ACT_ReorientePerso" ,"ACT_SetFullPersoOrientation" ,"Proc_SetFullPersoOrientation" ,fn_p_st3DProc_ForReorientation, USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFullPersoOrientationWithOffset ,"ACT_ReorientePersoAvecOffset" ,"ACT_SetFullPersoOrientWithOffset" ,"Proc_SetFullPersoOrientationWithOffset" ,fn_p_st3DProc_ForReorientation, USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ZoomPerso ,"ACT_DeformePerso" ,"ACT_ZoomPerso" ,"Proc_ZoomPerso" ,fn_p_st3DProc, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeOneCustomBit ,"ACT_ChangeCustomBit" ,"ACT_ChangeOneCustomBit" ,"Proc_ChangeOneCustomBit" ,fn_p_stCustomBitsProc, USE_CONSTANT_PARAM USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeManyCustomBits ,"ACT_ChangeCustomBits" ,"ACT_ChangeManyCustomBits" ,"Proc_ChangeManyCustomBits" ,fn_p_stCustomBitsProc, USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
/* impose relative */
M_DEFINE_PROCEDURE(eProc_ImposeSpeed ,"ACT_ImposeVecteurVitesse" ,"ACT_ImposeSpeed" ,"Proc_ImposeSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeSpeedX ,"ACT_ImposeVitesseX" ,"ACT_ImposeSpeedX" ,"Proc_ImposeSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeSpeedY ,"ACT_ImposeVitesseY" ,"ACT_ImposeSpeedY" ,"Proc_ImposeSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeSpeedZ ,"ACT_ImposeVitesseZ" ,"ACT_ImposeSpeedZ" ,"Proc_ImposeSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeSpeedXY ,"ACT_ImposeVitesseXY" ,"ACT_ImposeSpeedXY" ,"Proc_ImposeSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeSpeedXYZ ,"ACT_ImposeVitesseXYZ" ,"ACT_ImposeSpeedXYZ" ,"Proc_ImposeSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* impose absolute */
M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeed ,"ACT_ImposeVecteurVitesseAbsolu" ,"ACT_ImposeAbsoluteSpeed" ,"Proc_ImposeAbsoluteSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeedX ,"ACT_ImposeVitesseAbsoluX" ,"ACT_ImposeAbsoluteSpeedX" ,"Proc_ImposeAbsoluteSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeedY ,"ACT_ImposeVitesseAbsoluY" ,"ACT_ImposeAbsoluteSpeedY" ,"Proc_ImposeAbsoluteSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeedZ ,"ACT_ImposeVitesseAbsoluZ" ,"ACT_ImposeAbsoluteSpeedZ" ,"Proc_ImposeAbsoluteSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeedXY ,"ACT_ImposeVitesseAbsoluXY" ,"ACT_ImposeAbsoluteSpeedXY" ,"Proc_ImposeAbsoluteSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ImposeAbsoluteSpeedXYZ ,"ACT_ImposeVitesseAbsoluXYZ" ,"ACT_ImposeAbsoluteSpeedXYZ" ,"Proc_ImposeAbsoluteSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* propose relative */
M_DEFINE_PROCEDURE(eProc_ProposeSpeed ,"ACT_ProposeVecteurVitesse" ,"ACT_ProposeSpeed" ,"Proc_ProposeSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ProposeSpeedX ,"ACT_ProposeVitesseX" ,"ACT_ProposeSpeedX" ,"Proc_ProposeSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ProposeSpeedY ,"ACT_ProposeVitesseY" ,"ACT_ProposeSpeedY" ,"Proc_ProposeSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ProposeSpeedZ ,"ACT_ProposeVitesseZ" ,"ACT_ProposeSpeedZ" ,"Proc_ProposeSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ProposeSpeedXY ,"ACT_ProposeVitesseXY" ,"ACT_ProposeSpeedXY" ,"Proc_ProposeSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ProposeSpeedXYZ ,"ACT_ProposeVitesseXYZ" ,"ACT_ProposeSpeedXYZ" ,"Proc_ProposeSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* propose absolute */
M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeed ,"ACT_ProposeVecteurVitesseAbsolu" ,"ACT_ProposeAbsoluteSpeed" ,"Proc_ProposeAbsoluteSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeedX ,"ACT_ProposeVitesseAbsoluX" ,"ACT_ProposeAbsoluteSpeedX" ,"Proc_ProposeAbsoluteSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeedY ,"ACT_ProposeVitesseAbsoluY" ,"ACT_ProposeAbsoluteSpeedY" ,"Proc_ProposeAbsoluteSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeedZ ,"ACT_ProposeVitesseAbsoluZ" ,"ACT_ProposeAbsoluteSpeedZ" ,"Proc_ProposeAbsoluteSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeedXY ,"ACT_ProposeVitesseAbsoluXY" ,"ACT_ProposeAbsoluteSpeedXY" ,"Proc_ProposeAbsoluteSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ProposeAbsoluteSpeedXYZ ,"ACT_ProposeVitesseAbsoluXYZ" ,"ACT_ProposeAbsoluteSpeedXYZ" ,"Proc_ProposeAbsoluteSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_FixePositionPerso ,"ACT_FixePositionPerso" ,"ACT_FixePositionPerso" ,"Proc_FixePositionPerso" ,fn_p_stFixePositionPerso, USE_PERSO_PARAM USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
/* add speed relative */
NU_M_DEFINE_PROCEDURE(eProc_AddSpeed ,"ACT_AddVecteurVitesse" ,"ACT_AddSpeed" ,"Proc_AddSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddSpeedX ,"ACT_AddVitesseX" ,"ACT_AddSpeedX" ,"Proc_AddSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddSpeedY ,"ACT_AddVitesseY" ,"ACT_AddSpeedY" ,"Proc_AddSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddSpeedZ ,"ACT_AddVitesseZ" ,"ACT_AddSpeedZ" ,"Proc_AddSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddSpeedXY ,"ACT_AddVitesseXY" ,"ACT_AddSpeedXY" ,"Proc_AddSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddSpeedXYZ ,"ACT_AddVitesseXYZ" ,"ACT_AddSpeedXYZ" ,"Proc_AddSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* propose absolute */
M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeed ,"ACT_AddVecteurVitesseAbsolu" ,"ACT_AddAbsoluteSpeed" ,"Proc_AddAbsoluteSpeed" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeedX ,"ACT_AddVitesseAbsoluX" ,"ACT_AddAbsoluteSpeedX" ,"Proc_AddAbsoluteSpeedX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeedY ,"ACT_AddVitesseAbsoluY" ,"ACT_AddAbsoluteSpeedY" ,"Proc_AddAbsoluteSpeedY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeedZ ,"ACT_AddVitesseAbsoluZ" ,"ACT_AddAbsoluteSpeedZ" ,"Proc_AddAbsoluteSpeedZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeedXY ,"ACT_AddVitesseAbsoluXY" ,"ACT_AddAbsoluteSpeedXY" ,"Proc_AddAbsoluteSpeedXY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddAbsoluteSpeedXYZ ,"ACT_AddVitesseAbsoluXYZ" ,"ACT_AddAbsoluteSpeedXYZ" ,"Proc_AddAbsoluteSpeedXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Morphing management procedures */
NU_M_DEFINE_PROCEDURE(eProc_PrepareMorph ,"MOD_PrepareMorph" ,"MOD_PrepareMorph" ,"Proc_PrepareMorph" ,fn_p_stPrepareMorph , USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CHANNEL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_StopMorph ,"MOD_StopMorph" ,"MOD_StopMorph" ,"Proc_StopMorph" ,fn_p_stStopMorph , USE_CHANNEL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_Morphing ,"MOD_Morphing" ,"MOD_Morphing" ,"Proc_Morphing" ,fn_p_stMorphing , USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CHANNEL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ReleaseAllModulesControl ,"MOD_LibererTousLesModules" ,"MOD_ReleaseAllModulesControl" ,"Proc_ReleaseAllModulesControl" ,fn_p_stModuleControlProcedure,USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeModuleSighting ,"MOD_ChangeViseeModule" ,"MOD_ChangeModuleSighting" ,"Proc_ChangeModuleSighting" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_MODULE_PARAM USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetModuleAbsolutePosition ,"MOD_ChangePositionModule" ,"MOD_SetModuleAbsolutePosition" ,"Proc_SetModuleAbsolutePosition" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_MODULE_PARAM USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RelativeMoveModule ,"MOD_DeplaceModule" ,"MOD_RelativeMoveModule" ,"Proc_RelativeMoveModule" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_MODULE_PARAM USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_ChangeModuleSightingWithOffset ,"MOD_ChangeViseeModuleAvecOffset" ,"MOD_ChangeModuleSightingWithOffset" ,"Proc_ChangeModuleSightingWithOffset" ,fn_p_st3DProc, USE_VECTOR_PARAM USE_MODULE_PARAM USE_BOOLEAN_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotateModuleAroundX ,"MOD_TourneModuleAutourDeX" ,"MOD_RotateModuleAroundX" ,"Proc_RotateModuleAroundX" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotateModuleAroundY ,"MOD_TourneModuleAutourDeY" ,"MOD_RotateModuleAroundY" ,"Proc_RotateModuleAroundY" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotateModuleAroundZ ,"MOD_TourneModuleAutourDeZ" ,"MOD_RotateModuleAroundZ" ,"Proc_RotateModuleAroundZ" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RotateModuleAroundVector ,"MOD_TourneModuleAutourDeVecteur" ,"MOD_RotateModuleAroundVector" ,"Proc_RotateModuleAroundVector" ,fn_p_st3DProc, USE_MODULE_PARAM USE_VECTOR_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RotateModuleAroundVectorWithOffset ,"MOD_TourneModuleAutourDeVecteurAvecOffset" ,"MOD_RotateModuleAroundVectorOffset" ,"Proc_RotateModuleAroundVectorOffset" ,fn_p_st3DProc, USE_MODULE_PARAM USE_VECTOR_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RotateModuleAroundXwithOffset ,"MOD_TourneModuleAutourDeXavecOffset" ,"MOD_RotateModuleAroundXwithOffset" ,"Proc_RotateModuleAroundXwithOffset" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RotateModuleAroundYwithOffset ,"MOD_TourneModuleAutourDeYavecOffset" ,"MOD_RotateModuleAroundYwithOffset" ,"Proc_RotateModuleAroundYwithOffset" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_RotateModuleAroundZwithOffset ,"MOD_TourneModuleAutourDeZavecOffset" ,"MOD_RotateModuleAroundZwithOffset" ,"Proc_RotateModuleAroundZwithOffset" ,fn_p_st3DProc, USE_MODULE_PARAM USE_REAL_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetFullModuleOrientation ,"MOD_ReorienteModule" ,"MOD_SetFullModuleOrientation" ,"Proc_SetFullModuleOrientation" ,fn_p_st3DProc_ForReorientation, USE_MODULE_PARAM USE_BOOLEAN_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_SetFullModuleOrientationWithOffset ,"MOD_ReorienteModuleAvecOffset" ,"MOD_SetFullModuleOrientationOffset" ,"Proc_SetFullModuleOrientationOffset" ,fn_p_st3DProc_ForReorientation, USE_MODULE_PARAM USE_BOOLEAN_PARAM USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ZoomModule ,"MOD_DeformeModule" ,"MOD_ZoomModule" ,"Proc_ZoomModule" ,fn_p_st3DProc, USE_MODULE_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* collision communication management : ULTRA */
M_DEFINE_PROCEDURE(eProc_SetColliderType ,"COL_ChangeTypeDeCollisionneur" ,"COL_SetColliderType" ,"Proc_SetColliderType" ,fn_p_stCollideCommunicationProc, USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetColliderVector ,"COL_ChangeVecteurDeCollisionneur" ,"COL_SetColliderVector" ,"Proc_SetColliderVector" ,fn_p_stCollideCommunicationProc, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetColliderReal ,"COL_ChangeReelDeCollisionneur" ,"COL_SetColliderReal" ,"Proc_SetColliderReal" ,fn_p_stCollideCommunicationProc, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ResetLastCollisionActor ,"COL_AnnuleDernierPersoCollisionne" ,"COL_ResetLastCollisionActor" ,"Proc_ResetLastCollisionActor" ,fn_p_stResetLastCollisionActor, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ClearCollisionReport ,"COL_VideRapportDeCollision" ,"COL_ClearCollisionReport" ,"Proc_ClearCollisionReport" ,fn_p_stResetLastCollisionActor, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SetGoThroughMechanicsHandling ,"COL_TraiteCollisionTraversee" ,"COL_SetGoThroughMechanicsHandling" ,"Proc_SetGoThroughMechanicsHandling" ,fn_p_stMiscUltraProcedure, USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_EraseLastGoThroughMaterial ,"COL_EffaceDernierMateriauTraverse" ,"COL_EraseLastGoThroughMaterial" ,"Proc_EraseLastGoThroughMaterial" ,fn_p_stMiscUltraProcedure, USE_NO_PARAM, /**/ ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* String procedures */
M_DEFINE_PROCEDURE(eProc_StringAddChar ,"TEXT_AjouteCaractere" ,"TEXT_AddChar" ,"Proc_StringAddChar" ,fn_p_stStringProc, USE_STRING_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_StringReplaceChar ,"TEXT_RemplaceCaractere" ,"TEXT_ReplaceChar" ,"Proc_StringReplaceChar" ,fn_p_stStringProc, USE_STRING_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
NU_M_DEFINE_PROCEDURE(eProc_StringRemoveChar ,"TEXT_RetireCaractere" ,"TEXT_RemoveChar" ,"Proc_StringRemoveChar" ,fn_p_stStringProc, USE_STRING_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeLanguage ,"TEXT_ChangeLangueCourante" ,"TEXT_ChangeLanguage" ,"Proc_ChangeLanguage" ,fn_p_stStringProc, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_IntToText ,"TEXT_EntierEnTexte" ,"TEXT_IntToText" ,"Proc_IntToText" ,fn_p_stIntToText, USE_STRING_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
/* Meca */
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicAnimation ,"MEC_ActiveAnimation" ,"MEC_SetMechanicAnimation" ,"Proc_SetMechanicAnimation" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicCollide ,"MEC_ActiveCollision" ,"MEC_SetMechanicCollide" ,"Proc_SetMechanicCollide" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicGravity ,"MEC_ActiveGravite" ,"MEC_SetMechanicGravity" ,"Proc_SetMechanicGravity" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicTilt ,"MEC_ActiveTilt" ,"MEC_SetMechanicTilt" ,"Proc_SetMechanicTilt" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicGi ,"MEC_ActiveGi" ,"MEC_SetMechanicGI" ,"Proc_SetMechanicGI" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicClimb ,"MEC_ActiveVarappe" ,"MEC_SetMechanicClimb" ,"Proc_SetMechanicClimb" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicOnGround ,"MEC_ActivePlaqueAuSol" ,"MEC_SetMechanicOnGround" ,"Proc_SetMechanicOnGround" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicSpider ,"MEC_ActiveAraignee" ,"MEC_SetMechanicSpider" ,"Proc_SetMechanicSpider" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicShoot ,"MEC_ActiveShoot" ,"MEC_SetMechanicShoot" ,"Proc_SetMechanicShoot" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicSwim ,"MEC_ActiveNage" ,"MEC_SetMechanicSwim" ,"Proc_SetMechanicSwim" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicNeverFall ,"MEC_ActiveNeTombePas" ,"MEC_SetMechanicNeverFall" ,"Proc_SetMechanicNeverFall" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicNewMechanic ,"MEC_DesactiveNouvelleMecanique" ,"MEC_ResetMechanicNewMechanic" ,"Proc_ResetMechanicNewMechanic" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicCollisionControl ,"MEC_ControleCollision" ,"MEC_SetMechanicCollisionControl" ,"Proc_SetMechanicCollisionControl" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicKeepSpeedZ ,"MEC_ConserveVitesseZ" ,"MEC_SetMechanicKeepSpeedZ" ,"Proc_SetMechanicKeepSpeedZ" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicSpeedLimit ,"MEC_ActiveLimiteVitesse" ,"MEC_SetMechanicSpeedLimit" ,"Proc_SetMechanicSpeedLimit" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicInertia ,"MEC_ActiveInertie" ,"MEC_SetMechanicInertia" ,"Proc_SetMechanicInertia" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicStream ,"MEC_ActiveFlux" ,"MEC_SetMechanicStream" ,"Proc_SetMechanicStream" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicStickOnPlatform ,"MEC_ActiveCollerAuxPlateformes" ,"MEC_SetMechanicStickOnPlatform" ,"Proc_SetMechanicStickOnPlatform" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicScale ,"MEC_ActiveScale" ,"MEC_SetMechanicScale" ,"Proc_SetMechanicScale" ,fn_p_SetMechanicOption, USE_BOOLEAN_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicGravityFactor ,"MEC_FixeGravite" ,"MEC_SetMechanicGravityFactor" ,"Proc_SetMechanicGravityFactor" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicSlide ,"MEC_FixeGlissement" ,"MEC_SetMechanicSlide" ,"Proc_SetMechanicSlide" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicRebound ,"MEC_FixeRebond" ,"MEC_SetMechanicMaxRebound" ,"Proc_SetMechanicMaxRebound" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicSlopeLimit ,"MEC_FixeLimitePente" ,"MEC_SetMechanicSlopeLimit" ,"Proc_SetMechanicSlopeLimit" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicInertiaX ,"MEC_FixeInertieX" ,"MEC_SetMechanicInertiaX" ,"Proc_SetMechanicInertiaX" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicInertiaY ,"MEC_FixeInertieY" ,"MEC_SetMechanicInertiaY" ,"Proc_SetMechanicInertiaY" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicInertiaZ ,"MEC_FixeInertieZ" ,"MEC_SetMechanicInertiaZ" ,"Proc_SetMechanicInertiaZ" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicInertiaXYZ ,"MEC_FixeInertie" ,"MEC_SetMechanicInertiaXYZ" ,"Proc_SetMechanicInertiaXYZ" ,fn_p_SetMechanic3RealParameter, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicTiltIntensity ,"MEC_FixeIntensiteTilt" ,"MEC_SetMechanicTiltIntensity" ,"Proc_SetMechanicTiltIntensity" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicTiltInertia ,"MEC_FixeInertieTilt" ,"MEC_SetMechanicTiltInertia" ,"Proc_SetMechanicTiltInertia" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetMechanicTiltOrigin ,"MEC_FixeOrigineTilt" ,"MEC_SetMechanicTiltOrigin" ,"Proc_SetMechanicTiltOrigin" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicSpeedMax ,"MEC_FixeVitesseMax" ,"MEC_SetMechanicSpeedMax" ,"Proc_SetMechanicSpeedMax" ,fn_p_SetMechanicVectorParameter, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicStreamPriority ,"MEC_FixePrioriteFlux" ,"MEC_SetMechanicStreamPriority" ,"Proc_SetMechanicStreamPriority" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicStreamSpeed ,"MEC_FixeVitesseFlux" ,"MEC_SetMechanicStreamSpeed" ,"Proc_SetMechanicStreamSpeed" ,fn_p_SetMechanicVectorParameter, USE_VECTOR_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetMechanicStreamFactor ,"MEC_FixeFacteurDeFlux" ,"MEC_SetMechanicStreamFactor" ,"Proc_SetMechanicStreamFactor" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_AddMechanicStreamSpeed ,"MEC_AjouteVitesseFlux" ,"MEC_AddMechanicStreamSpeed" ,"Proc_AddMechanicStreamSpeed" ,fn_p_SetMechanicVectorParameter, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_AddMechanicStreamSpeedList ,"MEC_AjouteVitesseFluxListe" ,"MEC_AddMechanicStreamSpeedList" ,"Proc_AddMechanicStreamSpeedList" ,fn_p_SetMechanicListParameter, USE_DSGVARIDLIST_PARAM USE_VECTOR_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
/* limit */
NU_M_DEFINE_PROCEDURE(eProc_MoveLimit ,"MEC_LimiteDeplacement" ,"MEC_MoveLimit" ,"Proc_MoveLimit" ,fn_p_SetMechanicSpeedVector, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MoveLimitX ,"MEC_LimiteDeplacementX" ,"MEC_MoveLimitX" ,"Proc_MoveLimitX" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MoveLimitY ,"MEC_LimiteDeplacementY" ,"MEC_MoveLimitY" ,"Proc_MoveLimitY" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MoveLimitZ ,"MEC_LimiteDeplacementZ" ,"MEC_MoveLimitZ" ,"Proc_MoveLimitZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MoveLimitXYZ ,"MEC_LimiteDeplacementXYZ" ,"MEC_MoveLimitXYZ" ,"Proc_MoveLimitXYZ" ,fn_p_SetMechanicSpeedReal, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* stop limit */
NU_M_DEFINE_PROCEDURE(eProc_StopMoveLimitX ,"MEC_StopLimiteDeplacementX" ,"MEC_StopMoveLimitX" ,"Proc_StopMoveLimitX" ,fn_p_SetMechanicSpeedReal, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_StopMoveLimitY ,"MEC_StopLimiteDeplacementY" ,"MEC_StopMoveLimitY" ,"Proc_StopMoveLimitY" ,fn_p_SetMechanicSpeedReal, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_StopMoveLimitZ ,"MEC_StopLimiteDeplacementZ" ,"MEC_StopMoveLimitZ" ,"Proc_StopMoveLimitZ" ,fn_p_SetMechanicSpeedReal, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_StopMoveLimitXYZ ,"MEC_StopLimiteDeplacementXYZ" ,"MEC_StopMoveLimitXYZ" ,"Proc_StopMoveLimitXYZ" ,fn_p_SetMechanicSpeedReal, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
/* platform */
NU_M_DEFINE_PROCEDURE(eProc_SetPlatformLink ,"MEC_ForceLienPlateforme" ,"MEC_SetPlatformLink" ,"Proc_SetPlatformLink" ,fn_p_PlatformLink, USE_PERSO_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_FreePlatformLink ,"MEC_LibereLienPlateforme" ,"MEC_FreePlatformLink" ,"Proc_FreePlatformLink" ,fn_p_PlatformLink, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
/* Scale */
M_DEFINE_PROCEDURE(eProc_MecSetScale ,"MEC_FixeScale" ,"MEC_SetScale" ,"Proc_SetScale" ,fn_p_SetMechanic3Real, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/* Slide coeff */
M_DEFINE_PROCEDURE(eProc_MecSetSlideFactorXYZ ,"MEC_FixeCoefDeGlisseXYZ" ,"MEC_SetSlideFactorXYZ" ,"Proc_SetSlideFactorXYZ" ,fn_p_SetMechanic3Real, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MecSetSlideFactorX ,"MEC_FixeCoefDeGlisseX" ,"MEC_SetSlideFactorX" ,"Proc_SetSlideFactorX" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MecSetSlideFactorY ,"MEC_FixeCoefDeGlisseY" ,"MEC_SetSlideFactorY" ,"Proc_SetSlideFactorY" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_MecSetSlideFactorZ ,"MEC_FixeCoefDeGlisseZ" ,"MEC_SetSlideFactorZ" ,"Proc_SetSlideFactorZ" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_MecSetClimbSpeedLimit ,"MEC_FixeLimiteVitesseVarappe" ,"MEC_SetClimbSpeedLimit" ,"Proc_SetClimbSpeedLimit" ,fn_p_SetMechanicClimbSpeedLimit, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_MecSetHangingLimit ,"MEC_ActiveMecaAccrochage" ,"MEC_SetHangingLimit" ,"Proc_SetHangingLimit" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_MecSetHangingOff ,"MEC_DesactiveMecaAccrochage" ,"MEC_SetHangingOff" ,"Proc_SetHangingOff" ,fn_p_SetMechanicSpeedReal, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_MecSetBaseCoeff ,"MEC_FixeCoeffSaut" ,"MEC_SetBaseCoeff" ,"Proc_SetBaseCoeff" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_MecSetWalkCoeff ,"MEC_FixeCoeffMarche" ,"MEC_SetWalkCoeff" ,"Proc_SetWalkCoeff" ,fn_p_SetMechanicRealParameter, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Hierarchy - Platform */
M_DEFINE_PROCEDURE(eProc_HierSetFather ,"HIER_ForcePere" ,"HIER_SetFather" ,"Proc_HierSetFather" ,fn_p_HierFatherLink, USE_PERSO_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_HierFreeFather ,"HIER_LiberePere" ,"HIER_FreeFather" ,"Proc_HierFreeFather" ,fn_p_HierFatherLink, USE_NO_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_HierListOfSon ,"HIER_MesFils" ,"HIER_ListOfSon" ,"Proc_HierListOfSon" ,fn_p_HierFatherLink, USE_DSGVARIDLIST_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_HierSetPlatformType ,"HIER_ForceTypePlateforme" ,"HIER_SetPlatformType" ,"Proc_HierSetPlatformType" ,fn_p_stMiscProcedure, USE_BOOLEAN_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HierControlLink ,"HIER_ControlePlatforme" ,"HIER_LinkControl" ,"Proc_HierLinkControl" ,fn_p_LinkControl, USE_BOOLEAN_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_HierFreezeEngine ,"HIER_GeleMoteur" ,"HIER_FreezeEngine" ,"Proc_HierFreezeEngine" ,fn_p_stMiscProcedure, USE_BOOLEAN_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_FixePositionZDM ,"ZON_FixePositionZDM" ,"ZON_SetPositionZDM" ,"Proc_FixePositionZDM" ,fn_p_stFixePositionZDx, USE_PERSO_PARAM USE_ZDM_PERSO_PARAM USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_FixePositionZDD ,"ZON_FixePositionZDD" ,"ZON_SetPositionZDD" ,"Proc_FixePositionZDD" ,fn_p_stFixePositionZDx, USE_PERSO_PARAM USE_ZDD_PERSO_PARAM USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_FixePositionZDE ,"ZON_FixePositionZDE" ,"ZON_SetPositionZDE" ,"Proc_FixePositionZDE" ,fn_p_stFixePositionZDx, USE_PERSO_PARAM USE_ZDE_PERSO_PARAM USE_VECTOR_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_PROCEDURE(eProc_ChangeLightIntensity ,"LUM_ChangerIntensiteLumineuse" ,"LIGHT_ChangeLightIntensity" ,"Proc_ChangeLightIntensity" ,fn_p_stChangeLigthIntensity ,USE_PERSO_PARAM USE_4_REALS_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SPO_ChangeFlag ,"SPO_ChangeFlag" ,"SPO_ChangeFlag" ,"Proc_SPO_ChangeFlag" ,fn_SPO_p_stChangeFlag, USE_SUPEROBJECT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ActChangeSpoFlag ,"ACT_ChangeSpoFlag" ,"ACT_ChangeSpoFlag" ,"ACT_ChangeSpoFlag" ,fn_p_stChangeActorSpoFlag, USE_CONSTANT_PARAM USE_CONSTANT_PARAM,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ChangeScreenSize ,"Ecran_ChangeTaille" ,"SCREEN_ChangeSize" ,"Proc_EcranChangeTaille" ,fn_p_stChangeScreen, USE_CONSTANT_PARAM USE_2_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ChangeScreenClip ,"Ecran_ChangeClip" ,"SCREEN_ChangeClip" ,"Proc_EcranChangeClip" ,fn_p_stChangeScreen, USE_CONSTANT_PARAM USE_4_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ChangeScreenPos ,"Ecran_ChangePos" ,"SCREEN_ChangePos" ,"Proc_EcranChangePos" ,fn_p_stChangeScreen, USE_CONSTANT_PARAM USE_2_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ChangeScreenPosPercent ,"Ecran_ChangePosPercent" ,"SCREEN_ChangePosPercent" ,"Proc_EcranChangePosPercent" ,fn_p_stChangeScreen, USE_CONSTANT_PARAM USE_2_CONSTANTS_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ChangeScreenRatio ,"Ecran_ChangeRatio" ,"SCREEN_ChangeProportion" ,"Proc_EcranChangeRatio" ,fn_p_stChangeScreen, USE_CONSTANT_PARAM USE_REAL_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_DisplayShadow ,"OMBRE_Affichage" ,"SHADOW_Display" ,"Proc_OMBREAffichage" ,fn_p_stShadow, USE_CONSTANT_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ChangeShadowHeight ,"OMBRE_ChangeHauteur" ,"SHADOW_ChangeHeight" ,"Proc_OMBREChangeHauteur" ,fn_p_stShadow, USE_REAL_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ChangeShadowVector ,"OMBRE_ChangeVecteurProjection" ,"SHADOW_ChangeVectorProjection" ,"Proc_OMBREChangeVecteurProjection" ,fn_p_stShadow, USE_VECTOR_PARAM ,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ForceActivationZDD ,"ZON_ForceActivationZDD" ,"ZON_ForceActivationZDD" ,"Proc_ForceActivationZDD" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDD_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ForceActivationZDM ,"ZON_ForceActivationZDM" ,"ZON_ForceActivationZDM" ,"Proc_ForceActivationZDM" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDM_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ForceActivationZDE ,"ZON_ForceActivationZDE" ,"ZON_ForceActivationZDE" ,"Proc_ForceActivationZDE" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDE_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ForceActivationZDR ,"ZON_ForceActivationZDR" ,"ZON_ForceActivationZDR" ,"Proc_ForceActivationZDR" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDR_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ForceDesactivationZDD ,"ZON_ForceDesactivationZDD" ,"ZON_ForceDesactivationZDD" ,"Proc_ForceDesactivationZDD" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDD_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ForceDesactivationZDM ,"ZON_ForceDesactivationZDM" ,"ZON_ForceDesactivationZDM" ,"Proc_ForceDesactivationZDM" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDM_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ForceDesactivationZDE ,"ZON_ForceDesactivationZDE" ,"ZON_ForceDesactivationZDE" ,"Proc_ForceDesactivationZDE" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDE_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_ForceDesactivationZDR ,"ZON_ForceDesactivationZDR" ,"ZON_ForceDesactivationZDR" ,"Proc_ForceDesactivationZDR" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDR_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_LibereActivationZDD ,"ZON_LibereActivationZDD" ,"ZON_ReleaseActivationZDD" ,"Proc_LibereActivationZDD" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDD_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_LibereActivationZDM ,"ZON_LibereActivationZDM" ,"ZON_ReleaseActivationZDM" ,"Proc_LibereActivationZDM" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDM_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_LibereActivationZDE ,"ZON_LibereActivationZDE" ,"ZON_ReleaseActivationZDE" ,"Proc_LibereActivationZDE" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDE_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_LibereActivationZDR ,"ZON_LibereActivationZDR" ,"ZON_ReleaseActivationZDR" ,"Proc_LibereActivationZDR" ,fn_p_stSetPrivilegeActivationZDx, USE_ZDR_PERSO_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_ActiveZDR ,"ZON_ActiveZDR" ,"ZON_ActiveZDR" ,"Proc_ActiveZDR" ,fn_p_stActivationZDR, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Collision Flags and Computing collisions frequency */
M_DEFINE_PROCEDURE(eProc_SetNoCollisionWithMap ,"ACT_FixePasDeCollisionAvecMap" ,"ACT_SetNoColWithMap" ,"Proc_SetNoColWithMap" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
NU_M_DEFINE_PROCEDURE(eProc_SetNoCollisionWithProjectile ,"ACT_FixePasDeCollisionAvecProjectiles" ,"ACT_SetNoColWithProjectile" ,"Proc_SetNoColWithProjectile" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetNoCollisionWithSecondCharact ,"ACT_FixePasDeCollisionAvecActeursSecondaires" ,"ACT_SetNoColWithSeconfCharact" ,"Proc_SetNoColWithSeconfCharact" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetNoCollisionWithMainCharact ,"ACT_FixePasDeCollisionAvecActeurPrincipal" ,"ACT_SetNoColWithMainCharact" ,"Proc_SetNoColWithMainCharact" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetNoCollisionWithOtherSectors ,"ACT_FixePasDeCollisionAvecAutresSecteurs" ,"ACT_SetNoColWithOtherSectors" ,"Proc_SetNoColWithOtherSectors" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetNoCollisionZdeWithProjectile ,"ACT_FixePasDeCollisionZdeAvecProjectiles" ,"ACT_SetNoColZdeWithProjectile" ,"Proc_SetNoColZdeWithProjectile" ,fn_p_stSetCollSetCollisionFlag, USE_BOOLEAN_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetCollComputeFrequency ,"ACT_FixeFrequenceCalculCollisions" ,"ACT_SetCollComputeFreq" ,"Proc_SetCollComputeFreq" ,fn_p_stSetComputationFrequency, USE_CONSTANT_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetBrainComputeFrequency ,"ACT_FixeFrequenceCalculIA" ,"ACT_SetBrainComputeFreq" ,"Proc_SetBrainComputeFreq" ,fn_p_stSetComputationFrequency, USE_CONSTANT_PARAM ,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetLightComputeFrequency ,"ACT_FixeFrequenceCalculLumieres" ,"ACT_SetLightComputeFreq" ,"Proc_SetLightComputeFreq" ,fn_p_stSetComputationFrequency, USE_CONSTANT_PARAM ,/**/ ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
/* map exits management for world map update */
M_DEFINE_PROCEDURE(eProc_SetUsedExitIdentifier ,"MAP_IndiqueLaSortieUtilisee" ,"MAP_SetUsedExitIdentifier" ,"Proc_SetUsedExitIdentifier" ,fn_p_stWorldMapProc, USE_CONSTANT_PARAM USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_GetUsedExitIdentifier ,"MAP_LitLaSortieUtilisee" ,"MAP_GetUsedExitIdentifier" ,"Proc_GetUsedExitIdentifier" ,fn_p_stWorldMapProc, USE_ADDR_LONG_PARAM USE_ADDR_LONG_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetGlobalCounter ,"MAP_ChangeCompteurGlobal" ,"MAP_SetGlobalCounter" ,"eProc_SetGlobalCounter" ,fn_p_stWorldMapProc, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ReadAnalogJoystick ,"PAD_LitJoyAnalogiqueModeMario" ,"PAD_ReadAnalogJoystickMarioMode" ,"PAD_ReadAnalogJoystickMarioMode" ,fn_p_stReadAnalogJoystickMario, USE_4_REALS_PARAM USE_CONSTANT_PARAM USE_2_BOOLEANS_PARAM,/**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetAnalogJoystickAxes ,"PAD_JoyAnalogiqueFixeAxes" ,"PAD_InitAnalogJoystickAxes" ,"PAD_InitAnalogJoystickAxes" ,fn_p_stSetAnalogJoystickAxes, USE_BUTTON_PARAM USE_BUTTON_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetPadReadingDsgvars ,"PAD_FixeVariablesDeLecture" ,"PAD_SetPadReadingDsgvars" ,"Proc_SetPadReadingDsgvars" ,fn_p_stSetAnalogJoystickAxes, USE_ADDR_VECTOR_PARAM USE_ADDR_LONG_PARAM USE_ADDR_LONG_PARAM USE_ADDR_REAL_PARAM USE_ADDR_REAL_PARAM USE_ADDR_REAL_PARAM USE_ADDR_LONG_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
#if (!defined U64)
NU_M_DEFINE_PROCEDURE(eProc_CancelKeyboardInertia ,"PAD_AnnuleInertieClavier" ,"PAD_CancelKeyboardInertia" ,"Proc_CancelKeyboardInertia" ,fn_p_stSetAnalogJoystickAxes, USE_NO_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#else
NU_M_DEFINE_PROCEDURE(eProc_CancelKeyboardInertia ,"PAD_AnnuleInertieClavier" ,"PAD_CancelKeyboardInertia" ,"Proc_CancelKeyboardInertia" ,fn_p_stDummy, USE_NO_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#endif /* U64*/
NU_M_DEFINE_PROCEDURE(eProc_GetPadCalibration ,"PAD_LitCalibration" ,"PAD_GetPadCalibration" ,"Proc_GetPadCalibration" ,fn_p_stSetAnalogJoystickAxes, USE_ADDR_LONG_PARAM USE_ADDR_LONG_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetPadCalibration ,"PAD_ChangeCalibration" ,"PAD_SetPadCalibration" ,"Proc_SetPadCalibration" ,fn_p_stSetAnalogJoystickAxes, USE_CONSTANT_PARAM USE_CONSTANT_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetBooleanInArray ,"ACT_FixeBooleenDansTableau" ,"ACT_SetBooleanInArray" ,"ACT_SetBooleanInArray" ,fn_p_stSetBooleanInArray, USE_ADDR_ARRAY_PARAM USE_CONSTANT_PARAM USE_BOOLEAN_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetDefaultFormatCharacter ,"TEXT_SetDefaultFormatCharacter" ,"TEXT_SetDefaultFormatCharacter" ,"TEXT_SetDefaultFormatCharacter" ,fn_p_stSetDefaultFormatCharacter, USE_3_REALS_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
#if (!defined U64)
NU_M_DEFINE_PROCEDURE(eProc_SelectDriver ,"VID_SelectDriver" ,"VID_SelectDriver" ,"VID_SelectDriver" ,fn_p_stSelectDriver, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#else
NU_M_DEFINE_PROCEDURE(eProc_SelectDriver ,"VID_SelectDriver" ,"VID_SelectDriver" ,"VID_SelectDriver" ,fn_p_stDummy, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#endif /* U64*/
#ifdef U64
M_DEFINE_PROCEDURE(eProc_SelectShapnessMax ,"VID_SelectShapnessMax" ,"VID_SelectShapnessMax" ,"Proc_SelectShapnessMax" ,Proc_SelectShapnessMax, USE_BOOLEAN_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_CenterScreen ,"VID_CenterScreen" ,"VID_CenterScreen" ,"Proc_CenterScreen" ,fn_p_stCenterScreen, USE_NO_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#else
M_DEFINE_PROCEDURE(eProc_SelectShapnessMax ,"VID_SelectShapnessMax" ,"VID_SelectShapnessMax" ,"Proc_SelectShapnessMax" ,fn_p_stDummy, USE_BOOLEAN_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_CenterScreen ,"VID_CenterScreen" ,"VID_CenterScreen" ,"Proc_CenterScreen" ,fn_p_stDummy, USE_NO_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
#endif /* U64 */
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SelectResolution ,"VID_SelectResolution" ,"VID_SelectResolution" ,"VID_SelectResolution" ,fn_p_stSelectResolution, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ChangeBrightness ,"VID_ChangeBrightness" ,"VID_ChangeBrightness" ,"VID_ChangeBrightness" ,fn_p_stChangeBrightness, USE_REAL_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_TexteEntier ,"TEXT_ParametreEntier" ,"TEXT_IntegerParameter" ,"TEXT_IntegerParameter" ,fn_p_stTextIntegerParameter, USE_2_CONSTANTS_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_TexteReel ,"TEXT_ParametreReel" ,"TEXT_RealParameter" ,"TEXT_RealParameter" ,fn_p_stTextRealParameter, USE_CONSTANT_PARAM USE_REAL_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetTextureFiltering ,"VID_SetTextureFiltering" ,"VID_SetTextureFiltering" ,"VID_SetTextureFiltering" ,fn_p_stSetVideoOptions, USE_CONSTANT_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetAntiAliasing ,"VID_SetAntiAliasing" ,"VID_SetAntiAliasing" ,"VID_SetAntiAliasing" ,fn_p_stSetVideoOptions, USE_CONSTANT_PARAM USE_REAL_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetInStereoMode ,"SOUND_SetInStereoMode" ,"SOUND_SetInStereoMode" ,"SOUND_SetInStereoMode" ,fn_p_stSetInStereoMode, USE_BOOLEAN_PARAM ,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SetSaturationBackGroundDistance ,"ACT_FixeDistanceSaturationBackGround" ,"ACT_SetSaturationBackGroundDistance" ,"Proc_SetSaturationBackGroundDistance",fn_p_stSetaturationAndBackgroundDistance,USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_SaveSoundEventInSlotMemory ,"SOUND_SauveRequeteCourante" ,"SOUND_SaveCurrentRequest" ,"Proc_SaveCurrentRequest" ,fn_p_stSaveCurrentSoundRequest,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_RestoreSoundEventInSlotMemory ,"SOUND_RestaureRequete" ,"SOUND_RestoreRequest" ,"Proc_RestoreRequest" ,fn_p_stSaveCurrentSoundRequest,USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
#if defined(WIN32) && defined(_DEBUG)
M_DEFINE_PROCEDURE(eProc_DrawSegment ,"DEBUG_DessineSegment" ,"DEBUG_DrawSegment" ,"Proc_DrawSegment" ,fn_p_stDebugDrawSegment,USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
#else
M_DEFINE_PROCEDURE(eProc_DrawSegment ,"DEBUG_DessineSegment" ,"DEBUG_DrawSegment" ,"Proc_DrawSegment" ,fn_p_stDummy,USE_VECTOR_PARAM USE_VECTOR_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/ )
#endif /* WIN32 && _DEBUG */
/**********************************************************************************************************************************************************************************************************************************************************/
#if defined(WIN32)
M_DEFINE_PROCEDURE(eProc_UpdateChecksum ,"ACT_MetAJourChecksum" ,"ACT_UpdateChecksum" ,"Proc_UpdateChecksum" ,fn_p_stMiscProtectProcedure, USE_VECTOR_PARAM USE_CONSTANT_PARAM, ULTRA_ABLE)
#else
M_DEFINE_PROCEDURE(eProc_UpdateChecksum ,"ACT_MetAJourChecksum" ,"ACT_UpdateChecksum" ,"Proc_UpdateChecksum" ,fn_p_stDummy, USE_VECTOR_PARAM USE_CONSTANT_PARAM, ULTRA_ABLE)
#endif /* WIN32 */
/**********************************************************************************************************************************************************************************************************************************************************/
#if defined(WIN32)
M_DEFINE_PROCEDURE(eProc_ShellExecute ,"ShellExecute" ,"ShellExecute" ,"Proc_ShellExecute" ,fn_p_stShellExecuteProcedure, USE_STRING_PARAM , NOT_ULTRA_ABLE)
#else
M_DEFINE_PROCEDURE(eProc_ShellExecute ,"ShellExecute" ,"ShellExecute" ,"Proc_ShellExecute" ,fn_p_stDummy, USE_STRING_PARAM , NOT_ULTRA_ABLE)
#endif /* WIN32 */
M_DEFINE_PROCEDURE(eProc_ForceVerticalUsingX ,"ACT_ForceVerticalUsingX" ,"ACT_ForceVerticalUsingX" ,"Proc_ForceVerticalUsingX" ,fn_p_st3DProcVertical, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ForceVerticalUsingY ,"ACT_ForceVerticalUsingY" ,"ACT_ForceVerticalUsingY" ,"Proc_ForceVerticalUsingY" ,fn_p_st3DProcVertical, USE_REAL_PARAM, /**/ ULTRA_ABLE /**/)
#include "ProcRay2.h"

View File

@@ -0,0 +1,19 @@
/*-------------------------------------------------------------------------------------
DefSAI.h : Variables save type definitions (use SAI flags (cf Francois Mahieu))
Author : Olivier Couvreur 25/09/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_DSGVAR_SAVE_TYPE)
#error You should define M_DEFINE_DSGVAR_SAVE_TYPE accordingly before including this file !
#endif
#define DEFAULT_DSGVAR_SAVE_TYPE_ENTRY 0
M_DEFINE_DSGVAR_SAVE_TYPE("Aucune","None",(SAI_tdeFlags) 0)
M_DEFINE_DSGVAR_SAVE_TYPE("Joueur","Player",SAI_ePlayerSaveCurrentValue)
M_DEFINE_DSGVAR_SAVE_TYPE("Niveau","Level",SAI_eLevelSaveCurrentValue)
/*M_DEFINE_DSGVAR_SAVE_TYPE("JoueurEtNiveau","PlayerAndLevel",(SAI_tdeFlags) (SAI_ePlayerSaveCurrentValue|SAI_eLevelSaveCurrentValue) )*/
#if defined(M_DEFINE_DSGVAR_SAVE_TYPE)
#undef M_DEFINE_DSGVAR_SAVE_TYPE
#endif

View File

@@ -0,0 +1,45 @@
/*-------------------------------------------------------------------------------------
DefVar.h : Variables type definitions
Author : Olivier Couvreur 25/09/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_DSGVAR_TYPE)
#error You should define M_DEFINE_DSGVAR_TYPE accordingly before including this file !
#endif
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Boolean ,"Booleen" ,"Boolean" ,E_vt_Boolean ,C_ADDR_BOOLEAN_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarBoolean ,fn_ucSetDsgVarBoolean ,fn_p_cBinaryLoadDsgVarBoolean ,fn_p_cBinarySaveDsgVarBoolean)
M_DEFINE_DSGVAR_TYPE(eDsgVarType__128To127 ,"Entier_128To127" ,"_128To127" ,E_vt__128To127 ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVar_128To127 ,fn_ucSetDsgVar_128To127 ,fn_p_cBinaryLoadDsgVar_128To127 ,fn_p_cBinarySaveDsgVar_128To127)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_0To255 ,"Entier0To255" ,"0To255" ,E_vt_0To255 ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVar0To255 ,fn_ucSetDsgVar0To255 ,fn_p_cBinaryLoadDsgVar0To255 ,fn_p_cBinarySaveDsgVar0To255)
M_DEFINE_DSGVAR_TYPE(eDsgVarType__32768To32767 ,"Entier_32768To32767" ,"_32768To32767" ,E_vt__32768To32767 ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVar_32768To32767 ,fn_ucSetDsgVar_32768To32767 ,fn_p_cBinaryLoadDsgVar_32768To32767 ,fn_p_cBinarySaveDsgVar_32768To32767)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_0To65535 ,"Entier0To65535" ,"0To65535" ,E_vt_0To65535 ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVar0To65535 ,fn_ucSetDsgVar0To65535 ,fn_p_cBinaryLoadDsgVar0To65535 ,fn_p_cBinarySaveDsgVar0To65535)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Integer ,"Entier" ,"Integer" ,E_vt_Integer ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarInteger ,fn_ucSetDsgVarInteger ,fn_p_cBinaryLoadDsgVarInteger ,fn_p_cBinarySaveDsgVarInteger)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_PositiveInteger,"EntierPositif" ,"PositiveInteger" ,E_vt_PositiveInteger,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarPositiveInteger ,fn_ucSetDsgVarPositiveInteger ,fn_p_cBinaryLoadDsgVarPositiveInteger ,fn_p_cBinarySaveDsgVarPositiveInteger)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Float ,"Reel" ,"Float" ,E_vt_Float ,C_ADDR_REAL_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarFloat ,fn_ucSetDsgVarFloat ,fn_p_cBinaryLoadDsgVarFloat ,fn_p_cBinarySaveDsgVarFloat)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_WayPoint ,"WayPoint" ,"WayPoint" ,E_vt_WayPoint ,C_ADDR_WAYPOINT_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarWayPoint ,fn_ucSetDsgVarWayPoint ,fn_p_cBinaryLoadDsgVarWayPoint ,fn_p_cBinarySaveDsgVarWayPoint)
/*M_DEFINE_DSGVAR_TYPE(eDsgVarType_Way ,"Way" ,"Way" ,E_vt_Way ,C_ADDR_LONG_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarWay ,fn_ucSetDsgVarWay ,fn_p_cBinaryLoadDsgVarWay ,fn_p_cBinarySaveDsgVarWay)*/
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Perso ,"Perso" ,"Perso" ,E_vt_Perso ,C_ADDR_PERSO_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarPerso ,fn_ucSetDsgVarPerso ,fn_p_cBinaryLoadDsgVarPerso ,fn_p_cBinarySaveDsgVarPerso)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_List ,"Liste" ,"List" ,E_vt_List ,C_ADDR_LIST_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarList ,fn_ucSetDsgVarList ,fn_p_cBinaryLoadDsgVarList ,fn_p_cBinarySaveDsgVarList)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Vector ,"TypeVecteur" ,"Vector" ,E_vt_Vector ,C_ADDR_VECTOR_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarVector ,fn_ucSetDsgVarVector ,fn_p_cBinaryLoadDsgVarVector ,fn_p_cBinarySaveDsgVarVector)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Comport ,"TypeComportement" ,"Comport" ,E_vt_Comport ,C_ADDR_COMPORT_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarComport ,fn_ucSetDsgVarComport ,fn_p_cBinaryLoadDsgVarComport ,fn_p_cBinarySaveDsgVarComport)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Action ,"TypeAction" ,"Action" ,E_vt_Action ,C_ADDR_ACTION_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarAction ,fn_ucSetDsgVarAction ,fn_p_cBinaryLoadDsgVarAction ,fn_p_cBinarySaveDsgVarAction)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Text ,"Texte" ,"Text" ,E_vt_Text ,C_ADDR_TEXT_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarText ,fn_ucSetDsgVarText ,fn_p_cBinaryLoadDsgVarText ,fn_p_cBinarySaveDsgVarText)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_GameMaterial ,"TypeMateriauJeu" ,"GameMaterial" ,E_vt_GameMaterial ,C_ADDR_GMT_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarGameMaterial ,fn_ucSetDsgVarGameMaterial ,fn_p_cBinaryLoadDsgVarGameMaterial ,fn_p_cBinarySaveDsgVarGameMaterial)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Caps ,"TypeCapacite" ,"Capability" ,E_vt_Caps ,C_ADDR_CAPS_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarCaps ,fn_ucSetDsgVarCaps ,fn_p_cBinaryLoadDsgVarCaps ,fn_p_cBinarySaveDsgVarCaps)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_Graph ,"TypeReseau" ,"Graph" ,E_vt_Graph ,C_ADDR_GRAPH_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarGraph ,fn_ucSetDsgVarGraph ,fn_p_cBinaryLoadDsgVarGraph ,fn_p_cBinarySaveDsgVarGraph)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_PersoArray ,"TypeTableauPerso" ,"PersoArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_PERSO_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_VectorArray ,"TypeTableauVecteur" ,"VectorArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_VECTOR_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_FloatArray ,"TypeTableauReel" ,"FloatArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_REAL_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_IntegerArray ,"TypeTableauEntier" ,"IntegerArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_LONG_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_WayPointArray ,"TypeTableauWayPoint" ,"WayPointArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_WAYPOINT_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
M_DEFINE_DSGVAR_TYPE(eDsgVarType_TextArray ,"TypeTableauTexte" ,"TextArray" ,E_vt_Array ,C_ADDR_ARRAY_PARAM ,C_ADDR_TEXT_PARAM ,fn_ucGetDsgVarArray ,fn_ucSetDsgVarArray ,fn_p_cBinaryLoadDsgVarArray ,fn_p_cBinarySaveDsgVarArray)
/* ANNECY OA - 05/08/99 { */
#ifndef U64
M_DEFINE_DSGVAR_TYPE(eDsgVarType_SuperObject ,"TypeSuperObjet" ,"SuperObject" ,E_vt_SuperObject ,C_SUPEROBJECT_PARAM ,C_NO_PARAM ,fn_ucGetDsgVarSuperObject ,fn_ucSetDsgVarSuperObject ,fn_p_cBinaryLoadDsgVarSuperObject ,fn_p_cBinarySaveDsgVarSuperObject)
#endif
/* END ANNECY OA } */
#if defined(M_DEFINE_DSGVAR_TYPE)
#undef M_DEFINE_DSGVAR_TYPE
#endif

View File

@@ -0,0 +1,26 @@
/*-------------------------------------------------------------------------------------
EnumAct.h : enum for metaactions
Author : Olivier Couvreur 23/04/97
Modify :
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_ACT_H__)
#define __ENUM_ACT_H__
#define M_DEFINE_METAACTION(a,b,english,c,d,e,f) a,
/****************************************************************************************/
/* ACTIONS CONSTANTS */
/****************************************************************************************/
typedef enum tdeMetaActionId_
{
#include "DefAct.h"
/******************************************************************/
eNbMetaAction /* WARNING : Keep it on the last position.*/
/******************************************************************/
} tdeMetaActionId;
#undef M_DEFINE_METAACTION
#endif /* __ENUM_ACT_H__*/

View File

@@ -0,0 +1,24 @@
/*-------------------------------------------------------------------------------------
EnumCond.h : enum for conditions and keywords
Author : Olivier Couvreur 23/04/97
Modify : Olivier Couvreur 27/05/97 ZDD + ZDE stuff
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_COND_H__)
#define __ENUM_COND_H__
#define M_DEFINE_CONDITION(a,b,english,c,d,e,f) a,
/* Definition des Conditions.*/
typedef enum tdeCondId_
{
#include "DefCond.h"
/*************** MUST BE AT END ***************/
eNbCond /* = NB COND */
/**********************************************/
} tdeCondId;
#undef M_DEFINE_CONDITION
#endif /* __ENUM_COND_H__*/

View File

@@ -0,0 +1,37 @@
/*-------------------------------------------------------------------------------------
EnumFild.h : enum for fields
Author : Olivier Couvreur 23/04/97
Modify :
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_FIELD_H__)
#define __ENUM_FIELD_H__
#define M_DEFINE_FIELD(a,b,english,c,d,e,f) a,
typedef enum tdeFieldId_
{
#include "DefFild.h"
/*************** MUST BE AT END ***************/
eNbField /* = NB FIELD */
/**********************************************/
} tdeFieldId;
#undef M_DEFINE_FIELD
#define M_DEFINE_FIELD_TYPE(a,b,c,d) a,
typedef enum tdeFieldTypeId_
{
#include "FildType.h"
/*************** MUST BE AT END ***************/
eNbFieldType /* = NB FIELD TYPE*/
/**********************************************/
} tdeFieldTypeId;
#undef M_DEFINE_FIELD_TYPE
#endif /* __ENUM_FIELD_H__*/

View File

@@ -0,0 +1,25 @@
/*-------------------------------------------------------------------------------------
EnumFunc.h : enum for functions and functions list
Author : 23/04/1997 (Olivier Couvreur
Modify : 21/05/1997 (Olivier Couvreur) HitPoints support
Modify : 27/05/1997 (Olivier Couvreur) ZDD + ZDE stuff
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_FUNC_H__)
#define __ENUM_FUNC_H__
#define M_DEFINE_FUNCTION(a,b,english,c,d,e,f,g) a,
/* Definition of Functions.*/
typedef enum tdeFuncId_
{
#include "DefFunc.h"
/*************** MUST BE AT END ***************/
eNbFunc /* = NB FUNC */
/**********************************************/
} tdeFuncId;
#undef M_DEFINE_FUNCTION
#endif /* __ENUM_FUNC_H__*/

View File

@@ -0,0 +1,23 @@
/*-------------------------------------------------------------------------------------
EnumCond.h : enum for eywords
Author : Olivier Couvreur 19/08/97
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_KEY_H__)
#define __ENUM_KEY_H__
#define M_DEFINE_KEYWORD(a,b,english,c,d,e,f) a,
typedef enum tdeKeyWordId_
{
#include "DefKey.h"
/*************** MUST BE AT END ***************/
eNbKeyWord /* = NB KEYWORD */
/**********************************************/
} tdeKeyWordId;
#undef M_DEFINE_KEYWORD
#endif /* __ENUM_KEY_H__*/

View File

@@ -0,0 +1,28 @@
/*-------------------------------------------------------------------------------------
EnumOper.h : enum for operators
Author : Olivier Couvreur 23/04/97
Modify :
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_OPER_H__)
#define __ENUM_OPER_H__
/* Scalar means it's working for scalar only*/
/* Vector means it's working for vector only*/
/* else for both*/
#define M_DEFINE_OPERATOR(a,b,c,d,e,f) a,
/* Definition of Operators.*/
typedef enum tdeOperatorId_
{
#include "DefOper.h"
/*************** MUST BE AT END ***************/
eNbOperator /* = NB OPERATOR */
/**********************************************/
} tdeOperatorId;
#undef M_DEFINE_OPERATOR
#endif /* __ENUM_OPER_H__*/

View File

@@ -0,0 +1,24 @@
/*-------------------------------------------------------------------------------------
EnumProc.h : enum for procedures
Author : 23/04/1997 (Olivier Couvreur)
Modify : 21/05/1997 (Olivier Couvreur) HitPoints support
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_PROC_H__)
#define __ENUM_PROC_H__
#define M_DEFINE_PROCEDURE(a,b,english,c,d,e,f) a,
/* Definition of Procedures.*/
typedef enum tdeProcedureId_
{
#include "DefProc.h"
/*************** MUST BE AT END ***************/
eNbProcedure /* = NB PROCEDURE */
/**********************************************/
} tdeProcedureId;
#undef M_DEFINE_PROCEDURE
#endif /* __ENUM_PROC_H__*/

View File

@@ -0,0 +1,21 @@
/*-------------------------------------------------------------------------------------
EnumVar.h : enum for DsgVar Type
--------------------------------------------------------------------------------------*/
#if !defined(__ENUM_VAR_H__)
#define __ENUM_VAR_H__
#define M_DEFINE_DSGVAR_TYPE(a,b,c,d,e,f,g,h,i,j) a,
typedef enum tdeDsgVarTypeId_
{
#include "DefVar.h"
/*************** MUST BE AT END ***************/
eNbDsgVarType /* = NB DSGVARTYPE */
/**********************************************/
} tdeDsgVarTypeId;
#undef M_DEFINE_DSGVAR_TYPE
#endif /* __ENUM_VAR_H__*/

View File

@@ -0,0 +1,20 @@
/*-------------------------------------------------------------------------------------
FildType.h : Field type definition
Author : Olivier Couvreur 28/10/97
--------------------------------------------------------------------------------------*/
#if !defined(M_DEFINE_FIELD_TYPE)
#error You should define M_DEFINE_FIELD_TYPE accordingly before including this file !
#endif
/* Field Type Prototypes : type, internal type, post processing , preprocessing */
M_DEFINE_FIELD_TYPE(eFieldType_Integer ,E_vt_Integer ,fn_vGetFieldTypeInteger ,fn_vSetFieldTypeInteger)
M_DEFINE_FIELD_TYPE(eFieldType_Float ,E_vt_Float ,fn_vGetFieldTypeFloat ,fn_vSetFieldTypeFloat)
M_DEFINE_FIELD_TYPE(eFieldType_Vector ,E_vt_Vector ,fn_vGetFieldTypeVector ,fn_vSetFieldTypeVector)
M_DEFINE_FIELD_TYPE(eFieldType_Comport ,E_vt_Comport ,fn_vGetFieldTypeComport ,fn_vSetFieldTypeComport)
M_DEFINE_FIELD_TYPE(eFieldType_0To255 ,E_vt_0To255 ,fn_vGetFieldType0To255 ,fn_vSetFieldType0To255)
#if defined(M_DEFINE_FIELD_TYPE)
#undef M_DEFINE_FIELD_TYPE
#endif

View File

@@ -0,0 +1,103 @@
/************************************************************************************************
* Name: FuncRay2.h *
* Use : Macro Definition of functions for AI of Rayman II *
* Author: Christophe Giraud *
* (c) UBI Simulations Annecy *
************************************************************************************************/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Management of magic points for Rayman */
NU_M_DEFINE_FUNCTION(eFunc_LitPointsDeMagie ,"RAY_LitPointsDeMagie" ,"RAY_GetMagicPoints" ,"Func_LitPointsDeMagie" ,fn_p_stCode4PointsDeMagie , USE_NO_PARAM , USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_LitPointsDeMagieMax ,"RAY_LitPointsDeMagieMax" ,"RAY_GetMagicPointsMax" ,"Func_LitPointsDeMagieMax" ,fn_p_stCode4PointsDeMagie , USE_NO_PARAM , USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_AjouteEtLitPointsDeMagie ,"RAY_AjouteEtLitPointsDeMagie" ,"RAY_AddAndGetMagicPoints" ,"Func_AjouteEtLitPointsDeMagie" ,fn_p_stCode4PointsDeMagie , USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_AjouteEtLitPointsDeMagieMax ,"RAY_AjouteEtLitPointsDeMagieMax" ,"RAY_AddAndGetMagicPointsMax" ,"Func_AjouteEtLitPointsDeMagieMax" ,fn_p_stCode4PointsDeMagie , USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_EnleveEtLitPointsDeMagie ,"RAY_EnleveEtLitPointsDeMagie" ,"RAY_RemoveAndGetMagicPoints" ,"Func_EnleveEtLitPointsDeMagie" ,fn_p_stCode4PointsDeMagie , USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_EnleveEtLitPointsDeMagieMax ,"RAY_EnleveEtLitPointsDeMagieMax" ,"RAY_RemoveAndGetMagicPointsMax" ,"Func_EnleveEtLitPointsDeMagieMax" ,fn_p_stCode4PointsDeMagie , USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/* Management of air points for Rayman */
M_DEFINE_FUNCTION(eFunc_LitPointsDair ,"RAY_LitPointsDair" ,"RAY_GetAirPoints" ,"Func_LitPointsDair" ,fn_p_stCode4PointsDair , USE_NO_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_LitPointsDairMax ,"RAY_LitPointsDairMax" ,"RAY_GetAirPointsMax" ,"Func_LitPointsDairMax" ,fn_p_stCode4PointsDair , USE_NO_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_AjouteEtLitPointsDair ,"RAY_AjouteEtLitPointsDair" ,"RAY_AddAndGetAirPoints" ,"Func_AjouteEtLitPointsDair" ,fn_p_stCode4PointsDair , USE_REAL_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_AjouteEtLitPointsDairMax ,"RAY_AjouteEtLitPointsDairMax" ,"RAY_AddAndGetAirPointsMax" ,"Func_AjouteEtLitPointsDairMax" ,fn_p_stCode4PointsDair , USE_REAL_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_EnleveEtLitPointsDair ,"RAY_EnleveEtLitPointsDair" ,"RAY_RemoveAndGetAirPoints" ,"Func_EnleveEtLitPointsDair" ,fn_p_stCode4PointsDair , USE_REAL_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_EnleveEtLitPointsDairMax ,"RAY_EnleveEtLitPointsDairMax" ,"RAY_RemoveAndGetAirPointsMax" ,"Func_EnleveEtLitPointsDairMax" ,fn_p_stCode4PointsDair , USE_REAL_PARAM , USE_REAL_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_PersoLePlusProche ,"ACT_PersoLePlusProche" ,"ACT_NearestActor" ,"Func_PersoLePlusProche" ,fn_p_stCode4PersoLePlusProche, USE_CONSTANT_PARAM , USE_PERSO_PARAM , ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_PersoLePlusProcheDansSecteurCourant ,"ACT_PersoLePlusProcheDansSecteurCourant" ,"ACT_NearestActorInCurrentSector" ,"Func_NearestActorInCurrentSector" ,fn_p_stGetNearestActorInCurrentSector, USE_CONSTANT_PARAM , USE_PERSO_PARAM , ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_NearerActorInFieldOfVision ,"ACT_PersoLePlusProcheDansChampsDeVision" ,"ACT_NearerActorInFieldOfVision" ,"Func_NearerActorInFieldOfVision" ,fn_p_stCode4PersoLePlusProche, USE_CONSTANT_PARAM , USE_PERSO_PARAM , ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_GetNbActivePerso ,"ACT_LitNbPersoActifs" ,"ACT_GetNbActivePerso" ,"Func_GetNbActivePerso" ,fn_p_stGetNbActivePerso,USE_NO_PARAM,USE_CONSTANT_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_CibleLaPlusProche ,"ACT_CibleLaPlusProche" ,"ACT_CibleLaPlusProche" ,"Func_CibleLaPlusProche" ,fn_p_stCode4PersoLePlusProche, USE_4_CONSTANTS_PARAM USE_VECTOR_PARAM , USE_PERSO_PARAM , ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_CibleLaPlusProcheAvecAngles ,"ACT_CibleLaPlusProcheAvecAngles" ,"ACT_CibleLaPlusProcheAvecAngles" ,"Func_CibleLaPlusProcheavecAngles" ,fn_p_stCode4PersoLePlusProche, USE_4_CONSTANTS_PARAM USE_VECTOR_PARAM USE_REAL_PARAM USE_REAL_PARAM, USE_PERSO_PARAM , ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Graph function management */
/* To reach a graph before building a way (or to travel on a graph without building a way) */
M_DEFINE_FUNCTION(eFunc_ReseauWPLePlusProche ,"Reseau_WPLePlusProche", "NETWORK_CloserWPn" ,"Func_ReseauWPnLePlusProche" ,fn_p_stCloserWPInGraph, USE_GRAPH_PARAM USE_CONSTANT_PARAM, USE_WAYPOINT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkCloserWPOfType ,"Reseau_WPDeTelTypeLePlusProche", "NETWORK_CloserWPOfType" ,"Func_NetworkCloserWPOfType" ,fn_p_stCloserWPInGraph, USE_GRAPH_PARAM USE_CONSTANT_PARAM USE_CAPS_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM, USE_WAYPOINT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauWPLePlusDansLAxe ,"Reseau_WPLePlusDansLAxe", "NETWORK_CloserWPnInAxis" ,"Func_ReseauWPnLePlusDansLAxe" ,fn_p_stCloserWPInGraph, USE_GRAPH_PARAM USE_CONSTANT_PARAM USE_VECTOR_PARAM, USE_WAYPOINT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauWPLePlusDansLAxe2 ,"Reseau_WPDeTelTypeLePlusDansLAxe", "NETWORK_CloserWPnInAxis2" ,"Func_ReseauWPnLePlusDansLAxe2" ,fn_p_stCloserWPInGraph, USE_GRAPH_PARAM USE_CONSTANT_PARAM USE_CAPS_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM USE_VECTOR_PARAM, USE_WAYPOINT_PARAM, ULTRA_ABLE )
/* To travel on a graph without building a way */
M_DEFINE_FUNCTION(eFunc_NetworkNextWPWithCapa, "Reseau_ProchainWPJoignableAvecCapacite", "NETWORK_NextWPWithCapa", "eFunc_NetworkNextWPWithCapa" ,fn_p_stTravelOnAGraph, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_CAPS_PARAM, USE_WAYPOINT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_NetworkAffectTypeOfConnectedWP, "Reseau_ChangeTypeDesWPJoignables", "NETWORK_AffectTypeOfConnectedWP", "Func_NetworkAffectTypeOfConnectedWP" ,fn_p_stTravelOnAGraph, USE_GRAPH_PARAM USE_CAPS_PARAM USE_WAYPOINT_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_NetworkAffectTypeOfConnectedWPWithCapa, "Reseau_ChangeTypeDesWPJoignablesAvecCapacite", "NETWORK_AffectTypeOfConnectedWP2", "Func_NetworkAffectTypeOfConnectedWP2",fn_p_stTravelOnAGraph, USE_GRAPH_PARAM USE_CAPS_PARAM USE_WAYPOINT_PARAM USE_CAPS_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/* To build a way from a graph */
M_DEFINE_FUNCTION(eFunc_ReseauCheminLePlusCourt, "Reseau_CheminLePlusCourt", "NETWORK_ShorterWay", "Func_ReseauCheminLePlusCourt" ,fn_p_stGraphToWayFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkBuildOrderedPath, "Reseau_ConstruitCheminOrdonne", "NETWORK_BuildOrderedPath", "Func_NetworkBuildOrderedPath" ,fn_p_stGraphToWayFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkBuildOrderedPathCircular, "Reseau_ConstruitCheminCirculaireOrdonne", "NETWORK_BuildOrderedPathCircular", "Func_NetworkBuildOrderedPathCircular" ,fn_p_stGraphToWayFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkAllocateGraphToMSWay, "Reseau_AffecteGraphAChemin", "NETWORK_AllocateGraphToMSWay", "Func_NetworkAllocateGraphToMSWay" ,fn_p_stGraphToWayFunction, USE_GRAPH_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_NetworkAllocateGraphToMSWayCircular, "Reseau_AffecteGraphACheminCirculaire", "NETWORK_AllocateGraphToMSWay", "Func_NetworkAllocateGraphToMSWayCircular" ,fn_p_stGraphToWayFunction, USE_GRAPH_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
/* To travel on the way built (no graph in parameter, bicose everything is tested with the MsWay) */
M_DEFINE_FUNCTION(eFunc_ReseauLitIndexCourant, "Reseau_LitIndexCourant", "NETWORK_GetCurrentIndex", "Func_ReseauLitIndexCourant" ,fn_p_stWayFunction, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauForceIndexCourant, "Reseau_ForceIndexCourant", "NETWORK_SetCurrentIndex", "Func_ReseauForceIndexCourant" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauLitPremierIndex, "Reseau_LitPremierIndex", "NETWORK_GetFirstIndex", "Func_ReseauLitPremierIndex" ,fn_p_stWayFunction, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauLitDernierIndex, "Reseau_LitDernierIndex", "NETWORK_GetLastIndex", "Func_ReseauLitDernierIndex" ,fn_p_stWayFunction, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauIncrementIndex, "Reseau_IncrementIndex", "NETWORK_IncrementIndex", "Func_ReseauIncrementIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauDecrementIndex, "Reseau_DecrementIndex", "NETWORK_DecrementIndex", "Func_ReseauDecrementIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauLitWPAIndex, "Reseau_LitWPAIndex", "NETWORK_GetWPAIndex", "Func_ReseauLitWPAIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_WAYPOINT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauLitCapaciteLiaisonAIndex, "Reseau_LitCapaciteLiaisonAIndex", "NETWORK_GetLinkCapacityToIndex", "Func_ReseauLitCapaciteLiaisonAIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_CAPS_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauChangeCapaciteLiaisonAIndex, "Reseau_ChangeCapaciteLiaisonAIndex", "NETWORK_ChangeLinkCapacityToIndex", "Func_ReseauChangeCapaciteLiaisonAIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM USE_CAPS_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauLitPoidsLiaisonAIndex, "Reseau_LitPoidsLiaisonAIndex", "NETWORK_GetLinkWeightToIndex", "Func_ReseauLitPoidsLiaisonAIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauChangePoidsLiaisonAIndex, "Reseau_ChangePoidsLiaisonAIndex", "NETWORK_ChangeLinkWeightToIndex", "Func_ReseauChangePoidsLiaisonAIndex" ,fn_p_stWayFunction, USE_CONSTANT_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkGetIndexOfWPInMSWay, "Reseau_ChercheIndiceDuWP", "NETWORK_GetIndexOfWPInMSWay", "Func_NetworkGetIndexOfWPInMSWay" ,fn_p_stWayFunction, USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkForceWPToCurrent, "Reseau_ForceWPCourant", "NETWORK_ForceWPToCurrent", "Func_NetworkForceWPToCurrent" ,fn_p_stWayFunction, USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_NetworkTestTheEnds, "Reseau_TestExtremities", "NETWORK_TestExtremite", "Func_ReseauTestExtremite" ,fn_p_stGetSituationOnRail, USE_REAL_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
/* miscellaneous */
M_DEFINE_FUNCTION(eFunc_ReseauLitCapaciteLiaisonDansGraph, "Reseau_LitCapaciteLiaisonDansGraph", "NETWORK_GetLinkCapInGraph", "Func_ReseauLitCapaciteLiaisonDansGraph" ,fn_p_stGraphFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM, USE_CAPS_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_ReseauChangeCapaciteLiaisonDansGraph, "Reseau_ChangeCapaciteLiaisonDansGraph", "NETWORK_SetLinkCapInGraph", "Func_ReseauChangeCapaciteLiaisonDansGraph" ,fn_p_stGraphFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM USE_CAPS_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauLitPoidsLiaisonDansGraph, "Reseau_LitPoidsLiaisonDansGraph", "NETWORK_GetLinkWeightInGraph", "Func_ReseauLitPoidsLiaisonDansGraph" ,fn_p_stGraphFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_ReseauChangePoidsLiaisonDansGraph, "Reseau_ChangePoidsLiaisonDansGraph", "NETWORK_SetLinkWeightInGraph", "Func_ReseauChangePoidsLiaisonDansGraph" ,fn_p_stGraphFunction, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_WAYPOINT_PARAM USE_CONSTANT_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_FUNCTION(eFunc_NetworkGetTypeOfWP, "Reseau_LitTypeDuWP", "NETWORK_GetTypeOfWP", "Func_NetworkGetTypeOfWP" ,fn_p_stMiscFuncOnTypeOfWP, USE_GRAPH_PARAM USE_WAYPOINT_PARAM, USE_CAPS_PARAM, NOT_ULTRA_ABLE )
/* Capability functions */
NU_M_DEFINE_FUNCTION(eFunc_GetCapabilities, "Caps_LitCapacites", "CAPS_GetCapabilities", "Func_CapsGetCapabilities" ,fn_p_stPersoCapabilityFunction, USE_NO_PARAM, USE_CAPS_PARAM, ULTRA_ABLE )
NU_M_DEFINE_FUNCTION(eFunc_CapabilityAtBitNumber, "Caps_CapaciteAuBitNumero", "CAPS_CapabilityAtBitNumber", "Func_CapabilityAtBitNumber" ,fn_p_stCapabilityFunction, USE_CONSTANT_PARAM, USE_CAPS_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetScrollSpeed , "MAT_VitesseTexture" ,"MAT_GetScrollSpeed", "Func_GetScrollSpeed" ,fn_p_stGetScrollSpeed,USE_CONSTANT_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetNbFrame , "ANI_LitNbFrame" ,"MAT_GetNbFrame", "Func_GetNbFrame" ,fn_p_stGetNbFrame,USE_NO_PARAM,USE_CONSTANT_PARAM,ULTRA_ABLE)
//M_DEFINE_FUNCTION(eFunc_GetCurrentFrame , "ANI_LitFramecourante" ,"ANI_LitFramecourante", "Func_GetFramecourante" ,fn_p_stGetNbFrame,USE_NO_PARAM,USE_CONSTANT_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_DotProduct , "VEC_ProduitScalaire" ,"VEC_DotProduct", "Func_DotProduct" ,fn_p_stDotProduct,USE_VECTOR_PARAM USE_VECTOR_PARAM,USE_REAL_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_CrossProduct , "VEC_ProduitVectoriel" ,"VEC_CrossProduct", "Func_CrossProduct" ,fn_p_stVectorOperations,USE_VECTOR_PARAM USE_VECTOR_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_FUNCTION(eFunc_Normalize , "VEC_Normer" ,"VEC_Normalize", "Func_Normalize" ,fn_p_stVectorOperations,USE_VECTOR_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetSPOCoordinates , "SPO_LitCoordonnees" ,"SPO_GetSPOCoordinates", "Func_GetSPOCoordinates" ,fn_p_stGetSPOCoordinates,USE_SUPEROBJECT_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetTractionFactor , "ACT_LitFacteurDeTraction" ,"ACT_GetTractionFactor", "Func_ACTGetTractionFactor" ,fn_p_stTractionFactorFunction, USE_NO_PARAM, USE_CONSTANT_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_GetCenterZDEType , "ZON_LitCentreZDEType" ,"ZON_GetCenterZDEType", "Func_GetCenterZDEType" ,fn_p_stGetZDxCenter,USE_PERSO_MASK_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetCenterZDMType , "ZON_LitCentreZDMType" ,"ZON_GetCenterZDMType", "Func_GetCenterZDMType" ,fn_p_stGetZDxCenter,USE_PERSO_MASK_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetCenterZDRType , "ZON_LitCentreZDRType" ,"ZON_GetCenterZDRType", "Func_GetCenterZDRType" ,fn_p_stGetZDxCenter,USE_PERSO_MASK_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_FUNCTION(eFunc_GetCenterZDDType , "ZON_LitCentreZDDType" ,"ZON_GetCenterZDDType", "Func_GetCenterZDDType" ,fn_p_stGetZDxCenter,USE_PERSO_MASK_PARAM,USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_FUNCTION(eFunc_TextAffiche , "TEXT_Affiche" ,"TEXT_DisplayText", "Func_TextAffiche" ,fn_p_stCode4TextAffiche, USE_ADDR_PERSO_PARAM USE_ALWAYS_PARAM USE_VECTOR_PARAM USE_STRING_PARAM USE_ADDR_LONG_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_FUNCTION(eFunc_GetCPUCounter , "DEBUG_LitCompteurCPU" ,"DEBUG_GetCPUCounter", "Func_GetCPUCounter" ,fn_p_stGetCPUCounter, USE_NO_PARAM, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )

View File

@@ -0,0 +1,120 @@
/************************************************************************************************
* Name: ProcRay2.h *
* Use : Macro Definition of procedures for AI of Rayman II *
* Author: Christophe Giraud *
* (c) UBI Simulations Annecy *
************************************************************************************************/
/**********************************************************************************************************************************************************************************************************************************************************/
/* Magic points management */
NU_M_DEFINE_PROCEDURE(eProc_FixePointsDeMagie ,"RAY_FixePointsDeMagie" ,"RAY_SetMagicPoints" ,"Proc_FixePointsDeMagie" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_FixePointsDeMagieMax ,"RAY_FixePointsDeMagieMax" ,"RAY_SetMagicPointsMax" ,"Proc_FixePointsDeMagieMax" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_InitPointsDeMagie ,"RAY_InitPointsDeMagie" ,"RAY_InitMagicPoints" ,"Proc_InitPointsDeMagie" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_InitPointsDeMagieMax ,"RAY_InitPointsDeMagieMax" ,"RAY_InitMagicPointsMax" ,"Proc_InitPointsDeMagieMax" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_AjoutePointsDeMagie ,"RAY_AjoutePointsDeMagie" ,"RAY_AddMagicPoints" ,"Proc_AddMagicPoints" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_AjoutePointsDeMagieMax ,"RAY_AjoutePointsDeMagieMax" ,"RAY_AddMagicPointsMax" ,"Proc_AddMagicPointsMax" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_EnlevePointsDeMagie ,"RAY_EnlevePointsDeMagie" ,"RAY_SubMagicPoints" ,"Proc_SubMagicPoints" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_EnlevePointsDeMagieMax ,"RAY_EnlevePointsDeMagieMax" ,"RAY_SubMagicPointsMax" ,"Proc_SubMagicPointsMax" ,fn_p_stCode4MagicPointsProcedures, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/* Air points management */
M_DEFINE_PROCEDURE(eProc_FixePointsDair ,"RAY_FixePointsDair" ,"RAY_SetAirPoints" ,"Proc_FixePointsDair" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_FixePointsDairMax ,"RAY_FixePointsDairMax" ,"RAY_SetAirPointsMax" ,"Proc_FixePointsDairMax" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_InitPointsDair ,"RAY_InitPointsDair" ,"RAY_InitAirPoints" ,"Proc_InitPointsDair" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_InitPointsDairMax ,"RAY_InitPointsDairMax" ,"RAY_InitAirPointsMax" ,"Proc_InitPointsDairMax" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_AjoutePointsDair ,"RAY_AjoutePointsDair" ,"RAY_AddAirPoints" ,"Proc_AddAirPoints" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_AjoutePointsDairMax ,"RAY_AjoutePointsDairMax" ,"RAY_AddAirPointsMax" ,"Proc_AddAirPointsMax" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_EnlevePointsDair ,"RAY_EnlevePointsDair" ,"RAY_SubAirPoints" ,"Proc_SubAirPoints" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_EnlevePointsDairMax ,"RAY_EnlevePointsDairMax" ,"RAY_SubAirPointsMax" ,"Proc_SubAirPointsMax" ,fn_p_stCode4AirPointsProcedures, USE_REAL_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_PROCEDURE(eProc_FixePositionFade ,"FAD_FixePositionFade" ,"FAD_FixePositionFade" ,"Proc_FixePositionFade" ,fn_p_stFixePositionFade, USE_SUPEROBJECT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_FixeLumierePersoLocal ,"LUM_FixeLumierePersoLocal" ,"LIGHT_SetLocalPersoLight" ,"Proc_SetLocalPersoLight" ,fn_p_stSetLocalLight,USE_PERSO_PARAM USE_BOOLEAN_PARAM USE_BOOLEAN_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_FixeLumiereStaticOnOff ,"LUM_FixeLumiereStaticOnOff" ,"LIGHT_SetStaticLightOnOff" ,"Proc_SetStaticLightOnOff" ,fn_p_stSetLight,USE_LIGHT_PARAM USE_BOOLEAN_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_FixeLumiereStaticNearFar,"LUM_FixeLumiereStaticNearFar" ,"LIGHT_SetStaticLightNearFar" ,"Proc_SetStaticLightNearFar" ,fn_p_stSetLight,USE_LIGHT_PARAM USE_2_REALS_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_FixeLumiereStaticColor ,"LUM_FixeLumiereStaticCouleur" ,"LIGHT_SetStaticLightColor" ,"Proc_SetStaticLightColor" ,fn_p_stSetLight,USE_LIGHT_PARAM USE_4_REALS_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_CalculeLumiereEffet ,"LUM_CalculeLumiereEffet" ,"LIGHT_ComputeLightEffect" ,"Proc_ComputeLightEffect" ,fn_p_stSetLight,USE_NO_PARAM,NOT_ULTRA_ABLE)
/* Blend RLI */
M_DEFINE_PROCEDURE(eProc_NoRLI ,"LUM_RLIDesactive" ,"LIGHT_RLIPasDeRLI" ,"Proc_RLIPasDeRLI" ,fn_p_stRLIProcedure, USE_NO_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_FixeRLI ,"LUM_RLIFixe" ,"LIGHT_RLIFixe" ,"Proc_RLIFixe" ,fn_p_stRLIProcedure, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_BlendRLI ,"LUM_RLIBlend" ,"LIGHT_RLIBlend" ,"Proc_RLIBlend" ,fn_p_stRLIProcedure, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
/* Type Of WP */
M_DEFINE_PROCEDURE(eProc_ChangeTypeOfWP ,"Reseau_ChangeTypeDuWP" ,"NETWORK_ChangeWPType" ,"Proc_ChangeTypeOfWP" ,fn_p_stMiscProcOnTypeOfWP, USE_GRAPH_PARAM USE_WAYPOINT_PARAM USE_CAPS_PARAM USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/* Capability procedures */
M_DEFINE_PROCEDURE(eProc_SetCapabilities ,"Caps_FixeCapacites" ,"CAPS_SetCapabilities" ,"Proc_CAPSSetCapabilities" ,fn_p_stCapabilityProcedure, USE_CAPS_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_AddCapabilities ,"Caps_AjouteCapacites" ,"CAPS_AddCapabilities" ,"Proc_CAPSAddCapabilities" ,fn_p_stCapabilityProcedure, USE_CAPS_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SubCapabilities ,"Caps_EnleveCapacites" ,"CAPS_SubCapabilities" ,"Proc_CAPSSubCapabilities" ,fn_p_stCapabilityProcedure, USE_CAPS_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_ChangeCapabilities ,"Caps_ChangeCapacites" ,"CAPS_ChangeCapabilities" ,"Proc_CAPSChangeCapabilities" ,fn_p_stCapabilityProcedure, USE_CAPS_PARAM USE_CONSTANT_PARAM, ULTRA_ABLE )
/* Reinit Graph */
M_DEFINE_PROCEDURE(eProc_ReinitGraph ,"Reseau_ReinitGraph" ,"NETWORK_ReinitGraph" ,"Proc_ReinitGraph" ,fn_p_stReinitGraphProcedure, USE_GRAPH_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_PROCEDURE(eProc_FixeVitesseTexture ,"MAT_FixeVitesseTexture" ,"MAT_SetScrollSpeed" ,"Proc_SetScrollSpeed" ,fn_p_stSetScrollSpeed, USE_GMT_PARAM USE_2_REALS_PARAM, NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_ScrollingOnOff ,"MAT_ScrollingOnOff" ,"MAT_SetScrollOnOff" ,"Proc_SetScrollOnOff" ,fn_p_stSetScrollSpeed, USE_GMT_PARAM USE_BOOLEAN_PARAM, NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_FixeDecalageTexture ,"MAT_FixeDecalageTexture" ,"MAT_SetTextureOffset" ,"Proc_SetTextureOffset" ,fn_p_stSetScrollSpeed, USE_GMT_PARAM USE_2_REALS_PARAM, NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_ScrollingPause ,"MAT_ScrollingPause" ,"MAT_SetScrollPause" ,"Proc_SetScrollPause" ,fn_p_stSetScrollSpeed, USE_GMT_PARAM USE_BOOLEAN_PARAM, NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ChangeCurrFrame ,"ANI_ChangeFrameCourante" ,"ANI_ChangeCurrFrame" ,"Proc_ChangeCurrFrame" ,fn_p_stManageFrame,USE_CONSTANT_PARAM,ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_ChangeRandomFrame ,"ANI_ChangeFrameAleatoire" ,"ANI_ChangeRandomFrame" ,"Proc_ChangeRandomFrame" ,fn_p_stManageFrame,USE_NO_PARAM,ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_FreezeAnim ,"ANI_GelerPerso" ,"ANI_FreezeAnim" ,"Proc_FreezeAnim" ,fn_p_stFreezeAnim,USE_NO_PARAM,ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_UnFreezeAnim ,"ANI_DegelerPerso" ,"ANI_UnFreezeAnim" ,"Proc_UnFreezeAnim" ,fn_p_stFreezeAnim,USE_NO_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetSuperimposed ,"SPO_SetSuperimposed" ,"SPO_SetSuperimposed" ,"Proc_SetSuperimposed" ,fn_p_stSPOSuperimpoed, USE_CONSTANT_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM , ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_SetSuperimposed2 ,"SPO_SetSuperimposed2" ,"SPO_SetSuperimposed2" ,"Proc_SetSuperimposed2" ,fn_p_stSPOSuperimpoed, USE_REAL_PARAM USE_REAL_PARAM USE_REAL_PARAM , ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_ReleaseSuperimposed ,"SPO_ReleaseSuperimposed" ,"SPO_ReleaseSuperimposed" ,"Proc_ReleaseSuperimposed" ,fn_p_stSPOSuperimpoed, USE_NO_PARAM, ULTRA_ABLE )
NU_M_DEFINE_PROCEDURE(eProc_SetSPOCoordinates ,"SPO_FixeCoordonnees" ,"SPO_SetCoordinates" ,"Proc_SetCoordinates" ,fn_p_stSetSPOCoordinates,USE_SUPEROBJECT_PARAM USE_VECTOR_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_SwitchSuperimposedTab ,"SPO_SwitchSuperimposedTab" ,"SPO_SwitchSuperimposedTab" ,"Proc_SwitchSuperimposedTab" ,fn_p_stSPOSuperimpoed, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetTractionFactor ,"ACT_FixeFacteurDeTraction" ,"ACT_SetTractionFactor" ,"Proc_ACTsetTractionFactor" ,fn_p_stTractionFactorProcedure, USE_CONSTANT_PARAM, ULTRA_ABLE )
M_DEFINE_PROCEDURE(eProc_TurnToPositionAngle ,"ACT_OrienteVersPositionAngle" ,"ACT_TurnToPositionAngle" ,"Proc_TurnToPositionAngle" ,fn_p_stTurnToPosition,USE_VECTOR_PARAM USE_REAL_PARAM,ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_TurnToPositionSpeed ,"ACT_OrienteVersPositionVitesse" ,"ACT_TurnToPositionSpeed" ,"Proc_TurnToPositionSpeed" ,fn_p_stTurnToPosition,USE_VECTOR_PARAM USE_REAL_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
NU_M_DEFINE_PROCEDURE(eProc_SortArray ,"TAB_Trie" ,"ARRAY_Sort" ,"Proc_TABSortArray" ,fn_p_stSortArray,USE_ADDR_ARRAY_PARAM USE_2_CONSTANTS_PARAM, NOT_ULTRA_ABLE )
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ActiveJoystickAnal ,"Option_ActiveJoystickAnalogique" ,"OPTION_ActiveJoystickAnal" ,"Proc_ActiveJoystickAnal" ,fn_p_stActiveJoystickAnal,USE_NO_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_UnActiveJoystickAnal ,"Option_DesactiveJoystickAnalogique","OPTION_UnActiveJoystickAnal" ,"Proc_UnActiveJoystickAnal" ,fn_p_stActiveJoystickAnal,USE_NO_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetZDMSizeSphere ,"ZON_FixeTailleZDMSphere" ,"ZON_SetZDMSizeSphere" ,"Proc_SetZDMSizeSphere" ,fn_p_stSetZDxSize,USE_ZDM_PERSO_PARAM USE_REAL_PARAM,ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_SetZDDSizeCone ,"ZON_FixeTailleZDDCone" ,"ZON_SetZDDSizeCone" ,"Proc_SetZDDSizeCone" ,fn_p_stSetZDxSize,USE_ZDD_PERSO_PARAM USE_2_REALS_PARAM,ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_SetSoundVolumeAnim ,"SON_FixeAnimVolume" ,"SOUND_SetVolumeAnim" ,"Proc_SetVolumeAnim" ,fn_p_stSetSoundVolume,USE_CONSTANT_PARAM,ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_SetSoundVolumeMusic ,"SON_FixeMusicVolume" ,"SOUND_SetVolumeMusic" ,"Proc_SetVolumeMusic" ,fn_p_stSetSoundVolume,USE_CONSTANT_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_SetSoundVolumeAmbiance ,"SON_FixeAmbianceVolume" ,"SOUND_SetVolumeAmbiance" ,"Proc_SetVolumeAmbiance" ,fn_p_stSetSoundVolume,USE_CONSTANT_PARAM,NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_SetDopplerEffect ,"SON_ChangeEffetDoppler" ,"SOUND_SetDopplerEffect" ,"Proc_SetDopplerEffect" ,fn_p_stSetDopplerEffect,USE_REAL_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_PauseSound ,"SON_Pause" ,"SOUND_PauseSound" ,"Proc_PauseSound" ,fn_p_stPauseSound,USE_NO_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_ResumeSound ,"SON_Reprendre" ,"SOUND_ResumeSound" ,"Proc_ResumeSound" ,fn_p_stPauseSound,USE_NO_PARAM,NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_StopMenuSound ,"SON_ArretSonMenu" ,"SOUND_StopMenuSound" ,"Proc_StopMenuSound" ,fn_p_stPauseSound,USE_NO_PARAM,NOT_ULTRA_ABLE)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ChangeCaractere ,"TEXT_ChangeCaractere" ,"TEXT_ChangeCharactere" ,"Proc_ChangeCaractere" ,fn_p_stCode4ChangeCaractere, USE_ALWAYS_PARAM USE_STRING_PARAM USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_FormateTexte ,"TEXT_FormateTexte" ,"TEXT_FormatText" ,"Proc_FormateTexte" ,fn_p_stCode4FormateTexte , USE_STRING_PARAM USE_STRING_PARAM USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ValideNomDuSlot ,"MNU_ValideNomDuSlot" ,"MNU_ValidateSlotName" ,"Proc_ValideNomDuSlot" ,fn_p_stCode4ValideNomDuSlot, USE_CONSTANT_PARAM USE_STRING_PARAM USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RestoreNomDuSlot ,"MNU_RestoreNomDuSlot" ,"MNU_RestoreSlotName" ,"Proc_RestoreNomDuSlot" ,fn_p_stCode4RestoreNomDuSlot, USE_CONSTANT_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangePersoSighting ,"ACT_ChangeViseePerso" ,"ACT_ChangeActorSighting" ,"Proc_ChangePersoSighting" ,fn_p_stChangePersoHorizSighting, USE_VECTOR_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_PlayDemo ,"DEM_JoueDemo" ,"DEM_PlayDemo" ,"Proc_PlayDemo" ,fn_p_stPlayDemo , USE_STRING_PARAM USE_STRING_PARAM USE_BOOLEAN_PARAM USE_STRING_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/* Specific PC IA procs*/
#ifndef U64
M_DEFINE_PROCEDURE(eProc_InitKeyBoardDirections ,"PAD_InitKeyBoardDirections" ,"PAD_InitKeyBoardDirections" ,"PAD_InitKeyBoardDirections" ,fn_p_stInitKeyBoardDirections, USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_PadSetCenterposition ,"PAD_SetCenterPosition" ,"PAD_SetCenterPosition" ,"PAD_SetCenterPosition" ,fn_p_stSetCenterPosition, USE_NO_PARAM, NOT_ULTRA_ABLE)
M_DEFINE_PROCEDURE(eProc_PadSetMaximalValues ,"PAD_SetMaximalValues" ,"PAD_SetMaximalValues" ,"PAD_SetMaximalValues" ,fn_p_stSetMaximalValues, USE_NO_PARAM, NOT_ULTRA_ABLE)
#else
/*XB Groumpf !!!!!*/
/*Add dummy entries because of CFast IA functions'call is index based !!!!*/
M_DEFINE_PROCEDURE(eProc_InitKeyBoardDirections ,"PAD_InitKeyBoardDirections" ,"PAD_InitKeyBoardDirections" ,"PAD_InitKeyBoardDirections" ,fn_p_stDummy, USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM USE_BUTTON_PARAM,/**/ NOT_ULTRA_ABLE /**/ )
M_DEFINE_PROCEDURE(eProc_PadSetCenterposition ,"PAD_SetCenterPosition" ,"PAD_SetCenterPosition" ,"PAD_SetCenterPosition" ,fn_p_stDummy, USE_NO_PARAM, NOT_ULTRA_ABLE)
NU_M_DEFINE_PROCEDURE(eProc_PadSetMaximalValues ,"PAD_SetMaximalValues" ,"PAD_SetMaximalValues" ,"PAD_SetMaximalValues" ,fn_p_stDummy, USE_NO_PARAM, NOT_ULTRA_ABLE)
/*End XB*/
#endif
/* End Specific PC IA procs*/
/* ANNECY MT - 22/10/98 {*/
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_ChangeTooFarLimit ,"ACT_FixeLimiteEloignement" ,"ACT_ChangeTooFarLimit" ,"Proc_ChangeTooFarLimit" ,fn_p_stSetTooFarLimit, USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_ChangeTransparencyZone ,"ACT_FixeZoneTransparence" ,"ACT_ChangeTransparencyZone" ,"Proc_ChangeTransparencyZone" ,fn_p_stSetTransparencyZone, USE_CONSTANT_PARAM USE_CONSTANT_PARAM, /**/ ULTRA_ABLE /**/)
/* END ANNECY MT }*/
NU_M_DEFINE_PROCEDURE(eProc_SetBaseFrequenceForMenu ,"Effect_SetBaseFrequenceForMenu" ,"Effect_SetBaseFrequenceForMenu" ,"Proc_SetBaseFrequenceForMenu" ,fn_p_stBaseFrequenceForMenu, USE_REAL_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_SaveSinusContext ,"Effect_SaveSinusContext" ,"Effect_SaveSinusContext" ,"Proc_SaveSinusContext" ,fn_p_stSaveSinusEffectContext, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
M_DEFINE_PROCEDURE(eProc_RestoreSinusContext ,"Effect_RestoreSinusContext" ,"Effect_RestoreSinusContext" ,"Proc_RestoreSinusContext" ,fn_p_stSaveSinusEffectContext, USE_NO_PARAM, /**/ NOT_ULTRA_ABLE /**/)
/**********************************************************************************************************************************************************************************************************************************************************/
M_DEFINE_PROCEDURE(eProc_TextSuperImposed, "TEXT_SuperImposed" ,"TEXT_SuperImposed", "Func_TextSuperImposed" ,fn_p_stTextSuperImposed, USE_CONSTANT_PARAM, NOT_ULTRA_ABLE )

View File

@@ -0,0 +1,11 @@
#if !defined(__PROT_ACT_H__)
#define __PROT_ACT_H__
/* MetaAction Prototypes*/
#define M_DEFINE_METAACTION(a,b,english,c,dddd,eeee,f) \
struct tdstNodeInterpret_ *##dddd(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *); \
tducActionReturn eeee(HIE_tdxHandleToSuperObject);
#include "DefAct.h"
#undef M_DEFINE_METAACTION
#endif /* __PROT_ACT_H__*/

View File

@@ -0,0 +1,9 @@
#if !defined(__PROT_COND_H__)
#define __PROT_COND_H__
/* Condition prototypes*/
#define M_DEFINE_CONDITION(a,b,english,c,dddd,e,f) struct tdstNodeInterpret_ *##dddd(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, long *);
#include "DefCond.h"
#undef M_DEFINE_CONDITION
#endif /* __PROT_COND_H__*/

View File

@@ -0,0 +1,19 @@
#if !defined(__PROT_FILD_H__)
#define __PROT_FILD_H__
/* Field Prototypes*/
#define M_DEFINE_FIELD(a,b,english,c,d,eeee,ffff) \
unsigned char eeee(HIE_tdxHandleToSuperObject, struct tdstGetSetParam_ *); \
unsigned char ffff(HIE_tdxHandleToSuperObject, struct tdstGetSetParam_ *);
#include "DefFild.h"
#undef M_DEFINE_FIELD
/* Field Prototypes Type*/
#define M_DEFINE_FIELD_TYPE(a,b,cccc,dddd) \
void cccc(struct tdstGetSetParam_ *); \
void dddd(struct tdstGetSetParam_ *);
#include "FildType.h"
#undef M_DEFINE_FIELD_TYPE
#endif /* __PROT_FILD_H__*/

View File

@@ -0,0 +1,9 @@
#if !defined(__PROT_FUNC_H__)
#define __PROT_FUNC_H__
/* Function prototypes*/
#define M_DEFINE_FUNCTION(a,b,english,c,dddd,e,f,g) struct tdstNodeInterpret_ *##dddd(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
#include "DefFunc.h"
#undef M_DEFINE_FUNCTION
#endif /* __PROT_FUNC__*/

View File

@@ -0,0 +1,9 @@
#if !defined(__PROT_KEY_H__)
#define __PROT_KEY_H__
/* KeyWord prototypes*/
#define M_DEFINE_KEYWORD(a,b,english,c,dddd,e,f) struct tdstNodeInterpret_ *##dddd(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
#include "DefKey.h"
#undef M_DEFINE_KEYWORD
#endif /* __PROT_KEY__*/

View File

@@ -0,0 +1,9 @@
#if !defined(__PROT_OPER_H__)
#define __PROT_OPER_H__
/* Operator Prototypes*/
#define M_DEFINE_OPERATOR(a,b,c,dddd,e,f) struct tdstNodeInterpret_ *##dddd(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
#include "DefOper.h"
#undef M_DEFINE_OPERATOR
#endif /* __PROT_KEY__*/

View File

@@ -0,0 +1,9 @@
#if !defined(__PROT_PROC_H__)
#define __PROT_PROC_H__
/* Procedure prototypes*/
#define M_DEFINE_PROCEDURE(a,b,english,c,d,e,f) struct tdstNodeInterpret_ *##d(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *);
#include "DefProc.h"
#undef M_DEFINE_PROCEDURE
#endif /* __PROT_PROC__*/

View File

@@ -0,0 +1,11 @@
#if !defined(__PROT_VAR_H__)
#define __PROT_VAR_H__
/* DsgVar Get/Set Prototypes*/
#define M_DEFINE_DSGVAR_TYPE(a,b,c,d,e,f,gggg,hhhh,i,j) \
unsigned char gggg(void *,unsigned char,struct tdstGetSetParam_ *); \
unsigned char hhhh(void *,unsigned char,struct tdstGetSetParam_ *);
#include "DefVar.h"
#undef M_DEFINE_DSGVAR_TYPE
#endif /* __PROT_VAR_H__*/

View File

@@ -0,0 +1,39 @@
/*---------------------------------------------------------------------------*/
/* TypePtr.h : Definition of Function Pointers.*/
/* author : Olivier Couvreur*/
/* date : 25/06/1997*/
/*---------------------------------------------------------------------------*/
#if !defined(__TYPEPTR_H__)
#define __TYPEPTR_H__
#if defined(U64)
#include "GSParam.h"
#endif
/* pointers on Condition,,Operator,Procedure,Function,KeyWord function*/
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stConditionFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, long *);
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stOperatorFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stProcedureFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *);
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stFunctionFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stKeyWordFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
/* pointer on Eval Node function*/
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stEvalTypePtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *, struct tdstGetSetParam_ *);
/* pointer on Get/Set function for Fields*/
typedef unsigned char (*tdp_fn_cGetFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstGetSetParam_ *);
typedef unsigned char (*tdp_fn_cSetFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstGetSetParam_ *);
typedef void (*tdp_fn_vGetTypeFunctionPtr)(struct tdstGetSetParam_ *);
typedef void (*tdp_fn_vSetTypeFunctionPtr)(struct tdstGetSetParam_ *);
/* pointer on Get/Set function for DsgVar*/
typedef unsigned char (*tdp_fn_ucGetDsgVarFunctionPtr)(void *,unsigned char,struct tdstGetSetParam_ *);
typedef unsigned char (*tdp_fn_ucSetDsgVarFunctionPtr)(void *,unsigned char,struct tdstGetSetParam_ *);
typedef unsigned char tducActionReturn;
/* pointer on metaaction INIT function*/
typedef struct tdstNodeInterpret_ *(*tdp_fn_p_stMetaActionInitFunctionPtr)(HIE_tdxHandleToSuperObject, struct tdstNodeInterpret_ *);
/* pointer on metaaction NEXT function*/
typedef tducActionReturn (*tdp_fn_ucMetaActionFunctionPtr)(HIE_tdxHandleToSuperObject p_SuperObjPerso);
#endif /* __TYPE_PTR_H__*/