64 Commits

Author SHA1 Message Date
GHOST11111100
d489dab013 refactor: streamline tooltip handling by separating caption and description retrieval 2025-07-27 00:51:42 +03:00
GHOST11111100
7893338b67 fix: update tooltip handling to display caption only when description is empty 2025-07-27 00:29:23 +03:00
GHOST11111100
a784a68c44 refactor tooltip handling in SlotView to improve caption and description retrieval 2025-07-26 22:02:53 +03:00
GHOST11111100
21364af7a3 added description to item 2025-07-26 16:49:39 +03:00
GHOST11111100
b4b49ccd83 added custom caption to items. fixed glyph render. 2025-07-26 16:19:00 +03:00
MihailRis
881edb7b28 rename keycode, mousecode enumerations 2025-04-02 17:39:31 +03:00
MihailRis
9694a59649 refactor: add Window interface 2025-04-02 14:59: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
5af6b91b22 add debug GUI render mode (F8) 2025-03-11 00:39:59 +03:00
MihailRis
b1bd4feee7 add 'number' uses display mode 2025-02-18 12:49:15 +03:00
MihailRis
64e433593c fix 2025-02-18 06:37:11 +03:00
MihailRis
81f9e6c7ee refactor & debug output fixes 2025-02-18 04:14:36 +03:00
MihailRis
df2cff3e4c add item 'uses-display' property 2025-02-18 03:24:52 +03:00
MihailRis
449b0ebca4 fix stack increment (right click) with item data 2025-02-18 03:23:45 +03:00
MihailRis
6ef82982bd fix stack split (right click) with item data 2025-02-18 01:04:09 +03:00
MihailRis
231fc7e0d0 refactor InventoryView & add 'uses' item property (WIP) 2025-02-16 20:41:13 +03:00
MihailRis
d86c5508d2 add ItemStack::fields 2025-02-15 20:30:22 +03:00
MihailRis
4306573320 refactor 2025-02-06 20:26:06 +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
ed3865964b add syntax highlighting (WIP) 2024-12-04 22:13:17 +03:00
MihailRis
ce1e9f76cf add FontStylesScheme 2024-12-04 18:04:19 +03:00
MihailRis
69df0eba1b add 'taking' and 'placing' xml properties to slot and slots-grid 2024-11-25 07:12:40 +03:00
MihailRis
4e25362f9b set slot tooltip delay to 0 & refactor 2024-11-24 17:56:14 +03:00
MihailRis
e8ee3e04b1 fix disabled slots display 2024-11-24 17:47:28 +03:00
MihailRis
b3ab037115 add 3D text render (WIP) 2024-11-12 03:14:59 +03:00
MihailRis
9b5c693027 update 'overlay-texture' block property behaviour 2024-11-01 02:18:13 +03:00
MihailRis
4f377b2056 refactor textures access 2024-11-01 02:13:21 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
b3132d16f3 Controversial 2024-08-06 00:11:25 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
9283aa605f frontend/ 2024-08-06 00:01:27 +03:00
InfiniteCoder
9f9b9f2d64 world/ 2024-08-05 23:49:11 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
eb061bcaf4 graphics/ 2024-08-04 22:12:48 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
InfiniteCoder
21ff65d781 assets/ 2024-08-04 11:08:07 +03:00
MihailRis
47db626145 refactor: PVS-Studio warnings fixes 2024-08-04 01:30:52 +03:00
MihailRis
245b39be62 refactor: PVS-Studio warnings fixes 2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
5e70837d3f fix: optimization: PVS-Studio warning V815
The 'empty()' method is more efficient for checking if a string is empty compared to comparing it with an empty string literal.

The default constructor 'std::wstring()' is more efficient for creating an empty string compared to using a string literal.

The 'clear()' method is more efficient for clearing a std::wstring compared to assigning it an empty string literal.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:58 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov
5b325ac2bc
fix: optimization: PVS-Studio warning V815
The 'empty()' method is more efficient for checking if a string is empty compared to comparing it with an empty string literal.

The default constructor 'std::wstring()' is more efficient for creating an empty string compared to using a string literal.

The 'clear()' method is more efficient for clearing a std::wstring compared to assigning it an empty string literal.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00