mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
eh
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
flash = new /obj/screen()
|
||||
flash.icon_state = "blank"
|
||||
flash.name = "flash"
|
||||
flash.screen_loc = "1,1 to 15,15"
|
||||
flash.screen_loc = "WEST,SOUTH to EAST,NORTH"
|
||||
flash.layer = 17
|
||||
blind = new /obj/screen()
|
||||
blind.icon_state = "black"
|
||||
|
||||
@@ -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(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/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/angle = Atan2(y - oy, x - ox)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user