mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
* okay * ok * ok * ok * ok * why am i doing this * WHY DID I DO THIS * mirror doesn't work * compile * shuttles should work * fix engine * fix engine * off by 1 * ok * adds proccall to write next map * haha post processing funny * fixes * Update code/modules/mapping/map_template.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> * Update code/modules/mapping/map_template.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> * Update code/modules/mapping/map_template.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> * Update code/modules/mapping/map_template.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
47 lines
870 B
Plaintext
47 lines
870 B
Plaintext
GLOBAL_LIST_INIT(map_orientation_patterns, list(
|
|
TEXT_NORTH = new /datum/map_orientation_pattern/north,
|
|
TEXT_SOUTH = new /datum/map_orientation_pattern/south,
|
|
TEXT_EAST = new /datum/map_orientation_pattern/east,
|
|
TEXT_WEST = new /datum/map_orientation_pattern/west
|
|
))
|
|
|
|
/datum/map_orientation_pattern
|
|
var/invert_x
|
|
var/invert_y
|
|
var/swap_xy
|
|
var/xi
|
|
var/yi
|
|
var/turn_angle
|
|
|
|
/datum/map_orientation_pattern/north
|
|
invert_y = TRUE
|
|
invert_x = TRUE
|
|
swap_xy = FALSE
|
|
xi = -1
|
|
yi = 1
|
|
turn_angle = 180
|
|
|
|
/datum/map_orientation_pattern/south
|
|
invert_y = FALSE
|
|
invert_x = FALSE
|
|
swap_xy = FALSE
|
|
xi = 1
|
|
yi = -1
|
|
turn_angle = 0
|
|
|
|
/datum/map_orientation_pattern/east
|
|
invert_y = TRUE
|
|
invert_x = FALSE
|
|
swap_xy = TRUE
|
|
xi = 1
|
|
yi = 1
|
|
turn_angle = 90
|
|
|
|
/datum/map_orientation_pattern/west
|
|
invert_y = FALSE
|
|
invert_x = TRUE
|
|
swap_xy = TRUE
|
|
xi = -1
|
|
yi = -1
|
|
turn_angle = 270
|