@gamely/gly-engine-lite 0.2.1 → 0.2.3

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 +23 -23
  2. package/package.json +1 -1
package/dist/main.lua CHANGED
@@ -22,11 +22,11 @@ local source_engine_protocol_http_callback_2483 = nil
22
22
  local source_shared_var_object_root_2495 = nil
23
23
  local source_engine_api_system_color_24a0 = nil
24
24
  local source_shared_var_object_std_24ab = nil
25
- local source_shared_functional_pipeline_2952 = nil
26
- local source_shared_string_dsl_requires_295d = nil
27
- local source_shared_string_eval_file_2bc4 = nil
28
- local source_shared_string_eval_code_2bcf = nil
29
- local source_shared_functional_decorator_2e70 = nil
25
+ local source_shared_functional_pipeline_2959 = nil
26
+ local source_shared_string_dsl_requires_2964 = nil
27
+ local source_shared_string_eval_file_2bcb = nil
28
+ local source_shared_string_eval_code_2bd6 = nil
29
+ local source_shared_functional_decorator_2e77 = nil
30
30
  local source_shared_string_encode_http_5c63 = nil
31
31
  local source_shared_string_encode_url_5c6e = nil
32
32
  local function main_239b()
@@ -156,6 +156,7 @@ listen_std_engine=function() end
156
156
  }
157
157
  std.draw.color=native_draw_color
158
158
  std.draw.font=native_draw_font
159
+ std.draw.rect2=native_draw_rect2 or native_draw_rect
159
160
  std.draw.rect=native_draw_rect
160
161
  std.draw.line=native_draw_line
161
162
  std.image.load=native_image_load
@@ -210,12 +211,12 @@ version=version
210
211
  return P
211
212
  end
212
213
  source_version_23a4 = function()
213
- return '0.2.1'
214
+ return '0.2.3'
214
215
  end
215
216
  --
216
217
  source_shared_engine_loadcore_23af = function()
217
- local zeebo_pipeline = source_shared_functional_pipeline_2952()
218
- local requires = source_shared_string_dsl_requires_295d()
218
+ local zeebo_pipeline = source_shared_functional_pipeline_2959()
219
+ local requires = source_shared_string_dsl_requires_2964()
219
220
  local function step_install_libsys(self, lib_name, library, custom, is_system)
220
221
  if not is_system then return end
221
222
  local ok, msg = pcall(function()
@@ -298,8 +299,8 @@ return P
298
299
  end
299
300
  --
300
301
  source_shared_engine_loadgame_23ba = function()
301
- local eval_file = source_shared_string_eval_file_2bc4()
302
- local eval_code = source_shared_string_eval_code_2bcf()
302
+ local eval_file = source_shared_string_eval_file_2bcb()
303
+ local eval_code = source_shared_string_eval_code_2bd6()
303
304
  local has_io_open = io and io.open
304
305
  local function normalize(app, base)
305
306
  if not app then return nil end
@@ -388,7 +389,7 @@ return P
388
389
  end
389
390
  --
390
391
  source_engine_api_system_app_23d7 = function()
391
- local util_decorator = source_shared_functional_decorator_2e70()
392
+ local util_decorator = source_shared_functional_decorator_2e77()
392
393
  local function reset(std, engine)
393
394
  if std.node then
394
395
  std.bus.emit('exit')
@@ -453,7 +454,7 @@ return P
453
454
  end
454
455
  --
455
456
  source_engine_api_io_http_23ed = function()
456
- local zeebo_pipeline = source_shared_functional_pipeline_2952()
457
+ local zeebo_pipeline = source_shared_functional_pipeline_2959()
457
458
  local function json(self)
458
459
  self.options['json'] = true
459
460
  return self
@@ -741,7 +742,7 @@ return P
741
742
  end
742
743
  --
743
744
  source_engine_api_debug_log_240e = function()
744
- local util_decorator = source_shared_functional_decorator_2e70()
745
+ local util_decorator = source_shared_functional_decorator_2e77()
745
746
  local logging_types = {
746
747
  'none', 'fatal', 'error', 'warn', 'debug', 'info'
747
748
  }
@@ -940,7 +941,7 @@ return P
940
941
  end
941
942
  --
942
943
  source_engine_api_data_array_243a = function()
943
- local util_decorator = source_shared_functional_decorator_2e70()
944
+ local util_decorator = source_shared_functional_decorator_2e77()
944
945
  local function array_map(array, func)
945
946
  local res = {}
946
947
  local index = 1
@@ -1105,8 +1106,8 @@ source_engine_api_io_media_2445 = function()
1105
1106
  local function media_create(node, channels, handler)
1106
1107
  local decorator = function(func)
1107
1108
  func = func or function() end
1108
- return function(self, a, b, c)
1109
- func(0, a, b, c)
1109
+ return function(self, a, b, c, d)
1110
+ func(0, a, b, c, d)
1110
1111
  return self
1111
1112
  end
1112
1113
  end
@@ -1117,7 +1118,6 @@ pause = decorator(handler.pause),
1117
1118
  resume = decorator(handler.resume),
1118
1119
  stop = decorator(handler.stop),
1119
1120
  position = decorator(handler.position),
1120
- resize = decorator(handler.resize),
1121
1121
  in_mutex = handler.mutex or function() return false end,
1122
1122
  get_error = handler.error or function() return nil end,
1123
1123
  node = node,
@@ -1198,7 +1198,7 @@ return P
1198
1198
  end
1199
1199
  --
1200
1200
  source_engine_api_draw_text_245b = function()
1201
- local util_decorator = source_shared_functional_decorator_2e70()
1201
+ local util_decorator = source_shared_functional_decorator_2e77()
1202
1202
  local function text_put(std, engine, font_previous, pos_x, pos_y, text, size)
1203
1203
  size = size or 2
1204
1204
  local hem = engine.current.data.width / 80
@@ -1591,7 +1591,7 @@ any=false
1591
1591
  return P;
1592
1592
  end
1593
1593
  --
1594
- source_shared_functional_pipeline_2952 = function()
1594
+ source_shared_functional_pipeline_2959 = function()
1595
1595
  local function pipe(self)
1596
1596
  return function()
1597
1597
  self:run()
@@ -1641,7 +1641,7 @@ run=run
1641
1641
  return P
1642
1642
  end
1643
1643
  --
1644
- source_shared_string_dsl_requires_295d = function()
1644
+ source_shared_string_dsl_requires_2964 = function()
1645
1645
  local function encode(dsl_string)
1646
1646
  local spec = {
1647
1647
  list = {},
@@ -1690,7 +1690,7 @@ should_import = should_import
1690
1690
  return P
1691
1691
  end
1692
1692
  --
1693
- source_shared_string_eval_file_2bc4 = function()
1693
+ source_shared_string_eval_file_2bcb = function()
1694
1694
  local function script(src)
1695
1695
  local ok, app = false, nil
1696
1696
  if require then
@@ -1716,7 +1716,7 @@ script = script,
1716
1716
  return P
1717
1717
  end
1718
1718
  --
1719
- source_shared_string_eval_code_2bcf = function()
1719
+ source_shared_string_eval_code_2bd6 = function()
1720
1720
  local function script(src)
1721
1721
  local loader = loadstring or load
1722
1722
  if not loader then
@@ -1737,7 +1737,7 @@ script = script,
1737
1737
  return P
1738
1738
  end
1739
1739
  --
1740
- source_shared_functional_decorator_2e70 = function()
1740
+ source_shared_functional_decorator_2e77 = function()
1741
1741
  local function decorator_prefix3(zig, zag, zom, func)
1742
1742
  return function (a, b, c, d, e, f)
1743
1743
  return func(zig, zag, zom, a, b, c, d, e, f)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamely/gly-engine-lite",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "author": "RodrigoDornelles",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.gamely.com.br",