From: <and...@us...> - 2007-10-22 03:02:16
|
Revision: 448 http://python-ogre.svn.sourceforge.net/python-ogre/?rev=448&view=rev Author: andy_miller Date: 2007-10-21 20:02:20 -0700 (Sun, 21 Oct 2007) Log Message: ----------- Missing files from last commit... Added Paths: ----------- trunk/python-ogre/demos/PythonOgreConfig.py trunk/python-ogre/demos/SampleFramework.py Added: trunk/python-ogre/demos/PythonOgreConfig.py =================================================================== --- trunk/python-ogre/demos/PythonOgreConfig.py (rev 0) +++ trunk/python-ogre/demos/PythonOgreConfig.py 2007-10-22 03:02:20 UTC (rev 448) @@ -0,0 +1,9 @@ +# +# a single config file that is imported 'first' by the Python-Ogre demos +# this is primarly used to manage Linux demos when we have binaries in non standard (safe) locations + +import os,sys +if os.name != 'nt': + libpath="" + pythonpath = "" + \ No newline at end of file Added: trunk/python-ogre/demos/SampleFramework.py =================================================================== --- trunk/python-ogre/demos/SampleFramework.py (rev 0) +++ trunk/python-ogre/demos/SampleFramework.py 2007-10-22 03:02:20 UTC (rev 448) @@ -0,0 +1,14 @@ +# This code is in the Public Domain +# + +import ogre.renderer.OGRE as ogre + +# We don't use the verisons but it's nice to set them up... +ogre.OgreVersion = ogre.GetOgreVersion() +ogre.OgreVersionString = ogre.OgreVersion[0] + ogre.OgreVersion[1] + ogre.OgreVersion[2] +ogre.PythonOgreVersion = ogre.GetPythonOgreVersion() + +from ogre.renderer.OGRE.sf_OIS import * + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |