261 Commits

Author SHA1 Message Date
MihailRis
b202d1455b refactor: replace references to Events with Input 2025-04-02 14:55:53 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
74a94f869c refactor: reduce Window references 2025-04-02 14:55:53 +03:00
MihailRis
ffa199ed91 Merge branch 'main' into devel 2025-03-27 10:50:38 +03:00
MihailRis
bbe5688a53 fix entities.spawn in coroutines 2025-03-27 08:50:42 +03:00
MihailRis
c28bfae679 add yaml serialization library 2025-03-24 07:43:41 +03:00
MihailRis
2ee0605f1f add 'scroll' container property 2025-03-21 05:31:46 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
f5a4b5ca79 fix inventory.move_range 2025-03-18 03:45:20 +03:00
MihailRis
a086b726c6 add file.create_zip(...) 2025-03-17 23:16:50 +03:00
MihailRis
e8153f3393 add file.mount(...) and file.unmount(...) 2025-03-17 23:01:44 +03:00
MihailRis
513bac81b5
fix crc32 in static build (#488)
fix crc32 in static build
2025-03-17 20:16:52 +03:00
MihailRis
104cc11645 fix reading binary file as string 2025-03-17 02:14:17 +03:00
MihailRis
b009826d33 feat: allow specifying direct file path in audio.play_stream 2025-03-17 00:40:40 +03:00
MihailRis
a0b0c0a9f0 disable utf-8 escaping in json.stringify by default & add utfEscape argument to json.stringify & update network.post behaviour for pre-serialized data 2025-03-17 00:21:31 +03:00
MihailRis
4761c520d5 feat: component script reloading 2025-03-16 22:03:37 +03:00
MihailRis
6fb14ee0a4 feat: reloading hud scripts 2025-03-15 21:12:19 +03:00
MihailRis
f9998f0a93 feat: world script reloading 2025-03-14 17:07:10 +03:00
MihailRis
4400f7fbfb add block.reload_script, item.reload_script 2025-03-13 22:05:53 +03:00
MihailRis
1bb25e99c6 add core.capture_output 2025-03-13 22:05:14 +03:00
MihailRis
3a4b334d0b feat: 'edited' property reset & add 'oncontrolkey' textbox callback 2025-03-12 19:51:22 +03:00
MihailRis
88b45e5098 add pack.request_writeable(...) & update gui.confirm screen 2025-03-12 17:07:57 +03:00
MihailRis
93f20b1746 add 'edited' read-only textbox property 2025-03-12 02:32:41 +03:00
MihailRis
5af6b91b22 add debug GUI render mode (F8) 2025-03-11 00:39:59 +03:00
MihailRis
a74a4fcf53 fix fatal error on audio.play_sound in headless-mode 2025-03-11 00:37:12 +03:00
MihailRis
db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis
7a86cbdd60 move weather library out of gfx 2025-03-05 18:39:34 +03:00
MihailRis
9c4db8fa10 refactor: move Weather instance to WorldInfo 2025-02-28 18:49:44 +03:00
MihailRis
a152237f26 add gfx.weather.get_current, get_current_data, get_fall_intencity 2025-02-28 05:23:29 +03:00
MihailRis
4d5b450145 add gfx.weather library & add weather.set command 2025-02-27 07:30:49 +03:00
ShadelessFox
0b6ba2faee
Reuse image data instead of fetching it every time off the GPU 2025-02-22 17:49:36 +01:00
MihailRis
8fecc70e05 add inventory.decrement, inventory.set_count 2025-02-20 19:47:50 +03:00
MihailRis
3aa7d6ac28 feat: support items data in base pack 2025-02-18 01:03:34 +03:00
MihailRis
bbfc0dbf17 add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker 2025-02-17 04:40:18 +03:00
MihailRis
a118016c8f add data argument to inventory.add 2025-02-16 03:31:06 +03:00
MihailRis
d25180406b add data argument to inventory.set & add inventory.get_all_data 2025-02-16 03:00:00 +03:00
MihailRis
8837542561 add inventory.has_data 2025-02-16 02:27:21 +03:00
MihailRis
ace01b6ac9 rename inventory.get_field/set_field to inventory.get_data/set_data 2025-02-16 02:15:53 +03:00
MihailRis
35d0b0f7f6 add inventory.get_field, .set_field & refactor libinventory.cpp 2025-02-15 20:31:00 +03:00
MihailRis
07aa2f4730 Merge branch 'main' into update-items 2025-02-13 15:24:56 +03:00
MihailRis
3430e5cd6f add 'player-entity' to defaults.toml 2025-02-12 16:32:21 +03:00
MihailRis
c1e9976d95 Merge branch 'main' into update-items 2025-02-11 23:52:06 +03:00
MihailRis
0eeea9dde6 fix hud libraries not removing after on_hud_close & fix segfault on illegal access to hud functions 2025-02-11 16:16:15 +03:00
MihailRis
4306573320 refactor 2025-02-06 20:26:06 +03:00
MihailRis
1ec8f89599 add io::Device::mkdir 2025-02-04 14:10:23 +03:00
MihailRis
94bae83de6 fix windows build 2025-02-04 13:32:50 +03:00
MihailRis
a653b063e6 completely remove EnginePaths::resolve 2025-02-04 12:35:19 +03:00
MihailRis
28caec6aa0 Merge branch 'main' into update-file-subsystem 2025-02-02 16:32:25 +03:00
MihailRis
b00160eb26 add chunk data validity check to world.set_chunk_data 2025-01-31 12:41:49 +03:00
MihailRis
347d76870a add io::directory_iterator 2025-01-31 10:07:05 +03:00