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

Method EnterObjectFunction

neo/d3xp/script/Script_Interpreter.cpp:573–583  ·  view source on GitHub ↗

================ idInterpreter::EnterObjectFunction Calls a function on a script object. NOTE: If this is called from within a event called by this interpreter, the function arguments will be invalid after calling this function. ================ */

Source from the content-addressed store, hash-verified

571================
572*/
573void idInterpreter::EnterObjectFunction( idEntity *self, const function_t *func, bool clearStack ) {
574 if ( clearStack ) {
575 Reset();
576 }
577 if ( popParms ) {
578 PopParms( popParms );
579 popParms = 0;
580 }
581 Push( self->entityNumber + 1 );
582 EnterFunction( func, false );
583}
584
585/*
586====================

Callers 2

idThreadMethod · 0.45
CallFunctionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected