From df40de3b564062c1bba93332d08e86f3691e6b00 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 23 Aug 2010 17:56:37 +0000 Subject: Added output of XML file with universe states per tick. --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index ea0fcc9..1b80dc2 100644 --- a/config.h +++ b/config.h @@ -66,6 +66,8 @@ public: size_t maxMass() const; + const string& output() const; + // Args set to -1 if undefined // void getLookAndTravel(int& look, int &travel) const; @@ -141,6 +143,8 @@ private: GLfloat m_fog_b; bool m_fog_light; + string m_output; + enum Command {enable_cmd, disable_cmd, collide_cmd, const_cmd, body_cmd, radial_cmd, light_cmd, camera_cmd, look_cmd, texture_cmd, num_texture_cmd, reuse_cmd, particles_cmd, @@ -148,7 +152,7 @@ private: scale_cmd, look_at_cmd, travel_as_cmd, window_size_cmd, sparks_cmd, max_mass_cmd, mlook_cmd, ring_cmd, mring_cmd, ring_texture_cmd, ring_reuse_cmd, - ring_mreuse_cmd, fog_cmd, + ring_mreuse_cmd, fog_cmd, output_cmd, cmd_eof, cmd_error}; enum GetWordStatus {GWOK, GWEof, GWSyntax, -- cgit v1.2.3