403 Commits

Author SHA1 Message Date
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
f6de40ca88
Merge pull request #237 from MihailRis/extended-blocks
Extended blocks
2024-06-10 19:10:54 +03:00
MihailRis
be27aabf1e update camera shaking calculations 2024-06-10 19:10:25 +03:00
MihailRis
1bfd5ccad3 fix: air blocks placement; ghost segments can not be removed 2024-06-09 23:59:04 +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
MihailRis
b3ae8484a2 fix: extended blocks raycast fix 2024-06-09 13:48:43 +03:00
MihailRis
ee47213dbb add temporary test block 2024-06-08 21:42:44 +03:00
MihailRis
8aa6d5ee2d add extended blocks (block size property) 2024-06-08 16:58:05 +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
MihailRis
7cbacba0c6 fix: EngineController::reconfigPacks 2024-06-06 14:15:50 +03:00
MihailRis
5870981933 fix: player physics when chunks reload 2024-06-06 14:00:00 +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
3a6fa57630 item on_use double call fix 2024-06-01 12:57:10 +03:00
MihailRis
731d43ff63 container:setInterval 2024-06-01 12:25:53 +03:00
MihailRis
7b0e31951b block tick interval 2024-05-31 18:14:50 +03:00
MihailRis
e969d4fea2 BlocksController.hpp tabs -> spaces 2024-05-31 17:47:39 +03:00
MihailRis
3003386670 chunk flags converted to a bitfield 2024-05-31 11:59:12 +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
29ca6e969c fix: block states cause crash for rotatable blocks 2024-05-30 18:17:21 +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
0ad3dd7ab8 build time decreased 2024-05-23 02:05:08 +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