695 Commits

Author SHA1 Message Date
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
MihailRis
9c8e4e813c fix extra lights-related work in world.set_chunk_data 2025-01-21 23:15:31 +03:00
MihailRis
b12982655d fix gui.alert 2025-01-21 09:39:06 +03:00
MihailRis
23c66654a2 add ENTITY_NONE, ENTITY_AUTO reserved entity id & update player.set_entity(...) 2025-01-21 05:56:14 +03:00
MihailRis
02a93d8bc3 feat: world.get_chunk_data(...) saved chunk data when chunk is not loaded 2025-01-20 01:25:43 +03:00
MihailRis
f1f81371af add world.save_chunk_data(...) 2025-01-19 23:36:37 +03:00
ShadelessFox
5ee44a02f9
Use integer instead of number function variants 2025-01-19 18:21:48 +01:00
ShadelessFox
ee31f401aa
Add canvas UI node 2025-01-19 14:11:56 +01:00
MihailRis
731c72da7c add 'uinode:reposition()' 2025-01-18 07:16:57 +03:00
MihailRis
c9adbe80ea add Bytearray support to world.set_chunk_data(...) 2025-01-18 04:25:32 +03:00
MihailRis
eaff5643a3 add Bytearray support to lua::tovalue 2025-01-18 03:46:42 +03:00
MihailRis
d2bbd82dbe add 'discardAll' parameter to socket:close(...) 2025-01-17 23:43:44 +03:00
MihailRis
177994b9fd Merge branch 'main' into suspend-players 2025-01-17 03:59:02 +03:00
MihailRis
17c4cd2054 fix libbyteutil 2025-01-17 03:58:22 +03:00
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
2adfbdb192 fix rigidbody:is_enabled 2025-01-16 18:17:12 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +03:00
MihailRis
65fec4f4a9 introduce local player 2025-01-16 05:59:43 +03:00
MihailRis
b5999fe364 fix some UB 2025-01-16 05:57:01 +03:00
MihailRis
44b9e21d46 fix input.add_callback 2025-01-16 03:46:56 +03:00
MihailRis
43f0cbe3fe add player.is_suspended, player.set_suspended 2025-01-15 22:25:51 +03:00