summaryrefslogtreecommitdiff
path: root/config/config
blob: 288fdb81afc8c2c367bd106802d03e24f066b30e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Example configuration file
#
#
# General format is:
#
# [section]
# variable = value
#
# Any blank lines or lines starting with a comment are ignored.
#


# This defines the GFX driver.  If left undefined then the data generated is
# simply dumped to stdout.
#
# 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


# 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]
G		= 1
body		= sun
body		= planet