Mercurial > parpg-source
comparison application.py @ 176:67d3f629658f
Removed code to initialize pychan from PARPGApplication as that is already done in Application Base.
author | Beliar <KarstenBock@gmx.net> |
---|---|
date | Mon, 05 Mar 2012 20:17:34 +0100 |
parents | bfd3a4ef7f2b |
children | 2a12e2843984 |
comparison
equal
deleted
inserted
replaced
175:94196a3e9c07 | 176:67d3f629658f |
---|---|
116 self.manager = FifeManager() | 116 self.manager = FifeManager() |
117 # KLUDGE M. George Hansen 2011-06-04: See parpg/vfs.py. | 117 # KLUDGE M. George Hansen 2011-06-04: See parpg/vfs.py. |
118 vfs.VFS = self.engine.getVFS() | 118 vfs.VFS = self.engine.getVFS() |
119 vfs.VFS.addNewSource(setting.get("parpg","DataPath")) | 119 vfs.VFS.addNewSource(setting.get("parpg","DataPath")) |
120 | 120 |
121 pychan.init(self.engine, debug = True) | |
122 pychan.setupModalExecution(self.mainLoop,self.breakFromMainLoop) | |
123 | |
124 self.quitRequested = False | 121 self.quitRequested = False |
125 self.breakRequested = False | 122 self.breakRequested = False |
126 self.returnValues = [] | 123 self.returnValues = [] |
127 #self.engine.getModel(self) | 124 #self.engine.getModel(self) |
128 self.model = GameModel(self.engine, setting) | 125 self.model = GameModel(self.engine, setting) |