From 44525767b158902ea0183b4e5e36973bea010a08 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 14 Jan 2011 15:14:14 +0000 Subject: Development checkin --- config/config | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'config') 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 -- cgit v1.2.3