Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (27 sloc) 774 Bytes
require 'rubygems'
#require 'zenoptimize'
ADDITIONAL_LOAD_PATHS = []
ADDITIONAL_LOAD_PATHS.concat %w(
src
src/components
src/gui
lib
lib/ruby3d
config
).map { |dir| File.dirname(__FILE__) + "/../" + dir }.select { |dir| File.directory?(dir) }
ADDITIONAL_LOAD_PATHS.each do |path|
$:.push path
end
# WHY DO I NEED THIS TO RUN ruby -w
#$:.push "/usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1"
APP_ROOT = File.dirname(__FILE__) + "/../"
DATA_PATH = APP_ROOT + "data/"
GDATA_PATH = APP_ROOT + "glob2_data/"
ENTITY_DATA_PATH = DATA_PATH + "gameplay/"
MAP_PATH = APP_ROOT + "maps/"
CONFIG_PATH = APP_ROOT + "config/"
GFX_PATH = DATA_PATH + "gfx/"
CAMPAIGN_PATH = DATA_PATH + "campaigns/"
require 'metaclass'
require 'attribute'
SNELPS_VERSION = "0.0.3"
Jump to Line
Something went wrong with that request. Please try again.