Topic: [QUESTION] About a total save game
I have to save the Engine status for have a complete photo of game status? This means I have to save each pointed address from each pointer in engine and so on for each pointer pointed by engine right?
ar &g-> getSoundContext();
ar &g-> getRenderingContext();
ar &g-> getPhysicsContext();
ar &g-> getScriptContext();
ar &g-> getInputContext();
ar &g-> getSystemContext();
// data loaders
ar &g-> getFontLoader();
ar &g-> getImageLoader();
ar &g-> getSoundLoader();
ar &g-> getMeshLoader();
ar &g-> getArmatureAnimLoader();
ar &g-> getTexturesAnimLoader();
ar &g-> getMaterialsAnimLoader();
ar &g-> getLevelLoader();
// behavior manager
ar &g-> getBehaviorManager();
// renderer manager
ar &g-> getRendererManager();
// package manager
ar &g-> getPackageManager()
ar &g-> getLevel()
ar &g-> getGame()
ar &g-> getRenderer();
And then continue for each pointer...
Or there is another way I cannot figure out?