@gamely/gly-engine-nano 0.1.7 → 0.1.8
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/dist/main.lua +28 -28
- package/package.json +1 -1
package/dist/main.lua
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
local
|
|
2
|
-
local function
|
|
3
|
-
local version =
|
|
4
|
-
local engine_key =
|
|
5
|
-
local engine_api_draw_text =
|
|
6
|
-
local engine_api_draw_poly =
|
|
7
|
-
local color =
|
|
8
|
-
local std =
|
|
9
|
-
local eval_code =
|
|
1
|
+
local b_c22 = {0,0,0,0,0,0,0,0}
|
|
2
|
+
local function main_c22()
|
|
3
|
+
local version = b_c22[1]('source_version')
|
|
4
|
+
local engine_key = b_c22[2]('source_engine_api_system_key')
|
|
5
|
+
local engine_api_draw_text = b_c22[3]('source_engine_api_draw_text')
|
|
6
|
+
local engine_api_draw_poly = b_c22[4]('source_engine_api_draw_poly')
|
|
7
|
+
local color = b_c22[5]('source_engine_api_system_color')
|
|
8
|
+
local std = b_c22[6]('source_shared_var_object_std')
|
|
9
|
+
local eval_code = b_c22[7]('source_shared_string_eval_code')
|
|
10
10
|
local f=function(a,b)end
|
|
11
11
|
local engine={keyboard=f}
|
|
12
12
|
local application={
|
|
@@ -103,10 +103,10 @@ version=version
|
|
|
103
103
|
}
|
|
104
104
|
return P
|
|
105
105
|
end
|
|
106
|
-
|
|
107
|
-
return '0.1.
|
|
108
|
-
end)() or false;
|
|
109
|
-
|
|
106
|
+
b_c22[1] = function() local c = (function()
|
|
107
|
+
return '0.1.8'
|
|
108
|
+
end)() or false;b_c22[1] = function() return c end return c end
|
|
109
|
+
b_c22[2] = function() local c = (function()
|
|
110
110
|
local function real_key(std, engine, rkey, rvalue)
|
|
111
111
|
local value = rvalue == 1 or rvalue == true
|
|
112
112
|
local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
|
|
@@ -141,9 +141,9 @@ local P = {
|
|
|
141
141
|
install = install
|
|
142
142
|
}
|
|
143
143
|
return P
|
|
144
|
-
end)() or false;
|
|
145
|
-
|
|
146
|
-
local util_decorator =
|
|
144
|
+
end)() or false;b_c22[2] = function() return c end return c end
|
|
145
|
+
b_c22[3] = function() local c = (function()
|
|
146
|
+
local util_decorator = b_c22[8]('source_shared_functional_decorator')
|
|
147
147
|
local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
|
|
148
148
|
size = size or 2
|
|
149
149
|
local hem = engine.current.data.width / 80
|
|
@@ -170,8 +170,8 @@ local P = {
|
|
|
170
170
|
install=install
|
|
171
171
|
}
|
|
172
172
|
return P
|
|
173
|
-
end)() or false;
|
|
174
|
-
|
|
173
|
+
end)() or false;b_c22[3] = function() return c end return c end
|
|
174
|
+
b_c22[4] = function() local c = (function()
|
|
175
175
|
local function decorator_poo(object, func)
|
|
176
176
|
if not object or not func then return func end
|
|
177
177
|
return function(a, b, c, d)
|
|
@@ -276,8 +276,8 @@ local P = {
|
|
|
276
276
|
install=install
|
|
277
277
|
}
|
|
278
278
|
return P
|
|
279
|
-
end)() or false;
|
|
280
|
-
|
|
279
|
+
end)() or false;b_c22[4] = function() return c end return c end
|
|
280
|
+
b_c22[5] = function() local c = (function()
|
|
281
281
|
local function install(std)
|
|
282
282
|
std.color = std.color or {}
|
|
283
283
|
std.color.white = 0xFFFFFFFF
|
|
@@ -310,8 +310,8 @@ local P = {
|
|
|
310
310
|
install = install
|
|
311
311
|
}
|
|
312
312
|
return P
|
|
313
|
-
end)() or false;
|
|
314
|
-
|
|
313
|
+
end)() or false;b_c22[5] = function() return c end return c end
|
|
314
|
+
b_c22[6] = function() local c = (function()
|
|
315
315
|
local P = {
|
|
316
316
|
milis = 0,
|
|
317
317
|
delta = 0,
|
|
@@ -377,8 +377,8 @@ any=false
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
return P;
|
|
380
|
-
end)() or false;
|
|
381
|
-
|
|
380
|
+
end)() or false;b_c22[6] = function() return c end return c end
|
|
381
|
+
b_c22[7] = function() local c = (function()
|
|
382
382
|
local function script(src)
|
|
383
383
|
local loader = loadstring or load
|
|
384
384
|
if not loader then
|
|
@@ -397,8 +397,8 @@ local P = {
|
|
|
397
397
|
script = script,
|
|
398
398
|
}
|
|
399
399
|
return P
|
|
400
|
-
end)() or false;
|
|
401
|
-
|
|
400
|
+
end)() or false;b_c22[7] = function() return c end return c end
|
|
401
|
+
b_c22[8] = function() local c = (function()
|
|
402
402
|
local function decorator_prefix3(zig, zag, zom, func)
|
|
403
403
|
return function (a, b, c, d, e, f)
|
|
404
404
|
return func(zig, zag, zom, a, b, c, d, e, f)
|
|
@@ -454,5 +454,5 @@ prefix1 = decorator_prefix1,
|
|
|
454
454
|
prefix1_t = table_prefix1
|
|
455
455
|
}
|
|
456
456
|
return P
|
|
457
|
-
end)() or false;
|
|
458
|
-
return
|
|
457
|
+
end)() or false;b_c22[8] = function() return c end return c end
|
|
458
|
+
return main_c22()
|