-
Notifications
You must be signed in to change notification settings - Fork 0
/
i-mic-rts.rb
executable file
·64 lines (52 loc) · 1.83 KB
/
i-mic-rts.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env ruby
begin
require_relative "../cyberarm_engine/lib/cyberarm_engine"
rescue LoadError
require "cyberarm_engine"
end
require "json"
require "socket"
require "digest/sha2"
require "nokogiri"
require_relative "lib/exts/string"
require_relative "lib/version"
require_relative "lib/errors"
require_relative "lib/window"
require_relative "lib/camera"
require_relative "lib/setting"
require_relative "lib/team_colors"
require_relative "lib/constants"
require_relative "lib/game_save"
require_relative "lib/states/boot"
require_relative "lib/states/game"
require_relative "lib/states/closing"
require_relative "lib/states/menus/main_menu"
require_relative "lib/states/menus/credits_menu"
require_relative "lib/states/menus/settings_menu"
require_relative "lib/states/menus/pause_menu"
require_relative "lib/states/menus/load_menu"
require_relative "lib/states/menus/multiplayer_menu"
require_relative "lib/states/menus/solo_lobby_menu"
require_relative "lib/states/menus/multiplayer_lobby_menu"
require_relative "lib/zorder"
require_relative "lib/component"
require_relative "lib/particle_emitter"
require_relative "lib/entity"
require_relative "lib/map"
require_relative "lib/tiled_map"
require_relative "lib/visiblity_map"
require_relative "lib/pathfinder"
require_relative "lib/order"
require_relative "lib/friendly_hash"
require_relative "lib/director"
require_relative "lib/player"
require_relative "lib/ai/ai_player"
require_relative "lib/tool"
require_relative "lib/connection"
require_relative "lib/networking/protocol"
require_relative "lib/networking/packet"
require_relative "lib/networking/server"
require_relative "lib/networking/client"
require_relative "lib/networking/connection"
IMICRTS::Setting.setup
IMICRTS::Window.new(width: Gosu.screen_width / 4 * 3, height: Gosu.screen_height / 4 * 3, fullscreen: false, resizable: true).show