815 Commits

Author SHA1 Message Date
MihailRis
0debe32da4 revert file.read_bytes 2024-06-16 23:23:13 +03:00
MihailRis
bfdd92ca51 update file.write_bytes to support bytearray + bit_converter bytearray support 2024-06-16 22:55:56 +03:00
MihailRis
6bf23e5cac add bytearray lua-style appending support 2024-06-16 22:07:42 +03:00
MihailRis
487189f4a6 add bytearrays concatenation support 2024-06-16 21:35:40 +03:00
MihailRis
19a012f9c6 add bytearray.remove, .insert and constructor using array 2024-06-16 21:19:49 +03:00
MihailRis
20ef11e5a2 add bytearray:append(b) 2024-06-16 21:00:50 +03:00
MihailRis
22328a9f64 update Bytearray to vector use 2024-06-16 20:40:59 +03:00
MihailRis
490727fdc0 add lua user types + bytearray 2024-06-16 20:15:26 +03:00
MihailRis
41b5c5acfc fix: ui 2024-06-16 14:18:58 +03:00
Xertis
9c911beec4 Update gzip 2024-06-14 20:24:56 +03:00
MihailRis
fe55b94ebd fix: lua setInterval stack overflow 2024-06-12 19:39:31 +03:00
MihailRis
913e5983b1 refactor: complete 'lua' namespace use 2024-06-11 13:51:11 +03:00
MihailRis
90bc86408b refactor: LuaState replaced with lua_engine 2024-06-11 13:18:30 +03:00
MihailRis
0647bc6f90 refactor: 'lua' namespace expansion 2024-06-11 03:37:35 +03:00
MihailRis
7973a9c32b fix: lua coroutines support 2024-06-11 01:52:28 +03:00
MihailRis
1abb2cf327 add block.is_extended, .get_size, .is_segment and .seek_origin 2024-06-09 23:36:19 +03:00
MihailRis
90ed175915 feat: extended blocks rotation 2024-06-09 19:54:34 +03:00
MihailRis
4e696520b6 refactor: PlayerController 2024-06-09 16:30:01 +03:00
Sergwest
ac0408d42a arch compability fixes and unwarning changes 2024-06-07 22:20:40 +03:00
MihailRis
a5dc187481 fix: function returns by const value 2024-06-07 15:17:32 +03:00
MihailRis
136a86d82c
Merge pull request #229 from Xertis/main
file.gzip_compress and file.gzip_decompress
2024-06-07 11:09:39 +03:00
Pugemon
e98fb9a1a7 Optimize container insertions using emplace_back instead of push_back 2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
Xertis
224604ec69 Adding compression functions to lua scripting
1) добавил две функции
file.gzip_compress(path)
file.gzip_decompress(path)
они сжимают и расжимают файлы по выбранному пути
2024-06-06 13:00:23 +03:00
Xertis
bfeb32841f add file.gzip_compress_write 2024-06-06 12:17:37 +03:00
MihailRis
9211e835db fix: input.add_callback and blocks placing when shift pressed 2024-06-05 18:32:43 +03:00
MihailRis
57fd91b417 file.exists, ... completely nothrow 2024-06-03 18:23:00 +03:00
MihailRis
5f00cf0d5b file.exists, file.isfile, file.isdir nothrow now 2024-06-03 18:16:20 +03:00
MihailRis
db074b13be core.get_bindings moved to input.get_bindings 2024-06-03 18:06:09 +03:00
MihailRis
b7887fa1ca file library error handling update 2024-06-03 17:51:32 +03:00
MihailRis
eca050123d file.find fix + input.mousecode 2024-06-03 17:44:57 +03:00
MihailRis
fdd9ede9d5 serialization functions naming update 2024-06-03 17:33:55 +03:00
MihailRis
3650e33f4c fix 2024-06-03 16:33:15 +03:00
MihailRis
e8982353cc added block.caption(blockid) -> str 2024-06-03 16:32:56 +03:00
MihailRis
c59973505e added node:destruct() 2024-06-03 09:50:48 +03:00
MihailRis
731d43ff63 container:setInterval 2024-06-01 12:25:53 +03:00
MihailRis
86dd6562de fix: user bits and manually set rotation not saving 2024-05-31 11:26:16 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
74042b5c2a player.get_selected_block 2024-05-31 08:33:37 +03:00
MihailRis
bc84200798 gui errors handling update + fix 2024-05-27 13:33:14 +03:00
MihailRis
e3989cb178 added 'tooltip-delay' property 2024-05-24 13:18:20 +03:00
MihailRis
eb10904069 added tooltips 2024-05-24 08:03:05 +03:00
MihailRis
1c45236693 added wpos property (window position) 2024-05-24 05:33:31 +03:00
MihailRis
0eba793d63 added player camera rotation z axis 2024-05-24 01:58:34 +03:00
MihailRis
1917cbba8b new player.* functions 2024-05-24 01:38:39 +03:00
MihailRis
fad9dc85ad added image.src property 2024-05-22 22:37:17 +03:00
MihailRis
7fdacffe53 json-related refactor 2024-05-20 03:06:26 +03:00
MihailRis
c94d40ab02 toml parser update + 'toml' module is built-in now 2024-05-20 01:28:42 +03:00
MihailRis
535c7d8326 small fixes 2024-05-18 16:57:04 +03:00
MihailRis
d3c9911640 nothing actually done 2024-05-18 03:49:34 +03:00