Example #1
0
JSObjectRef script_add_obj_forward_speed_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,obj_forward_speed_class,"forwardSpeed",script_idx));
}
Example #2
0
void script_add_weap_hand_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"hand",&weap_hand_class,weap_hand_props,NULL);
}
Example #3
0
JSObjectRef script_add_map_object_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,map_object_class,"object",script_idx));
}
Example #4
0
JSObjectRef script_add_proj_hit_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,proj_hit_class,"hit",script_idx));
}
Example #5
0
JSObjectRef script_add_weap_projectile_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,weap_projectile_class,"projectile",script_idx));
}
Example #6
0
JSObjectRef script_add_obj_watch_position_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
    return(script_create_child_object(cx,parent_obj,obj_watch_position_class,"watchPosition",script_idx));
}
Example #7
0
void script_add_model_halo_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"halo",&model_halo_class,model_halo_props,NULL);
}
void script_add_obj_touch_position_object(JSObject *parent_obj)
{
    script_create_child_object(parent_obj,"touchPosition",&obj_touch_position_class,obj_touch_position_props,NULL);
}
Example #9
0
JSObjectRef script_add_obj_motion_vector_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
    return(script_create_child_object(cx,parent_obj,obj_motion_vector_class,"motionVector",script_idx));
}
Example #10
0
JSObjectRef script_add_obj_touch_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,obj_touch_class,"touch",script_idx));
}
Example #11
0
void script_add_game_setting_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"setting",&game_setting_class,game_setting_props,NULL);
}
Example #12
0
void script_add_obj_thrust_object(JSObject *parent_obj)
{
    script_create_child_object(parent_obj,"thrust",&obj_thrust_class,obj_thrust_props,NULL);
}
Example #13
0
void script_add_proj_motion_angle_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"motionAngle",&proj_motion_angle_class,proj_motion_angle_props,NULL);
}
Example #14
0
void script_add_model_bone_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"bone",&model_bone_class,NULL,model_bone_functions);
}
Example #15
0
JSObjectRef script_add_weap_crosshair_color_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,weap_crosshair_color_class,"color",script_idx));
}
Example #16
0
void script_add_camera_angle_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"angle",&camera_angle_class,camera_angle_props,NULL);
}
Example #17
0
void script_add_obj_turn_speed_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"turnSpeed",&obj_turn_speed_class,obj_turn_speed_props,NULL);
}
Example #18
0
void script_add_obj_health_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"health",&obj_health_class,obj_health_props,obj_health_functions);
}
Example #19
0
void script_add_obj_hit_angle_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"hitAngle",&obj_hit_angle_class,obj_hit_angle_props,NULL);
}
Example #20
0
JSObjectRef script_add_global_interface_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,interface_class,"iface",script_idx));
}
Example #21
0
void script_add_weap_zoom_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"zoom",&weap_zoom_class,weap_zoom_props,NULL);
}
Example #22
0
void script_add_camera_chase_slop_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"chaseSlop",&camera_chase_slop_class,camera_chase_slop_props,NULL);
}
void script_add_weap_crosshair_pickup_color_object(JSObject *parent_obj)
{
    script_create_child_object(parent_obj,"pickupColor",&weap_crosshair_pickup_color_class,weap_crosshair_pickup_color_props,NULL);
}
Example #24
0
JSObjectRef script_add_camera_angle_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,camera_angle_class,"angle",script_idx));
}
Example #25
0
void script_add_model_light_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"light",&model_light_class,model_light_props,NULL);
}
Example #26
0
void script_add_interface_bar_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"bar",&interface_bar_class,NULL,interface_bar_functions);
}
Example #27
0
void script_add_event_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"event",&event_class,NULL,event_functions);
}
Example #28
0
void script_add_interface_console_object(JSObject *parent_obj)
{
	script_create_child_object(parent_obj,"console",&interface_console_class,NULL,interface_console_functions);
}
Example #29
0
void script_add_proj_melee_object(JSObject *parent_obj)
{
    script_create_child_object(parent_obj,"melee",&proj_melee_class,proj_melee_props,proj_melee_functions);
}
Example #30
0
JSObjectRef script_add_multiplayer_score_object(JSContextRef cx,JSObjectRef parent_obj,int script_idx)
{
	return(script_create_child_object(cx,parent_obj,multiplayer_score_class,"score",script_idx));
}