constants.py (865B)
1 ### EXESOFT PYIGNITION ### 2 # Copyright David Barker 2010 3 # 4 # Global constants module 5 6 7 # Which version is this? 8 PYIGNITION_VERSION = 1.0 9 10 # Drawtype constants 11 DRAWTYPE_POINT = 100 12 DRAWTYPE_CIRCLE = 101 13 DRAWTYPE_LINE = 102 14 DRAWTYPE_SCALELINE = 103 15 DRAWTYPE_BUBBLE = 104 16 DRAWTYPE_IMAGE = 105 17 18 # Interpolation type constants 19 INTERPOLATIONTYPE_LINEAR = 200 20 INTERPOLATIONTYPE_COSINE = 201 21 22 # Gravity constants 23 UNIVERSAL_CONSTANT_OF_MAKE_GRAVITY_LESS_STUPIDLY_SMALL = 1000.0 # Well, Newton got one to make it less stupidly large. 24 VORTEX_ACCELERATION = 0.01 # A tiny value added to the centripetal force exerted by vortex gravities to draw in particles 25 VORTEX_SWALLOWDIST = 20.0 # Particles closer than this will be swallowed up and regurgitated in the bit bucket 26 27 # Fraction of radius which can go inside an object 28 RADIUS_PERMITTIVITY = 0.3