MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / ParseObjectCall

Method ParseObjectCall

neo/game/script/Script_Compiler.cpp:1120–1128  ·  view source on GitHub ↗

============ idCompiler::ParseObjectCall ============ */

Source from the content-addressed store, hash-verified

1118============
1119*/
1120idVarDef *idCompiler::ParseObjectCall( idVarDef *object, idVarDef *func ) {
1121 EmitPush( object, object->TypeDef() );
1122 if ( callthread ) {
1123 callthread = false;
1124 return EmitFunctionParms( OP_OBJTHREAD, func, 1, type_object.Size(), object );
1125 } else {
1126 return EmitFunctionParms( OP_OBJECTCALL, func, 1, 0, object );
1127 }
1128}
1129
1130/*
1131============

Callers

nothing calls this directly

Calls 2

TypeDefMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected