mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Add initial serialization test mode.
Reduce some dependencies on CSimulation2 to provide more flexibility. This was SVN commit r10426.
This commit is contained in:
@@ -51,9 +51,9 @@ void DeserializeRNG(const std::string& str, boost::rand48& rng)
|
||||
s >> rng;
|
||||
}
|
||||
|
||||
bool CComponentManager::DumpDebugState(std::ostream& stream)
|
||||
bool CComponentManager::DumpDebugState(std::ostream& stream, bool includeDebugInfo)
|
||||
{
|
||||
CDebugSerializer serializer(m_ScriptInterface, stream);
|
||||
CDebugSerializer serializer(m_ScriptInterface, stream, includeDebugInfo);
|
||||
|
||||
serializer.StringASCII("rng", SerializeRNG(m_RNG), 0, 32);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user