MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / createSystems

Method createSystems

Samples/2.0/Tests/MemoryCleanup/MemoryCleanup.cpp:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 };
60
61 void MainEntryPoints::createSystems( GameState **outGraphicsGameState,
62 GraphicsSystem **outGraphicsSystem,
63 GameState **outLogicGameState, LogicSystem **outLogicSystem )
64 {
65 MemoryCleanupGameState *gfxGameState = new MemoryCleanupGameState( "" );
66
67 GraphicsSystem *graphicsSystem = new MemoryCleanupGraphicsSystem( gfxGameState );
68
69 gfxGameState->_notifyGraphicsSystem( graphicsSystem );
70
71 *outGraphicsGameState = gfxGameState;
72 *outGraphicsSystem = graphicsSystem;
73 }
74
75 void MainEntryPoints::destroySystems( GameState *graphicsGameState, GraphicsSystem *graphicsSystem,
76 GameState *logicGameState, LogicSystem *logicSystem )

Callers

nothing calls this directly

Calls 1

_notifyGraphicsSystemMethod · 0.45

Tested by

no test coverage detected