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
54f15ecaea
maths/
2024-08-06 00:06:23 +03:00
InfiniteCoder
eb6bb19dc6
interfaces/
2024-08-06 00:04:32 +03:00
InfiniteCoder
8f9c7eb7ff
data/
2024-08-05 23:59:42 +03:00
InfiniteCoder
9f9b9f2d64
world/
2024-08-05 23:49:11 +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
47db626145
refactor: PVS-Studio warnings fixes
2024-08-04 01:30:52 +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
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
Vyacheslav Ivanov
52905ff27b
fix: optimization: PVS-Studio warning V802
...
Rearranged structure fields in decreasing order of size to reduce structure size from 32 to 24 and 12 to 8 bytes on 64-bit platforms.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:42:06 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
c3e4341a04
fix: optimization: PVS-Studio warning V802
...
Rearranged structure fields in decreasing order of size to reduce structure size from 32 to 24 and 12 to 8 bytes on 64-bit platforms.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 06:12:30 +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
0f26bbadfd
fix Block.rt and ItemDef.rt initialization
2024-07-06 01:34:52 +03:00
MihailRis
5b154b57b3
implement actual items dropping
2024-07-02 23:36:38 +03:00
MihailRis
66a1240fbc
refactor ContentBuilder and add entities support
2024-06-26 03:40:14 +03:00
MihailRis
1acced4475
fix and refactor ContentLUT
2024-06-25 23:36:07 +03:00
MihailRis
ee9f1639e9
refactor Content
2024-06-25 22:37:53 +03:00
Pugemon
e98fb9a1a7
Optimize container insertions using emplace_back instead of push_back
2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +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
2a77c24414
inventory convert fix (items count)
2024-05-05 17:49:17 +03:00
MihailRis
83e7cedffe
gcc warning fix
2024-04-29 01:17:56 +03:00
MihailRis
ef28a368cb
refactor
2024-04-28 22:33:34 +03:00
MihailRis
5c3b61265a
blocks and items 'caption' property
2024-03-12 16:59:34 +03:00
MihailRis
c6b06f04d8
items: on_use event
2024-03-05 22:21:24 +03:00
DanielProl1xy
ae330a9165
fix
2024-02-21 14:19:40 +03:00
MihailRis
086bcec9c2
critical lua fixes
2024-02-19 12:58:29 +03:00
DanielProl1xy
102ec6d865
public inheritance
2024-02-19 10:26:48 +03:00
MihailRis
cac963bd7b
lua: inventory.clone
2024-02-19 03:51:09 +03:00
MihailRis
7e553efdec
lua: hud library
2024-02-16 13:57:03 +03:00
A-lex-Ra
5ab44d13a6
gnu type deducing fix
2024-02-14 11:37:09 +06:00
A-lex-Ra
02860f193a
<algorithm> included where needed
2024-02-14 10:40:02 +06:00
MihailRis
87f50f79c9
block inventories (backend)
2024-02-12 18:28:18 +03:00
MihailRis
e16f7567b1
lua: inventory library
2024-02-12 13:56:46 +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
DanielProl1xy
8466c42896
added serializable class
2024-01-30 15:53:49 +03:00
MihailRis
51ffb93230
inventory reindexing
2024-01-26 15:35:23 +03:00
MihailRis
0d62067e5a
inventory saving
2024-01-22 01:41:57 +03:00
MihailRis
9e3c4fb00c
InventoryBuilder used for access panel and hotbar
2024-01-21 18:34:44 +03:00
MihailRis
5142f3b4e7
Inventory (WIP part I)
2024-01-21 15:23:46 +03:00
MihailRis
b12d242335
Block.scriptName, ItemDef.scriptName
2024-01-18 04:41:35 +03:00
MihailRis
01344a9d1d
added ItemDef.stackSize
2024-01-18 01:56:41 +03:00