mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Revert binary database block position encoding
This reverts commitsa2003b0d55
and54ffe2e5de
. These weren't correct. Add a black magic warning instead.
This commit is contained in:
parent
9ec281c712
commit
41bc24477b
2 changed files with 31 additions and 10 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
virtual void saveBlock(MapBlock *block)=0;
|
||||
virtual MapBlock* loadBlock(v3s16 blockpos)=0;
|
||||
s64 getBlockAsInteger(const v3s16 pos) const;
|
||||
v3s16 getIntegerAsBlock(const s64 i) const;
|
||||
v3s16 getIntegerAsBlock(s64 i) const;
|
||||
virtual void listAllLoadableBlocks(std::list<v3s16> &dst)=0;
|
||||
virtual int Initialized(void)=0;
|
||||
virtual ~Database() {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue