Replace all single-digit hex constants with two-digit version
This commit is contained in:
parent
db118af6ae
commit
0d72270186
|
@ -16,9 +16,9 @@ class cWorldInterface;
|
||||||
|
|
||||||
|
|
||||||
class cBlockBedHandler :
|
class cBlockBedHandler :
|
||||||
public cYawRotator<cBlockEntityHandler, 0x3, 0x02, 0x03, 0x00, 0x01>
|
public cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>
|
||||||
{
|
{
|
||||||
using super = cYawRotator<cBlockEntityHandler, 0x3, 0x02, 0x03, 0x00, 0x01>;
|
using super = cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
using cBlockGlazedTerracottaHandler = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x3, 0x1, 0x3, 0x0, 0x2>>;
|
using cBlockGlazedTerracottaHandler = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x01, 0x03, 0x00, 0x02>>;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -174,11 +174,11 @@ public:
|
||||||
selects the direction bits from the block's meta values. */
|
selects the direction bits from the block's meta values. */
|
||||||
template <
|
template <
|
||||||
class Base,
|
class Base,
|
||||||
NIBBLETYPE BitMask = 0x7,
|
NIBBLETYPE BitMask = 0x07,
|
||||||
NIBBLETYPE North = 0x2,
|
NIBBLETYPE North = 0x02,
|
||||||
NIBBLETYPE East = 0x5,
|
NIBBLETYPE East = 0x05,
|
||||||
NIBBLETYPE South = 0x3,
|
NIBBLETYPE South = 0x03,
|
||||||
NIBBLETYPE West = 0x4,
|
NIBBLETYPE West = 0x04,
|
||||||
bool AssertIfNotMatched = false
|
bool AssertIfNotMatched = false
|
||||||
>
|
>
|
||||||
class cYawRotator:
|
class cYawRotator:
|
||||||
|
@ -250,13 +250,13 @@ public:
|
||||||
selects the direction bits from the block's meta values. */
|
selects the direction bits from the block's meta values. */
|
||||||
template <
|
template <
|
||||||
class Base,
|
class Base,
|
||||||
NIBBLETYPE BitMask = 0x7,
|
NIBBLETYPE BitMask = 0x07,
|
||||||
NIBBLETYPE North = 0x2,
|
NIBBLETYPE North = 0x02,
|
||||||
NIBBLETYPE East = 0x5,
|
NIBBLETYPE East = 0x05,
|
||||||
NIBBLETYPE South = 0x3,
|
NIBBLETYPE South = 0x03,
|
||||||
NIBBLETYPE West = 0x4,
|
NIBBLETYPE West = 0x04,
|
||||||
NIBBLETYPE Up = 0x1,
|
NIBBLETYPE Up = 0x01,
|
||||||
NIBBLETYPE Down = 0x0
|
NIBBLETYPE Down = 0x00
|
||||||
>
|
>
|
||||||
class cPitchYawRotator:
|
class cPitchYawRotator:
|
||||||
public cYawRotator<Base, BitMask, North, East, South, West>
|
public cYawRotator<Base, BitMask, North, East, South, West>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user