1 --- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200
2 +++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200
4 # check and maybe regenerate the colored image files
5 file = os.path.join('images', 'buildcolors.py')
6 g = {'__name__': '__auto__', '__file__': file}
8 # replace the entries 'filename_%d.ppm' by a family of entries,
11 --- display/pclient.py 2007-09-08 17:03:41.000000000 +0200
12 +++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200
14 if mode[-1].has_key('cfgfile'):
15 self.trackcfgfile = mode[-1]['cfgfile']
17 - self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR,
18 - 'http2', 'config.txt')
19 + self.trackcfgfile = os.path.join(os.environ.get('HOME'),
22 self.udpsock_low = None
24 --- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200
25 +++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200
30 - CONFIGFILE = 'config.txt'
31 + CONFIGFILE = '.bubnbros'
34 def __init__(self, Game):
36 self.seed = hex(random.randrange(0x1000, 0x10000))
37 #self.unique_actions = {}
38 self.localhost = gamesrv.HOSTNAME
39 - self.filename = os.path.join(LOCALDIR, self.CONFIGFILE)
40 + self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE)
41 data = self.loadoptionfile()
42 self.globaloptions = Options(data.get('*', {}))
43 self.localoptions = Options(data.get(self.localhost, {}))
46 if os.path.exists(file):
47 g = {'__name__': '__auto__', '__file__': file}
51 address = '%s:%s' % (host, port)