525 Commits

Author SHA1 Message Date
MihailRis
66be215101 add advanced lua errors handler & fix hud script source path in traceback 2024-11-19 07:26:28 +03:00
MihailRis
c5c9ef379e add textbox:lineAt and textbox:linePos 2024-11-19 05:57:46 +03:00
MihailRis
2cf51a6941 add 'line-numbers' property to textbox & make TextBox extend Container instead of Panel 2024-11-19 04:21:05 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
801650824e add 'text-color' textbox property 2024-11-18 14:03:30 +03:00
MihailRis
0bfc5d2ad4 add base64 library 2024-11-18 11:52:06 +03:00
MihailRis
dcd8871ee1 add utf8.escape, string.escape & reformat extensions.md 2024-11-18 09:21:16 +03:00
MihailRis
04da2f5e69 add .set_rotation(mat4) 2024-11-15 04:29:52 +03:00
MihailRis
a8388a6243 add text3d.get_axis_x, .set_axis_x, .get_axis_y, .set_axis_y 2024-11-15 03:09:05 +03:00
MihailRis
4a74e56eda add update_settings 2024-11-14 21:18:36 +03:00
MihailRis
501f1b568d add get_text, set_text, get_pos, set_pos 2024-11-14 10:57:55 +03:00
MihailRis
d74b530a83 rename spawn to show & add gfx.text3d.hide(...) 2024-11-14 10:45:37 +03:00
MihailRis
eb5715eba9 add gfx.text3d.spawn(...) 2024-11-14 10:32:50 +03:00
MihailRis
d72f758dc5 add 'hint' property to TextBox 2024-11-12 23:20:43 +03:00
MihailRis
c902bcc6c7
Merge pull request #355 from opchik98/main
Feature #152 and potential fix #320
2024-11-10 21:36:17 +03:00
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
fdbe8ca9c6 move particles to gfx.particles 2024-11-06 20:18:57 +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