MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / init

Function init

Engine/source/console/simManager.cpp:549–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547
548
549void init()
550{
551 initEventQueue();
552 initRoot();
553
554 InstantiateNamedSet(ActiveActionMapSet);
555 InstantiateNamedSet(GhostAlwaysSet);
556 InstantiateNamedSet(WayPointSet);
557 InstantiateNamedSet(fxReplicatorSet);
558 InstantiateNamedSet(fxFoliageSet);
559 InstantiateNamedSet(MaterialSet);
560 InstantiateNamedSet(SFXSourceSet);
561 InstantiateNamedSet(SFXDescriptionSet);
562 InstantiateNamedSet(SFXTrackSet);
563 InstantiateNamedSet(SFXEnvironmentSet);
564 InstantiateNamedSet(SFXStateSet);
565 InstantiateNamedSet(SFXAmbienceSet);
566 InstantiateNamedSet(TerrainMaterialSet);
567 InstantiateNamedSet(DataBlockSet);
568 InstantiateNamedSet(ForestBrushSet);
569 InstantiateNamedSet(ForestItemDataSet);
570 InstantiateNamedGroup(ActionMapGroup);
571 InstantiateNamedGroup(ClientGroup);
572 InstantiateNamedGroup(GuiGroup);
573 InstantiateNamedGroup(GuiDataGroup);
574 InstantiateNamedGroup(TCPGroup);
575 InstantiateNamedGroup(ClientConnectionGroup);
576 InstantiateNamedGroup(SFXParameterGroup);
577 InstantiateNamedSet(BehaviorSet);
578 InstantiateNamedSet(sgMissionLightingFilterSet);
579
580 gDataBlockGroup = new SimDataBlockGroup();
581 gDataBlockGroup->registerObject("DataBlockGroup");
582 gRootGroup->addObject(gDataBlockGroup);
583
584 SimPersistID::init();
585}
586
587void shutdown()
588{

Callers

nothing calls this directly

Calls 4

initEventQueueFunction · 0.85
initRootFunction · 0.85
registerObjectMethod · 0.45
addObjectMethod · 0.45

Tested by

no test coverage detected