summaryrefslogtreecommitdiffstats
path: root/src/world/Block.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-07 16:21:39 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-07 16:21:39 +0200
commitb192dcec842cf043ae936c446bb252259b415ab5 (patch)
treed7c54847a22a63899eb515a67a3a74ae4ad90d38 /src/world/Block.hpp
parent2017-05-31 (diff)
downloadAltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar.gz
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar.bz2
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar.lz
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar.xz
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.tar.zst
AltCraft-b192dcec842cf043ae936c446bb252259b415ab5.zip
Diffstat (limited to '')
-rw-r--r--src/world/Block.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/world/Block.hpp b/src/world/Block.hpp
index 50268f3..2f823fe 100644
--- a/src/world/Block.hpp
+++ b/src/world/Block.hpp
@@ -1,15 +1,15 @@
#pragma once
struct Block {
- Block();
+ Block();
- Block(unsigned short id, unsigned short state);
+ Block(unsigned short id, unsigned char state);
- ~Block();
+ ~Block();
- unsigned short id:13;
- unsigned char state:4;
- //unsigned char light:4;
+ unsigned short id : 13;
+ unsigned char state : 4;
+ //unsigned char light:4;
};
bool operator<(const Block &lhs, const Block &rhs); \ No newline at end of file