116 Commits

Author SHA1 Message Date
MihailRis
71eadb2fde add 'write to read-only entry point' warnings 2024-11-07 21:57:27 +03:00
opchik98
8e549fe806 Feature #152 and potential fix #320
- Added Lua scripts hud.open, inventory.create and inventory.remove
- Window now resizes even if it is not focused
2024-11-07 18:38:24 +02:00
MihailRis
c80ad48f42 add assets.load_texture & update CHANGELOG.md 2024-11-07 07:58:31 +03:00
MihailRis
6e6de5fc24 fix utf8.tostring 2024-11-07 07:56:50 +03:00
MihailRis
6602584c13 add more cheating-related rules 2024-11-06 18:54:20 +03:00
MihailRis
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
8e00e73b8e add utf8.encode(...) 2024-11-06 16:26:35 +03:00
MihailRis
961773c9f9 fix potential null dereferences on incorrect block.* functions use & refactor 2024-11-06 02:55:37 +03:00
MihailRis
4932fd8b4b add file.read_combined_object & update filesystem docs 2024-11-05 14:33:56 +03:00
MihailRis
d4f0c906d2 add world.is_open() 2024-11-05 14:05:32 +03:00
MihailRis
f95b743a6c add particles.is_alive 2024-11-05 04:10:56 +03:00
MihailRis
edb4ce02ca add particles.get_origin(...), particles.set_origin(...) 2024-11-05 04:08:55 +03:00
MihailRis
b844e53ba1 Merge branch 'main' into particles-first 2024-11-04 22:49:39 +03:00
REDxEYE
5ba96945e6 Remove fog api as it soon to be deprecated 2024-11-04 21:18:15 +03:00
REDxEYE
3383566e6a libitem: Minor cleanup 2024-11-04 21:18:13 +03:00
REDxEYE
a4b1b2100b libentities: deprecate in favour of official implementation 2024-11-04 21:17:20 +03:00
REDxEYE
7f5bc41835 libentities: add get_hitbox that returns a hitbox from entity definition 2024-11-04 21:17:20 +03:00
REDxEYE
803981e2a8 libworld: expose WorldInfo::fog value to lua 2024-11-04 21:17:20 +03:00
REDxEYE
76fc7b5fb4 libitem: exposed placing_block and emission to lua 2024-11-04 21:17:17 +03:00
MihailRis
3ecb7b447f add particles.stop(...) 2024-11-04 14:55:35 +03:00
MihailRis
c8187c5f25 add particles.emit(...) (WIP) 2024-11-03 16:01:07 +03:00
MihailRis
839211a310 update doc/*/scripting/user-input.md 2024-11-02 13:15:17 +03:00
ChancellorIkseew
7e25b6f825 binding lock/unlock refactoring 2024-11-02 19:44:27 +10:00
ChancellorIkseew
7763157cdc bindings bug fix
If binding was blocked in one world, it stayed being blocked in other.
2024-11-02 05:09:55 +10:00
ChancellorIkseew
63304712f3 add lua function block/unbloc bindings 2024-11-02 03:40:35 +10:00
MihailRis
f7ac76064b
Merge pull request #330 from MihailRis/item-models
Add item models
2024-11-01 12:34:05 +03:00
ChancellorIkseew
b4d3f9ea15 add contentpacks controls reset 2024-11-01 17:42:02 +10:00
MihailRis
e0624b11d0 rename item.get_model_name and item.get_placing_block 2024-10-31 21:53:56 +03:00
MihailRis
e217476e84 fix renderHands with third person cameras 2024-10-31 21:27:30 +03:00
ChancellorIkseew
0733ddb38e add controls reset 2024-10-31 20:57:56 +10:00
MihailRis
7c933f89c6 add item.get_model 2024-10-30 12:55:08 +03:00
MihailRis
a43002cf54 add 'def' to settings info 2024-10-30 11:50:39 +03:00
MihailRis
d3def8e741 Merge branch 'main' into item-models 2024-10-29 23:05:14 +03:00
MihailRis
effdac2d4d add entities.def_hitbox function 2024-10-29 21:16:25 +03:00
MihailRis
751f8a7544 add item.get_placing_block 2024-10-28 13:07:10 +03:00
MihailRis
962c1afc4a Merge branch 'main' into item-models 2024-10-28 10:18:04 +03:00
MihailRis
7819a5cd68 add fragment:place & add 'fragment.place' command 2024-10-28 10:03:08 +03:00
MihailRis
9ffc45cbdc Merge branch 'main' into item-models 2024-10-27 22:20:58 +03:00
MihailRis
176267e7ac fix msvc build again 2024-10-27 22:05:57 +03:00
MihailRis
8ae6d89ed4 fix msvc build again 2024-10-27 21:54:25 +03:00
MihailRis
bb239c0f49 add missing include 2024-10-27 21:44:15 +03:00
MihailRis
3e86d49a7b add utf8.upper, utf8.lower 2024-10-27 21:32:30 +03:00
MihailRis
c84b14ff0f Merge branch 'main' into item-models 2024-10-26 22:58:41 +03:00
MihailRis
7afdde5912 add world.get_generator 2024-10-26 22:46:26 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
137e6fc767 add utf8.sub 2024-10-26 11:24:58 +03:00
MihailRis
ce7698e9ee rename utf8.encode to utf8.tobytes, utf8.decode to utf8.tostring 2024-10-26 10:54:33 +03:00
MihailRis
3dc334e778 add utf8.length, utf8.codepoint 2024-10-26 10:32:34 +03:00
MihailRis
52ed1abf1c add utf8.decode 2024-10-25 22:56:11 +03:00
MihailRis
52e62bbf95 add utf8.encode 2024-10-25 17:22:54 +03:00