LeviLamina
Loading...
Searching...
No Matches
BlockVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class Pos;
9// clang-format on
10
12public:
13 // BlockVolume inner types declare
14 // clang-format off
15 struct BlockVolumeIter;
16 // clang-format on
17
18 // BlockVolume inner types define
20 public:
21 // BlockVolumeIter inner types define
22 using iterator_category = ::std::forward_iterator_tag;
23
24 using reference = ::std::pair<::Block const*, ::Pos> const&;
25
26 using value_type = ::std::pair<::Block const*, ::Pos> const;
27
28 using pointer = ::std::pair<::Block const*, ::Pos> const*;
29
30 using difference_type = int64;
31
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 12, ::Pos> pos;
36 ::ll::TypedStorage<4, 12, ::Pos> dims;
37 ::ll::TypedStorage<8, 8, ::buffer_span_mut<::Block const*>::iterator> blockIter;
38 // NOLINTEND
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 16, ::buffer_span_mut<::Block const*>> mBlocks;
45 ::ll::TypedStorage<4, 4, uint> mWidth;
46 ::ll::TypedStorage<4, 4, uint> mHeight;
47 ::ll::TypedStorage<4, 4, uint> mDepth;
48 ::ll::TypedStorage<4, 4, int> mDimensionBottom;
49 ::ll::TypedStorage<8, 8, ::Block const*> mInitBlock;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI ::std::unique_ptr<::std::vector<short>> computeHeightMap() const;
56 // NOLINTEND
57};
Definition BlockVolume.h:11
Definition Block.h:36
Definition Pos.h:5
Definition BlockVolume.h:19