112 Commits

Author SHA1 Message Date
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
9ffc45cbdc Merge branch 'main' into item-models 2024-10-27 22:20:58 +03:00
MihailRis
699d8ce2bb add 'sub-consumer' to textbox 2024-10-27 21:04:32 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
Sergwest585
daae8a3707 fix fullcheckbox resize function 2024-10-22 03:22:54 +03:00
MihailRis
08ebfa15db add read-only UI contentOffset property 2024-10-15 05:56:15 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
897d22b50e fix container subnodes render 2024-09-08 17:38:14 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +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
8f9c7eb7ff data/ 2024-08-05 23:59:42 +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
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +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
Vyacheslav Ivanov
8c5e5559ec fix: optimization: PVS-Studio warning V831
Replaced 'at()' method with 'operator[]' to improve performance.

The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:46:29 +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
Vyacheslav Ivanov
f3f872c7a3
fix: optimization: PVS-Studio warning V831
Replaced 'at()' method with 'operator[]' to improve performance.

The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
MihailRis
f46e4a7989 add trackbar 'sub-consumer' for value label refresh when 'change-on-release' 2024-07-28 22:15:18 +03:00
MihailRis
8ca12127db add 'change-on-release' trackbar property & fix mouseRelease event timing 2024-07-28 12:38:31 +03:00
MihailRis
1f257d2db2 Merge branch 'main' into entities 2024-06-30 22:34:51 +03:00
MihailRis
71c754b039 fix Image for non-existing textures in atlas 2024-06-30 22:25:31 +03:00
MihailRis
316233816f Merge branch 'main' into entities 2024-06-30 22:16:14 +03:00
MihailRis
2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
d54b6b2e58 update Assets container - template-based now 2024-06-22 22:30:14 +03:00
MihailRis
0eab8ad8f2 fix: world reload fatal error fix 2024-06-11 14:01:18 +03:00
MihailRis
78de9c39d8 fix: TextBox.setCaret fails when font is not ready 2024-06-07 22:38:03 +03:00
Sergwest
ac0408d42a arch compability fixes and unwarning changes 2024-06-07 22:20:40 +03:00
MihailRis
a5dc187481 fix: function returns by const value 2024-06-07 15:17:32 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
2ee2ca7a38 fix: empty textbox double click causes fatal error 2024-06-04 23:20:22 +03:00
MihailRis
98abbfd838 checkbox tooltips fix 2024-06-04 12:47:16 +03:00
MihailRis
df2c024a3e settings tooltips 2024-06-04 12:44:33 +03:00
MihailRis
c59973505e added node:destruct() 2024-06-03 09:50:48 +03:00