252 Commits

Author SHA1 Message Date
MihailRis
303346f5e5 fix: hud.close after hud.show_overlay bug 2025-08-11 23:58:00 +03:00
MihailRis
2783b0af7b possible hud.open bug fix 2025-08-11 23:53:49 +03:00
MihailRis
15a778299c limit chunks non-unloading zone to a circle 2025-07-13 15:57:57 +03:00
MihailRis
fc46b7c434 initial commit 2025-05-07 20:42:50 +03:00
clasher113
d888ddec4c
fix: pause menu on hudVisible=false (#512)
* fix: pause menu on hudVisible=false
2025-04-12 20:30:55 +03:00
MihailRis
881edb7b28 rename keycode, mousecode enumerations 2025-04-02 17:39:31 +03:00
MihailRis
9843a1fc27 remove Viewport class 2025-04-02 17:35:17 +03:00
MihailRis
7262119f5b refactor GLFWWindow 2025-04-02 15:01:24 +03:00
MihailRis
0b8d56afe1 cleanup 2025-04-02 14:59:53 +03:00
MihailRis
9694a59649 refactor: add Window interface 2025-04-02 14:59:53 +03:00
MihailRis
b3feb5945b reduce extra includes 2025-04-02 14:55:53 +03:00
MihailRis
bccdeec7b8 fix crosshair visibility 2025-04-02 14:55:53 +03:00
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
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
4c9019e03c small fixes 2025-03-11 00:39:59 +03:00
MihailRis
41a45fc432 rename hud_element_mode to HudElementMode 2025-02-12 00:09:44 +03:00
MihailRis
c1e9976d95 Merge branch 'main' into update-items 2025-02-11 23:52:06 +03:00
MihailRis
6500f9b6f3 fix textbox text offset & fix invisible alerts 2025-02-11 23:46:13 +03:00
MihailRis
4306573320 refactor 2025-02-06 20:26:06 +03:00
MihailRis
eaa64cbdd1 fix pause menu 2025-01-19 20:32:02 +03:00
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
a45487b3c7 move 'key:escape' handler to Lua 2025-01-16 23:11:00 +03:00
MihailRis
5130907192 fix hud 2025-01-12 23:09:41 +03:00
MihailRis
90fc559234 add hud.open inventory events support 2025-01-12 17:36:42 +03:00
MihailRis
80128a4190 add on_inventory_open and on_inventory_closed events 2025-01-12 17:14:01 +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
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
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
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
436bfd24ba update ChunksStorage 2024-12-11 16:30:19 +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
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
78ea12aa26 add console on_open 'mode' argument 2024-11-19 08:30:50 +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