Permalink
Browse files

partial conversion to variadic schema

  • Loading branch information...
Azaezel committed Jan 17, 2017
1 parent 7b61377 commit 8ca53c771f8b8e25c5cb37fe74632ffb20fba4dc
@@ -1081,7 +1081,7 @@ DefineEngineMethod(afxEffectron, activate, void, (),,
}
DefineEngineFunction(startEffectron, S32, (afxEffectronData* datablock, const char* constraintSource, const char* constraintName, SimObject* extra),
(NULL, NULL, NULL, NULL),
(nullAsType<afxEffectronData*>(), nullAsType<const char*>(), nullAsType<const char*>(), nullAsType<SimObject*>()),
"Instantiates the effectron defined by datablock.\n\n"
"@ingroup AFX")
{
@@ -2681,7 +2681,7 @@ DefineEngineMethod(afxMagicSpell, activate, void, (),,
}
DefineEngineFunction(castSpell, S32, (afxMagicSpellData* datablock, ShapeBase* caster, SceneObject* target, SimObject* extra),
(NULL, NULL),
(nullAsType<afxMagicSpellData*>(), nullAsType<ShapeBase*>(),nullAsType<SceneObject*>(),nullAsType<SimObject*>()),
"Instantiates the magic spell defined by datablock and cast by caster.\n\n"
"@ingroup AFX")
{
@@ -1146,7 +1146,7 @@ DefineEngineMethod(afxSelectron, stopSelectron, void, (),,
}
DefineEngineFunction(startSelectron, S32, (SceneObject* selectedObj, unsigned int subcode, SimObject* extra),
(NULL, 0, NULL),
(nullAsType<SceneObject*>(), 0, nullAsType<SimObject*>()),
"Instantiates a selectron.\n\n"
"@ingroup AFX")
{

0 comments on commit 8ca53c7

Please sign in to comment.