1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
|
neg ( in -- out )
Multiply by negative one.
NewX ( oldx dir -- newx )
Advance the number in the direction as though it is a X coordinate. If
the direction is north or south, leaves it alone, but if it is east or
west then it is increased or decreased by one.
NewY ( oldx dir -- newy )
Advance the number in the direction as though it is a Y coordinate.
nip ( x y -- y )
ObjAbove ( -- obj )
|
|
>
|
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
|
neg ( in -- out )
Multiply by negative one.
NewX ( oldx dir -- newx )
Advance the number in the direction as though it is a X coordinate. If
the direction is north or south, leaves it alone, but if it is east or
west then it is increased or decreased by one. The output is never less
than zero nor exceeding the playfield width by more than one.
NewY ( oldx dir -- newy )
Advance the number in the direction as though it is a Y coordinate.
nip ( x y -- y )
ObjAbove ( -- obj )
|