shattered_ogre 0.3.1-i386-mswin32 → 0.3.2-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -3,10 +3,25 @@ def platform
3
3
  return `ruby -e "puts PLATFORM"`.chomp if PLATFORM =~ /darwin/
4
4
  return PLATFORM
5
5
  end
6
- SHATTERED_OGRE_DLLS = File.expand_path(File.dirname(__FILE__)+"/"+PLATFORM)
7
- # ShatteredOgre.dll will search all ENV["PATH"]s for OgreMain.dll.
8
- if PLATFORM =~ /mswin/
6
+
7
+ SHATTERED_OGRE_DLLS = File.expand_path(File.dirname(__FILE__)+"/"+platform)
8
+
9
+ $: << SHATTERED_OGRE_DLLS + "/"
10
+
11
+ if platform =~ /mswin/
12
+ # ShatteredOgre.dll will search all ENV["PATH"]s for OgreMain.dll.
9
13
  ENV["PATH"] += ";" + SHATTERED_OGRE_DLLS
14
+ elsif platform =~ /linux/ and ENV["LD_PATH_SET"] != "true"
15
+ # Linux likes the LD_LIBRARY_PATH variable when looking for libraries.
16
+ # However, the path needs to be set, and then the app restarted for this
17
+ # to take effect. Without this, ShatteredOgre won't load, and the app
18
+ # would crash with a 'missing constant ResourceLoader'
19
+ ENV["LD_LIBRARY_PATH"] ||= ""
20
+ ENV["LD_LIBRARY_PATH"] = SHATTERED_OGRE_DLLS + ":" + ENV["LD_LIBRARY_PATH"]
21
+ ENV["LD_PATH_SET"] = "true"
22
+
23
+ exec "ruby #{$0}"
10
24
  end
11
25
 
12
- require "#{File.expand_path(File.dirname(__FILE__)+'/'+platform)}/ShatteredOgre"
26
+ require("ShatteredOgre")
27
+
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: shattered_ogre
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.1
7
- date: 2006-05-17 00:00:00 -05:00
6
+ version: 0.3.2
7
+ date: 2006-06-04 00:00:00 -05:00
8
8
  summary: "Shattered Ogre: Ogre/Swig bindings for any language."
9
9
  require_paths:
10
10
  - lib
@@ -29,22 +29,16 @@ cert_chain:
29
29
  authors: []
30
30
 
31
31
  files:
32
- - lib/i386-mswin32/CEGUIBase.dll
33
- - lib/i386-mswin32/CEGUIFalagardBase.dll
34
- - lib/i386-mswin32/CEGUITaharezLook.dll
35
- - lib/i386-mswin32/CEGUIWindowsLook.dll
36
32
  - lib/i386-mswin32/cg.dll
37
33
  - lib/i386-mswin32/devil.dll
38
34
  - lib/i386-mswin32/ilu.dll
39
35
  - lib/i386-mswin32/ILUT.dll
40
- - lib/i386-mswin32/media.cfg
41
36
  - lib/i386-mswin32/msvcm80.dll
42
37
  - lib/i386-mswin32/msvcp80.dll
43
38
  - lib/i386-mswin32/msvcr80.dll
44
39
  - lib/i386-mswin32/OgreGUIRenderer.dll
45
40
  - lib/i386-mswin32/OgreMain.dll
46
41
  - lib/i386-mswin32/OgrePlatform.dll
47
- - lib/i386-mswin32/Plugins.cfg
48
42
  - lib/i386-mswin32/Plugin_BSPSceneManager.dll
49
43
  - lib/i386-mswin32/Plugin_CgProgramManager.dll
50
44
  - lib/i386-mswin32/Plugin_OctreeSceneManager.dll
@@ -52,7 +46,6 @@ files:
52
46
  - lib/i386-mswin32/RenderSystem_Direct3D7.dll
53
47
  - lib/i386-mswin32/RenderSystem_Direct3D9.dll
54
48
  - lib/i386-mswin32/RenderSystem_GL.dll
55
- - lib/i386-mswin32/resources.cfg
56
49
  - lib/i386-mswin32/ShatteredOgre.dll
57
50
  - lib/i386-mswin32/ShatteredOgre.dll.manifest
58
51
  - lib/i386-mswin32/xerces-c_2_5_0.dll
Binary file
Binary file
Binary file
Binary file
@@ -1,14 +0,0 @@
1
- # Defines plugins to load
2
-
3
- # Define plugin folder
4
- PluginFolder=.
5
-
6
- # Define plugins
7
- Plugin=RenderSystem_Direct3D9
8
- Plugin=RenderSystem_GL
9
- Plugin=Plugin_ParticleFX
10
- Plugin=Plugin_BSPSceneManager
11
- Plugin=Plugin_OctreeSceneManager
12
- Plugin=Plugin_CgProgramManager
13
-
14
-
@@ -1,16 +0,0 @@
1
- Mesh=ogrehead.mesh
2
- Mesh=geosphere4500.mesh
3
- Mesh=razor.mesh
4
- Mesh=knot.mesh
5
- Mesh=RZR-002.mesh
6
- Mesh=geosphere8000.mesh
7
- Mesh=sphere.mesh
8
-
9
- CubeMap=cubescene.jpg
10
- CubeMap=early_morning.jpg
11
- CubeMap=cubemap.jpg
12
- CubeMap=morning.jpg
13
- CubeMap=cloudy_noon.jpg
14
- CubeMap=evening.jpg
15
- CubeMap=stormy.jpg
16
- CubeMap=stevecube.jpg
@@ -1,23 +0,0 @@
1
- # Resource locations to be added to the 'boostrap' path
2
- # This also contains the minimum you need to use the Ogre example framework
3
- [Bootstrap]
4
- Zip=../../media/packs/OgreCore.zip
5
-
6
- # Resource locations to be added to the default path
7
- [General]
8
- FileSystem=../../media
9
- FileSystem=../../media/fonts
10
- FileSystem=../../media/materials/programs
11
- FileSystem=../../media/materials/scripts
12
- FileSystem=../../media/materials/textures
13
- FileSystem=../../media/models
14
- FileSystem=../../media/overlays
15
- FileSystem=../../media/particle
16
- FileSystem=../../media/gui
17
- FileSystem=../../media/DeferredShadingMedia
18
- Zip=../../media/packs/cubemap.zip
19
- Zip=../../media/packs/cubemapsJS.zip
20
- Zip=../../media/packs/dragon.zip
21
- Zip=../../media/packs/fresneldemo.zip
22
- Zip=../../media/packs/ogretestmap.zip
23
- Zip=../../media/packs/skybox.zip