107 Commits

Author SHA1 Message Date
MihailRis
2c60e7c6ae Merge branch 'dev' into schedule 2025-08-01 21:39:44 +03:00
MihailRis
f37bbc64f4 add set_interval 'repetions' argument 2025-08-01 21:37:14 +03:00
MihailRis
b28aa71845 add Schedule class & add time.schedule.world schedule group 2025-08-01 21:36:54 +03:00
Onran
aae642a13e
Streaming I/O and support of named pipes (#570)
* added streaming i/o for scripting, and a byteutil.get_size function

* added i/o stream class, also added named pipes support on lua side via ffi

* added constant file.named_pipes_prefix

* added buffered and yield modes for io_stream

* added new time function for work with UTC - utc_time, utc_offset, local_time

* docs updated

* constant pid moved to os.pid

* now gmtime_s and localtime_s used only in windows
2025-08-01 20:26:43 +03:00
MihailRis
d9d65a169c fix Bytearray from table constructor 2025-06-28 21:33:49 +03:00
MihailRis
4333d9ab06 feat: support alternative vcm models syntax 2025-06-01 23:08:59 +03:00
MihailRis
407184250c add assets.parse_model 2025-05-25 17:16:07 +03:00
MihailRis
b8e6918dc8 move files panel to separate document 2025-05-24 22:22:36 +03:00
MihailRis
805e3fdd7d add Bytearray '__pairs` metamethod 2025-05-01 18:20:02 +03:00
MihailRis
05ddffb5c9 fix stack traces 2025-04-20 13:10:26 +03:00
MihailRis
559f946a66 feat: ui sub-nodes access 2025-04-17 19:55:43 +03:00
MihailRis
3e493a4a97 add uinode.parent read-only property 2025-04-16 20:58:57 +03:00
MihailRis
da3f3d546f cleanup 2025-04-12 15:32:26 +03:00
MihailRis
0a49e4fa92 add Bytearray.trim, Bytearray.get_capacity 2025-04-12 15:27:29 +03:00
MihailRis
1ade910fa1 fix Bytearray.insert, Bytearray.remove 2025-04-12 13:49:31 +03:00
MihailRis
fb07c86ea6 add static Lua-style functions: Bytearray.insert, Bytearray.remove, Bytearray.append 2025-04-12 13:24:55 +03:00
MihailRis
9169049530 feat: ipairs(...) support in Bytearray 2025-04-12 12:55:29 +03:00
MihailRis
d8feff56c0 feat: Lua-style array append support in Bytearray 2025-04-12 12:32:31 +03:00
MihailRis
303e861fbb replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
MihailRis
4260742d6e add new Bytearray class 2025-04-06 22:22:35 +03:00
Onran
94ff4a02bd
Add files via upload 2025-04-06 23:32:23 +09:00
Onran
8e907b6d98
minor fix of caching 2025-04-06 22:42:18 +09:00
Onran
cba48e3a0c
bitwise expressions compiler 2025-04-06 22:16:04 +09:00
MihailRis
4761c520d5 feat: component script reloading 2025-03-16 22:03:37 +03:00
MihailRis
267aebe7bd add core:internal/scripts_registry module 2025-03-16 15:33:10 +03:00
MihailRis
f2101f6504 add entity:set_enabled(...) 2025-01-21 05:31:07 +03:00
MihailRis
e247902cc6 fix data_buffer:put_number 2025-01-21 02:30:59 +03:00
MihailRis
92f226cbcf miscellaneous fixes 2025-01-20 04:39:37 +03:00
MihailRis
0e95d9d1af fix bit_converter.bytes_to_uint16 2025-01-19 22:38:22 +03:00
MihailRis
c6951e0965 add in-game chat & update gui post-runnables timing & fix panel elements removal 2025-01-18 07:17:52 +03:00
MihailRis
8e8fed2aa2 move core:gui_util to core:internal/gui_util 2025-01-18 05:15:17 +03:00
MihailRis
72d2d9c879 move Document and RadioGroup implementation to core:gui_util 2025-01-18 05:14:06 +03:00
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
1a246e2ae0 feat: menu pages dispatching 2025-01-16 07:40:34 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +03:00
MihailRis
2a1684c126 fix page request arguments 2025-01-09 02:16:40 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
bd9018dafe add pack.assemble(...), app.config_packs(...) 2025-01-03 23:51:36 +03:00
MihailRis
9490d1f7ea change default byte order in bit_converter to BE and fix byte manipulation functions 2024-12-30 06:29:52 +03:00
MihailRis
aad0ea84eb convert tabs to spaces 2024-12-30 06:23:42 +03:00
MihailRis
4d1f44ada1 add core:tests_util module & add base_entities test 2024-12-29 22:42:24 +03:00
MihailRis
c9b69fdfb2 fix data_buffer:put_bytes 2024-12-22 02:32:00 +03:00
MihailRis
212cc486d4 optimize data_buffer:put_bytes for Bytearray 2024-12-22 02:22:00 +03:00
Onran
1058da074c
Add files via upload 2024-12-06 17:13:33 +09:00
Onran
657069cd48
migration to ByteArray + small fix 2024-12-02 14:57:26 +09:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
8e269e3693 fix stdcomp.lua 2024-08-11 21:16:37 +03:00
MihailRis
f8907f7db1 add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
MihailRis
e8a8fb3d60 add base:player_animator component 2024-07-23 22:55:34 +03:00
MihailRis
27a7d7eb44 add module 'item_models' 2024-07-23 22:23:25 +03:00