[MIRROR] Beam Rifle Zooming Rework + Click catcher memes + bunch of other random stuff that players won't use (#2039)
* Beam Rifle Zooming Rework + Click catcher memes + bunch of other random stuff that players won't use * Fixes beam rifle indent error * Projectile target check hit code now uses a proc for resharing * Update beam_rifle.dm * Delete beam_rifle.dm.rej * Changes clickcatcher to dynamically scale based on view range rather than making 1 tile for each tile viewed * Update turf.dm * Update turf.dm * Delete click.dm.rej * Update click.dm * fxies * woops * Update turf.dm * the actual rifle * dumb clickcatcher * actions
This commit is contained in:
committed by
kevinz000
parent
1b22c5fe0c
commit
d4f15ff6da
@@ -48,7 +48,7 @@
|
||||
|
||||
preload_rsc = PRELOAD_RSC
|
||||
|
||||
var/global/obj/screen/click_catcher/void
|
||||
var/obj/screen/click_catcher/void
|
||||
|
||||
// Used by html_interface module.
|
||||
var/hi_last_pos
|
||||
|
||||
@@ -301,10 +301,8 @@ GLOBAL_LIST(external_rsc_urls)
|
||||
|
||||
send_resources()
|
||||
|
||||
if(!void)
|
||||
void = new()
|
||||
|
||||
screen += void
|
||||
generate_clickcatcher()
|
||||
apply_clickcatcher()
|
||||
|
||||
if(prefs.lastchangelog != GLOB.changelog_hash) //bolds the changelog button on the interface so we know there are updates.
|
||||
to_chat(src, "<span class='info'>You have unread updates in the changelog.</span>")
|
||||
@@ -667,6 +665,16 @@ GLOBAL_LIST(external_rsc_urls)
|
||||
CRASH("change_view called without argument.")
|
||||
|
||||
view = new_size
|
||||
apply_clickcatcher()
|
||||
|
||||
/client/proc/generate_clickcatcher()
|
||||
if(!void)
|
||||
void = new()
|
||||
screen += void
|
||||
|
||||
/client/proc/apply_clickcatcher()
|
||||
generate_clickcatcher()
|
||||
void.UpdateGreed(view,view)
|
||||
|
||||
/client/proc/AnnouncePR(announcement)
|
||||
if(prefs && prefs.chat_toggles & CHAT_PULLR)
|
||||
|
||||
Reference in New Issue
Block a user