137 Commits

Author SHA1 Message Date
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
MihailRis
ec4043bc12 remove third person cameras height limitation 2024-07-17 19:12:59 +03:00
MihailRis
217c3ad6a8 update chunk hitbox to infinite height 2024-07-15 05:51:46 +03:00
MihailRis
c17f3fec54 add entities raycast 2024-07-14 10:50:06 +03:00
MihailRis
e6d4688f03 despawn entities after chunk unload 2024-07-06 01:30:43 +03:00
MihailRis
f4d3e62b3f add chunk 'entities' flag 2024-07-05 23:26:17 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
fbeb70dbc8 fix: msvc build - missing include 2024-06-14 15:58:33 +03:00
MihailRis
35ef40edfb fix: compiler warning 2024-06-11 14:04:45 +03:00
MihailRis
2dfd2abc40 docs: Chunks.seekOrigin, Chunks.checkReplaceability 2024-06-10 02:00:41 +03:00
MihailRis
90ed175915 feat: extended blocks rotation 2024-06-09 19:54:34 +03:00
MihailRis
65a2a3e475 fix: extended block collision detection 2024-06-09 17:40:01 +03:00
MihailRis
4e696520b6 refactor: PlayerController 2024-06-09 16:30:01 +03:00
MihailRis
b3ae8484a2 fix: extended blocks raycast fix 2024-06-09 13:48:43 +03:00
MihailRis
8aa6d5ee2d add extended blocks (block size property) 2024-06-08 16:58:05 +03:00
MihailRis
c67e4b04bb refactor: WorldRegions and chunks saving 2024-06-07 14:04:25 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
3003386670 chunk flags converted to a bitfield 2024-05-31 11:59:12 +03:00
MihailRis
86dd6562de fix: user bits and manually set rotation not saving 2024-05-31 11:26:16 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
7957a12b84 format fix 2024-05-17 21:37:02 +03:00
MihailRis
b399679c31 other optimizations 2024-05-17 20:00:24 +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
a71314bdad Chunks::saveAndClear() fix (F5 fix) 2024-04-26 16:13:07 +03:00
MihailRis
9f2bceb039 just a minor refactor, nothing special 2024-04-23 02:00:03 +03:00
MihailRis
3ebd8f3062 regions related code moved from WorldFiles to WorldRegions 2024-04-15 03:45:55 +03:00
MihailRis
b56408a202 src/graphics moved to src/graphics/core 2024-03-18 20:47:35 +03:00
MihailRis
45a7bd190a world ceiling removed 2024-03-05 14:51:40 +03:00
MihailRis
c4a07bdb14 fixes 2024-03-03 12:56:50 +03:00
InfiniteCoder
0157213a56 One step closer to multiplayer 2024-03-02 22:59:31 +03:00
InfiniteCoder
3edf065550 Fix #160 with suggestions from @A-lex-Ra 2024-02-24 17:09:11 +03:00
InfiniteCoder
7ee0c672f0 Fix Nomals after #160 2024-02-24 16:15:27 +03:00
InfiniteCoder
70d309dfd9 Done 2024-02-24 12:06:35 +03:00
InfiniteCoder
5c3eafb331 Kinda works, but not raycast 2024-02-24 00:55:56 +03:00
InfiniteCoder
5f551d6888 Multiple Hitboxes 2024-02-24 00:21:17 +03:00
MihailRis
87f50f79c9 block inventories (backend) 2024-02-12 18:28:18 +03:00
MihailRis
241d15e349 ContentPackRuntime + refactor 2024-02-08 20:53:12 +03:00
MihailRis
49fdcdfb27 inventory regions, minor refactor 2024-01-31 00:14:43 +03:00
MihailRis
5eb240678e BLOCK_VOID is an obstacle again 2024-01-29 22:06:35 +03:00
MihailRis
b7fbb8621a content-pack id validation + refactor 2024-01-25 03:40:08 +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
b0165b1014 gzip compress/decompress + refactor 2024-01-17 00:52:55 +03:00
A-lex-Ra
2751369b54 idk 2024-01-05 16:42:08 +06:00
A-lex-Ra
f5856b88b0 fix potential memory leak 2024-01-05 13:19:47 +06:00
A-lex-Ra
d671188680 small refactoring 2024-01-05 13:13:02 +06:00
MihailRis
9ebbe1029d New block properties and lua functions 2023-12-29 21:18:14 +03:00