Changeset 643 for trunk/game/scripts


Ignore:
Timestamp:
08/11/10 18:29:52 (9 years ago)
Author:
beliar
Message:

Patch by Beliar

  • Removed local_loaders directory. The files/classes in local_loaders are not needed anymore since the changes they contain to the classes from the fife editor are not needed anymore as the agents are in seperate files. Any class that used these files are now using the original files/classes from fife.
Location:
trunk/game/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gamemap.py

    r632 r643  
    1818from fife import fife 
    1919 
    20 from local_loaders.loaders import loadMapFile 
     20from fife.extensions.loaders import loadMapFile 
    2121from scripts.common.utils import loadSettings 
    2222 
     
    7878           @return: None""" 
    7979        self.reset() 
    80         self.map = loadMapFile(filename, self.engine, self.model) 
     80        self.map = loadMapFile(filename, self.engine) 
    8181        self.agent_layer = self.map.getLayer('ObjectLayer') 
    8282        self.top_layer = self.map.getLayer('TopLayer')       
  • trunk/game/scripts/gamemodel.py

    r636 r643  
    358358        @param agent: The agent to be added 
    359359        @type agent: dict """ 
    360         from local_loaders.loaders import loadImportFile 
     360        from fife.extensions.loaders import loadImportFile 
    361361        if not self.agents.has_key(namespace): 
    362362            self.agents[namespace] = {} 
Note: See TracChangeset for help on using the changeset viewer.