lib/dxruby_sdl.rb in dxruby_sdl-0.0.3 vs lib/dxruby_sdl.rb in dxruby_sdl-0.0.4

- old
+ new

@@ -200,15 +200,25 @@ M_RBUTTON M_MBUTTON ].each.with_index do |name, i| const_set(name.to_sym, i) end + + %w[ + WAVE_SIN + WAVE_SAW + WAVE_TRI + WAVE_RECT + ].each.with_index do |name, i| + const_set(name.to_sym, i) + end end require 'dxruby_sdl/window' require 'dxruby_sdl/color' require 'dxruby_sdl/image' require 'dxruby_sdl/font' require 'dxruby_sdl/input' require 'dxruby_sdl/sound' +require 'dxruby_sdl/sound_effect' SDL.init(SDL::INIT_EVERYTHING)