75 Commits

Author SHA1 Message Date
MihailRis
532c4887bc add Random class 2025-09-16 20:27:07 +03:00
MihailRis
99940da426 add 'asserts' library 2025-09-14 14:37:11 +03:00
MihailRis
bf682daffe update on_physics_update & update standard components 2025-09-13 23:24:57 +03:00
MihailRis
e064ace885 update vertical damping & add rigidbody:get_vdamping 2025-09-07 17:10:13 +03:00
MihailRis
854dcf2a50 add entity:require_component 2025-09-06 22:29:55 +03:00
MihailRis
11a92a54b2 add vecn.mix 2025-09-06 11:37:06 +03:00
MihailRis
98e9f5a2a9 Merge branch 'dev' into pathfinding 2025-08-24 17:32:13 +03:00
MihailRis
383dacf616 Merge branch 'main' into dev 2025-08-24 17:31:34 +03:00
MihailRis
25f4c7fbdd
fix bytearray:insert (#594) 2025-08-23 11:47:35 +03:00
MihailRis
ca1b761c8c Merge branch 'dev' into pathfinding 2025-08-19 19:47:10 +03:00
MihailRis
79bb61bbbe add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization 2025-08-19 01:33:20 +03:00
MihailRis
31cd7912ec fix named pipe read (unix) & produce core:error event on error in schedule callback & fix editor traceback 2025-08-18 23:32:12 +03:00
MihailRis
b5f1698e78 fix ffi usage in named_pipe_unix.lua 2025-08-18 22:27:38 +03:00
MihailRis
6d3dac9106 add 'on_physics_update' entity event 2025-08-13 21:29:20 +03:00
MihailRis
3760fb86f7 move events library implementation to core:internal/events & disable access to core:internal modules outside of stdlib 2025-08-08 00:29:12 +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
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
92f226cbcf miscellaneous fixes 2025-01-20 04:39:37 +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
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +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
3549c1f326 update entity methods set 2024-07-18 12:08:43 +03:00
MihailRis
d285ffb2f7 update entities library semantics 2024-07-18 11:54:37 +03:00
MihailRis
5a3f28f2b5 add entities.name(...) and entity:get_name(...) 2024-07-17 20:15:45 +03:00
MihailRis
1eac343619 add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...) 2024-07-17 14:51:55 +03:00
MihailRis
0df5d34e04 add logging functions to the library 'debug' 2024-07-16 12:32:00 +03:00
MihailRis
d5877a342f feature: bone model overriding 2024-07-16 10:00:40 +03:00
MihailRis
8bb736bef0 add skeleton:is_visible(...), skeleton:set_visible(...) 2024-07-15 12:05:11 +03:00
MihailRis
055781eeaf add skeleton:index(...) and player test model 2024-07-15 08:56:27 +03:00