diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-12-23 21:42:49 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-12-23 21:42:49 +0100 |
commit | 0ad45225f7ecb1a8a5ee6751e8f682d5966c2fd8 (patch) | |
tree | 6ebb7593bae0ee2b5fb604475549cf30295da178 /tetris/io.prn | |
parent | 2a952e107509cbc743b351e32663bfc8c6df9211 (diff) |
Diffstat (limited to 'tetris/io.prn')
-rw-r--r-- | tetris/io.prn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tetris/io.prn b/tetris/io.prn index d749150..24fb4bb 100644 --- a/tetris/io.prn +++ b/tetris/io.prn @@ -5,13 +5,13 @@ } @defun "io_pos_windowend" { #puts: x y - ntiles_x tile_sizex * padding_x 2 * + origin_x + - ntiles_y tile_sizey * padding_y 2 * + origin_y + + ntiles_x padding_x 2 * + tile_sizex * origin_x + + ntiles_y padding_y 2 * + tile_sizey * origin_y + } @defun "io_pos_after" { #puts: x y 0 - ntiles_y tile_sizey * padding_y 2 * + 1 + + ntiles_y padding_y 2 * + tile_sizey * origin_y + } @defun "io_clearscreen" { |