Changeset 752


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

Patch by Aspidites:

  • added/corrected entries in settings.ini
  • further tweaked parpg.application to work with parpg.settings
Location:
branches/active/character_customization/game
Files:
2 edited

Legend:

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

    r748 r752  
    137137        self.model.getDialogues() 
    138138        self.view = MainMenuView(self.engine, self.model) 
    139         self.fonts_directory = self._setting.get("FIFE", "FontsDirectory") 
     139        self.fonts_directory = self._setting.fife.FontsDirectory 
    140140        self.loadFonts(self.fonts_directory) 
    141141        self.event_listener = EventListener(self.engine) 
     
    161161                pychan.loadFonts(file_name) 
    162162 
     163======= 
     164>>>>>>> Patch by Aspidites: 
    163165    def loadSettings(self): 
    164166        """ 
  • branches/active/character_customization/game/settings.ini

    r751 r752  
    44PlaySounds =  True 
    55RenderBackend = OpenGL 
     6ColorKey = [250, 0, 250] 
    67ColorKeyEnabled = False 
    7 ColorKey = [250, 0, 250] 
    88ScreenWidth = 1024 
    99ScreenHeight = 768 
     
    1414WindowTitle = PARPG Demo 
    1515WindowIcon = gui/icons/window_icon.png 
     16Font = fonts/oldtypewriter.ttf 
    1617FontsDirectory = fonts/ 
    17 Font = fonts/oldtypewriter.ttf 
    18 FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"" 
     18FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"" 
    1919DefaultFontSize = 12 
    2020LogModules = [controller] 
     
    2525ProfilingOn = False 
    2626ImageChunkSize = 256 
    27 Lighting = 0   
     27Lighting = 0 
    2828 
    2929[parpg] 
    30 FIFEPath =  
    31 SettingsVersion = 2011-02-21 
    3230Map = Mall 
    3331ObjectDatabaseFile = objects/object_database.yaml 
Note: See TracChangeset for help on using the changeset viewer.