41 Commits

Author SHA1 Message Date
ChancellorIkseew
63304712f3 add lua function block/unbloc bindings 2024-11-02 03:40:35 +10:00
ChancellorIkseew
b4d3f9ea15 add contentpacks controls reset 2024-11-01 17:42:02 +10:00
ChancellorIkseew
17655eef45 linux/macos build bug fix
add const
2024-10-31 22:11:56 +10:00
ChancellorIkseew
0733ddb38e add controls reset 2024-10-31 20:57:56 +10:00
MihailRis
d14548cff8 feat: toml lvalues support 2024-10-12 00:23:52 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
e6da3638f0 Logger.hpp 2024-08-04 12:46:03 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +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
63ede5e27d fix: optimization: PVS-Studio warning V837
Replaced 'emplace' with 'try_emplace' to avoid unnecessary copies or moves when insertion fails.

The 'emplace' function does not guarantee that arguments will not be copied or moved if insertion is not successful. Using 'try_emplace' ensures that arguments are only copied or moved if the insertion actually takes place, thus improving performance.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:45:26 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
307ffc3c8f
fix: optimization: PVS-Studio warning V837
Replaced 'emplace' with 'try_emplace' to avoid unnecessary copies or moves when insertion fails.

The 'emplace' function does not guarantee that arguments will not be copied or moved if insertion is not successful. Using 'try_emplace' ensures that arguments are only copied or moved if the insertion actually takes place, thus improving performance.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
MihailRis
14911aa30f remove old bindings format support 2024-06-07 14:13:49 +03:00
MihailRis
ad62b759fb fix: input F1..F25 key codes & add binding 'chunks.reload' 2024-06-05 19:29:35 +03:00
MihailRis
4e2ba865f3 controls.json -> controls.toml 2024-06-02 22:10:39 +03:00
MihailRis
66476ee642 bindings.toml, config/bindings.toml file 2024-05-20 04:06:49 +03:00
MihailRis
60cfe8595e minor refactor 2024-05-12 19:42:13 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis
ba885e4e08 input.add_callback 2024-05-05 06:49:17 +03:00
MihailRis
167388aefb track-width fixes 2024-04-28 20:09:55 +03:00
MihailRis
3e929cd97c cursor movement fix 2024-03-06 16:34:26 +03:00
MihailRis
3862dbda66 contentpack remove feature WIP 2024-02-29 23:47:07 +03:00
A-lex-Ra
77b36f45f2 remove redundant static_cast by changing Events::pressedKeys template parameter from int to keycode 2024-02-23 20:15:02 +06:00
A-lex-Ra
8bb1045e34 refactor input.h and related 2024-02-23 18:49:15 +06:00
quflax
4d281ff03b dasdasdasdas 2023-12-27 15:01:18 +02:00
quflax
95c713bc4d dasdas 2023-12-27 13:39:23 +02:00
A-Lex-Ra
911e828602 refactor Events 2023-12-03 23:24:52 +06:00
MihailRis
be807535f5 Panels scrolling, scissors test fix 2023-11-23 13:36:24 +03:00
MihailRis
e04abe79d8 inputtype::button renamed to inputtype::mouse 2023-11-20 06:39:42 +03:00
MihailRis
9051db3526 bindings, controls.json file 2023-11-19 22:37:15 +03:00
MihailRis
086f04af39 GLFW-related update & -lstdc++fs 2023-11-09 00:14:33 +03:00
MihailRis
754c5b80d0
voxels renderer rebuilt, WorldFiles fix 2023-11-02 13:23:52 +03:00
MihailRis
4f20abe7ea
Warning fixes, refactor 2023-09-19 23:25:17 +03:00
zebra
815aa90489 func name fix 2022-11-08 10:51:13 +03:00
MihailRis
667eb6bab5
Added Events::finalize 2022-03-08 21:01:36 +03:00
MihailRis
e1cdcf01e9
Add files via upload 2021-04-25 16:08:48 +03:00