700 Commits

Author SHA1 Message Date
MihailRis
80128a4190 add on_inventory_open and on_inventory_closed events 2025-01-12 17:14:01 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
a3d35cd10f add gui.alert & critical fixes 2025-01-02 21:59:18 +03:00
MihailRis
b9ff1db086 feat: key pressed event interception & 'owner' input.add_callback third argument 2025-01-02 20:51:43 +03:00
MihailRis
17dcbe98ab fix clang-check warnings 2025-01-01 16:06:44 +03:00
MihailRis
10f0bd0290 refactor 2024-12-30 17:25:51 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
b4abecc764 refactor 2024-12-24 11:31:54 +03:00
MihailRis
f49feebd5c refactor 2024-12-21 09:55:44 +03:00
MihailRis
ba0610d857 Merge branch 'main' into headless-mode 2024-12-21 09:03:30 +03:00
MihailRis
a5a72af796 fix msvc build 2024-12-21 08:31:58 +03:00
MihailRis
dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis
1aca4957a4 fix 2024-12-19 23:01:16 +03:00
MihailRis
3d7a9fd225 Merge branch 'main' into headless-mode 2024-12-19 22:57:12 +03:00
MihailRis
2787f2fc54 fix: grabbed item is deleted on inventory close 2024-12-19 22:44:54 +03:00
MihailRis
8a4f1e16f3 refactor PlayerController 2024-12-19 00:38:41 +03:00
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +03:00
MihailRis
1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis
e713412a6d rename ChunksStorage to GlobalChunks 2024-12-14 18:58:51 +03:00
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
9ec8788838 add player.create, test.set_setting, test.sleep_until, world.count_chunks 2024-12-12 15:54:56 +03:00
MihailRis
863146cf6b move PlayerController to LevelScreen 2024-12-11 23:42:59 +03:00
MihailRis
c1a7b7545a change components on_render call timing 2024-12-11 21:07:38 +03:00
MihailRis
436bfd24ba update ChunksStorage 2024-12-11 16:30:19 +03:00
MihailRis
5ffc054d75 refactor 2024-12-09 01:12:41 +03:00
MihailRis
1ab3707343 update locale log messages 2024-12-07 00:52:40 +03:00
MihailRis
84b3b82dba refactor & optimize xml parser 2024-12-05 20:12:02 +03:00
MihailRis
04b6b6b546 minor refactor 2024-12-05 19:18:53 +03:00
MihailRis
b65ba61f9a make scrollbar interactive 2024-12-05 14:43:24 +03:00
MihailRis
3f9701915c update hud.open(...) 2024-11-28 15:48:44 +03:00
MihailRis
e1579f0c25 add player_name text3d preset 2024-11-23 08:00:35 +03:00
MihailRis
65e5063326 add player names display 2024-11-23 07:41:44 +03:00
MihailRis
f4f479d389 move 'devtools:console' binding handler to __vc_on_hud_open 2024-11-20 12:15:09 +03:00
MihailRis
e842b217da add 'args' parameter to hud.show_overlay 2024-11-20 11:10:05 +03:00
MihailRis
134deb0ae6 fix typo 2024-11-19 09:39:46 +03:00
MihailRis
78ea12aa26 add console on_open 'mode' argument 2024-11-19 08:30:50 +03:00
MihailRis
66be215101 add advanced lua errors handler & fix hud script source path in traceback 2024-11-19 07:26:28 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
86beea0a61 Merge branch 'main' into console-tabs 2024-11-18 04:20:44 +03:00
MihailRis
e034bda477 fix crosshair 2024-11-18 04:15:51 +03:00
MihailRis
3ea213e8d3 fix console position 2024-11-17 15:53:25 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
f0b6521c76 refactor 2024-11-14 08:09:10 +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
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
04c25ef214 fix block model is not loading automatically 2024-11-07 07:30:47 +03:00
MihailRis
86b5f5d82b fix custom block models 2024-11-07 07:27:29 +03:00
MihailRis
616c63b115 fix generator minimap checkbox 2024-11-07 05:07:56 +03:00