1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
|
Resolves a relative direction to an absolute direction.
,Rel ( obj dir -- dir )
Resolves a relative direction to an absolute direction, using the
direction of the specified object as the base. If zero is specified
instead of a valid object, then the result is the same as the input.
ret ( -- )
Exit the current subroutine. If this is a message block, it must either
leave the stack as it is, or leave it but with one extra value pushed
which will be the return value from the message call. (This is implied
at the end of a code block.) For a user defined function call, or a
subroutine call, these restrictions are not applicable.
|
>
>
>
>
>
>
>
>
|
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
|
Resolves a relative direction to an absolute direction.
,Rel ( obj dir -- dir )
Resolves a relative direction to an absolute direction, using the
direction of the specified object as the base. If zero is specified
instead of a valid object, then the result is the same as the input.
Replace ( class x y image dir -- obj ) **
Similar to Create, except that it also destroys any objects in the
target location with any matching CollisionLayers bits, and clears the
Bizarro flag of the created object. You may also specify an object
instead of a class; in this case, it moves that object, but otherwise
acts like above. In the case of an existing object, it will update the
Image and Dir (which can now be relative) if the movement is successful.
ret ( -- )
Exit the current subroutine. If this is a message block, it must either
leave the stack as it is, or leave it but with one extra value pushed
which will be the return value from the message call. (This is implied
at the end of a code block.) For a user defined function call, or a
subroutine call, these restrictions are not applicable.
|