‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
visionset_mgr_shared.csc File Reference

Go to the source code of this file.

Macros

#define VSMGR_OVERLAY_STYLE_BLUR   3
 
#define VSMGR_OVERLAY_STYLE_BURN   5
 
#define VSMGR_OVERLAY_STYLE_ELECTRIFIED   4
 
#define VSMGR_OVERLAY_STYLE_FILTER   2
 
#define VSMGR_OVERLAY_STYLE_NONE   0
 
#define VSMGR_OVERLAY_STYLE_POISON   6
 
#define VSMGR_OVERLAY_STYLE_POSTFX_BUNDLE   1
 
#define VSMGR_OVERLAY_STYLE_SPEED_BLUR   8
 
#define VSMGR_OVERLAY_STYLE_TRANSPORTED   7
 
#define VSMGR_VISIONSET_TYPE_LASTSTAND   6
 
#define VSMGR_VISIONSET_TYPE_NAKED   0
 

Functions

function __init__ ()
 
function add_info (type, name, version, lerp_step_count)
 
function add_sorted_name_key (type, name)
 
function clear_poison_overlay ()
 
function demo_jump_monitor ()
 
function demo_spectate_monitor ()
 
function finalize_clientfields ()
 
function finalize_initialization (localclientnum)
 
function finalize_type_clientfields ()
 
function fog_vol_to_visionset_force_instant_transition (localClientNum)
 
function fog_vol_to_visionset_hostmigration_monitor ()
 
function fog_vol_to_visionset_instant_transition_monitor ()
 
function fog_vol_to_visionset_monitor ()
 
function fog_vol_to_visionset_set_info (id, visionset, trans_in)
 
function fog_vol_to_visionset_set_suffix (suffix)
 
function get_info (type, slot)
 
function get_state (localClientNum, type)
 
function init_fog_vol_to_visionset_monitor (default_visionset, default_trans_in, host_migration_active)
 ‪FOG VOL FUNCTIONS. More...
 
function init_states (localClientNum)
 
function is_type_currently_default (localClientNum, type)
 
function killcam_visionset_player_mismatch (visionset_to, visionset_vehicle)
 
function killcam_visionset_vehicle_mismatch (visionset_to, visionset_vehicle, vehicletype)
 
function lerp_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump, type)
 
function monitor ()
 
function overlay_lerp_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function overlay_slot_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function overlay_update_cb (localClientNum, type)
 
function register_info (type, name, version, lerp_step_count)
 
function register_overlay_info_style_blur (name, version, lerp_step_count, transition_in, transition_out, magnitude)
 
function register_overlay_info_style_burn (name, version, lerp_step_count, duration)
 
function register_overlay_info_style_electrified (name, version, lerp_step_count, duration)
 
function register_overlay_info_style_filter (name, version, lerp_step_count, filter_index, pass_index, material_name, constant_index)
 
function register_overlay_info_style_none (name, version, lerp_step_count)
 
function register_overlay_info_style_poison (name, version, lerp_step_count)
 
function register_overlay_info_style_postfx_bundle (name, version, lerp_step_count, bundle, duration)
 
function register_overlay_info_style_speed_blur (name, version, lerp_step_count, amount, inner_radius, outer_radius, velocity_should_scale, velocity_scale, blur_in, blur_out, should_offset)
 
function register_overlay_info_style_transported (name, version, lerp_step_count, duration)
 
function register_type (type, cf_slot_cb, cf_lerp_cb, update_cb)
 
function register_visionset_info (name, version, lerp_step_count, visionset_from, visionset_to, visionset_type=VSMGR_VISIONSET_TYPE_NAKED)
 
function reset_player_fv2vs_infos_on_respawn ()
 
function set_poison_overlay (amount)
 
function should_update_state ()
 
function slot_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump, type)
 
function transition_state ()
 
function validate_info (type, name, version)
 
function visionset_lerp_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function visionset_slot_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function visionset_update_cb (localClientNum, type)
 

Macro Definition Documentation

◆ VSMGR_OVERLAY_STYLE_BLUR

#define VSMGR_OVERLAY_STYLE_BLUR   3

Definition at line 15 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_BURN

#define VSMGR_OVERLAY_STYLE_BURN   5

Definition at line 17 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_ELECTRIFIED

#define VSMGR_OVERLAY_STYLE_ELECTRIFIED   4

Definition at line 16 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_FILTER

#define VSMGR_OVERLAY_STYLE_FILTER   2

Definition at line 14 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_NONE

#define VSMGR_OVERLAY_STYLE_NONE   0

Definition at line 12 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_POISON

#define VSMGR_OVERLAY_STYLE_POISON   6

Definition at line 18 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_POSTFX_BUNDLE

#define VSMGR_OVERLAY_STYLE_POSTFX_BUNDLE   1

Definition at line 13 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_SPEED_BLUR

#define VSMGR_OVERLAY_STYLE_SPEED_BLUR   8

Definition at line 20 of file visionset_mgr_shared.csc.

◆ VSMGR_OVERLAY_STYLE_TRANSPORTED

#define VSMGR_OVERLAY_STYLE_TRANSPORTED   7

Definition at line 19 of file visionset_mgr_shared.csc.

◆ VSMGR_VISIONSET_TYPE_LASTSTAND

#define VSMGR_VISIONSET_TYPE_LASTSTAND   6

Definition at line 23 of file visionset_mgr_shared.csc.

◆ VSMGR_VISIONSET_TYPE_NAKED

#define VSMGR_VISIONSET_TYPE_NAKED   0

Definition at line 22 of file visionset_mgr_shared.csc.

Function Documentation

◆ __init__()

◆ add_info()

function add_info ( type  ,
name  ,
version  ,
lerp_step_count   
)

Definition at line 324 of file visionset_mgr_shared.csc.

References name.

Referenced by register_info().

◆ add_sorted_name_key()

function add_sorted_name_key ( type  ,
name   
)

Definition at line 310 of file visionset_mgr_shared.csc.

References name.

Referenced by register_info().

◆ clear_poison_overlay()

function clear_poison_overlay ( )

Definition at line 696 of file visionset_mgr_shared.csc.

Referenced by overlay_update_cb().

◆ demo_jump_monitor()

function demo_jump_monitor ( )

Definition at line 473 of file visionset_mgr_shared.csc.

References waittill_any().

Referenced by monitor().

◆ demo_spectate_monitor()

function demo_spectate_monitor ( )

◆ finalize_clientfields()

function finalize_clientfields ( )

Definition at line 230 of file visionset_mgr_shared.csc.

References finalize_type_clientfields().

Referenced by finalize_initialization().

◆ finalize_initialization()

function finalize_initialization ( localclientnum  )

◆ finalize_type_clientfields()

function finalize_type_clientfields ( )

Definition at line 242 of file visionset_mgr_shared.csc.

References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, name, and register().

Referenced by finalize_clientfields().

◆ fog_vol_to_visionset_force_instant_transition()

function fog_vol_to_visionset_force_instant_transition ( localClientNum  )

Definition at line 906 of file visionset_mgr_shared.csc.

References IS_TRUE.

Referenced by demo_spectate_monitor(), and visionset_update_cb().

◆ fog_vol_to_visionset_hostmigration_monitor()

function fog_vol_to_visionset_hostmigration_monitor ( )

◆ fog_vol_to_visionset_instant_transition_monitor()

function fog_vol_to_visionset_instant_transition_monitor ( )

◆ fog_vol_to_visionset_monitor()

function fog_vol_to_visionset_monitor ( )

◆ fog_vol_to_visionset_set_info()

function fog_vol_to_visionset_set_info ( id  ,
visionset  ,
trans_in   
)

◆ fog_vol_to_visionset_set_suffix()

function fog_vol_to_visionset_set_suffix ( suffix  )

Definition at line 886 of file visionset_mgr_shared.csc.

◆ get_info()

function get_info ( type  ,
slot   
)

◆ get_state()

function get_state ( localClientNum  ,
type   
)

◆ init_fog_vol_to_visionset_monitor()

function init_fog_vol_to_visionset_monitor ( default_visionset  ,
default_trans_in  ,
host_migration_active   
)

◆ init_states()

function init_states ( localClientNum  )

Definition at line 435 of file visionset_mgr_shared.csc.

Referenced by lerp_cb(), monitor(), and slot_cb().

◆ is_type_currently_default()

function is_type_currently_default ( localClientNum  ,
type   
)

Definition at line 188 of file visionset_mgr_shared.csc.

References get_info(), and get_state().

Referenced by fog_vol_to_visionset_monitor().

◆ killcam_visionset_player_mismatch()

function killcam_visionset_player_mismatch ( visionset_to  ,
visionset_vehicle   
)

Definition at line 591 of file visionset_mgr_shared.csc.

Referenced by visionset_update_cb().

◆ killcam_visionset_vehicle_mismatch()

function killcam_visionset_vehicle_mismatch ( visionset_to  ,
visionset_vehicle  ,
vehicletype   
)

Definition at line 580 of file visionset_mgr_shared.csc.

Referenced by visionset_update_cb().

◆ lerp_cb()

function lerp_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump  ,
type   
)

Definition at line 384 of file visionset_mgr_shared.csc.

References init_states().

Referenced by overlay_lerp_cb(), and visionset_lerp_cb().

◆ monitor()

◆ overlay_lerp_cb()

function overlay_lerp_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 403 of file visionset_mgr_shared.csc.

References lerp_cb().

Referenced by __init__().

◆ overlay_slot_cb()

function overlay_slot_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 378 of file visionset_mgr_shared.csc.

References slot_cb().

Referenced by __init__().

◆ overlay_update_cb()

◆ register_info()

◆ register_overlay_info_style_blur()

function register_overlay_info_style_blur ( name  ,
version  ,
lerp_step_count  ,
transition_in  ,
transition_out  ,
magnitude   
)

Definition at line 89 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_BLUR.

◆ register_overlay_info_style_burn()

function register_overlay_info_style_burn ( name  ,
version  ,
lerp_step_count  ,
duration   
)

Definition at line 117 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_BURN.

◆ register_overlay_info_style_electrified()

function register_overlay_info_style_electrified ( name  ,
version  ,
lerp_step_count  ,
duration   
)

Definition at line 104 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_ELECTRIFIED.

Referenced by __init__().

◆ register_overlay_info_style_filter()

function register_overlay_info_style_filter ( name  ,
version  ,
lerp_step_count  ,
filter_index  ,
pass_index  ,
material_name  ,
constant_index   
)

Definition at line 73 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_FILTER.

◆ register_overlay_info_style_none()

function register_overlay_info_style_none ( name  ,
version  ,
lerp_step_count   
)

Definition at line 62 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_NONE.

Referenced by __init__().

◆ register_overlay_info_style_poison()

function register_overlay_info_style_poison ( name  ,
version  ,
lerp_step_count   
)

Definition at line 131 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_POISON.

◆ register_overlay_info_style_postfx_bundle()

function register_overlay_info_style_postfx_bundle ( name  ,
version  ,
lerp_step_count  ,
bundle  ,
duration   
)

Definition at line 175 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_POSTFX_BUNDLE.

Referenced by __init__().

◆ register_overlay_info_style_speed_blur()

function register_overlay_info_style_speed_blur ( name  ,
version  ,
lerp_step_count  ,
amount  ,
inner_radius  ,
outer_radius  ,
velocity_should_scale  ,
velocity_scale  ,
blur_in  ,
blur_out  ,
should_offset   
)

Definition at line 155 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_SPEED_BLUR.

Referenced by __init__().

◆ register_overlay_info_style_transported()

function register_overlay_info_style_transported ( name  ,
version  ,
lerp_step_count  ,
duration   
)

Definition at line 142 of file visionset_mgr_shared.csc.

References name, register_info(), and VSMGR_OVERLAY_STYLE_TRANSPORTED.

◆ register_type()

function register_type ( type  ,
cf_slot_cb  ,
cf_lerp_cb  ,
update_cb   
)

Definition at line 202 of file visionset_mgr_shared.csc.

Referenced by __init__().

◆ register_visionset_info()

function register_visionset_info ( name  ,
version  ,
lerp_step_count  ,
visionset_from  ,
visionset_to  ,
visionset_type  = VSMGR_VISIONSET_TYPE_NAKED 
)

Definition at line 50 of file visionset_mgr_shared.csc.

References name, and register_info().

Referenced by __init__().

◆ reset_player_fv2vs_infos_on_respawn()

function reset_player_fv2vs_infos_on_respawn ( )

Definition at line 1017 of file visionset_mgr_shared.csc.

Referenced by init_fog_vol_to_visionset_monitor().

◆ set_poison_overlay()

function set_poison_overlay ( amount  )

Definition at line 681 of file visionset_mgr_shared.csc.

Referenced by overlay_update_cb().

◆ should_update_state()

function should_update_state ( )

Definition at line 421 of file visionset_mgr_shared.csc.

Referenced by monitor().

◆ slot_cb()

function slot_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump  ,
type   
)

Definition at line 359 of file visionset_mgr_shared.csc.

References init_states().

Referenced by overlay_slot_cb(), and visionset_slot_cb().

◆ transition_state()

function transition_state ( )

Definition at line 427 of file visionset_mgr_shared.csc.

Referenced by monitor().

◆ validate_info()

function validate_info ( type  ,
name  ,
version   
)

Definition at line 277 of file visionset_mgr_shared.csc.

References name.

Referenced by register_info().

◆ visionset_lerp_cb()

function visionset_lerp_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 397 of file visionset_mgr_shared.csc.

References lerp_cb().

Referenced by __init__().

◆ visionset_slot_cb()

function visionset_slot_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 372 of file visionset_mgr_shared.csc.

References slot_cb().

Referenced by __init__().

◆ visionset_update_cb()