Changes 3 debug verbs to procs and adds them to the debug-verb list.

This commit is contained in:
PsiOmega
2014-09-13 15:45:22 +02:00
parent 09cc9faef7
commit bd1e55f19f
2 changed files with 10 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ var/intercom_range_display_status = 0
feedback_add_details("admin_verb","mIRD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! feedback_add_details("admin_verb","mIRD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/list/debug_verbs = list ( var/list/debug_verbs = list (
/client/proc/do_not_use_these /client/proc/do_not_use_these
,/client/proc/camera_view ,/client/proc/camera_view
,/client/proc/sec_camera_report ,/client/proc/sec_camera_report
,/client/proc/intercom_view ,/client/proc/intercom_view
@@ -158,9 +158,12 @@ var/list/debug_verbs = list (
,/client/proc/ZoneTick ,/client/proc/ZoneTick
,/client/proc/rebootAirMaster ,/client/proc/rebootAirMaster
,/client/proc/hide_debug_verbs ,/client/proc/hide_debug_verbs
,/client/proc/testZAScolors ,/client/proc/testZAScolors
,/client/proc/testZAScolors_remove ,/client/proc/testZAScolors_remove
,/client/proc/setup_supermatter_engine ,/client/proc/setup_supermatter_engine
,/client/proc/view_power_update_stats_area
,/client/proc/view_power_update_stats_machines
,/client/proc/toggle_power_update_profiling
) )

View File

@@ -25,7 +25,7 @@ var/global/list/power_update_requests_by_area = list()
power_profiled_time += (world.time - power_last_profile_time) power_profiled_time += (world.time - power_last_profile_time)
power_last_profile_time = world.time power_last_profile_time = world.time
/client/verb/toggle_power_update_profiling() /client/proc/toggle_power_update_profiling()
set name = "Toggle Area Power Update Profiling" set name = "Toggle Area Power Update Profiling"
set desc = "Toggles the recording of area power update requests." set desc = "Toggles the recording of area power update requests."
set category = "Debug" set category = "Debug"
@@ -47,7 +47,7 @@ var/global/list/power_update_requests_by_area = list()
feedback_add_details("admin_verb","APUP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! feedback_add_details("admin_verb","APUP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/verb/view_power_update_stats_machines() /client/proc/view_power_update_stats_machines()
set name = "View Area Power Update Statistics By Machines" set name = "View Area Power Update Statistics By Machines"
set desc = "See which types of machines are triggering area power updates." set desc = "See which types of machines are triggering area power updates."
set category = "Debug" set category = "Debug"
@@ -56,7 +56,7 @@ var/global/list/power_update_requests_by_area = list()
for (var/M in power_update_requests_by_machine) for (var/M in power_update_requests_by_machine)
usr << "[M] = [power_update_requests_by_machine[M]]" usr << "[M] = [power_update_requests_by_machine[M]]"
/client/verb/view_power_update_stats_area() /client/proc/view_power_update_stats_area()
set name = "View Area Power Update Statistics By Area" set name = "View Area Power Update Statistics By Area"
set desc = "See which areas are having area power updates." set desc = "See which areas are having area power updates."
set category = "Debug" set category = "Debug"