initial commit: change in oryx is only outcommenting KickClient. Change in oryx-scroll is changing the message send to the native

This commit is contained in:
jenz
2022-06-11 23:02:43 +02:00
parent 153f1c28ce
commit 2c5820dd3d
7 changed files with 4751 additions and 0 deletions
@@ -0,0 +1,38 @@
#if defined _tas_included
#endinput
#endif
#define _tas_included
native bool TAS_InEditMode(int client);
native bool TAS_IsPaused(int client);
native ArrayList TAS_GetRunHandle(int client);
native int TAS_GetCurrentFrame(int client);
forward void OnTASPauseChanged(int client, bool paused);
forward void OnTASFrameRecorded(int client, int frame);
public SharedPlugin __pl_tas =
{
name = "tas",
file = "bTimes-tas.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if !defined REQUIRE_PLUGIN
public void __pl_tas_SetNTVOptional()
{
MarkNativeAsOptional("TAS_InEditMode");
MarkNativeAsOptional("TAS_IsPaused");
MarkNativeAsOptional("TAS_GetRunHandle");
MarkNativeAsOptional("TAS_GetCurrentFrame");
}
#endif