mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
removed message functions from engine [!]
This commit is contained in:
parent
77f0e526bf
commit
ed6e28c1d4
@ -13,11 +13,7 @@ int AmxStringToEngine(AMX *amx, cell param, int &len)
|
|||||||
|
|
||||||
void ClearHooks()
|
void ClearHooks()
|
||||||
{
|
{
|
||||||
register unsigned int i = 0;
|
size_t i;
|
||||||
for (i=0; i<256; i++) {
|
|
||||||
msgHooks[i].clear();
|
|
||||||
msgBlocks[i] = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i=0; i<Touches.size(); i++)
|
for (i=0; i<Touches.size(); i++)
|
||||||
delete Touches[i];
|
delete Touches[i];
|
||||||
@ -26,9 +22,6 @@ void ClearHooks()
|
|||||||
for (i=0; i<Thinks.size(); i++)
|
for (i=0; i<Thinks.size(); i++)
|
||||||
delete Thinks[i];
|
delete Thinks[i];
|
||||||
|
|
||||||
for (i=0; i<256; i++)
|
|
||||||
msgHooks[i].clear();
|
|
||||||
|
|
||||||
Touches.clear();
|
Touches.clear();
|
||||||
Impulses.clear();
|
Impulses.clear();
|
||||||
Thinks.clear();
|
Thinks.clear();
|
||||||
@ -43,7 +36,6 @@ void OnAmxxAttach()
|
|||||||
ClientKillForward = 0;
|
ClientKillForward = 0;
|
||||||
CmdStartForward = 0;
|
CmdStartForward = 0;
|
||||||
StartFrameForward = 0;
|
StartFrameForward = 0;
|
||||||
MF_AddNatives(msg_Natives);
|
|
||||||
MF_AddNatives(ent_Natives);
|
MF_AddNatives(ent_Natives);
|
||||||
MF_AddNatives(engine_Natives);
|
MF_AddNatives(engine_Natives);
|
||||||
MF_AddNatives(global_Natives);
|
MF_AddNatives(global_Natives);
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include "CVector.h"
|
#include "CVector.h"
|
||||||
#include "CString.h"
|
#include "CString.h"
|
||||||
#include <usercmd.h>
|
#include <usercmd.h>
|
||||||
#include "messages.h"
|
|
||||||
#include "entity.h"
|
#include "entity.h"
|
||||||
#include "gpglobals.h"
|
#include "gpglobals.h"
|
||||||
|
|
||||||
|
@ -132,9 +132,6 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\globals.cpp">
|
RelativePath=".\globals.cpp">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\messages.cpp">
|
|
||||||
</File>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
@ -155,9 +152,6 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\gpglobals.h">
|
RelativePath=".\gpglobals.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\messages.h">
|
|
||||||
</File>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Resource Files"
|
Name="Resource Files"
|
||||||
|
@ -233,16 +233,16 @@
|
|||||||
#define FN_LightStyle LightStyle
|
#define FN_LightStyle LightStyle
|
||||||
// #define FN_DecalIndex DecalIndex
|
// #define FN_DecalIndex DecalIndex
|
||||||
// #define FN_PointContents PointContents
|
// #define FN_PointContents PointContents
|
||||||
#define FN_MessageBegin MessageBegin
|
// #define FN_MessageBegin MessageBegin
|
||||||
#define FN_MessageEnd MessageEnd
|
// #define FN_MessageEnd MessageEnd
|
||||||
#define FN_WriteByte WriteByte
|
// #define FN_WriteByte WriteByte
|
||||||
#define FN_WriteChar WriteChar
|
// #define FN_WriteChar WriteChar
|
||||||
#define FN_WriteShort WriteShort
|
// #define FN_WriteShort WriteShort
|
||||||
#define FN_WriteLong WriteLong
|
// #define FN_WriteLong WriteLong
|
||||||
#define FN_WriteAngle WriteAngle
|
// #define FN_WriteAngle WriteAngle
|
||||||
#define FN_WriteCoord WriteCoord
|
// #define FN_WriteCoord WriteCoord
|
||||||
#define FN_WriteString WriteString
|
// #define FN_WriteString WriteString
|
||||||
#define FN_WriteEntity WriteEntity
|
// #define FN_WriteEntity WriteEntity
|
||||||
// #define FN_CVarRegister CVarRegister
|
// #define FN_CVarRegister CVarRegister
|
||||||
// #define FN_CVarGetFloat CVarGetFloat
|
// #define FN_CVarGetFloat CVarGetFloat
|
||||||
// #define FN_CVarGetString CVarGetString
|
// #define FN_CVarGetString CVarGetString
|
||||||
|
Loading…
Reference in New Issue
Block a user