Sha256: f4b03cea57e06d0bd9e633cbfd4b710be6aff5d9f0ee06df21128b6daba93c25

Contents?: true

Size: 699 Bytes

Versions: 4

Compression:

Stored size: 699 Bytes

Contents

require File.dirname(__FILE__)+'/platform'

$LOAD_PATH << File.expand_path(File.dirname(__FILE__))
$LOAD_PATH << File.expand_path(File.dirname(__FILE__) + "/lib")

# Ruby always looks for .so first, instead of .dll if on windows.
# So, force .dll on windows environments
if Platform.windows?
  require 'env'
  
  ENV["path"]+=";"+File.dirname(__FILE__)+"/../Ogre"
	require 'lib/ogre.dll'
	require 'lib/ruby_ois.dll'
#	require 'lib/navi.dll'

else
	require 'lib/ogre'
	require 'lib/ruby_ois'
end

# Ick, fix this? Doing this because the native OIS binary is infact
# named OIS.dll, and was causing conflicts on my system.
module OIS
  include Ruby_ois
end

require 'constants'
require 'method_fixes'

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ogre.rb-0.2-i686-linux ogre.rb
ogre.rb-0.2-i386-mswin32 ogre.rb
ogre.rb-0.2-x86_64-linux ogre.rb
shattered_ogrerb-0.5.1 vendor/ogrerb/ogre.rb