[MIRROR] Point Refactor (#10233)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-28 04:38:05 -07:00
committed by GitHub
parent c450398bcd
commit 812150cd72
10 changed files with 13 additions and 64 deletions

View File

@@ -56,6 +56,9 @@
* its inherent color, the colored paint applied on it, special color effect etc...
*/
var/list/atom_colours
/// Lazylist of all images to update when we change z levels
/// You will need to manage adding/removing from this yourself, but I'll do the updating for you
var/list/image/update_on_z
/atom/New(loc, ...)
// Don't call ..() unless /datum/New() ever exists

View File

@@ -657,3 +657,9 @@
cut_overlay(source)
if(em_block == source)
em_block = null
/atom/movable/proc/abstract_move(atom/new_loc)
var/atom/old_loc = loc
var/direction = get_dir(old_loc, new_loc)
loc = new_loc
Moved(old_loc, direction, TRUE)

View File

@@ -60,9 +60,3 @@
/atom/movable/proc/show_message(msg, type, alt, alt_type)//Message, type of message (1 or 2), alternative message, alt message type (1 or 2)
return
/atom/movable/proc/abstract_move(atom/new_loc)
var/atom/old_loc = loc
var/direction = get_dir(old_loc, new_loc)
loc = new_loc
Moved(old_loc, direction, TRUE)