mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Fixed some warnings, moved Subcommand into its own file, added support for subcommand and subcommand options autocomplete in Console, added texture ids to Model vertex buffer object
This commit is contained in:
@@ -23,13 +23,13 @@ when :OPENGL_PLATFORM_MACOSX
|
||||
when :OPENGL_PLATFORM_LINUX
|
||||
gl_library_path = nil
|
||||
|
||||
if File.exists?("/usr/lib/x86_64-linux-gnu/libGL.so") # Ubuntu (Debian)
|
||||
if File.exist?("/usr/lib/x86_64-linux-gnu/libGL.so") # Ubuntu (Debian)
|
||||
gl_library_path = "/usr/lib/x86_64-linux-gnu"
|
||||
|
||||
elsif File.exists?("/usr/lib/libGL.so") # Manjaro (ARCH)
|
||||
elsif File.exist?("/usr/lib/libGL.so") # Manjaro (ARCH)
|
||||
gl_library_path = "/usr/lib"
|
||||
|
||||
elsif File.exists?("/usr/lib/arm-linux-gnueabihf/libGL.so") # Raspbian (ARM/Raspberry Pi)
|
||||
elsif File.exist?("/usr/lib/arm-linux-gnueabihf/libGL.so") # Raspbian (ARM/Raspberry Pi)
|
||||
gl_library_path = "/usr/lib/arm-linux-gnueabihf"
|
||||
end
|
||||
|
||||
@@ -86,6 +86,7 @@ require_relative "lib/states/game_state"
|
||||
require_relative "lib/ui/menu"
|
||||
|
||||
require_relative "lib/ui/command"
|
||||
require_relative "lib/ui/subcommand"
|
||||
Dir.glob("#{IMICFPS::GAME_ROOT_PATH}/lib/ui/commands/*.rb").each do |cmd|
|
||||
require_relative cmd
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user