MCPcopy Create free account
hub / github.com/CelestiaProject/Celestia / SetScriptedObjectContext

Function SetScriptedObjectContext

src/celengine/scriptobject.cpp:29–33  ·  view source on GitHub ↗

! Set the script context for ScriptedOrbits and ScriptRotations * Should be called just once at initialization. */

Source from the content-addressed store, hash-verified

27 * Should be called just once at initialization.
28 */
29void
30SetScriptedObjectContext(lua_State* l)
31{
32 scriptObjectLuaState = l;
33}
34
35
36/*! Get the global script context for ScriptedOrbits.

Callers 1

initLuaHookMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected