wgge 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/audio/AudioRenderer.js +14 -11
- package/core/renderer/canvas/ImageCanvasRenderer.js +8 -5
- package/core/renderer/dom/ImageDomRenderer.js +7 -4
- package/game/GameController.js +0 -2
- package/game/GameModel.js +0 -7
- package/game/GameRenderer.js +0 -13
- package/game/resources/ResourcesModel.js +5 -8
- package/game/resources/assets/AssetCache.js +7 -29
- package/package.json +1 -1
- package/style/style.less +0 -1
- package/editor/EditorController.js +0 -134
- package/editor/EditorModel.js +0 -38
- package/editor/EditorRenderer.js +0 -116
- package/editor/form/NodeFormRenderer.js +0 -180
- package/editor/table/TableRenderer.js +0 -123
- package/editor/table/lookup/TableLookupRenderer.js +0 -120
- package/editor/table/row/TableRowRenderer.js +0 -98
- package/game/save/editor/SaveGameEditorRenderer.js +0 -17
- package/style/basic/editor.less +0 -290
package/style/basic/editor.less
DELETED
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
.instant-editor {
|
|
2
|
-
display: block;
|
|
3
|
-
position: static;
|
|
4
|
-
padding: 1px;
|
|
5
|
-
margin: 1px;
|
|
6
|
-
|
|
7
|
-
input[type=text],
|
|
8
|
-
textarea {
|
|
9
|
-
display: block;
|
|
10
|
-
width: 100%;
|
|
11
|
-
margin: auto;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.table-lookup {
|
|
16
|
-
background-color: black;
|
|
17
|
-
color: gray;
|
|
18
|
-
|
|
19
|
-
.buttons {
|
|
20
|
-
input {
|
|
21
|
-
margin: 2px !important;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
button {
|
|
25
|
-
background-color: gray !important;
|
|
26
|
-
color: black !important;
|
|
27
|
-
font-weight: normal !important;
|
|
28
|
-
box-shadow: none !important;
|
|
29
|
-
border-radius: 2px !important;
|
|
30
|
-
padding: 2px !important;
|
|
31
|
-
margin: 2px !important;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.scroll {
|
|
36
|
-
overflow-y: auto;
|
|
37
|
-
overflow-x: hidden;
|
|
38
|
-
max-height: 400px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.row {
|
|
42
|
-
display: flex !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
tr.active {
|
|
46
|
-
color: white;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.force-foreground {
|
|
51
|
-
position: fixed;
|
|
52
|
-
z-index: 9999999;
|
|
53
|
-
top: 20%;
|
|
54
|
-
left: 40%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.editor-section {
|
|
58
|
-
background-color: black;
|
|
59
|
-
color: gray;
|
|
60
|
-
|
|
61
|
-
button {
|
|
62
|
-
background-color: gray !important;
|
|
63
|
-
color: black !important;
|
|
64
|
-
font-weight: normal !important;
|
|
65
|
-
box-shadow: none !important;
|
|
66
|
-
border-radius: 2px !important;
|
|
67
|
-
padding: 2px !important;
|
|
68
|
-
margin: 2px !important;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.editor-layer {
|
|
73
|
-
font-family: monospace;
|
|
74
|
-
position: absolute;
|
|
75
|
-
top: 0;
|
|
76
|
-
left: 0;
|
|
77
|
-
max-height: 100%;
|
|
78
|
-
overflow: hidden;
|
|
79
|
-
cursor: default;
|
|
80
|
-
|
|
81
|
-
.editor {
|
|
82
|
-
background-color: transparent;
|
|
83
|
-
font-size: 10pt;
|
|
84
|
-
position: fixed;
|
|
85
|
-
|
|
86
|
-
.bg {
|
|
87
|
-
background-color: black;
|
|
88
|
-
color: gray;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
ul.menu {
|
|
92
|
-
padding: 0;
|
|
93
|
-
margin: 0;
|
|
94
|
-
|
|
95
|
-
a:hover {
|
|
96
|
-
color: lightblue;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.active {
|
|
101
|
-
color: white;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
li {
|
|
105
|
-
padding: 4px;
|
|
106
|
-
list-style: none;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.buttons {
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: row;
|
|
113
|
-
justify-content: space-between;
|
|
114
|
-
|
|
115
|
-
& > div {
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: row;
|
|
118
|
-
justify-content: start;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
input {
|
|
122
|
-
margin: @m-1;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
button {
|
|
127
|
-
background-color: gray;
|
|
128
|
-
color: black;
|
|
129
|
-
border: 0;
|
|
130
|
-
border-radius: 5px;
|
|
131
|
-
cursor: pointer;
|
|
132
|
-
margin: @m-1;
|
|
133
|
-
|
|
134
|
-
&.active {
|
|
135
|
-
background-color: black;
|
|
136
|
-
color: white;
|
|
137
|
-
border: 1px white solid;
|
|
138
|
-
cursor: default;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&:hover {
|
|
142
|
-
background-color: lightblue;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&.special {
|
|
146
|
-
background-color: @light-brown;
|
|
147
|
-
color: @dark-brown;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.red {
|
|
151
|
-
background-color: red;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.blue {
|
|
155
|
-
background-color: lightblue;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.dock {
|
|
160
|
-
width: 100%;
|
|
161
|
-
display: flex;
|
|
162
|
-
flex-direction: row;
|
|
163
|
-
align-items: flex-start;
|
|
164
|
-
justify-content: space-between;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.table,
|
|
168
|
-
form,
|
|
169
|
-
.item-def {
|
|
170
|
-
border: 1px gray solid;
|
|
171
|
-
border-radius: 5px;
|
|
172
|
-
margin: 10px;
|
|
173
|
-
padding: 10px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.grab-icon {
|
|
177
|
-
cursor: move;
|
|
178
|
-
opacity: 0.5;
|
|
179
|
-
|
|
180
|
-
&::after {
|
|
181
|
-
content: "■";
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.table .scroll,
|
|
186
|
-
form .scroll {
|
|
187
|
-
display: block;
|
|
188
|
-
overflow-y: auto;
|
|
189
|
-
overflow-x: hidden;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.table .scroll {
|
|
193
|
-
max-height: 200px;
|
|
194
|
-
max-width: 700px;
|
|
195
|
-
overflow-x: auto;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
form .scroll {
|
|
199
|
-
max-height: 563px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
table {
|
|
203
|
-
margin-right: 20px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
table td {
|
|
207
|
-
border-left: 1px gray solid;
|
|
208
|
-
white-space: nowrap;
|
|
209
|
-
max-height: 1em;
|
|
210
|
-
overflow: hidden;
|
|
211
|
-
text-overflow: ellipsis;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
table td:last-of-type {
|
|
215
|
-
border-right: 1px gray solid;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
table tr:hover > td {
|
|
219
|
-
color: lightblue;
|
|
220
|
-
cursor: pointer;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
table tr.active > td {
|
|
224
|
-
color: white;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
form .fields .row {
|
|
228
|
-
display: grid;
|
|
229
|
-
grid-template-columns: 1fr 4fr;
|
|
230
|
-
gap: 10px;
|
|
231
|
-
margin-bottom: @m-1;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
form .fields .row .field {
|
|
235
|
-
display: flex;
|
|
236
|
-
align-content: stretch;
|
|
237
|
-
flex-direction: column;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
form .fields .row .field.with-lookup {
|
|
241
|
-
flex-direction: row;
|
|
242
|
-
align-items: center;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
form .fields .row .field.with-lookup .lookup-button {
|
|
246
|
-
margin: 0;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
form .fields .row input {
|
|
250
|
-
display: block;
|
|
251
|
-
width: auto;
|
|
252
|
-
margin-right: 10px;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
form .fields .row input[type=checkbox] {
|
|
256
|
-
align-self: start;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
form .fields .row .vector {
|
|
260
|
-
flex-direction: row;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
form .fields .row .vector input {
|
|
264
|
-
width: 100px;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.battle-menu {
|
|
268
|
-
position: fixed;
|
|
269
|
-
right: 20px;
|
|
270
|
-
top: 20px;
|
|
271
|
-
padding: @m-2;
|
|
272
|
-
|
|
273
|
-
input[type=text] {
|
|
274
|
-
width: 50px;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
input[type=radio] {
|
|
278
|
-
margin: 0;
|
|
279
|
-
padding: @m-1;
|
|
280
|
-
display: inline-block;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
label {
|
|
284
|
-
padding: @m-1;
|
|
285
|
-
display: inline-block;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
}
|