@gamely/gly-engine-micro 0.1.8 → 0.1.9

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 +48 -48
  2. package/package.json +1 -1
package/dist/main.lua CHANGED
@@ -1,19 +1,19 @@
1
- local b_13e1 = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
1
+ local b_13e0 = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
2
2
  local math = ((function() local x, y = pcall(require, 'math'); return x and y end)()) or _G.math
3
- local function main_13e1()
4
- local version = b_13e1[1]('source_version')
5
- local engine_game = b_13e1[2]('source_engine_api_system_app')
6
- local engine_key = b_13e1[3]('source_engine_api_system_key')
7
- local engine_math = b_13e1[4]('source_engine_api_math_basic')
8
- local engine_math_clib = b_13e1[5]('source_engine_api_math_clib')
9
- local engine_math_random = b_13e1[6]('source_engine_api_math_random')
10
- local engine_array = b_13e1[7]('source_engine_api_data_array')
11
- local engine_api_draw_text = b_13e1[8]('source_engine_api_draw_text')
12
- local engine_api_draw_poly = b_13e1[9]('source_engine_api_draw_poly')
13
- local engine_raw_memory = b_13e1[10]('source_engine_api_raw_memory')
14
- local color = b_13e1[11]('source_engine_api_system_color')
15
- local std = b_13e1[12]('source_shared_var_object_std')
16
- local eval_code = b_13e1[13]('source_shared_string_eval_code')
3
+ local function main_13e0()
4
+ local version = b_13e0[1]('source_version')
5
+ local engine_game = b_13e0[2]('source_engine_api_system_app')
6
+ local engine_key = b_13e0[3]('source_engine_api_system_key')
7
+ local engine_math = b_13e0[4]('source_engine_api_math_basic')
8
+ local engine_math_clib = b_13e0[5]('source_engine_api_math_clib')
9
+ local engine_math_random = b_13e0[6]('source_engine_api_math_random')
10
+ local engine_array = b_13e0[7]('source_engine_api_data_array')
11
+ local engine_api_draw_text = b_13e0[8]('source_engine_api_draw_text')
12
+ local engine_api_draw_poly = b_13e0[9]('source_engine_api_draw_poly')
13
+ local engine_raw_memory = b_13e0[10]('source_engine_api_raw_memory')
14
+ local color = b_13e0[11]('source_engine_api_system_color')
15
+ local std = b_13e0[12]('source_shared_var_object_std')
16
+ local eval_code = b_13e0[13]('source_shared_string_eval_code')
17
17
  local f=function(a,b)end
18
18
  local engine={keyboard=f}
19
19
  local application={
@@ -123,11 +123,11 @@ version=version
123
123
  }
124
124
  return P
125
125
  end
126
- b_13e1[1] = function() local c = (function()
127
- return '0.1.8'
128
- end)() or false;b_13e1[1] = function() return c end return c end
129
- b_13e1[2] = function() local c = (function()
130
- local util_decorator = b_13e1[14]('source_shared_functional_decorator')
126
+ b_13e0[1] = function() local c = (function()
127
+ return '0.1.9'
128
+ end)() or false;b_13e0[1] = function() return c end return c end
129
+ b_13e0[2] = function() local c = (function()
130
+ local util_decorator = b_13e0[14]('source_shared_functional_decorator')
131
131
  local function reset(std, engine)
132
132
  if std.node then
133
133
  std.bus.emit('exit')
@@ -165,8 +165,8 @@ local P = {
165
165
  install=install
166
166
  }
167
167
  return P
168
- end)() or false;b_13e1[2] = function() return c end return c end
169
- b_13e1[3] = function() local c = (function()
168
+ end)() or false;b_13e0[2] = function() return c end return c end
169
+ b_13e0[3] = function() local c = (function()
170
170
  local function real_key(std, engine, rkey, rvalue)
171
171
  local value = rvalue == 1 or rvalue == true
172
172
  local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
@@ -201,8 +201,8 @@ local P = {
201
201
  install = install
202
202
  }
203
203
  return P
204
- end)() or false;b_13e1[3] = function() return c end return c end
205
- b_13e1[4] = function() local c = (function()
204
+ end)() or false;b_13e0[3] = function() return c end return c end
205
+ b_13e0[4] = function() local c = (function()
206
206
  local function abs(value)
207
207
  if value < 0 then
208
208
  return -value
@@ -299,8 +299,8 @@ local P = {
299
299
  install = install
300
300
  }
301
301
  return P
302
- end)() or false;b_13e1[4] = function() return c end return c end
303
- b_13e1[5] = function() local c = (function()
302
+ end)() or false;b_13e0[4] = function() return c end return c end
303
+ b_13e0[5] = function() local c = (function()
304
304
  local function install(std)
305
305
  assert(math and (1/2 ~= 0))
306
306
  std.math = std.math or {}
@@ -334,8 +334,8 @@ local P = {
334
334
  install = install
335
335
  }
336
336
  return P
337
- end)() or false;b_13e1[5] = function() return c end return c end
338
- b_13e1[6] = function() local c = (function()
337
+ end)() or false;b_13e0[5] = function() return c end return c end
338
+ b_13e0[6] = function() local c = (function()
339
339
  local function install(std)
340
340
  assert(math and (1/2 ~= 0))
341
341
  std.math = std.math or {}
@@ -350,9 +350,9 @@ local P = {
350
350
  install = install
351
351
  }
352
352
  return P
353
- end)() or false;b_13e1[6] = function() return c end return c end
354
- b_13e1[7] = function() local c = (function()
355
- local util_decorator = b_13e1[14]('source_shared_functional_decorator')
353
+ end)() or false;b_13e0[6] = function() return c end return c end
354
+ b_13e0[7] = function() local c = (function()
355
+ local util_decorator = b_13e0[14]('source_shared_functional_decorator')
356
356
  local function array_map(array, func)
357
357
  local res = {}
358
358
  local index = 1
@@ -511,9 +511,9 @@ local P = {
511
511
  install = install
512
512
  }
513
513
  return P
514
- end)() or false;b_13e1[7] = function() return c end return c end
515
- b_13e1[8] = function() local c = (function()
516
- local util_decorator = b_13e1[14]('source_shared_functional_decorator')
514
+ end)() or false;b_13e0[7] = function() return c end return c end
515
+ b_13e0[8] = function() local c = (function()
516
+ local util_decorator = b_13e0[14]('source_shared_functional_decorator')
517
517
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
518
518
  size = size or 2
519
519
  local hem = engine.current.data.width / 80
@@ -540,8 +540,8 @@ local P = {
540
540
  install=install
541
541
  }
542
542
  return P
543
- end)() or false;b_13e1[8] = function() return c end return c end
544
- b_13e1[9] = function() local c = (function()
543
+ end)() or false;b_13e0[8] = function() return c end return c end
544
+ b_13e0[9] = function() local c = (function()
545
545
  local function decorator_poo(object, func)
546
546
  if not object or not func then return func end
547
547
  return function(a, b, c, d)
@@ -646,8 +646,8 @@ local P = {
646
646
  install=install
647
647
  }
648
648
  return P
649
- end)() or false;b_13e1[9] = function() return c end return c end
650
- b_13e1[10] = function() local c = (function()
649
+ end)() or false;b_13e0[9] = function() return c end return c end
650
+ b_13e0[10] = function() local c = (function()
651
651
  local memory_dict_unload = {}
652
652
  local memory_dict = {}
653
653
  local memory_list = {}
@@ -700,8 +700,8 @@ local P = {
700
700
  install=install
701
701
  }
702
702
  return P
703
- end)() or false;b_13e1[10] = function() return c end return c end
704
- b_13e1[11] = function() local c = (function()
703
+ end)() or false;b_13e0[10] = function() return c end return c end
704
+ b_13e0[11] = function() local c = (function()
705
705
  local function install(std)
706
706
  std.color = std.color or {}
707
707
  std.color.white = 0xFFFFFFFF
@@ -734,8 +734,8 @@ local P = {
734
734
  install = install
735
735
  }
736
736
  return P
737
- end)() or false;b_13e1[11] = function() return c end return c end
738
- b_13e1[12] = function() local c = (function()
737
+ end)() or false;b_13e0[11] = function() return c end return c end
738
+ b_13e0[12] = function() local c = (function()
739
739
  local P = {
740
740
  milis = 0,
741
741
  delta = 0,
@@ -801,8 +801,8 @@ any=false
801
801
  }
802
802
  }
803
803
  return P;
804
- end)() or false;b_13e1[12] = function() return c end return c end
805
- b_13e1[13] = function() local c = (function()
804
+ end)() or false;b_13e0[12] = function() return c end return c end
805
+ b_13e0[13] = function() local c = (function()
806
806
  local function script(src)
807
807
  local loader = loadstring or load
808
808
  if not loader then
@@ -821,8 +821,8 @@ local P = {
821
821
  script = script,
822
822
  }
823
823
  return P
824
- end)() or false;b_13e1[13] = function() return c end return c end
825
- b_13e1[14] = function() local c = (function()
824
+ end)() or false;b_13e0[13] = function() return c end return c end
825
+ b_13e0[14] = function() local c = (function()
826
826
  local function decorator_prefix3(zig, zag, zom, func)
827
827
  return function (a, b, c, d, e, f)
828
828
  return func(zig, zag, zom, a, b, c, d, e, f)
@@ -878,5 +878,5 @@ prefix1 = decorator_prefix1,
878
878
  prefix1_t = table_prefix1
879
879
  }
880
880
  return P
881
- end)() or false;b_13e1[14] = function() return c end return c end
882
- return main_13e1()
881
+ end)() or false;b_13e0[14] = function() return c end return c end
882
+ return main_13e0()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamely/gly-engine-micro",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",