Add native and forward documentation to include file

Rename some natives for better self explanatory.
This commit is contained in:
Peace-Maker
2016-03-01 15:00:27 +01:00
parent 28d76b41e5
commit d5424cefdf
4 changed files with 313 additions and 35 deletions
+1 -2
View File
@@ -43,7 +43,7 @@ SH_DECL_HOOK0_void(IDemoRecorder, StopRecording, SH_NOATTRIB, 0)
void CForwardManager::Init()
{
m_StartRecordingFwd = forwards->CreateForward("SourceTV_OnStartRecording", ET_Ignore, 3, NULL, Param_Cell, Param_String, Param_Cell);
m_StartRecordingFwd = forwards->CreateForward("SourceTV_OnStartRecording", ET_Ignore, 3, NULL, Param_Cell, Param_String);
m_StopRecordingFwd = forwards->CreateForward("SourceTV_OnStopRecording", ET_Ignore, 3, NULL, Param_Cell, Param_String, Param_Cell);
}
@@ -72,7 +72,6 @@ void CForwardManager::OnStartRecording_Post(const char *filename, bool bContinuo
m_StartRecordingFwd->PushCell(0); // TODO: Get current hltvserver index
m_StartRecordingFwd->PushString(filename);
m_StartRecordingFwd->PushCell(bContinuously);
m_StartRecordingFwd->Execute();
RETURN_META(MRES_IGNORED);