-
Notifications
You must be signed in to change notification settings - Fork 0
/
MAIN.html
231 lines (202 loc) · 4.85 KB
/
MAIN.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<html>
<head>
<meta charset="utf-8">
<style>
.float-left {
float: left;
}
.hidden {
visibility: hidden;
}
.display-none {
display: none;
}
.clear-left {
clear: left;
}
.clear-right {
clear: right;
}
.clear-both {
clear: both;
}
h3 {
width: 90%;
margin: auto;
text-align: center;
}
#left-info{
width: 15%;
border: 1px solid black;
padding: 3px;
}
#canvases{
<!--border: 1px solid black;-->
background-color: black;
}
#team-select{
width: 250px;
height: 40px;
}
#control-area-container
{
border: 1px solid black;
padding: 5px;
margin: 5px;
height: 500px;
}
.construct-button
{
float: left;
background-color: skyblue;
border-radius: 5px;
padding: 5px;
margin: 10px;
}
#time-control-area-container
{
width: 35%;
padding-left: 13%;
}
#time-control-button-container
{
width: 100%;
font-size: 3em;
}
.time-button
{
width: 10%;
margin-left: 10%;
margin-right: 10%;
}
table, td
{
border: 1px solid black;
border-collapse: collapse;
border-spacing: 0px;
padding: 5px;
}
table
{
margin: 10px;
}
</style>
</head>
<body>
<div id="left-info" class="float-left">
<div id="tile-info">
<h3>Selected Tile</h3>
<div id="tile-info-inner" class="hidden">
<div>Position: (<span id="tile-info-x"></span>, <span id="tile-info-y"></span>)</div>
<div>Elevation: <span id="tile-info-elevation"></span></div>
<div><span id="tile-info-owner"></span> territory</div>
</div>
</div>
</div>
<div id="canvases" class="float-left">
<!-- Canvases -->
<canvas id="terrain-canvas"></canvas>
<canvas id="territory-canvas"></canvas>
<canvas id="actors-canvas"></canvas>
<canvas id="vision-canvas"></canvas>
<canvas id="seen-canvas"></canvas>
<canvas id="select-canvas"></canvas>
<!-- End Canvases -->
</div>
<div id="control-area-container" class="float-left">
<select id="team-select">
</select>
<div class="control-area display-none">
<select class="sub-control-area-select">
<option value="buildings">Buildings</option>
<option value="units">Units</option>
<option value="research">Research</option>
</select>
<div class="sub-control-area">
<div class="buildings-control-area-container">
<select class="buildings-select">
<option value="construct">Construct</option>
<option value="building-list">Building List</option>
</select>
<div class="buildings-control-area">
<div class="buildings-construct">
</div>
<div class="buildings-list display-none">
<table class="buildings-table">
<tr>
<th>On</th>
<th>Output</th>
</tr>
<tr class="buildings-table-entry-template display-none">
<td class="buildings-table-on-cell">
<input type="checkbox" value="on" /> On
</td>
<td class="buildings-table-output-cell">
Cycle from:
<select class="squad-produce-select-1">
</select>
to
<select class="squad-produce-select-2">
</select>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="units-control-area-container display-none">
Division:
<select class="division-select">
</select>
<div class="units-control-area">
Unit AI stuff goes here
</div>
</div>
<div class="research-control-area-container display-none">
<div class="research-control-area">
Research stuff goes here
</div>
</div>
</div>
</div>
</div>
<div id="time-control-area-container" class="float-left clear-both">
<div id="time-control-button-container">
<div id="play-pause-button" class="time-button float-left">
⏩
</div>
<div id="next-button" class="time-button float-left">
⏯
</div>
</div>
</div>
<div id="loadingMessage"></div>
</body>
</html>
<script src="js/jQuery.js"></script>
<script src="js/Random.js"></script>
<script src="js/functions.js"></script>
<script src="js/GlobalVariables.js"></script>
<script src="js/CalculationFunctions.js"></script>
<script src="js/Game.js"></script>
<script src="js/View.js"></script>
<script src="js/Map.js"></script>
<script src="js/Tile.js"></script>
<script src="js/Cell.js"></script>
<script src="js/Input.js"></script>
<script src="js/Level.js"></script>
<script src="js/Actor.js"></script>
<script src="js/Unit.js"></script>
<script src="js/Building.js"></script>
<script src="js/Producer.js"></script>
<script src="js/BuildingDefinitions.js"></script>
<script src="js/UnitDefinitions.js"></script>
<script src="js/Team.js"></script>
<script src="js/.js"></script>
<script src="js/.js"></script>
<script src="js/.js"></script>
<script src="js/.js"></script>
<script src="js/.js"></script>
<script>
g.initialize();
</script>