Presets are now actually created, added notifications when creating preset.

This commit is contained in:
2021-02-09 23:08:49 -06:00
parent 988ef506ce
commit ab55e8db5b
8 changed files with 99 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
require_relative "../cyberarm_engine/lib/cyberarm_engine"
require "gosu_notifications"
require "socket"
require "securerandom"
require "json"
@@ -48,7 +49,8 @@ require_relative "lib/tacnet/server"
# Thread.abort_on_exception = true
USE_REDESIGN = ARGV.include?("--redesign")
BORDERLESS = ARGV.include?("--borderless")
if not defined?(Ocra)
TAC::Window.new(width: (Gosu.screen_width * 0.8).round, height: (Gosu.screen_height * 0.8).round, resizable: true, borderless: false).show
TAC::Window.new(width: (Gosu.screen_width * 0.8).round, height: (Gosu.screen_height * 0.8).round, resizable: true, borderless: BORDERLESS).show
end