2016-12-16 23:45:05 +01:00
|
|
|
#if defined _cssfixes_included
|
|
|
|
#endinput
|
|
|
|
#endif
|
|
|
|
#define _cssfixes_included
|
|
|
|
|
|
|
|
forward void OnRunThinkFunctions(bool simulating);
|
2019-10-01 18:49:38 +02:00
|
|
|
forward void OnPrePlayerThinkFunctions();
|
|
|
|
forward void OnPostPlayerThinkFunctions();
|
2016-12-16 23:45:05 +01:00
|
|
|
forward void OnRunThinkFunctionsPost(bool simulating);
|
|
|
|
|
2019-10-01 18:49:38 +02:00
|
|
|
// -1 = Ignore, normal operation.
|
|
|
|
// 0 = Block ALL SV_TriggerMoved.
|
|
|
|
// >0 = Entity index for which to allow EnumElement to be called.
|
|
|
|
// REMEMBER TO CALL THIS AGAIN WITH -1 AFTER USING IT !!!
|
|
|
|
native void FilterTriggerMoved(int entity);
|
|
|
|
|
2019-10-03 17:29:36 +02:00
|
|
|
// -1 = Ignore, normal operation.
|
|
|
|
// 0 = Block ALL SV_TriggerMoved.
|
|
|
|
// >0 = Entity index for which to allow SV_TriggerMoved to be called.
|
|
|
|
// REMEMBER TO CALL THIS AGAIN WITH -1 AFTER USING IT !!!
|
|
|
|
native void BlockSolidMoved(int entity);
|
|
|
|
|
2019-10-04 11:17:47 +02:00
|
|
|
// entities is an array which maps from entindex to a truth value
|
|
|
|
// if the value is true then SolidMoved will not see this entity
|
|
|
|
// REMEMBER TO CALL THIS WITH SIZE 0 0N PLUGIN END !!!
|
|
|
|
native void FilterSolidMoved(int[] entities, int size);
|
|
|
|
|
2017-08-04 09:28:58 +02:00
|
|
|
public Extension __ext_CSSFixes =
|
2016-12-16 23:45:05 +01:00
|
|
|
{
|
|
|
|
name = "CSSFixes",
|
|
|
|
file = "CSSFixes.ext",
|
|
|
|
#if defined AUTOLOAD_EXTENSIONS
|
|
|
|
autoload = 1,
|
|
|
|
#else
|
|
|
|
autoload = 0,
|
|
|
|
#endif
|
|
|
|
#if defined REQUIRE_EXTENSIONS
|
|
|
|
required = 1,
|
|
|
|
#else
|
|
|
|
required = 0,
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
#if !defined REQUIRE_EXTENSIONS
|
|
|
|
public __ext_CSSFixes_SetNTVOptional()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|