comparison parpg.cfg.in @ 11:4706e0194af3

Various improvements to the build process including support for self-contained builds. * Note that despite all of these changes PARPG still does not run because asset paths are not standardized, * Modified the SCons script so that by default running `scons` with no arguments creates a self-contained "build" under a build subdirectory to make in-source testing easier. To install PARPG, use `scons install` instead. * Got rid of the binary launcher and replaced it with a shell script for unix and a batch script for Windows (batch script is untested). The binary turned out to be too much trouble to maintain. * Modified the parpg.settings module and parpg.main entry script so that PARPG searches through several default search paths for configuration file(s). PARPG thus no longer crashes if it can't find a configuration file in any particular search path, but will crash it if can't find any configuration files. * Paths supplied to parpg.main are now appended as search paths for the configuration file(s). * Changed the default configuration file name to "parpg.cfg" to simplify searches. * Created the site_scons directory tree where SCons extensions and tools should be placed. * Created a new SCons builder, CopyRecurse, which can copy only certain files and folders from a directory tree using filters (files and folders that start with a leading dot "." e.g. ".svn" are ignored by default). * Added the CPython SCons tool (stands for Compile-Python - I didn't name it!), which provides the InstallPython builder for pre-compiling python sources before they are installed. However, it is currently broken and only installs the python sources.
author M. George Hansen <technopolitica@gmail.com>
date Tue, 31 May 2011 02:46:20 -0700
parents system.cfg.in@af8e90c22758
children d60f1dab8469
comparison
equal deleted inserted replaced
10:5deaf494934a 11:4706e0194af3
1 [fife]
2 # Options marked with ? are untested/unknown
3
4 # Game window's title (string) DO NOT EDIT!
5 WindowTitle = PARPG Techdemo 2
6
7 # Icon to use for the game window's border (filename) DO NOT EDIT!
8 WindowIcon = window_icon.png
9
10 # Video driver to use. (?)
11 VideoDriver = ""
12
13 # Backend to use for graphics (OpenGL|SDL)
14 RenderBackend = OpenGL
15
16 # Run the game in fullscreen mode or not. (True|False)
17 FullScreen = False
18
19 # Screen Resolution's width. Not used if FullScreen is set to False (800|1024|etc)
20 ScreenWidth = 800
21
22 # Screen Resolution's height. Not used if FullScreen is set to False (600|768|etc)
23 ScreenHeight = 600
24
25 # Screen DPI? (?)
26 BitsPerPixel = 0
27
28 # ? (?)
29 SDLRemoveFakeAlpha = 1
30
31 # Subdirectory to load icons from (path)
32 IconsPath = icons
33
34 # ? ([R, G, B])
35 ColorKey = [250, 0, 250]
36
37 # ? (True|False)
38 ColorKeyEnabled = False
39
40 # Turn on sound effects and music (True|False)
41 EnableSound = True
42
43 # Initial volume of sound effects and music (0.0-100.0?)
44 InitialVolume = 5.0
45
46 # Characters to use to render fonts. DO NOT EDIT!
47 FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]""
48
49 # Subdirectory to load fronts from (path)
50 FontsPath = fonts
51
52 # Font to load when game starts
53 #TODO: make it so that the font name is supplied instead of the filename
54 Font = oldtypewriter.ttf
55
56 # Size of in-game fonts
57 DefaultFontSize = 12
58
59 # ? (?)
60 LogModules = [controller]
61
62 # ? (?)
63 PychanDebug = False
64
65 # use Psyco Acceperation (True|False)
66 UsePsyco = False
67
68 # ? (?)
69 ProfilingOn = False
70
71 # Lighting Model to use (0-2)
72 Lighting = 0
73
74 [parpg]
75
76 # System subdirectory to load maps from (path)
77 MapsPath = maps
78
79 # YAML file that contains the available maps (filename)
80 MapsFile = maps.yaml
81
82 # Map to load when game starts (filename)
83 Map = Mall
84
85 # ? (filename)
86 AllAgentsFile = all_agents.yaml
87
88 # System subdirectory to load objects from (path)
89 ObjectsPath = objects
90
91 # YAML file that contains the database of availabel objects (filename)
92 ObjectDatabaseFile = object_database.yaml
93
94 # System subdirectory to load dialogues from (path)
95 DialoguesPath = dialogues
96
97 # System subdirectory to load quests from (path)
98 QuestsPath = quests
99
100 # System subdirectory where gui files are loaded from (path)
101 GuiPath = gui
102
103 # System subdirectory where cursors are loaded from (path)
104 CursorPath = cursors
105
106 # File to use for default cursor (filename)
107 CursorDefault = cursor_plain.png
108
109 # File to use for up cursor (filename)
110 CursorUp = cursor_up.png
111
112 # File to use for right cursor (filename)
113 CursorRight = cursor_right.png
114
115 # File to use for down cursor (filename)
116 CursorDown = cursor_down.png
117
118 # File to use for left cursor (filename)
119 CursorLeft = cursor_left.png
120
121 # Player walk speed (digit)
122 PCSpeed = 3