73 Commits

Author SHA1 Message Date
MihailRis
3bc329041a add dv::list(initializer_list<value>) 2024-09-16 19:43:20 +03:00
MihailRis
2aae28e193 fix dv::value::operator=(const value&) 2024-09-16 19:27:59 +03:00
MihailRis
adde5bd80d add new dv::value methods and iterators 2024-09-15 18:23:05 +03:00
MihailRis
fa12b9b751 add dv::value.object(...), .list(...) 2024-09-15 11:15:37 +03:00
MihailRis
371d714774 add dv::value.add(...) 2024-09-15 01:01:11 +03:00
MihailRis
464eb9989c decrease dv::value size 2024-09-15 00:28:18 +03:00
MihailRis
d703567dc1 add data/dv.hpp 2024-09-14 23:25:43 +03:00
MihailRis
14affb72b6 add new Map and List bytebuffer-related methods 2024-09-12 18:25:52 +03:00
MihailRis
f8fadf8b74 add json BJSON_TYPE_BYTES support 2024-09-12 17:22:00 +03:00
MihailRis
6f4a7db910 add binary_json BJSON_TYPE_BYTES support 2024-09-12 16:24:51 +03:00
MihailRis
8be0ed819e add new json::stringify overloads 2024-09-12 13:28:45 +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
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +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
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +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
d8c9fa1fe2 loading rig pose, textures, body settings 2024-07-09 21:19:29 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
e301dbe164 fix msvc build 2024-07-05 05:27:00 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
9dadae6e34 world convert fatal error fix 2024-06-05 09:41:06 +03:00
MihailRis
c94d40ab02 toml parser update + 'toml' module is built-in now 2024-05-20 01:28:42 +03:00
MihailRis
35fdd475ee msvc build fix 2024-05-18 22:13:53 +03:00
MihailRis
e273829ef5 c++ must be illegal 2024-05-16 17:08:38 +03:00
MihailRis
b032122e58 dumb compilers build fix 2024-05-16 16:56:25 +03:00
MihailRis
b38128ef39 relative values, types check 2024-05-10 16:05:46 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
76f52037b5 added operator<< overloads for dynamic::Value 2024-05-09 22:01:38 +03:00
MihailRis
debdec1dc2 dynamic::create_map, dynamic::create_list 2024-05-09 20:30:14 +03:00
MihailRis
9695a78bc3 dynamic::none,NONE 2024-05-09 17:08:28 +03:00
MihailRis
65e85f362c dynamic::valtype renamed to dynamic::Type 2024-05-08 04:06:24 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00
MihailRis
8e83a07094 'dynamic' namespace refactor (step 2) 2024-05-07 17:03:04 +03:00
MihailRis
d33edd4cd9 'dynamic' namespace refactor (step 1/2) 2024-05-07 16:00:52 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
4dc2c4701d menu page queries 2024-05-05 22:40:24 +03:00
MihailRis
2a77c24414 inventory convert fix (items count) 2024-05-05 17:49:17 +03:00
MihailRis
ba885e4e08 input.add_callback 2024-05-05 06:49:17 +03:00
MihailRis
788bd6bf0f numeric setting value display fix 2024-04-28 19:03:54 +03:00
MihailRis
001617f6d9 StringSetting, gui.set_locale removed 2024-04-26 03:03:42 +03:00