Understanding SS13 code: Difference between revisions
Understanding SS13 code (view source)
Revision as of 14:28, 30 October 2014
, 14:28, 30 October 2014→Direction (dir) var
imported>Cheridan |
imported>Cheridan |
||
Line 88: | Line 88: | ||
'''Southwest:''' 10 (2 + 8)<br> | '''Southwest:''' 10 (2 + 8)<br> | ||
They are numbered like this because dir uses the 'bitflag' methodology. It is defined in binary, so... | They are numbered like this because dir uses the 'bitflag' methodology. You can read more about this [[Binary_flags|here.]] It is defined in binary, so... | ||
'''0001''' is north<br> | '''0001''' is north<br> |