Ignore:
Timestamp:
03/01/11 21:30:33 (8 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

+ maps load properly once again
+ obsoleted get/set methods in settings.py

  • pc speed is no longer set, so walk speed is unbearably slow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/application.py

    r754 r756  
    2323from fife.extensions.basicapplication import ApplicationBase 
    2424 
     25from parpg import console 
    2526from parpg.gamemodel import GameModel 
    2627from parpg.mainmenuview import MainMenuView 
    27 from parpg import console 
    2828from parpg.mainmenucontroller import MainMenuController 
    2929from parpg.common.listeners.event_listener import EventListener 
     
    128128        #self.engine.getModel(self) 
    129129        self.model = GameModel(self.engine, setting) 
    130         self.model.maps_file = self._setting.parpg.MapsFile 
    131130        self.model.readMapFiles() 
    132         self.model.object_db_file = self._setting.parpg.ObjectDatabaseFile 
    133131        self.model.readObjectDB() 
    134         self.model.agents_directory = self._setting.parpg.AgentsDirectory 
    135132        self.model.getAgentImportFiles() 
    136         self.model.all_agents_file = self._setting.parpg.AllAgentsFile 
    137133        self.model.readAllAgents() 
    138         self.model.dialogues_directory = self._setting.parpg.DialoguesDirectory 
    139134        self.model.getDialogues() 
    140135        self.view = MainMenuView(self.engine, self.model) 
     
    143138        self.event_listener = EventListener(self.engine) 
    144139        self.controllers = [] 
    145         controller = MainMenuController(self.engine,  
    146                                                         self.view,  
    147                                                         self.model, 
    148                                                         self) 
     140        controller = MainMenuController(self.engine, self.view, self.model,  
     141                                        self) 
    149142        #controller.initHud() 
    150143        self.controllers.append(controller) 
Note: See TracChangeset for help on using the changeset viewer.