@gamely/gly-engine-micro 0.1.5 → 0.1.7

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 -75
  2. package/package.json +1 -1
package/dist/main.lua CHANGED
@@ -1,32 +1,19 @@
1
+ local b_13e0 = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
1
2
  local math = ((function() local x, y = pcall(require, 'math'); return x and y end)()) or _G.math
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()
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')
30
17
  local f=function(a,b)end
31
18
  local engine={keyboard=f}
32
19
  local application={
@@ -136,12 +123,11 @@ version=version
136
123
  }
137
124
  return P
138
125
  end
139
- source_version_13ea = function()
140
- return '0.1.5'
141
- end
142
- --
143
- source_engine_api_system_app_13fc = function()
144
- local util_decorator = source_shared_functional_decorator_17e1()
126
+ b_13e0[1] = function() local c = (function()
127
+ return '0.1.7'
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')
145
131
  local function reset(std, engine)
146
132
  if std.node then
147
133
  std.bus.emit('exit')
@@ -179,9 +165,8 @@ local P = {
179
165
  install=install
180
166
  }
181
167
  return P
182
- end
183
- --
184
- source_engine_api_system_key_1407 = function()
168
+ end)() or false;b_13e0[2] = function() return c end return c end
169
+ b_13e0[3] = function() local c = (function()
185
170
  local function real_key(std, engine, rkey, rvalue)
186
171
  local value = rvalue == 1 or rvalue == true
187
172
  local key = engine.key_bindings[rkey] or (std.key.axis[rkey] and rkey)
@@ -216,9 +201,8 @@ local P = {
216
201
  install = install
217
202
  }
218
203
  return P
219
- end
220
- --
221
- source_engine_api_math_basic_1412 = function()
204
+ end)() or false;b_13e0[3] = function() return c end return c end
205
+ b_13e0[4] = function() local c = (function()
222
206
  local function abs(value)
223
207
  if value < 0 then
224
208
  return -value
@@ -315,9 +299,8 @@ local P = {
315
299
  install = install
316
300
  }
317
301
  return P
318
- end
319
- --
320
- source_engine_api_math_clib_141d = function()
302
+ end)() or false;b_13e0[4] = function() return c end return c end
303
+ b_13e0[5] = function() local c = (function()
321
304
  local function install(std)
322
305
  assert(math and (1/2 ~= 0))
323
306
  std.math = std.math or {}
@@ -351,9 +334,8 @@ local P = {
351
334
  install = install
352
335
  }
353
336
  return P
354
- end
355
- --
356
- source_engine_api_math_random_1428 = function()
337
+ end)() or false;b_13e0[5] = function() return c end return c end
338
+ b_13e0[6] = function() local c = (function()
357
339
  local function install(std)
358
340
  assert(math and (1/2 ~= 0))
359
341
  std.math = std.math or {}
@@ -368,10 +350,9 @@ local P = {
368
350
  install = install
369
351
  }
370
352
  return P
371
- end
372
- --
373
- source_engine_api_data_array_1433 = function()
374
- local util_decorator = source_shared_functional_decorator_17e1()
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')
375
356
  local function array_map(array, func)
376
357
  local res = {}
377
358
  local index = 1
@@ -530,10 +511,9 @@ local P = {
530
511
  install = install
531
512
  }
532
513
  return P
533
- end
534
- --
535
- source_engine_api_draw_text_143e = function()
536
- local util_decorator = source_shared_functional_decorator_17e1()
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')
537
517
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
538
518
  size = size or 2
539
519
  local hem = engine.current.data.width / 80
@@ -560,9 +540,8 @@ local P = {
560
540
  install=install
561
541
  }
562
542
  return P
563
- end
564
- --
565
- source_engine_api_draw_poly_1449 = function()
543
+ end)() or false;b_13e0[8] = function() return c end return c end
544
+ b_13e0[9] = function() local c = (function()
566
545
  local function decorator_poo(object, func)
567
546
  if not object or not func then return func end
568
547
  return function(a, b, c, d)
@@ -667,9 +646,8 @@ local P = {
667
646
  install=install
668
647
  }
669
648
  return P
670
- end
671
- --
672
- source_engine_api_raw_memory_1454 = function()
649
+ end)() or false;b_13e0[9] = function() return c end return c end
650
+ b_13e0[10] = function() local c = (function()
673
651
  local memory_dict_unload = {}
674
652
  local memory_dict = {}
675
653
  local memory_list = {}
@@ -722,9 +700,8 @@ local P = {
722
700
  install=install
723
701
  }
724
702
  return P
725
- end
726
- --
727
- source_engine_api_system_color_1466 = function()
703
+ end)() or false;b_13e0[10] = function() return c end return c end
704
+ b_13e0[11] = function() local c = (function()
728
705
  local function install(std)
729
706
  std.color = std.color or {}
730
707
  std.color.white = 0xFFFFFFFF
@@ -757,9 +734,8 @@ local P = {
757
734
  install = install
758
735
  }
759
736
  return P
760
- end
761
- --
762
- source_shared_var_object_std_1471 = function()
737
+ end)() or false;b_13e0[11] = function() return c end return c end
738
+ b_13e0[12] = function() local c = (function()
763
739
  local P = {
764
740
  milis = 0,
765
741
  delta = 0,
@@ -825,9 +801,8 @@ any=false
825
801
  }
826
802
  }
827
803
  return P;
828
- end
829
- --
830
- source_shared_string_eval_code_1483 = function()
804
+ end)() or false;b_13e0[12] = function() return c end return c end
805
+ b_13e0[13] = function() local c = (function()
831
806
  local function script(src)
832
807
  local loader = loadstring or load
833
808
  if not loader then
@@ -846,9 +821,8 @@ local P = {
846
821
  script = script,
847
822
  }
848
823
  return P
849
- end
850
- --
851
- source_shared_functional_decorator_17e1 = function()
824
+ end)() or false;b_13e0[13] = function() return c end return c end
825
+ b_13e0[14] = function() local c = (function()
852
826
  local function decorator_prefix3(zig, zag, zom, func)
853
827
  return function (a, b, c, d, e, f)
854
828
  return func(zig, zag, zom, a, b, c, d, e, f)
@@ -904,6 +878,5 @@ prefix1 = decorator_prefix1,
904
878
  prefix1_t = table_prefix1
905
879
  }
906
880
  return P
907
- end
908
- --
909
- 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.5",
3
+ "version": "0.1.7",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",