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
MihailRis
8a073e4e8a
world-wide commit to ruin everything
2022-10-28 22:44:32 +03:00
MihailRis
bdd3fbf7d4
Added 3 unicode pages for font, fixed UI, added Block.breakable
...
Added 1, 2, 3 and 4 unicode pages from Minecraft.
Font now uses std::wstring instead of std::string
Added Block.breakable field (the only unbreakable block is bedrock)
Bedrock is now selectable
2022-07-14 19:23:31 +03:00
MihailRis
b7e8ff5bea
'Player' class, separated main file
...
Moved render code to world_render.h, declarations code (assets and blocks) to declarations.h
2022-03-02 23:45:09 +03:00
MihailRis
bc9d29cf68
A lot of changes in almost all files
2022-02-28 02:30:15 +03:00
MihailRis
01c6c854e1
Optimized lighting, frustum culling, generator
...
- Extended CHUNK_H to 256
- Modified world generator for new world height
- Added simple 2d frustum culling
- Optimized sky lighting calculations
2021-09-17 19:15:14 +03:00
MihailRis
1a00a11917
All changes made for 10th part of tutorial
...
voxel_engine.cpp - changed structure, added character controls, physics
almost all files are modified (including shaders)
+ new source directory - physics
2021-08-04 01:45:04 +03:00
MihailRis
e1cdcf01e9
Add files via upload
2021-04-25 16:08:48 +03:00