@gamely/gly-engine-micro 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/dist/main.lua +47 -47
  2. package/package.json +1 -1
package/dist/main.lua CHANGED
@@ -1,32 +1,32 @@
1
1
  local math = ((function() local x, y = pcall(require, 'math'); return x and y end)()) or _G.math
2
- local source_version_13dc = nil
3
- local source_engine_api_system_app_13ee = nil
4
- local source_engine_api_system_key_13f9 = nil
5
- local source_engine_api_math_basic_1404 = nil
6
- local source_engine_api_math_clib_140f = nil
7
- local source_engine_api_math_random_141a = nil
8
- local source_engine_api_data_array_1425 = nil
9
- local source_engine_api_draw_text_1430 = nil
10
- local source_engine_api_draw_poly_143b = nil
11
- local source_engine_api_raw_memory_1446 = nil
12
- local source_engine_api_system_color_1458 = nil
13
- local source_shared_var_object_std_1463 = nil
14
- local source_shared_string_eval_code_1475 = nil
15
- local source_shared_functional_decorator_17f6 = nil
16
- local function main_13d3()
17
- local version = source_version_13dc()
18
- local engine_game = source_engine_api_system_app_13ee()
19
- local engine_key = source_engine_api_system_key_13f9()
20
- local engine_math = source_engine_api_math_basic_1404()
21
- local engine_math_clib = source_engine_api_math_clib_140f()
22
- local engine_math_random = source_engine_api_math_random_141a()
23
- local engine_array = source_engine_api_data_array_1425()
24
- local engine_api_draw_text = source_engine_api_draw_text_1430()
25
- local engine_api_draw_poly = source_engine_api_draw_poly_143b()
26
- local engine_raw_memory = source_engine_api_raw_memory_1446()
27
- local color = source_engine_api_system_color_1458()
28
- local std = source_shared_var_object_std_1463()
29
- local eval_code = source_shared_string_eval_code_1475()
2
+ local source_version_1438 = nil
3
+ local source_engine_api_system_app_144a = nil
4
+ local source_engine_api_system_key_1455 = nil
5
+ local source_engine_api_math_basic_1460 = nil
6
+ local source_engine_api_math_clib_146b = nil
7
+ local source_engine_api_math_random_1476 = nil
8
+ local source_engine_api_data_array_1481 = nil
9
+ local source_engine_api_draw_text_148c = nil
10
+ local source_engine_api_draw_poly_1497 = nil
11
+ local source_engine_api_raw_memory_14a2 = nil
12
+ local source_engine_api_system_color_14b4 = nil
13
+ local source_shared_var_object_std_14bf = nil
14
+ local source_shared_string_eval_code_14d1 = nil
15
+ local source_shared_functional_decorator_1856 = nil
16
+ local function main_142f()
17
+ local version = source_version_1438()
18
+ local engine_game = source_engine_api_system_app_144a()
19
+ local engine_key = source_engine_api_system_key_1455()
20
+ local engine_math = source_engine_api_math_basic_1460()
21
+ local engine_math_clib = source_engine_api_math_clib_146b()
22
+ local engine_math_random = source_engine_api_math_random_1476()
23
+ local engine_array = source_engine_api_data_array_1481()
24
+ local engine_api_draw_text = source_engine_api_draw_text_148c()
25
+ local engine_api_draw_poly = source_engine_api_draw_poly_1497()
26
+ local engine_raw_memory = source_engine_api_raw_memory_14a2()
27
+ local color = source_engine_api_system_color_14b4()
28
+ local std = source_shared_var_object_std_14bf()
29
+ local eval_code = source_shared_string_eval_code_14d1()
30
30
  local f=function(a,b)end
31
31
  local engine={keyboard=f}
32
32
  local application={
@@ -141,12 +141,12 @@ version=version
141
141
  }
142
142
  return P
143
143
  end
144
- source_version_13dc = function()
145
- return '0.2.5'
144
+ source_version_1438 = function()
145
+ return '0.2.6'
146
146
  end
147
147
  --
148
- source_engine_api_system_app_13ee = function()
149
- local util_decorator = source_shared_functional_decorator_17f6()
148
+ source_engine_api_system_app_144a = function()
149
+ local util_decorator = source_shared_functional_decorator_1856()
150
150
  local function reset(std, engine)
151
151
  if std.node then
152
152
  std.bus.emit('exit')
@@ -186,7 +186,7 @@ install=install
186
186
  return P
187
187
  end
188
188
  --
189
- source_engine_api_system_key_13f9 = function()
189
+ source_engine_api_system_key_1455 = function()
190
190
  local function real_key(std, engine, rkey, rvalue)
191
191
  local value = rvalue == 1 or rvalue == true
192
192
  local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
@@ -223,7 +223,7 @@ install = install
223
223
  return P
224
224
  end
225
225
  --
226
- source_engine_api_math_basic_1404 = function()
226
+ source_engine_api_math_basic_1460 = function()
227
227
  local function abs(value)
228
228
  if value < 0 then
229
229
  return -value
@@ -322,7 +322,7 @@ install = install
322
322
  return P
323
323
  end
324
324
  --
325
- source_engine_api_math_clib_140f = function()
325
+ source_engine_api_math_clib_146b = function()
326
326
  local function install(std)
327
327
  assert(math and (1/2 ~= 0))
328
328
  std.math = std.math or {}
@@ -358,7 +358,7 @@ install = install
358
358
  return P
359
359
  end
360
360
  --
361
- source_engine_api_math_random_141a = function()
361
+ source_engine_api_math_random_1476 = function()
362
362
  local function install(std)
363
363
  assert(math and (1/2 ~= 0))
364
364
  std.math = std.math or {}
@@ -375,8 +375,8 @@ install = install
375
375
  return P
376
376
  end
377
377
  --
378
- source_engine_api_data_array_1425 = function()
379
- local util_decorator = source_shared_functional_decorator_17f6()
378
+ source_engine_api_data_array_1481 = function()
379
+ local util_decorator = source_shared_functional_decorator_1856()
380
380
  local function array_map(array, func)
381
381
  local res = {}
382
382
  local index = 1
@@ -537,8 +537,8 @@ install = install
537
537
  return P
538
538
  end
539
539
  --
540
- source_engine_api_draw_text_1430 = function()
541
- local util_decorator = source_shared_functional_decorator_17f6()
540
+ source_engine_api_draw_text_148c = function()
541
+ local util_decorator = source_shared_functional_decorator_1856()
542
542
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
543
543
  size = size or 2
544
544
  local hem = engine.current.data.width / 80
@@ -567,7 +567,7 @@ install=install
567
567
  return P
568
568
  end
569
569
  --
570
- source_engine_api_draw_poly_143b = function()
570
+ source_engine_api_draw_poly_1497 = function()
571
571
  local function decorator_poo(object, func)
572
572
  if not object or not func then return func end
573
573
  return function(a, b, c, d)
@@ -674,7 +674,7 @@ install=install
674
674
  return P
675
675
  end
676
676
  --
677
- source_engine_api_raw_memory_1446 = function()
677
+ source_engine_api_raw_memory_14a2 = function()
678
678
  local memory_dict_unload = {}
679
679
  local memory_dict = {}
680
680
  local memory_list = {}
@@ -729,7 +729,7 @@ install=install
729
729
  return P
730
730
  end
731
731
  --
732
- source_engine_api_system_color_1458 = function()
732
+ source_engine_api_system_color_14b4 = function()
733
733
  local function install(std)
734
734
  std.color = std.color or {}
735
735
  std.color.white = 0xFFFFFFFF
@@ -764,7 +764,7 @@ install = install
764
764
  return P
765
765
  end
766
766
  --
767
- source_shared_var_object_std_1463 = function()
767
+ source_shared_var_object_std_14bf = function()
768
768
  local P = {
769
769
  milis = 0,
770
770
  delta = 0,
@@ -832,7 +832,7 @@ any=false
832
832
  return P;
833
833
  end
834
834
  --
835
- source_shared_string_eval_code_1475 = function()
835
+ source_shared_string_eval_code_14d1 = function()
836
836
  local function script(src)
837
837
  local loader = loadstring or load
838
838
  if not loader then
@@ -853,7 +853,7 @@ script = script,
853
853
  return P
854
854
  end
855
855
  --
856
- source_shared_functional_decorator_17f6 = function()
856
+ source_shared_functional_decorator_1856 = function()
857
857
  local function decorator_prefix3(zig, zag, zom, func)
858
858
  return function (a, b, c, d, e, f)
859
859
  return func(zig, zag, zom, a, b, c, d, e, f)
@@ -911,4 +911,4 @@ prefix1_t = table_prefix1
911
911
  return P
912
912
  end
913
913
  --
914
- return main_13d3()
914
+ return main_142f()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamely/gly-engine-micro",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",