@gamely/gly-engine-micro 0.1.4 → 0.1.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_13d9 = nil
3
- local source_engine_api_system_app_13eb = nil
4
- local source_engine_api_system_key_13f6 = nil
5
- local source_engine_api_math_basic_1401 = nil
6
- local source_engine_api_math_clib_140c = nil
7
- local source_engine_api_math_random_1417 = nil
8
- local source_engine_api_data_array_1422 = nil
9
- local source_engine_api_draw_text_142d = nil
10
- local source_engine_api_draw_poly_1438 = nil
11
- local source_engine_api_raw_memory_1443 = nil
12
- local source_engine_api_system_color_1455 = nil
13
- local source_shared_var_object_std_1460 = nil
14
- local source_shared_string_eval_code_1472 = nil
15
- local source_shared_functional_decorator_17d0 = nil
16
- local function main_13d0()
17
- local version = source_version_13d9()
18
- local engine_game = source_engine_api_system_app_13eb()
19
- local engine_key = source_engine_api_system_key_13f6()
20
- local engine_math = source_engine_api_math_basic_1401()
21
- local engine_math_clib = source_engine_api_math_clib_140c()
22
- local engine_math_random = source_engine_api_math_random_1417()
23
- local engine_array = source_engine_api_data_array_1422()
24
- local engine_api_draw_text = source_engine_api_draw_text_142d()
25
- local engine_api_draw_poly = source_engine_api_draw_poly_1438()
26
- local engine_raw_memory = source_engine_api_raw_memory_1443()
27
- local color = source_engine_api_system_color_1455()
28
- local std = source_shared_var_object_std_1460()
29
- local eval_code = source_shared_string_eval_code_1472()
2
+ local source_version_13ea = nil
3
+ local source_engine_api_system_app_13fc = nil
4
+ local source_engine_api_system_key_1407 = nil
5
+ local source_engine_api_math_basic_1412 = nil
6
+ local source_engine_api_math_clib_141d = nil
7
+ local source_engine_api_math_random_1428 = nil
8
+ local source_engine_api_data_array_1433 = nil
9
+ local source_engine_api_draw_text_143e = nil
10
+ local source_engine_api_draw_poly_1449 = nil
11
+ local source_engine_api_raw_memory_1454 = nil
12
+ local source_engine_api_system_color_1466 = nil
13
+ local source_shared_var_object_std_1471 = nil
14
+ local source_shared_string_eval_code_1483 = nil
15
+ local source_shared_functional_decorator_17e1 = nil
16
+ local function main_13e1()
17
+ local version = source_version_13ea()
18
+ local engine_game = source_engine_api_system_app_13fc()
19
+ local engine_key = source_engine_api_system_key_1407()
20
+ local engine_math = source_engine_api_math_basic_1412()
21
+ local engine_math_clib = source_engine_api_math_clib_141d()
22
+ local engine_math_random = source_engine_api_math_random_1428()
23
+ local engine_array = source_engine_api_data_array_1433()
24
+ local engine_api_draw_text = source_engine_api_draw_text_143e()
25
+ local engine_api_draw_poly = source_engine_api_draw_poly_1449()
26
+ local engine_raw_memory = source_engine_api_raw_memory_1454()
27
+ local color = source_engine_api_system_color_1466()
28
+ local std = source_shared_var_object_std_1471()
29
+ local eval_code = source_shared_string_eval_code_1483()
30
30
  local f=function(a,b)end
31
31
  local engine={keyboard=f}
32
32
  local application={
@@ -136,12 +136,12 @@ version=version
136
136
  }
137
137
  return P
138
138
  end
139
- source_version_13d9 = function()
140
- return '0.1.4'
139
+ source_version_13ea = function()
140
+ return '0.1.6'
141
141
  end
142
142
  --
143
- source_engine_api_system_app_13eb = function()
144
- local util_decorator = source_shared_functional_decorator_17d0()
143
+ source_engine_api_system_app_13fc = function()
144
+ local util_decorator = source_shared_functional_decorator_17e1()
145
145
  local function reset(std, engine)
146
146
  if std.node then
147
147
  std.bus.emit('exit')
@@ -181,7 +181,7 @@ install=install
181
181
  return P
182
182
  end
183
183
  --
184
- source_engine_api_system_key_13f6 = function()
184
+ source_engine_api_system_key_1407 = function()
185
185
  local function real_key(std, engine, rkey, rvalue)
186
186
  local value = rvalue == 1 or rvalue == true
187
187
  local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
@@ -218,7 +218,7 @@ install = install
218
218
  return P
219
219
  end
220
220
  --
221
- source_engine_api_math_basic_1401 = function()
221
+ source_engine_api_math_basic_1412 = function()
222
222
  local function abs(value)
223
223
  if value < 0 then
224
224
  return -value
@@ -317,7 +317,7 @@ install = install
317
317
  return P
318
318
  end
319
319
  --
320
- source_engine_api_math_clib_140c = function()
320
+ source_engine_api_math_clib_141d = function()
321
321
  local function install(std)
322
322
  assert(math and (1/2 ~= 0))
323
323
  std.math = std.math or {}
@@ -353,7 +353,7 @@ install = install
353
353
  return P
354
354
  end
355
355
  --
356
- source_engine_api_math_random_1417 = function()
356
+ source_engine_api_math_random_1428 = function()
357
357
  local function install(std)
358
358
  assert(math and (1/2 ~= 0))
359
359
  std.math = std.math or {}
@@ -370,8 +370,8 @@ install = install
370
370
  return P
371
371
  end
372
372
  --
373
- source_engine_api_data_array_1422 = function()
374
- local util_decorator = source_shared_functional_decorator_17d0()
373
+ source_engine_api_data_array_1433 = function()
374
+ local util_decorator = source_shared_functional_decorator_17e1()
375
375
  local function array_map(array, func)
376
376
  local res = {}
377
377
  local index = 1
@@ -532,8 +532,8 @@ install = install
532
532
  return P
533
533
  end
534
534
  --
535
- source_engine_api_draw_text_142d = function()
536
- local util_decorator = source_shared_functional_decorator_17d0()
535
+ source_engine_api_draw_text_143e = function()
536
+ local util_decorator = source_shared_functional_decorator_17e1()
537
537
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
538
538
  size = size or 2
539
539
  local hem = engine.current.data.width / 80
@@ -562,7 +562,7 @@ install=install
562
562
  return P
563
563
  end
564
564
  --
565
- source_engine_api_draw_poly_1438 = function()
565
+ source_engine_api_draw_poly_1449 = function()
566
566
  local function decorator_poo(object, func)
567
567
  if not object or not func then return func end
568
568
  return function(a, b, c, d)
@@ -669,7 +669,7 @@ install=install
669
669
  return P
670
670
  end
671
671
  --
672
- source_engine_api_raw_memory_1443 = function()
672
+ source_engine_api_raw_memory_1454 = function()
673
673
  local memory_dict_unload = {}
674
674
  local memory_dict = {}
675
675
  local memory_list = {}
@@ -724,7 +724,7 @@ install=install
724
724
  return P
725
725
  end
726
726
  --
727
- source_engine_api_system_color_1455 = function()
727
+ source_engine_api_system_color_1466 = function()
728
728
  local function install(std)
729
729
  std.color = std.color or {}
730
730
  std.color.white = 0xFFFFFFFF
@@ -759,7 +759,7 @@ install = install
759
759
  return P
760
760
  end
761
761
  --
762
- source_shared_var_object_std_1460 = function()
762
+ source_shared_var_object_std_1471 = function()
763
763
  local P = {
764
764
  milis = 0,
765
765
  delta = 0,
@@ -827,7 +827,7 @@ any=false
827
827
  return P;
828
828
  end
829
829
  --
830
- source_shared_string_eval_code_1472 = function()
830
+ source_shared_string_eval_code_1483 = function()
831
831
  local function script(src)
832
832
  local loader = loadstring or load
833
833
  if not loader then
@@ -848,7 +848,7 @@ script = script,
848
848
  return P
849
849
  end
850
850
  --
851
- source_shared_functional_decorator_17d0 = function()
851
+ source_shared_functional_decorator_17e1 = function()
852
852
  local function decorator_prefix3(zig, zag, zom, func)
853
853
  return function (a, b, c, d, e, f)
854
854
  return func(zig, zag, zom, a, b, c, d, e, f)
@@ -906,4 +906,4 @@ prefix1_t = table_prefix1
906
906
  return P
907
907
  end
908
908
  --
909
- return main_13d0()
909
+ return main_13e1()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamely/gly-engine-micro",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",