From 7523d7b685d835aab01f0253ba9530de7b5446d4 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 6 Jan 2011 15:48:58 +0000 Subject: Development checkin --- config/config | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) (limited to 'config') diff --git a/config/config b/config/config index 08a7a4a..288fdb8 100644 --- a/config/config +++ b/config/config @@ -10,23 +10,43 @@ # -# This defines any textures to load, and the names applied to them. Any image -# format supported by SDL Image should be loadable. +# This defines the GFX driver. If left undefined then the data generated is +# simply dumped to stdout. # -[textures] -example1 = files/file.png -example2 = files/file.png +# Drivers can have their own personal configuration section elsewhere. +# +[gfx] +driver = drivers/sdl-gl.so -# This enables or disables various graphical effects. The defaults for the -# effects are given here. +# Example driver configuration. # -[gfx] -trails = yes +[sdl-gl] +width = 800 +height = 600 +fullscreen = yes -# This defines the bodies that will be placed in the simulation. +# This defines any textures to load, and the names applied to them. Supported +# image formats will depend on the loaded GFX driver. +# +[textures] +example1 = files/file.png +example2 = files/file.png + + +# This defines the bodies that will be placed in the simulation and the +# constants for this universe. +# +# For this simulation the force acting on mass m1 from mass m2 is calculated +# as: +# +# F = G x (m2 / r^2) +# +# This force is a vector, which normalised is the equivalent of one of the +# co-ordinate axes discrete values in a single step of the simulation. # [universe] -body = sun -body = planet +G = 1 +body = sun +body = planet -- cgit v1.2.3