MihailRis
5250c748be
make chunk lightmap optional
2025-11-23 15:22:18 +03:00
MihailRis
9c8e4e813c
fix extra lights-related work in world.set_chunk_data
2025-01-21 23:15:31 +03:00
MihailRis
b5999fe364
fix some UB
2025-01-16 05:57:01 +03:00
MihailRis
d73c0b21f5
fix cmake in linux
2024-12-27 07:00:30 +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
9ec8788838
add player.create, test.set_setting, test.sleep_until, world.count_chunks
2024-12-12 15:54:56 +03:00
MihailRis
7e92a16016
fix weak_ptr leak
2024-12-12 02:40:59 +03:00
@clasher113
9d3e872f88
blocks lighting bug fix
2024-11-04 22:15:14 +02:00
MihailRis
c3569b5dd4
add AreaMap2D
2024-09-09 18:02:08 +03:00
MihailRis
cc524088e0
cleanup
2024-08-10 02:12:01 +03:00
MihailRis
f2a987f412
replace remaining tabs in src/ to spaces
2024-08-10 02:04:15 +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
c7755040bd
voxels/
2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +03:00
InfiniteCoder
e1e3456139
content/
2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +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
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
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
ee9f1639e9
refactor Content
2024-06-25 22:37:53 +03:00
MihailRis
3003386670
chunk flags converted to a bitfield
2024-05-31 11:59:12 +03:00
MihailRis
d3c9911640
nothing actually done
2024-05-18 03:49:34 +03:00
MihailRis
693f50eb87
minor refactor
2024-05-17 23:21:37 +03:00
MihailRis
017c8722ae
memory related refactor
2024-05-13 00:11:20 +03:00
MihailRis
9522aedeec
quick check with linters
2024-05-10 12:34:05 +03:00
MihailRis
3c6089225f
cleanup
2024-05-06 17:35:05 +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
f5b3f3c33f
memory related refactor
2024-04-14 19:17:51 +03:00
MihailRis
4d70138b24
minor refactor + 4 spaces indentation
2024-03-13 19:21:40 +03:00
Onran
8acb0749fb
minor optimize
2024-02-25 14:06:14 +09:00
Onran
d56c0be9bd
minor refact
2024-02-25 14:05:48 +09:00
MihailRis
34815cfd9c
minor refactor
2024-02-21 14:18:25 +03:00
MihailRis
49fdcdfb27
inventory regions, minor refactor
2024-01-31 00:14:43 +03:00
MihailRis
b7fbb8621a
content-pack id validation + refactor
2024-01-25 03:40:08 +03:00
MihailRis
5687e55094
default load-speed set to 4 + minor refactor
2024-01-24 20:43:52 +03:00
MihailRis
58fbb96f2c
chunks controller & lighting optimizations
2024-01-24 20:22:21 +03:00
MihailRis
5d931eacc6
additional optimizations
2024-01-24 19:59:12 +03:00
MihailRis
4ea36f8996
experimental optimizations
2024-01-24 18:23:48 +03:00
MihailRis
1938ccc803
increased world loading speed and ui scroll
2024-01-19 03:53:30 +03:00
MihailRis
377c8e5029
the big refactor + extracted data classes from coders/json to data/dynamic
2024-01-17 16:32:53 +03:00
MihailRis
a102821076
Sky lights data saving (optimization)
2023-12-06 16:15:44 +03:00
MihailRis
6b423b441f
util/dataio + Lightmap.encode
2023-12-06 14:44:16 +03:00
MihailRis
a7b351d5bc
Lights fix
2023-11-24 20:26:16 +03:00
MihailRis
b472626d8d
Backlight for tranparent blocks
2023-11-22 18:58:40 +03:00
MihailRis
3b03464d27
Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor
2023-11-21 11:38:59 +03:00
MihailRis
754c5b80d0
voxels renderer rebuilt, WorldFiles fix
2023-11-02 13:23:52 +03:00