Ignore:
Timestamp:
07/20/10 11:51:18 (11 years ago)
Author:
sc
Message:

thinkgear_emulator/puzzlebox_thinkgear_emulator_configuration:

  • THINKGEAR_ATTENTION_MULTIPLIER added
  • THINKGEAR_MEDITATION_MULTIPLIER added

thinkgear_emulator/puzzlebox_thinkgear_server.py:

  • support for attention and meditation multipliers added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • thinkgear_emulator/puzzlebox_thinkgear_emulator_configuration.py

    r115 r116  
    99# For more information please refer to http://www.gnu.org/copyleft/gpl.html 
    1010# 
    11 # Last Update: 2010.07.08 
     11# Last Update: 2010.07.20 
    1212# 
    1313##################################################################### 
     
    3434 
    3535##################################################################### 
    36 # Client configuration 
     36# Server configuration 
    3737##################################################################### 
    3838 
     
    5454        "appKey": "2e285d7bd5565c0ea73e7e265c73f0691d932408" 
    5555        } 
     56 
     57THINKGEAR_ATTENTION_MULTIPLIER = 1.0 
     58 
     59THINKGEAR_MEDITATION_MULTIPLIER = 0.75 
    5660 
    5761 
     
    9195 
    9296if os.path.exists(CONFIGURATION_FILE_PATH): 
    93          
     97         
    9498        file = open(CONFIGURATION_FILE_PATH, 'r') 
    9599         
     
    105109                        exec line 
    106110                except: 
    107                         if DEBUG: 
     111                        if DEBUG: 
    108112                                print "Error recognizing configuration option:", 
    109113                                print line 
Note: See TracChangeset for help on using the changeset viewer.