summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config40
1 files changed, 20 insertions, 20 deletions
diff --git a/config/config b/config/config
index 288fdb8..1238e11 100644
--- a/config/config
+++ b/config/config
@@ -10,29 +10,13 @@
#
-# This defines the GFX driver. If left undefined then the data generated is
-# simply dumped to stdout.
+# This defines the output driver. If left undefined then the data generated is
+# simply dumped to stdout in a simple XML format.
#
# Drivers can have their own personal configuration section elsewhere.
#
-[gfx]
-driver = drivers/sdl-gl.so
-
-
-# Example driver configuration.
-#
-[sdl-gl]
-width = 800
-height = 600
-fullscreen = yes
-
-
-# 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
+[output]
+driver = sdl-gl.so
# This defines the bodies that will be placed in the simulation and the
@@ -50,3 +34,19 @@ example2 = files/file.png
G = 1
body = sun
body = planet
+
+
+# Example sdl-gl driver configuration.
+#
+[sdl-gl]
+width = 800
+height = 600
+fullscreen = yes
+
+[sdl-gl-textures]
+example1 = files/file1.png
+example2 = files/file2.png
+
+[sdl-gl-texture-mappings]
+sun = example1
+planet = example2