Package moul :: Package file :: Module wdysini :: Class GraphicsIni
[hide private]
[frames] | no frames]

Class GraphicsIni



object --+    
         |    
  ConfFile --+
             |
            GraphicsIni

helper for pickle

Instance Methods [hide private]
  _getScreenRes(self)
  _setScreenRes(self, idx)

Inherited from ConfFile: __init__, clear, create, exists, isChanged, read, reset, write

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Variables [hide private]
  _filename = 'graphics.ini'
  _options = {'Graphics.Shadow.Enable': (<type 'int'>, <moul.file...
  _defaults = {'Graphics.Shadow.Enable': 1, 'Graphics.AntiAliasAmo...

Properties [hide private]
  screenres
Screen resolution by index
  windowed
Graphics.Windowed
  antialias
Graphics.AntiAliasAmount
  anisotropic
Graphics.AnisotropicLevel
  texture
Graphics.TextureQuality
  quality
Quality.Level
  shadow_enabled
Graphics.Shadow.Enable
  shadow
Graphics.Shadow.VisibleDistance
  vsync
Graphics.EnableVSync

Inherited from object: __class__


Method Details [hide private]

_getScreenRes(self)

 
None

_setScreenRes(self, idx)

 
None

Class Variable Details [hide private]

_filename

None
Value:
'graphics.ini'                                                         
      

_options

None
Value:
{'Graphics.AnisotropicLevel': (<type 'int'>,
                               <moul.file.wdysini.MinMax object at 0x4
040b80c>),
 'Graphics.AntiAliasAmount': (<type 'int'>,
                              <moul.file.wdysini.MinMax object at 0x40
40b7cc>),
 'Graphics.ColorDepth': (<type 'int'>,
                         <moul.file.wdysini.Constrain object at 0x4003
...                                                                    
      

_defaults

None
Value:
{'Graphics.AnisotropicLevel': 1,
 'Graphics.AntiAliasAmount': 0,
 'Graphics.ColorDepth': 32,
 'Graphics.EnablePlanarReflections': 1,
 'Graphics.EnableVSync': false,
 'Graphics.Height': 600,
 'Graphics.Shadow.Enable': 1,
 'Graphics.Shadow.VisibleDistance': 0.337126016617,
...                                                                    
      

Property Details [hide private]

screenres

Screen resolution by index
Get Method:
moul.file.wdysini.GraphicsIni._getScreenRes(self)
Set Method:
moul.file.wdysini.GraphicsIni._setScreenRes(self, idx)
Delete Method:
None                                                                  
- helper for pickle

windowed

Graphics.Windowed
Get Method:
unreachable(self) - Graphics.Windowed
Set Method:
unreachable(self, v) - Graphics.Windowed
Delete Method:
None                                                                  
- helper for pickle

antialias

Graphics.AntiAliasAmount
Get Method:
unreachable(self) - Graphics.AntiAliasAmount
Set Method:
unreachable(self, v) - Graphics.AntiAliasAmount
Delete Method:
None                                                                  
- helper for pickle

anisotropic

Graphics.AnisotropicLevel
Get Method:
unreachable(self) - Graphics.AnisotropicLevel
Set Method:
unreachable(self, v) - Graphics.AnisotropicLevel
Delete Method:
None                                                                  
- helper for pickle

texture

Graphics.TextureQuality
Get Method:
unreachable(self) - Graphics.TextureQuality
Set Method:
unreachable(self, v) - Graphics.TextureQuality
Delete Method:
None                                                                  
- helper for pickle

quality

Quality.Level
Get Method:
unreachable(self) - Quality.Level
Set Method:
unreachable(self, v) - Quality.Level
Delete Method:
None                                                                  
- helper for pickle

shadow_enabled

Graphics.Shadow.Enable
Get Method:
unreachable(self) - Graphics.Shadow.Enable
Set Method:
unreachable(self, v) - Graphics.Shadow.Enable
Delete Method:
None                                                                  
- helper for pickle

shadow

Graphics.Shadow.VisibleDistance
Get Method:
unreachable(self) - Graphics.Shadow.VisibleDistance
Set Method:
unreachable(self, v) - Graphics.Shadow.VisibleDistance
Delete Method:
None                                                                  
- helper for pickle

vsync

Graphics.EnableVSync
Get Method:
unreachable(self) - Graphics.EnableVSync
Set Method:
unreachable(self, v) - Graphics.EnableVSync
Delete Method:
None                                                                  
- helper for pickle