Merge pull request #1728 from Fox-McCloud/view-range

Changes View Range to Default of 15x15
This commit is contained in:
Mark van Alphen
2015-08-14 06:03:50 +02:00
11 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -224,8 +224,8 @@
var/x = text2num(screen_loc_X[1]) * 32 + text2num(screen_loc_X[2]) - 32
var/y = text2num(screen_loc_Y[1]) * 32 + text2num(screen_loc_Y[2]) - 32
var/ox = round(544/2) //"origin" x - Basically center of the screen. This is a bad way of doing it because if you are able to view MORE than 17 tiles at a time your aim will get fucked.
var/oy = round(544/2) //"origin" y - Basically center of the screen.
var/ox = round(480/2) //"origin" x - Basically center of the screen. This is a bad way of doing it because if you are able to view MORE than 17 tiles at a time your aim will get fucked.
var/oy = round(480/2) //"origin" y - Basically center of the screen.
var/angle = Atan2(y - oy, x - ox)