815 Commits

Author SHA1 Message Date
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
bf5a5b243f Merge branch 'main' into precipitation 2025-03-09 23:13:04 +03:00
MihailRis
db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
MihailRis
6078a8802e add canvas:set_data 2025-03-08 14:55:17 +03:00
MihailRis
2af55a0227 add Canvas constructor & add canvas:blit 2025-03-08 14:02:57 +03:00
MihailRis
5bbba7f39d add ImageData.drawLine 2025-03-08 13:36:43 +03:00
MihailRis
dca4f283cc add canvas:clear(...), canvas:line(...) 2025-03-07 20:20:27 +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
f7fa9774d6
Update representation of RGBA 2025-02-22 17:50:21 +01: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
f8d0ded70e fix windows build 2025-02-04 13:52:33 +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
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
e5d558d357 move world-related sources from files/ to world/files 2025-01-30 15:02:28 +03:00
MihailRis
41dfcad474 fix segfaults due to access to dead lua states (coroutines) 2025-01-29 07:36:54 +03:00
MihailRis
79f6dcb171 use Bytearray in lua::pushvalue for byte arrays 2025-01-28 13:03:38 +03:00
MihailRis
e377450589 fix world.get_list in headless mode 2025-01-27 05:37:03 +03:00
MihailRis
e03467cd1c fix pack.assemble & app.reconfig_packs/app.config_packs missing packs non-informative error messages 2025-01-26 09:56:06 +03:00
MihailRis
9c630645b4 add console.get(...) & add 'player' console variable 2025-01-22 10:15:31 +03:00