diff options
Diffstat (limited to 'src/database.h')
-rw-r--r-- | src/database.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/database.h b/src/database.h index 79cabe6a3..4ce80ed93 100644 --- a/src/database.h +++ b/src/database.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <list> #include "irr_v3d.h" +#include "irrlichttypes.h" class MapBlock; @@ -33,8 +34,8 @@ public: virtual void saveBlock(MapBlock *block)=0; virtual MapBlock* loadBlock(v3s16 blockpos)=0; - long long getBlockAsInteger(const v3s16 pos); - v3s16 getIntegerAsBlock(long long i); + s64 getBlockAsInteger(const v3s16 pos); + v3s16 getIntegerAsBlock(s64 i); virtual void listAllLoadableBlocks(std::list<v3s16> &dst)=0; virtual int Initialized(void)=0; virtual ~Database() {}; |