amxmodx/dlls/fakemeta/forward.h

176 lines
5.8 KiB
C
Raw Normal View History

2004-07-28 03:14:07 +00:00
#ifndef _INCLUDE_FORWARD_H
#define _INCLUDE_FORWARD_H
#define ENGFUNC_NUM FM_LAST_DONT_USE_ME // 118
2004-07-28 03:14:07 +00:00
#define FMV_STRING 1
#define FMV_FLOAT 2
#define FMV_CELL 3
#define FMRES_HANDLED 2
#define FMRES_SUPERCEDE 4
#define FMRES_IGNORED 1
#define FMRES_OVERRIDE 3
enum {
2004-10-16 14:26:11 +00:00
FM_FIRST_DONT_USE_ME = 0,
FM_PrecacheModel = 1, // done
FM_PrecacheSound, // done
FM_SetModel, // done
FM_ModelIndex, // done
FM_ModelFrames, // done
FM_SetSize, // done
FM_ChangeLevel, // done
FM_VecToYaw, // done
FM_VecToAngles, // done
FM_MoveToOrigin, // done
FM_ChangeYaw, // done
FM_ChangePitch, // done
FM_FindEntityByString, // done
FM_GetEntityIllum, // done
2004-08-11 05:06:27 +00:00
FM_FindEntityInSphere, // done
FM_FindClientInPVS, // done
FM_EntitiesInPVS, // done
FM_MakeVectors, // done
FM_AngleVectors, // done
FM_CreateEntity, // done
FM_RemoveEntity, // done
FM_CreateNamedEntity, // done
FM_MakeStatic, // done
FM_EntIsOnFloor, // done
FM_DropToFloor, // done
2004-07-28 03:14:07 +00:00
FM_WalkMove, // int ) (edict_t *ent, float yaw, float dist, int iMode);
2004-08-11 05:06:27 +00:00
FM_SetOrigin, // done
FM_EmitSound, // done
FM_EmitAmbientSound, // done
2004-07-28 03:14:07 +00:00
FM_TraceLine, // void ) (const float *v1, const float *v2, int fNoMonsters, edict_t *pentToSkip, TraceResult *ptr);
FM_TraceToss, // void ) (edict_t* pent, edict_t* pentToIgnore, TraceResult *ptr);
FM_TraceMonsterHull, // int ) (edict_t *pEdict, const float *v1, const float *v2, int fNoMonsters, edict_t *pentToSkip, TraceResult *ptr);
FM_TraceHull, // void ) (const float *v1, const float *v2, int fNoMonsters, int hullNumber, edict_t *pentToSkip, TraceResult *ptr);
FM_TraceModel, // void ) (const float *v1, const float *v2, int hullNumber, edict_t *pent, TraceResult *ptr);
FM_TraceTexture, // const char *) (edict_t *pTextureEntity, const float *v1, const float *v2 );
FM_TraceSphere, // void ) (const float *v1, const float *v2, int fNoMonsters, float radius, edict_t *pentToSkip, TraceResult *ptr);
FM_GetAimVector, // void ) (edict_t* ent, float speed, float *rgflReturn);
2004-08-11 05:06:27 +00:00
FM_ParticleEffect, // done
FM_LightStyle, // done
FM_DecalIndex, // done
2004-08-11 05:06:27 +00:00
FM_PointContents, // done
FM_MessageBegin, // done
FM_MessageEnd, // done
FM_WriteByte, // done
FM_WriteChar, // done
FM_WriteShort, // done
FM_WriteLong, // done
FM_WriteAngle, // done
FM_WriteCoord, // done
FM_WriteString, // done
FM_WriteEntity, // done
FM_CVarGetFloat, // done
FM_CVarGetString, // done
FM_CVarSetFloat, // done
FM_CVarSetString, // done
FM_FreeEntPrivateData, // done
2004-08-11 05:06:27 +00:00
FM_SzFromIndex, // done
FM_AllocString, // done
2004-08-11 05:06:27 +00:00
FM_RegUserMsg, // done
FM_AnimationAutomove, // done
2004-07-28 03:14:07 +00:00
FM_GetBonePosition, // void ) (const edict_t* pEdict, int iBone, float *rgflOrigin, float *rgflAngles );
FM_GetAttachment, // void ) (const edict_t *pEdict, int iAttachment, float *rgflOrigin, float *rgflAngles );
2004-08-11 05:06:27 +00:00
FM_SetView, // done
FM_Time, // done
FM_CrosshairAngle, // done
2004-07-28 03:14:07 +00:00
FM_FadeClientVolume, // void ) (const edict_t *pEdict, int fadePercent, int fadeOutSeconds, int holdTime, int fadeInSeconds);
2004-08-11 05:06:27 +00:00
FM_SetClientMaxspeed, // done
FM_CreateFakeClient, // done
2004-07-28 03:14:07 +00:00
FM_RunPlayerMove, // void ) (edict_t *fakeclient, const float *viewangles, float forwardmove, float sidemove, float upmove, unsigned short buttons, byte impulse, byte msec );
FM_NumberOfEntities, // done
2004-07-28 03:14:07 +00:00
FM_StaticDecal, // void ) ( const float *origin, int decalIndex, int entityIndex, int modelIndex );
FM_PrecacheGeneric, // done
2004-07-28 03:14:07 +00:00
FM_BuildSoundMsg, // void ) (edict_t *entity, int channel, const char *sample, /*int*/float volume, float attenuation, int fFlags, int pitch, int msg_dest, int msg_type, const float *pOrigin, edict_t *ed);
2004-08-11 05:06:27 +00:00
FM_GetPhysicsKeyValue, // done
FM_SetPhysicsKeyValue, // done
FM_GetPhysicsInfoString,// done
FM_PrecacheEvent, // done
FM_PlaybackEvent, // done
2004-07-28 03:14:07 +00:00
FM_CheckVisibility, //) ( const edict_t *entity, unsigned char *pset );
2004-08-11 05:06:27 +00:00
FM_GetCurrentPlayer, // done
FM_CanSkipPlayer, // done
FM_SetGroupMask, //done
FM_Voice_GetClientListening, // done
FM_Voice_SetClientListening, // done
FM_InfoKeyValue, // done
FM_SetKeyValue, // done
FM_SetClientKeyValue, // done
FM_GetPlayerAuthId, // done
FM_GetPlayerWONId, // done
FM_IsMapValid, // done
// FM_GameInit, // Removed -- it will *never* be called after plugins are loaded
FM_Spawn, // done
FM_Think, // done
FM_Use, // done
FM_Touch, // done
FM_Blocked, // done
2004-07-28 03:14:07 +00:00
FM_KeyValue, // void ) ( edict_t *pentKeyvalue, KeyValueData *pkvd );
FM_SetAbsBox, // done
2004-08-11 05:06:27 +00:00
FM_ClientConnect, // done
2004-07-28 03:14:07 +00:00
FM_ClientDisconnect, // done
FM_ClientKill, // done
FM_ClientPutInServer, // done
FM_ClientCommand, // done
2004-07-28 03:14:07 +00:00
FM_ServerDeactivate, // done
2004-07-28 03:14:07 +00:00
FM_PlayerPreThink, // done
FM_PlayerPostThink, // done
2004-07-28 03:14:07 +00:00
FM_StartFrame, // done
FM_ParmsNewLevel, // done
FM_ParmsChangeLevel, // done
2004-07-28 03:14:07 +00:00
// Returns string describing current .dll. E.g., TeamFotrress 2, Half-Life
2004-08-11 05:06:27 +00:00
FM_GetGameDescription, // done
2004-07-28 03:14:07 +00:00
// Spectator funcs
FM_SpectatorConnect, // done
FM_SpectatorDisconnect, // done
FM_SpectatorThink, // done
2004-07-28 03:14:07 +00:00
// Notify game .dll that engine is going to shut down. Allows mod authors to set a breakpoint.
FM_Sys_Error, // done
2004-07-28 03:14:07 +00:00
FM_PM_FindTextureType, // done
FM_RegisterEncoders, // done
2004-07-28 03:14:07 +00:00
// Enumerates player hulls. Returns 0 if the hull number doesn't exist, 1 otherwise
// Create baselines for certain "unplaced" items.
FM_CreateInstancedBaselines, // done
FM_AllowLagCompensation, // done
2004-10-03 07:04:08 +00:00
FM_AlertMessage,
// NEW_DLL_FUNCTIONS
FM_OnFreeEntPrivateData,
FM_GameShutdown,
FM_ShouldCollide,
// FM_CvarValue
2006-03-30 00:31:33 +00:00
FM_ClientInfoChanged,
2004-10-16 14:26:11 +00:00
FM_LAST_DONT_USE_ME,
2004-07-28 03:14:07 +00:00
};
extern CVector<int> Engine[];
extern CVector<int> EnginePost[];
extern cell mCellResult;
extern float mFloatResult;
extern const char *mStringResult;
extern cell mlCellResult;
extern float mlFloatResult;
extern const char *mlStringResult;
extern int lastFmRes;
extern int retType;
#endif //_INCLUDE_FORWARD_H