mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-09-19 14:53:49 +00:00
SDL3 stuff
This commit is contained in:
@@ -19,6 +19,9 @@ require "digest/crc"
|
||||
require "ircparser"
|
||||
require "zip"
|
||||
require "chunky_png"
|
||||
require "sdl3"
|
||||
|
||||
require_relative "lib/gosu_ext"
|
||||
|
||||
require_relative "lib/version"
|
||||
require_relative "lib/constants"
|
||||
@@ -69,6 +72,13 @@ module W3DHubLauncher
|
||||
WORKER.connect
|
||||
end
|
||||
|
||||
SDL.load_lib("SDL3")
|
||||
|
||||
window = W3DHubLauncher::Window.new(width: 1280, height: 800, resizable: true)
|
||||
# window = W3DHubLauncher::Window.new(width: 1920, height: 1080, resizable: true)
|
||||
|
||||
# Gosu.choose_file do |files|
|
||||
# pp files
|
||||
# end
|
||||
|
||||
window.show
|
||||
|
||||
Reference in New Issue
Block a user