Ignore:
Timestamp:
03/07/11 05:14:00 (9 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

  • removed files related to windows packaging
  • simplified settings module API:

+ paths argument no longer exists. There is now exactly

3 arguments: system_path, user_path, and prefix, which

will eventually be explained in documentation

+ user config file is now properly created, leaving the

system config file untouched

+ by default, the new suffix is '.cfg'.
+ sections and options are now properties instead of callables

  • updated menus.py to cope with these minor changes
  • updated setup scripts (both) with missing path information

+ only thing remaining for the windows installer is to test on

on a windows machine (as opposed to wine), and to get
prerequisites installed correctly (fife installer giving trouble)

File:
1 edited

Legend:

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

    r774 r790  
    131131            # F7 saves a screenshot to fife/clients/parpg/screenshots 
    132132             
    133             screenshot_file = "screenshots/screen-%s.png" % \ 
    134                     (datetime.now().strftime('%Y-%m-%d-%H-%M-%S')) 
     133            screenshotdir = model.settings.parpg.ScreenshotsDirectory 
     134            screenshot_file = os.path.join(screenshotdir,  
     135                                           'screen-{0}.png'.format( 
     136                                           datetime.now().strftime( 
     137                                           '%Y-%m-%d-%H-%M-%S'))) 
    135138            print "PARPG: Saved:", screenshot_file 
    136139            self.engine.getRenderBackend().captureScreen(screenshot_file) 
Note: See TracChangeset for help on using the changeset viewer.