File: start.txt

package info (click to toggle)
adanaxisgpl 1.2.5.dfsg.1-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid, stretch
  • size: 39,988 kB
  • sloc: ansic: 69,023; cpp: 65,175; ruby: 14,217; xml: 8,416; sh: 7,434; perl: 2,233; objc: 256; makefile: 154; yacc: 92
file content (215 lines) | stat: -rw-r--r-- 6,358 bytes parent folder | download | duplicates (2)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
#%Header {
##############################################################################
#
# File data-adanaxis/system/start.txt
#
# Author Andy Southgate 2006-2007
#
# This file contains original work by Andy Southgate.  The author and his
# employer (Mushware Limited) irrevocably waive all of their copyright rights
# vested in this particular version of this file to the furthest extent
# permitted.  The author and Mushware Limited also irrevocably waive any and
# all of their intellectual property rights arising from said file and its
# creation that would otherwise restrict the rights of any party to use and/or
# distribute the use of, the techniques and methods used herein.  A written
# waiver can be obtained via http://www.mushware.com/.
#
# This software carries NO WARRANTY of any kind.
#
##############################################################################
#%Header } pQw6UBGrukp0QOB1l19i1Q
# $Id: start.txt,v 1.41 2007/09/06 13:07:11 southa Exp $
# $Log: start.txt,v $
# Revision 1.41  2007/09/06 13:07:11  southa
# Backport X11 changes
#
# Revision 1.40  2007/06/27 13:38:28  southa
# Debian packaging
#
# Revision 1.39  2007/06/27 11:56:42  southa
# Debian packaging
#
# Revision 1.38  2007/06/25 17:58:46  southa
# X11 fixes
#
# Revision 1.37  2007/06/11 20:06:13  southa
# Compatibility fixes and level 27
#
# Revision 1.36  2007/04/20 12:07:09  southa
# Khazi Warehouse and level 8
#
# Revision 1.35  2007/04/19 12:57:57  southa
# Prerelease work
#
# Revision 1.34  2007/04/18 09:21:57  southa
# Header and level fixes
#
# Revision 1.33  2007/03/13 22:56:46  southa
# Release work
#
# Revision 1.32  2007/03/13 21:45:10  southa
# Release process
#
# Revision 1.31  2007/03/09 19:50:10  southa
# Resident textures
#
# Revision 1.30  2006/09/12 15:28:49  southa
# World sphere
#
# Revision 1.29  2006/09/10 10:30:52  southa
# Shader billboarding
#
# Revision 1.28  2006/09/07 10:02:36  southa
# Shader interface
#
# Revision 1.27  2006/09/06 17:33:18  southa
# Shader interface
#
# Revision 1.26  2006/08/03 15:07:57  southa
# Cache purge fix
#
# Revision 1.25  2006/08/03 13:49:58  southa
# X11 release work
#
# Revision 1.24  2006/08/01 17:21:21  southa
# River demo
#
# Revision 1.23  2006/07/31 11:01:35  southa
# Music and dialogues
#
# Revision 1.22  2006/07/28 16:52:18  southa
# Options work
#
# Revision 1.21  2006/06/07 14:25:54  southa
# Grid texture fixes
#
# Revision 1.20  2006/06/06 17:58:30  southa
# Ruby texture definition
#
# Revision 1.19  2006/06/05 16:54:43  southa
# Ruby textures
#
# Revision 1.18  2006/06/05 14:35:15  southa
# Texture generation
#
# Revision 1.17  2006/06/02 18:14:34  southa
# Texture caching
#
# Revision 1.16  2006/06/01 20:12:57  southa
# Initial texture caching
#
# Revision 1.15  2006/05/11 10:43:15  southa
# Project updates
#
# Revision 1.14  2006/05/03 00:58:43  southa
# Texturing updates
#
# Revision 1.13  2006/05/02 17:32:12  southa
# Texturing
#
# Revision 1.12  2006/04/20 00:22:45  southa
# Added ruby executive
#
# Revision 1.11  2006/04/11 23:30:07  southa
# Created MushRuby from ruby-1.8.4
#
# Revision 1.10  2005/09/05 12:54:29  southa
# Solid rendering work
#
# Revision 1.9  2005/08/28 22:41:51  southa
# MushGLTexture work
#
# Revision 1.8  2005/08/02 14:37:44  southa
# Adanaxis control demo work
#
# Revision 1.7  2005/08/02 11:11:47  southa
# Adanaxis control demo work
#
# Revision 1.6  2005/07/11 16:37:44  southa
# Uplink control work
#
# Revision 1.5  2005/07/06 19:08:25  southa
# Adanaxis control work
#
# Revision 1.4  2005/06/21 15:57:44  southa
# MushGame work
#
# Revision 1.3  2005/06/14 20:39:38  southa
# Adanaxis work
#
# Revision 1.2  2005/06/14 13:25:30  southa
# Adanaxis work
#
# Revision 1.1  2005/06/13 17:34:52  southa
# Adanaxis creation

# Change the paths here if you detach the application from its data directory

# On entry RESOURCES_PATH is set to the directory above the one the
# application data executable is in
# configset("RESOURCES_PATH","/usr/share/adanaxis")

configset("GLOBAL_SPACES_PATH",$RESOURCES_PATH+"/spaces")
configset("GLOBAL_PIXELS_PATH",$RESOURCES_PATH+"/pixels")
configset("GLOBAL_WAVES_PATH",$RESOURCES_PATH+"/waves")
configset("SYSTEM_PATH",$RESOURCES_PATH+"/system")
configset("RUBY_PATH",$RESOURCES_PATH+"/ruby")

# Find somewhere to save our files.  Directory name first, then paths to check
setsavepath(".adanaxis", $HOME, $SYSTEM_PATH, "/tmp")
setcachepath("mushware-cache", $HOME+"/.adanaxis", "/tmp", $HOME, $SYSTEM_PATH, $RESOURCES_PATH)

# Set registration code file path
configset("REG_FILENAME", $GLOBAL_SAVE_PATH+"/reg.xml")

# Set configuration file paths
configset("CONFIG_FILENAME", $GLOBAL_SAVE_PATH+"/adanaxisconfig.xml")
configset("RECORDS_PATH", $GLOBAL_SAVE_PATH)
configset("ADANAXIS_AXISCONFIG_DEFAULT_FILENAME", $SYSTEM_PATH+"/axisconfig-default.xml")
configset("ADANAXIS_KEYCONFIG_DEFAULT_FILENAME", $SYSTEM_PATH+"/keyconfig-default.xml")

# Most of these configuration values are unused or act only as defaults

# Options for DISPLAY_QUALITY are low, medium or high - not used
configset("DISPLAY_QUALITY", "high")

# Adanaxis configuraton values
configset('MUSHGL_DISPLAY_MODE', 2)

# Print OpenGL infomation
# configset('MUSHGL_DUMP_MUSHGLV', 1)

# Control texture cache 0=off, 1 or undefined=on
configset('MUSHGL_TEXTURE_CACHE', 1)

# Control whether texture files in the cache directory are deleted when the game exits 0=no, 1 or undefined=yes
# configset('MUSHGL_TEXTURE_CACHE_PURGE', 0)

# Control texture compression 0=off, 1 or undefined=on
configset('MUSHGL_TEXTURE_COMPRESSION', 1)

# Extra display mode definitions for X11
# Uncomment these or add your own
# configset('X11_MODE_0', '(960,600)')
# configset('X11_MODE_1', '(1680,1050)')
# configset('X11_MODE_2', '(1920,1200)')
# and so on, up to X11_MODE_9

# Uses the SDL_ListModes function to determine X11 modes
configset('X11_USE_SDL_LISTMODES', 1)

# Load the dialogues
GameDialogueLoad($SYSTEM_PATH+'/objects.xml')

# Mutate the application into Adanaxis
adanaxis

# Add config elements - not used in this application
configvalueadd('displaymode', 0, 0, 0)
configstringadd('displayquality','high', 'low=Low&medium=Medium&high=High')
configstringadd('displaylighting', 'dynamic', 'none=None&dynamic=Dynamic')

# Load the system font
loadfontmap('font-mono1',$GLOBAL_PIXELS_PATH+'/font-mono1.tiff',8,12,337,768)