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

Patch Aspidites:

  • run.py successfully launches the game again
  • Unfortunately, maps aren't loaded correctly
Location:
branches/active/character_customization/game/parpg
Files:
2 edited

Legend:

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

    r753 r754  
    121121 
    122122        pychan.init(self.engine, debug = True) 
     123        pychan.setupModalExecution(self.mainLoop,self.breakFromMainLoop) 
     124 
     125        self.quitRequested = False 
     126        self.breakRequested = False 
     127        self.returnValues = [] 
    123128        #self.engine.getModel(self) 
    124129        self.model = GameModel(self.engine, setting) 
  • branches/active/character_customization/game/parpg/gui/hud.py

    r736 r754  
    1 #!/usr/bin/env python 
    2  
     1#!/usr/bin/env python  
    32#   This file is part of PARPG. 
    43 
     
    198197           @return: None""" 
    199198        self.main_menu = pychan.loadXML("gui/hud_pause_menu.xml") 
    200         self.menu_events = {"resumeButton":self.hideMenu,  
    201                             "optionsButton":self.settings.onOptionsPress, 
    202                             "helpButton":self.displayHelp} 
     199        #TODO: find more suitalbe place for onOptilonsPress implementation 
     200        self.menu_events = {"resumeButton": self.hideMenu,  
     201                            "optionsButton": None, 
     202                            "helpButton": self.displayHelp} 
    203203        self.main_menu.mapEvents(self.menu_events) 
    204204 
Note: See TracChangeset for help on using the changeset viewer.