Last active
November 30, 2025 05:17
-
-
Save tinkerer-red/d8b4381e644cf06a3643070857093328 to your computer and use it in GitHub Desktop.
GM Functions which use handles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ads_set_reward_callback | |
| animcurve_exists | |
| animcurve_get | |
| animcurve_get_channel | |
| array_all | |
| array_any | |
| array_copy_while | |
| array_create_ext | |
| array_filter | |
| array_filter_ext | |
| array_find_index | |
| array_foreach | |
| array_map | |
| array_map_ext | |
| array_reduce | |
| asset_add_tags | |
| asset_clear_tags | |
| asset_get_tags | |
| asset_has_any_tag | |
| asset_has_tags | |
| asset_remove_tags | |
| audio_destroy_stream | |
| audio_destroy_sync_group | |
| audio_emitter_bus | |
| audio_emitter_exists | |
| audio_emitter_falloff | |
| audio_emitter_free | |
| audio_emitter_gain | |
| audio_emitter_get_bus | |
| audio_emitter_get_gain | |
| audio_emitter_get_listener_mask | |
| audio_emitter_get_pitch | |
| audio_emitter_get_vx | |
| audio_emitter_get_vy | |
| audio_emitter_get_vz | |
| audio_emitter_get_x | |
| audio_emitter_get_y | |
| audio_emitter_get_z | |
| audio_emitter_pitch | |
| audio_emitter_position | |
| audio_emitter_set_listener_mask | |
| audio_emitter_velocity | |
| audio_exists | |
| audio_free_buffer_sound | |
| audio_get_master_gain | |
| audio_get_name | |
| audio_get_type | |
| audio_group_get_gain | |
| audio_group_is_loaded | |
| audio_group_load | |
| audio_group_load_progress | |
| audio_group_name | |
| audio_group_set_gain | |
| audio_group_stop_all | |
| audio_group_unload | |
| audio_is_paused | |
| audio_is_playing | |
| audio_music_gain | |
| audio_pause_sound | |
| audio_pause_sync_group | |
| audio_play_music | |
| audio_queue_sound | |
| audio_resume_sound | |
| audio_resume_sync_group | |
| audio_set_master_gain | |
| audio_sound_gain | |
| audio_sound_get_gain | |
| audio_sound_get_listener_mask | |
| audio_sound_get_loop | |
| audio_sound_get_loop_end | |
| audio_sound_get_loop_start | |
| audio_sound_get_pitch | |
| audio_sound_get_track_position | |
| audio_sound_is_playable | |
| audio_sound_length | |
| audio_sound_loop | |
| audio_sound_loop_end | |
| audio_sound_loop_start | |
| audio_sound_pitch | |
| audio_sound_set_listener_mask | |
| audio_sound_set_track_position | |
| audio_start_sync_group | |
| audio_stop_sound | |
| audio_stop_sync_group | |
| audio_sync_group_debug | |
| audio_sync_group_get_track_pos | |
| audio_sync_group_is_paused | |
| audio_sync_group_is_playing | |
| buffer_base64_decode_ext | |
| buffer_base64_encode | |
| buffer_compress | |
| buffer_copy | |
| buffer_copy_from_vertex_buffer | |
| buffer_copy_stride | |
| buffer_crc32 | |
| buffer_delete | |
| buffer_exists | |
| buffer_fill | |
| buffer_get_address | |
| buffer_get_alignment | |
| buffer_get_size | |
| buffer_get_surface | |
| buffer_get_surface_depth | |
| buffer_get_type | |
| buffer_get_used_size | |
| buffer_load_async | |
| buffer_load_ext | |
| buffer_load_partial | |
| buffer_md5 | |
| buffer_peek | |
| buffer_poke | |
| buffer_read | |
| buffer_resize | |
| buffer_save | |
| buffer_save_async | |
| buffer_save_ext | |
| buffer_seek | |
| buffer_set_surface | |
| buffer_set_surface_depth | |
| buffer_set_used_size | |
| buffer_sha1 | |
| buffer_tell | |
| buffer_write | |
| call_cancel | |
| camera_apply | |
| camera_copy_transforms | |
| camera_destroy | |
| camera_get_proj_mat | |
| camera_get_view_angle | |
| camera_get_view_border_x | |
| camera_get_view_border_y | |
| camera_get_view_height | |
| camera_get_view_mat | |
| camera_get_view_speed_x | |
| camera_get_view_speed_y | |
| camera_get_view_width | |
| camera_get_view_x | |
| camera_get_view_y | |
| camera_set_begin_script | |
| camera_set_default | |
| camera_set_end_script | |
| camera_set_proj_mat | |
| camera_set_update_script | |
| camera_set_view_angle | |
| camera_set_view_border | |
| camera_set_view_mat | |
| camera_set_view_pos | |
| camera_set_view_size | |
| camera_set_view_speed | |
| camera_set_view_target | |
| collision_circle_list | |
| collision_ellipse_list | |
| collision_line_list | |
| collision_point_list | |
| collision_rectangle_list | |
| dbg_button | |
| dbg_checkbox | |
| dbg_color | |
| dbg_colour | |
| dbg_drop_down | |
| dbg_slider | |
| dbg_slider_int | |
| dbg_sprite | |
| dbg_sprite_button | |
| dbg_text | |
| dbg_text_input | |
| dbg_text_separator | |
| dbg_watch | |
| distance_to_object | |
| draw_set_font | |
| draw_skeleton | |
| draw_skeleton_collision | |
| draw_skeleton_instance | |
| draw_skeleton_time | |
| draw_sprite | |
| draw_sprite_ext | |
| draw_sprite_general | |
| draw_sprite_part | |
| draw_sprite_part_ext | |
| draw_sprite_pos | |
| draw_sprite_stretched | |
| draw_sprite_stretched_ext | |
| draw_sprite_tiled | |
| draw_sprite_tiled_ext | |
| draw_surface | |
| draw_surface_ext | |
| draw_surface_general | |
| draw_surface_part | |
| draw_surface_part_ext | |
| draw_surface_stretched | |
| draw_surface_stretched_ext | |
| draw_surface_tiled | |
| draw_surface_tiled_ext | |
| draw_tile | |
| draw_tilemap | |
| ds_grid_to_mp_grid | |
| ds_list_add | |
| ds_list_clear | |
| ds_list_copy | |
| ds_list_delete | |
| ds_list_destroy | |
| ds_list_empty | |
| ds_list_find_index | |
| ds_list_find_value | |
| ds_list_insert | |
| ds_list_is_list | |
| ds_list_is_map | |
| ds_list_mark_as_list | |
| ds_list_mark_as_map | |
| ds_list_read | |
| ds_list_replace | |
| ds_list_set | |
| ds_list_shuffle | |
| ds_list_size | |
| ds_list_sort | |
| ds_list_write | |
| ds_map_add | |
| ds_map_add_list | |
| ds_map_add_map | |
| ds_map_clear | |
| ds_map_copy | |
| ds_map_delete | |
| ds_map_destroy | |
| ds_map_empty | |
| ds_map_exists | |
| ds_map_find_first | |
| ds_map_find_last | |
| ds_map_find_next | |
| ds_map_find_previous | |
| ds_map_find_value | |
| ds_map_is_list | |
| ds_map_is_map | |
| ds_map_keys_to_array | |
| ds_map_read | |
| ds_map_replace | |
| ds_map_replace_list | |
| ds_map_replace_map | |
| ds_map_secure_save | |
| ds_map_secure_save_buffer | |
| ds_map_set | |
| ds_map_size | |
| ds_map_values_to_array | |
| ds_map_write | |
| ds_priority_add | |
| ds_priority_change_priority | |
| ds_priority_clear | |
| ds_priority_copy | |
| ds_priority_delete_max | |
| ds_priority_delete_min | |
| ds_priority_delete_value | |
| ds_priority_destroy | |
| ds_priority_empty | |
| ds_priority_find_max | |
| ds_priority_find_min | |
| ds_priority_find_priority | |
| ds_priority_read | |
| ds_priority_size | |
| ds_priority_write | |
| ds_queue_clear | |
| ds_queue_copy | |
| ds_queue_dequeue | |
| ds_queue_destroy | |
| ds_queue_empty | |
| ds_queue_enqueue | |
| ds_queue_head | |
| ds_queue_read | |
| ds_queue_size | |
| ds_queue_tail | |
| ds_queue_write | |
| ds_stack_clear | |
| ds_stack_copy | |
| ds_stack_destroy | |
| ds_stack_empty | |
| ds_stack_pop | |
| ds_stack_push | |
| ds_stack_read | |
| ds_stack_size | |
| ds_stack_top | |
| ds_stack_write | |
| effect_create_layer | |
| event_perform | |
| event_perform_async | |
| event_perform_object | |
| external_call | |
| file_bin_close | |
| file_bin_position | |
| file_bin_read_byte | |
| file_bin_rewrite | |
| file_bin_seek | |
| file_bin_size | |
| file_bin_write_byte | |
| file_text_close | |
| file_text_eof | |
| file_text_eoln | |
| file_text_read_real | |
| file_text_read_string | |
| file_text_readln | |
| file_text_write_real | |
| file_text_write_string | |
| file_text_writeln | |
| flexpanel_node_set_measure_function | |
| font_cache_glyph | |
| font_delete | |
| font_enable_effects | |
| font_enable_sdf | |
| font_exists | |
| font_get_bold | |
| font_get_first | |
| font_get_fontname | |
| font_get_info | |
| font_get_italic | |
| font_get_last | |
| font_get_name | |
| font_get_sdf_enabled | |
| font_get_sdf_spread | |
| font_get_size | |
| font_get_texture | |
| font_get_uvs | |
| font_replace_sprite | |
| font_replace_sprite_ext | |
| font_sdf_spread | |
| font_set_cache_size | |
| game_load_buffer | |
| game_save_buffer | |
| gif_add_surface | |
| gif_save | |
| gif_save_buffer | |
| gpu_get_tex_filter_ext | |
| gpu_get_tex_max_aniso_ext | |
| gpu_get_tex_max_mip_ext | |
| gpu_get_tex_min_mip_ext | |
| gpu_get_tex_mip_bias_ext | |
| gpu_get_tex_mip_enable_ext | |
| gpu_get_tex_mip_filter_ext | |
| gpu_get_tex_repeat_ext | |
| gpu_get_texfilter_ext | |
| gpu_get_texrepeat_ext | |
| gpu_set_state | |
| gpu_set_stencil_func | |
| gpu_set_tex_filter_ext | |
| gpu_set_tex_max_aniso_ext | |
| gpu_set_tex_max_mip_ext | |
| gpu_set_tex_min_mip_ext | |
| gpu_set_tex_mip_bias_ext | |
| gpu_set_tex_mip_enable_ext | |
| gpu_set_tex_mip_filter_ext | |
| gpu_set_tex_repeat_ext | |
| gpu_set_texfilter_ext | |
| gpu_set_texrepeat_ext | |
| gpu_set_zfunc | |
| http_request | |
| iap_activate | |
| iap_enumerate_products | |
| iap_product_details | |
| instance_activate_layer | |
| instance_activate_object | |
| instance_change | |
| instance_deactivate_layer | |
| instance_deactivate_object | |
| instance_destroy | |
| instance_exists | |
| instance_id_get | |
| instance_number | |
| instance_place_list | |
| instance_position_list | |
| is_instanceof | |
| json_encode | |
| json_parse | |
| json_stringify | |
| layer_add_instance | |
| layer_background_alpha | |
| layer_background_blend | |
| layer_background_change | |
| layer_background_destroy | |
| layer_background_exists | |
| layer_background_get_alpha | |
| layer_background_get_blend | |
| layer_background_get_htiled | |
| layer_background_get_index | |
| layer_background_get_speed | |
| layer_background_get_stretch | |
| layer_background_get_visible | |
| layer_background_get_vtiled | |
| layer_background_get_xscale | |
| layer_background_get_yscale | |
| layer_background_htiled | |
| layer_background_index | |
| layer_background_speed | |
| layer_background_sprite | |
| layer_background_stretch | |
| layer_background_visible | |
| layer_background_vtiled | |
| layer_background_xscale | |
| layer_background_yscale | |
| layer_clear_fx | |
| layer_depth | |
| layer_destroy | |
| layer_destroy_instances | |
| layer_element_move | |
| layer_enable_fx | |
| layer_exists | |
| layer_fx_is_enabled | |
| layer_get_all_elements | |
| layer_get_depth | |
| layer_get_fx | |
| layer_get_hspeed | |
| layer_get_name | |
| layer_get_type | |
| layer_get_visible | |
| layer_get_vspeed | |
| layer_get_x | |
| layer_get_y | |
| layer_has_instance | |
| layer_hspeed | |
| layer_particle_alpha | |
| layer_particle_angle | |
| layer_particle_blend | |
| layer_particle_get_alpha | |
| layer_particle_get_angle | |
| layer_particle_get_blend | |
| layer_particle_get_x | |
| layer_particle_get_xscale | |
| layer_particle_get_y | |
| layer_particle_get_yscale | |
| layer_particle_x | |
| layer_particle_xscale | |
| layer_particle_y | |
| layer_particle_yscale | |
| layer_script_begin | |
| layer_script_end | |
| layer_sequence_angle | |
| layer_sequence_destroy | |
| layer_sequence_exists | |
| layer_sequence_get_angle | |
| layer_sequence_get_headdir | |
| layer_sequence_get_headpos | |
| layer_sequence_get_instance | |
| layer_sequence_get_length | |
| layer_sequence_get_sequence | |
| layer_sequence_get_speedscale | |
| layer_sequence_get_x | |
| layer_sequence_get_xscale | |
| layer_sequence_get_y | |
| layer_sequence_get_yscale | |
| layer_sequence_headdir | |
| layer_sequence_headpos | |
| layer_sequence_is_finished | |
| layer_sequence_is_paused | |
| layer_sequence_pause | |
| layer_sequence_play | |
| layer_sequence_speedscale | |
| layer_sequence_x | |
| layer_sequence_xscale | |
| layer_sequence_y | |
| layer_sequence_yscale | |
| layer_set_fx | |
| layer_set_target_room | |
| layer_set_visible | |
| layer_shader | |
| layer_sprite_alpha | |
| layer_sprite_angle | |
| layer_sprite_blend | |
| layer_sprite_change | |
| layer_sprite_destroy | |
| layer_sprite_exists | |
| layer_sprite_get_alpha | |
| layer_sprite_get_angle | |
| layer_sprite_get_blend | |
| layer_sprite_get_index | |
| layer_sprite_get_speed | |
| layer_sprite_get_x | |
| layer_sprite_get_xscale | |
| layer_sprite_get_y | |
| layer_sprite_get_yscale | |
| layer_sprite_index | |
| layer_sprite_speed | |
| layer_sprite_x | |
| layer_sprite_xscale | |
| layer_sprite_y | |
| layer_sprite_yscale | |
| layer_text_alpha | |
| layer_text_angle | |
| layer_text_blend | |
| layer_text_charspacing | |
| layer_text_destroy | |
| layer_text_exists | |
| layer_text_font | |
| layer_text_frameh | |
| layer_text_framew | |
| layer_text_get_alpha | |
| layer_text_get_angle | |
| layer_text_get_blend | |
| layer_text_get_charspacing | |
| layer_text_get_frameh | |
| layer_text_get_framew | |
| layer_text_get_halign | |
| layer_text_get_linespacing | |
| layer_text_get_origin | |
| layer_text_get_paragraphspacing | |
| layer_text_get_text | |
| layer_text_get_valign | |
| layer_text_get_wrap | |
| layer_text_get_wrapmode | |
| layer_text_get_x | |
| layer_text_get_xorigin | |
| layer_text_get_xscale | |
| layer_text_get_y | |
| layer_text_get_yorigin | |
| layer_text_get_yscale | |
| layer_text_halign | |
| layer_text_linespacing | |
| layer_text_origin | |
| layer_text_paragraphspacing | |
| layer_text_text | |
| layer_text_valign | |
| layer_text_wrap | |
| layer_text_wrapmode | |
| layer_text_x | |
| layer_text_xorigin | |
| layer_text_xscale | |
| layer_text_y | |
| layer_text_yorigin | |
| layer_text_yscale | |
| layer_tile_alpha | |
| layer_tile_blend | |
| layer_tile_change | |
| layer_tile_destroy | |
| layer_tile_exists | |
| layer_tile_get_alpha | |
| layer_tile_get_blend | |
| layer_tile_get_region | |
| layer_tile_get_visible | |
| layer_tile_get_x | |
| layer_tile_get_xscale | |
| layer_tile_get_y | |
| layer_tile_get_yscale | |
| layer_tile_region | |
| layer_tile_visible | |
| layer_tile_x | |
| layer_tile_xscale | |
| layer_tile_y | |
| layer_tile_yscale | |
| layer_tilemap_destroy | |
| layer_tilemap_exists | |
| layer_tilemap_set_colmask | |
| layer_vspeed | |
| layer_x | |
| layer_y | |
| method_call | |
| move_and_collide | |
| mp_grid_add_cell | |
| mp_grid_add_instances | |
| mp_grid_add_rectangle | |
| mp_grid_clear_all | |
| mp_grid_clear_cell | |
| mp_grid_clear_rectangle | |
| mp_grid_destroy | |
| mp_grid_draw | |
| mp_grid_get_cell | |
| mp_grid_path | |
| mp_grid_to_ds_grid | |
| mp_linear_path | |
| mp_linear_path_object | |
| mp_linear_step_object | |
| mp_potential_path | |
| mp_potential_path_object | |
| mp_potential_step_object | |
| network_connect | |
| network_connect_async | |
| network_connect_raw | |
| network_connect_raw_async | |
| network_destroy | |
| network_send_broadcast | |
| network_send_packet | |
| network_send_raw | |
| network_send_udp | |
| network_send_udp_raw | |
| network_set_timeout | |
| object_exists | |
| object_get_name | |
| object_get_persistent | |
| object_get_physics | |
| object_get_solid | |
| object_get_visible | |
| object_is_ancestor | |
| object_set_mask | |
| object_set_persistent | |
| object_set_solid | |
| object_set_sprite | |
| object_set_visible | |
| part_emitter_burst | |
| part_emitter_clear | |
| part_emitter_delay | |
| part_emitter_destroy | |
| part_emitter_destroy_all | |
| part_emitter_enable | |
| part_emitter_exists | |
| part_emitter_interval | |
| part_emitter_region | |
| part_emitter_relative | |
| part_emitter_stream | |
| part_particles_burst | |
| part_particles_clear | |
| part_particles_count | |
| part_particles_create | |
| part_particles_create_color | |
| part_particles_create_colour | |
| part_system_angle | |
| part_system_automatic_draw | |
| part_system_automatic_update | |
| part_system_clear | |
| part_system_color | |
| part_system_colour | |
| part_system_depth | |
| part_system_destroy | |
| part_system_draw_order | |
| part_system_drawit | |
| part_system_exists | |
| part_system_get_info | |
| part_system_global_space | |
| part_system_layer | |
| part_system_position | |
| part_system_update | |
| part_type_alpha1 | |
| part_type_alpha2 | |
| part_type_alpha3 | |
| part_type_blend | |
| part_type_clear | |
| part_type_color1 | |
| part_type_color2 | |
| part_type_color3 | |
| part_type_color_hsv | |
| part_type_color_mix | |
| part_type_color_rgb | |
| part_type_colour1 | |
| part_type_colour2 | |
| part_type_colour3 | |
| part_type_colour_hsv | |
| part_type_colour_mix | |
| part_type_colour_rgb | |
| part_type_death | |
| part_type_destroy | |
| part_type_direction | |
| part_type_exists | |
| part_type_gravity | |
| part_type_life | |
| part_type_orientation | |
| part_type_scale | |
| part_type_shape | |
| part_type_size | |
| part_type_size_x | |
| part_type_size_y | |
| part_type_speed | |
| part_type_sprite | |
| part_type_step | |
| part_type_subimage | |
| particle_exists | |
| particle_get_info | |
| path_add_point | |
| path_append | |
| path_assign | |
| path_change_point | |
| path_clear_points | |
| path_delete | |
| path_delete_point | |
| path_exists | |
| path_flip | |
| path_get_closed | |
| path_get_kind | |
| path_get_length | |
| path_get_name | |
| path_get_number | |
| path_get_point_speed | |
| path_get_point_x | |
| path_get_point_y | |
| path_get_precision | |
| path_get_speed | |
| path_get_x | |
| path_get_y | |
| path_insert_point | |
| path_mirror | |
| path_rescale | |
| path_reverse | |
| path_rotate | |
| path_set_closed | |
| path_set_kind | |
| path_set_precision | |
| path_shift | |
| path_start | |
| physics_fixture_add_point | |
| physics_fixture_bind | |
| physics_fixture_bind_ext | |
| physics_fixture_delete | |
| physics_fixture_set_angular_damping | |
| physics_fixture_set_awake | |
| physics_fixture_set_box_shape | |
| physics_fixture_set_chain_shape | |
| physics_fixture_set_circle_shape | |
| physics_fixture_set_collision_group | |
| physics_fixture_set_density | |
| physics_fixture_set_edge_shape | |
| physics_fixture_set_friction | |
| physics_fixture_set_kinematic | |
| physics_fixture_set_linear_damping | |
| physics_fixture_set_polygon_shape | |
| physics_fixture_set_restitution | |
| physics_fixture_set_sensor | |
| physics_get_density | |
| physics_get_friction | |
| physics_get_restitution | |
| physics_joint_delete | |
| physics_joint_enable_motor | |
| physics_joint_get_value | |
| physics_joint_set_value | |
| physics_particle_delete | |
| physics_particle_delete_region_poly | |
| physics_particle_draw | |
| physics_particle_draw_ext | |
| physics_particle_group_get_ang_vel | |
| physics_particle_group_get_angle | |
| physics_particle_group_get_centre_x | |
| physics_particle_group_get_centre_y | |
| physics_particle_group_get_inertia | |
| physics_particle_group_get_mass | |
| physics_particle_group_get_vel_x | |
| physics_particle_group_get_vel_y | |
| physics_particle_group_get_x | |
| physics_particle_group_get_y | |
| physics_particle_group_join | |
| physics_raycast | |
| physics_remove_fixture | |
| physics_set_density | |
| physics_set_friction | |
| physics_set_restitution | |
| physics_test_overlap | |
| place_empty | |
| place_meeting | |
| position_change | |
| position_meeting | |
| rollback_define_player | |
| room_assign | |
| room_exists | |
| room_get_info | |
| room_get_name | |
| room_get_viewport | |
| room_goto | |
| room_instance_clear | |
| room_set_background_color | |
| room_set_background_colour | |
| room_set_camera | |
| room_set_height | |
| room_set_persistent | |
| room_set_view_enabled | |
| room_set_viewport | |
| room_set_width | |
| script_execute | |
| script_execute_ext | |
| script_exists | |
| script_get_name | |
| sequence_exists | |
| sequence_get | |
| sequence_instance_override_object | |
| shader_get_name | |
| shader_is_compiled | |
| shader_set | |
| shader_set_uniform_f | |
| shader_set_uniform_f_array | |
| shader_set_uniform_f_buffer | |
| shader_set_uniform_i | |
| shader_set_uniform_i_array | |
| shader_set_uniform_matrix | |
| shader_set_uniform_matrix_array | |
| skeleton_animation_list | |
| skeleton_attachment_create | |
| skeleton_attachment_create_color | |
| skeleton_attachment_create_colour | |
| skeleton_attachment_replace | |
| skeleton_attachment_replace_colour | |
| skeleton_attachment_set | |
| skeleton_bone_data_get | |
| skeleton_bone_data_set | |
| skeleton_bone_list | |
| skeleton_bone_state_get | |
| skeleton_bone_state_set | |
| skeleton_find_slot | |
| skeleton_skin_list | |
| skeleton_slot_data | |
| skeleton_slot_data_instance | |
| skeleton_slot_list | |
| sprite_add_from_surface | |
| sprite_assign | |
| sprite_collision_mask | |
| sprite_delete | |
| sprite_exists | |
| sprite_flush | |
| sprite_flush_multi | |
| sprite_get_bbox_bottom | |
| sprite_get_bbox_left | |
| sprite_get_bbox_mode | |
| sprite_get_bbox_right | |
| sprite_get_bbox_top | |
| sprite_get_convex_hull | |
| sprite_get_height | |
| sprite_get_info | |
| sprite_get_name | |
| sprite_get_nineslice | |
| sprite_get_number | |
| sprite_get_speed | |
| sprite_get_speed_type | |
| sprite_get_texture | |
| sprite_get_tpe | |
| sprite_get_uvs | |
| sprite_get_width | |
| sprite_get_xoffset | |
| sprite_get_yoffset | |
| sprite_merge | |
| sprite_prefetch | |
| sprite_prefetch_multi | |
| sprite_replace | |
| sprite_save | |
| sprite_save_strip | |
| sprite_set_alpha_from_sprite | |
| sprite_set_bbox | |
| sprite_set_bbox_mode | |
| sprite_set_cache_size | |
| sprite_set_cache_size_ext | |
| sprite_set_nineslice | |
| sprite_set_offset | |
| sprite_set_speed | |
| static_get | |
| string_foreach | |
| struct_foreach | |
| surface_copy | |
| surface_copy_part | |
| surface_exists | |
| surface_free | |
| surface_get_format | |
| surface_get_height | |
| surface_get_texture | |
| surface_get_texture_depth | |
| surface_get_width | |
| surface_getpixel | |
| surface_getpixel_ext | |
| surface_has_depth | |
| surface_resize | |
| surface_save | |
| surface_save_part | |
| surface_set_target | |
| surface_set_target_ext | |
| texture_set_stage | |
| texturegroup_set_mode | |
| tilemap_clear | |
| tilemap_get | |
| tilemap_get_at_pixel | |
| tilemap_get_cell_x_at_pixel | |
| tilemap_get_cell_y_at_pixel | |
| tilemap_get_frame | |
| tilemap_get_height | |
| tilemap_get_mask | |
| tilemap_get_tile_height | |
| tilemap_get_tile_width | |
| tilemap_get_tileset | |
| tilemap_get_width | |
| tilemap_get_x | |
| tilemap_get_y | |
| tilemap_set | |
| tilemap_set_at_pixel | |
| tilemap_set_height | |
| tilemap_set_mask | |
| tilemap_set_width | |
| tilemap_tileset | |
| tilemap_x | |
| tilemap_y | |
| tileset_get_info | |
| tileset_get_name | |
| tileset_get_texture | |
| tileset_get_uvs | |
| time_source_destroy | |
| time_source_exists | |
| time_source_get_period | |
| time_source_get_reps_completed | |
| time_source_get_reps_remaining | |
| time_source_get_state | |
| time_source_get_time_remaining | |
| time_source_get_units | |
| time_source_pause | |
| time_source_reconfigure | |
| time_source_reset | |
| time_source_resume | |
| time_source_start | |
| time_source_stop | |
| timeline_clear | |
| timeline_delete | |
| timeline_exists | |
| timeline_get_name | |
| timeline_max_moment | |
| timeline_moment_add_script | |
| timeline_moment_clear | |
| timeline_size | |
| variable_instance_exists | |
| variable_instance_get | |
| variable_instance_get_names | |
| variable_instance_names_count | |
| variable_instance_set | |
| vertex_argb | |
| vertex_begin | |
| vertex_buffer_exists | |
| vertex_color | |
| vertex_colour | |
| vertex_delete_buffer | |
| vertex_end | |
| vertex_float1 | |
| vertex_float2 | |
| vertex_float3 | |
| vertex_float4 | |
| vertex_format_delete | |
| vertex_format_exists | |
| vertex_format_get_info | |
| vertex_freeze | |
| vertex_get_buffer_size | |
| vertex_get_number | |
| vertex_normal | |
| vertex_position | |
| vertex_position_3d | |
| vertex_submit | |
| vertex_submit_ext | |
| vertex_texcoord | |
| vertex_ubyte4 | |
| vertex_update_buffer_from_buffer | |
| vertex_update_buffer_from_vertex | |
| view_set_camera | |
| view_set_surface_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| audio_bus_get_emitters | |
| audio_create_stream | |
| audio_create_sync_group | |
| audio_emitter_create | |
| audio_get_listener_info | |
| audio_listener_get_data | |
| audio_play_sound_ext | |
| buffer_base64_decode | |
| buffer_create | |
| buffer_load | |
| camera_create | |
| camera_get_active | |
| camera_get_default | |
| draw_get_font | |
| ds_list_create | |
| ds_map_create | |
| ds_map_secure_load | |
| ds_priority_create | |
| ds_queue_create | |
| ds_stack_create | |
| external_define | |
| file_bin_open | |
| file_text_open_append | |
| file_text_open_from_string | |
| file_text_open_read | |
| file_text_open_write | |
| flexpanel_node_get_measure_function | |
| font_add | |
| gif_open | |
| gpu_get_state | |
| gpu_get_stencil_func | |
| gpu_get_zfunc | |
| handle_parse | |
| instance_copy | |
| layer_create | |
| layer_get_all | |
| layer_get_element_layer | |
| layer_get_id | |
| layer_get_id_at_depth | |
| layer_get_target_room | |
| layer_instance_get_instance | |
| mp_grid_create | |
| network_create_socket | |
| network_create_socket_ext | |
| os_get_info | |
| part_type_create | |
| path_add | |
| physics_fixture_create | |
| physics_particle_create | |
| physics_particle_group_end | |
| room_add | |
| shader_current | |
| sprite_add | |
| sprite_add_ext | |
| surface_create | |
| surface_create_ext | |
| surface_get_target | |
| surface_get_target_depth | |
| surface_get_target_ext | |
| texturegroup_get_fonts | |
| texturegroup_get_sprites | |
| texturegroup_get_textures | |
| texturegroup_get_tilesets | |
| timeline_add | |
| vertex_create_buffer | |
| vertex_create_buffer_ext | |
| vertex_format_end | |
| view_get_surface_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| asset_get_ids | |
| asset_get_index | |
| asset_get_type | |
| audio_create_buffer_sound | |
| audio_group_get_assets | |
| audio_play_in_sync_group | |
| audio_play_sound | |
| audio_play_sound_at | |
| audio_play_sound_on | |
| audio_sound_get_asset | |
| audio_sound_get_audio_group | |
| buffer_create_from_vertex_buffer | |
| buffer_create_from_vertex_buffer_ext | |
| buffer_decompress | |
| call_later | |
| camera_create_view | |
| camera_get_begin_script | |
| camera_get_end_script | |
| camera_get_update_script | |
| camera_get_view_target | |
| collision_circle | |
| collision_ellipse | |
| collision_line | |
| collision_point | |
| collision_rectangle | |
| ds_map_secure_load_buffer | |
| exception_unhandled_handler | |
| font_add_sprite | |
| font_add_sprite_ext | |
| instance_create_depth | |
| instance_create_layer | |
| instance_find | |
| instance_furthest | |
| instance_nearest | |
| instance_place | |
| instance_position | |
| layer_background_create | |
| layer_background_get_id | |
| layer_background_get_sprite | |
| layer_get_script_begin | |
| layer_get_script_end | |
| layer_get_shader | |
| layer_particle_get_id | |
| layer_particle_get_instance | |
| layer_particle_get_system | |
| layer_sequence_create | |
| layer_sprite_create | |
| layer_sprite_get_id | |
| layer_sprite_get_sprite | |
| layer_text_create | |
| layer_text_get_font | |
| layer_text_get_id | |
| layer_tile_create | |
| layer_tile_get_sprite | |
| layer_tilemap_create | |
| layer_tilemap_get_colmask | |
| layer_tilemap_get_id | |
| method | |
| method_get_index | |
| method_get_self | |
| object_get_mask | |
| object_get_parent | |
| object_get_sprite | |
| part_emitter_create | |
| part_system_create | |
| part_system_create_layer | |
| part_system_get_layer | |
| path_duplicate | |
| physics_joint_distance_create | |
| physics_joint_friction_create | |
| physics_joint_gear_create | |
| physics_joint_prismatic_create | |
| physics_joint_pulley_create | |
| physics_joint_revolute_create | |
| physics_joint_rope_create | |
| physics_joint_weld_create | |
| physics_joint_wheel_create | |
| physics_particle_get_data | |
| physics_particle_get_data_particle | |
| physics_particle_group_get_data | |
| ref_create | |
| room_duplicate | |
| room_get_camera | |
| room_instance_add | |
| room_next | |
| room_previous | |
| sequence_get_objects | |
| shader_get_sampler_index | |
| shader_get_uniform | |
| sprite_create_from_surface | |
| sprite_duplicate | |
| tag_get_asset_ids | |
| time_source_create | |
| time_source_get_children | |
| time_source_get_parent | |
| vertex_create_buffer_from_buffer | |
| vertex_create_buffer_from_buffer_ext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //This file was generated by code, I hope this helps modding tools expose more helpful functions to keep the global scope hidden from users. | |
| function __ads_set_reward_callback(_callback){ | |
| //_callback : {Asset.Script} | |
| if (!is_handle(_callback) && is_numeric(_callback)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ads_set_reward_callback(_callback); | |
| } | |
| function __animcurve_exists(_curve_struct_or_id){ | |
| //_curve_struct_or_id : {Asset.GMAnimCurve,Struct.AnimCurve} | |
| if (!is_handle(_curve_struct_or_id) && is_numeric(_curve_struct_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return animcurve_exists(_curve_struct_or_id); | |
| } | |
| function __animcurve_get(_curve_id){ | |
| //_curve_id : {Asset.GMAnimCurve} | |
| if (!is_handle(_curve_id) && is_numeric(_curve_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return animcurve_get(_curve_id); | |
| } | |
| function __animcurve_get_channel(_curve_struct_or_id,_channel_name_or_index){ | |
| //_curve_struct_or_id : {Asset.GMAnimCurve,Struct.AnimCurve} | |
| if (!is_handle(_curve_struct_or_id) && is_numeric(_curve_struct_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return animcurve_get_channel(_curve_struct_or_id,_channel_name_or_index); | |
| } | |
| function __array_all(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_all(_array,_function,_offset,_length); | |
| } | |
| function __array_any(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_any(_array,_function,_offset,_length); | |
| } | |
| function __array_copy_while(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_copy_while(_array,_function,_offset,_length); | |
| } | |
| function __array_create_ext(_size,_function){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_create_ext(_size,_function); | |
| } | |
| function __array_filter(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_filter(_array,_function,_offset,_length); | |
| } | |
| function __array_filter_ext(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_filter_ext(_array,_function,_offset,_length); | |
| } | |
| function __array_find_index(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_find_index(_array,_function,_offset,_length); | |
| } | |
| function __array_foreach(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_foreach(_array,_function,_offset,_length); | |
| } | |
| function __array_map(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_map(_array,_function,_offset,_length); | |
| } | |
| function __array_map_ext(_array,_function,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_map_ext(_array,_function,_offset,_length); | |
| } | |
| function __array_reduce(_array,_function,_init,_offset,_length){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return array_reduce(_array,_function,_init,_offset,_length); | |
| } | |
| function __asset_add_tags(_name_or_index,_tags,_asset_type){ | |
| //_name_or_index : {String,Asset} | |
| if (!is_handle(_name_or_index) && is_numeric(_name_or_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_add_tags(_name_or_index,_tags,_asset_type); | |
| } | |
| function __asset_clear_tags(_name_or_index,_asset_type){ | |
| //_name_or_index : {String,Asset} | |
| if (!is_handle(_name_or_index) && is_numeric(_name_or_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_clear_tags(_name_or_index,_asset_type); | |
| } | |
| function __asset_get_ids(_asset_type){ | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_get_ids(_asset_type); | |
| } | |
| function __asset_get_index(_name){ | |
| //_name : {String,Asset} | |
| if (!is_handle(_name) && is_numeric(_name)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_get_index(_name); | |
| } | |
| function __asset_get_tags(_name_or_index,_asset_type){ | |
| //_name_or_index : {String,Asset} | |
| if (!is_handle(_name_or_index) && is_numeric(_name_or_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_get_tags(_name_or_index,_asset_type); | |
| } | |
| function __asset_get_type(_name_or_ref){ | |
| //_name_or_ref : {String,Asset} | |
| if (!is_handle(_name_or_ref) && is_numeric(_name_or_ref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_get_type(_name_or_ref); | |
| } | |
| function __asset_has_any_tag(_asset_name_or_id,_tags,_asset_type){ | |
| //_asset_name_or_id : {String,Asset} | |
| if (!is_handle(_asset_name_or_id) && is_numeric(_asset_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_has_any_tag(_asset_name_or_id,_tags,_asset_type); | |
| } | |
| function __asset_has_tags(_name_or_index,_tags,_asset_type){ | |
| //_name_or_index : {String,Asset} | |
| if (!is_handle(_name_or_index) && is_numeric(_name_or_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_has_tags(_name_or_index,_tags,_asset_type); | |
| } | |
| function __asset_remove_tags(_name_or_index,_tags,_asset_type){ | |
| //_name_or_index : {String,Asset} | |
| if (!is_handle(_name_or_index) && is_numeric(_name_or_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return asset_remove_tags(_name_or_index,_tags,_asset_type); | |
| } | |
| function __audio_bus_get_emitters(_bus){ | |
| return audio_bus_get_emitters(_bus); | |
| } | |
| function __audio_create_buffer_sound(_bufferId,_bufferFormat,_bufferRate,_bufferOffset,_bufferLength,_bufferChannels){ | |
| //_bufferId : {Id.Buffer} | |
| if (!is_handle(_bufferId) && is_numeric(_bufferId)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_create_buffer_sound(_bufferId,_bufferFormat,_bufferRate,_bufferOffset,_bufferLength,_bufferChannels); | |
| } | |
| function __audio_create_stream(_filename){ | |
| return audio_create_stream(_filename); | |
| } | |
| function __audio_create_sync_group(_loop){ | |
| return audio_create_sync_group(_loop); | |
| } | |
| function __audio_destroy_stream(_sound){ | |
| //_sound : {Asset.GMSound} | |
| if (!is_handle(_sound) && is_numeric(_sound)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_destroy_stream(_sound); | |
| } | |
| function __audio_destroy_sync_group(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_destroy_sync_group(_group_index); | |
| } | |
| function __audio_emitter_bus(_emitter,_bus){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_bus(_emitter,_bus); | |
| } | |
| function __audio_emitter_create(){ | |
| return audio_emitter_create(); | |
| } | |
| function __audio_emitter_exists(_index){ | |
| //_index : {Id.AudioEmitter} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_exists(_index); | |
| } | |
| function __audio_emitter_falloff(_emitter,_falloff_ref,_falloff_max,_falloff_factor){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_falloff(_emitter,_falloff_ref,_falloff_max,_falloff_factor); | |
| } | |
| function __audio_emitter_free(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_free(_emitter); | |
| } | |
| function __audio_emitter_gain(_emitter,_gain,_time){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_gain(_emitter,_gain,_time); | |
| } | |
| function __audio_emitter_get_bus(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_bus(_emitter); | |
| } | |
| function __audio_emitter_get_gain(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_gain(_emitter); | |
| } | |
| function __audio_emitter_get_listener_mask(_emitterid){ | |
| //_emitterid : {Id.AudioEmitter} | |
| if (!is_handle(_emitterid) && is_numeric(_emitterid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_listener_mask(_emitterid); | |
| } | |
| function __audio_emitter_get_pitch(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_pitch(_emitter); | |
| } | |
| function __audio_emitter_get_vx(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_vx(_emitter); | |
| } | |
| function __audio_emitter_get_vy(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_vy(_emitter); | |
| } | |
| function __audio_emitter_get_vz(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_vz(_emitter); | |
| } | |
| function __audio_emitter_get_x(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_x(_emitter); | |
| } | |
| function __audio_emitter_get_y(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_y(_emitter); | |
| } | |
| function __audio_emitter_get_z(_emitter){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_get_z(_emitter); | |
| } | |
| function __audio_emitter_pitch(_emitter,_pitch){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_pitch(_emitter,_pitch); | |
| } | |
| function __audio_emitter_position(_emitter,_x,_y,_z){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_position(_emitter,_x,_y,_z); | |
| } | |
| function __audio_emitter_set_listener_mask(_emitterid,_mask){ | |
| //_emitterid : {Id.AudioEmitter} | |
| if (!is_handle(_emitterid) && is_numeric(_emitterid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_set_listener_mask(_emitterid,_mask); | |
| } | |
| function __audio_emitter_velocity(_emitter,_vx,_vy,_vz){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_emitter_velocity(_emitter,_vx,_vy,_vz); | |
| } | |
| function __audio_exists(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_exists(_index); | |
| } | |
| function __audio_free_buffer_sound(_index){ | |
| //_index : {Real|Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_free_buffer_sound(_index); | |
| } | |
| function __audio_get_listener_info(_num){ | |
| return audio_get_listener_info(_num); | |
| } | |
| function __audio_get_master_gain(_listenerindex){ | |
| //_listenerindex : {Real,Id.AudioListener} | |
| if (!is_handle(_listenerindex) && is_numeric(_listenerindex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_get_master_gain(_listenerindex); | |
| } | |
| function __audio_get_name(_index){ | |
| //_index : {Id.Sound,Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_get_name(_index); | |
| } | |
| function __audio_get_type(_index){ | |
| //_index : {Id.Sound,Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_get_type(_index); | |
| } | |
| function __audio_group_get_assets(_group_index){ | |
| //_group_index : {Asset.GMAudioGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_get_assets(_group_index); | |
| } | |
| function __audio_group_get_gain(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_get_gain(_groupid); | |
| } | |
| function __audio_group_is_loaded(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_is_loaded(_groupid); | |
| } | |
| function __audio_group_load(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_load(_groupid); | |
| } | |
| function __audio_group_load_progress(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_load_progress(_groupid); | |
| } | |
| function __audio_group_name(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_name(_groupid); | |
| } | |
| function __audio_group_set_gain(_groupid,_volume,_time){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_set_gain(_groupid,_volume,_time); | |
| } | |
| function __audio_group_stop_all(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_stop_all(_groupid); | |
| } | |
| function __audio_group_unload(_groupid){ | |
| //_groupid : {Asset.GMAudioGroup} | |
| if (!is_handle(_groupid) && is_numeric(_groupid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_group_unload(_groupid); | |
| } | |
| function __audio_is_paused(_index){ | |
| //_index : {Id.Sound,Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_is_paused(_index); | |
| } | |
| function __audio_is_playing(_index){ | |
| //_index : {Id.Sound,Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_is_playing(_index); | |
| } | |
| function __audio_listener_get_data(_index){ | |
| return audio_listener_get_data(_index); | |
| } | |
| function __audio_music_gain(_value,_time){ | |
| //_value : {Asset.GMSound} | |
| if (!is_handle(_value) && is_numeric(_value)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_music_gain(_value,_time); | |
| } | |
| function __audio_pause_sound(_index){ | |
| //_index : {Id.Sound,Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_pause_sound(_index); | |
| } | |
| function __audio_pause_sync_group(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_pause_sync_group(_group_index); | |
| } | |
| function __audio_play_in_sync_group(_group_index,_sound_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sound_index : {Asset.GMSound} | |
| if (!is_handle(_sound_index) && is_numeric(_sound_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_play_in_sync_group(_group_index,_sound_index); | |
| } | |
| function __audio_play_music(_soundid,_loops){ | |
| //_soundid : {Asset.GMSound} | |
| if (!is_handle(_soundid) && is_numeric(_soundid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_play_music(_soundid,_loops); | |
| } | |
| function __audio_play_sound(_index,_priority,_loop,_gain,_offset,_pitch,_listener_mask){ | |
| //_index : {Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_play_sound(_index,_priority,_loop,_gain,_offset,_pitch,_listener_mask); | |
| } | |
| function __audio_play_sound_at(_index,_x,_y,_z,_falloff_ref,_falloff_max,_falloff_factor,_loop,_priority,_gain,_offset,_pitch,_listener_mask){ | |
| //_index : {Asset.GMSound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_play_sound_at(_index,_x,_y,_z,_falloff_ref,_falloff_max,_falloff_factor,_loop,_priority,_gain,_offset,_pitch,_listener_mask); | |
| } | |
| function __audio_play_sound_ext(_params){ | |
| return audio_play_sound_ext(_params); | |
| } | |
| function __audio_play_sound_on(_emitter,_sound,_loop,_priority,_gain,_offset,_pitch,_listener_mask){ | |
| //_emitter : {Id.AudioEmitter} | |
| if (!is_handle(_emitter) && is_numeric(_emitter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sound : {Asset.GMSound} | |
| if (!is_handle(_sound) && is_numeric(_sound)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_play_sound_on(_emitter,_sound,_loop,_priority,_gain,_offset,_pitch,_listener_mask); | |
| } | |
| function __audio_queue_sound(_queueindex,_bufferid,_bufferoffset,_bufferlength){ | |
| //_bufferid : {Id.Buffer} | |
| if (!is_handle(_bufferid) && is_numeric(_bufferid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_queue_sound(_queueindex,_bufferid,_bufferoffset,_bufferlength); | |
| } | |
| function __audio_resume_sound(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_resume_sound(_index); | |
| } | |
| function __audio_resume_sync_group(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_resume_sync_group(_group_index); | |
| } | |
| function __audio_set_master_gain(_listenerindex,_gain){ | |
| //_listenerindex : {Real,Id.AudioListener} | |
| if (!is_handle(_listenerindex) && is_numeric(_listenerindex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_set_master_gain(_listenerindex,_gain); | |
| } | |
| function __audio_sound_gain(_index,_volume,_time){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_gain(_index,_volume,_time); | |
| } | |
| function __audio_sound_get_asset(_index){ | |
| //_index : {Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_asset(_index); | |
| } | |
| function __audio_sound_get_audio_group(_sound_index){ | |
| //_sound_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_sound_index) && is_numeric(_sound_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_audio_group(_sound_index); | |
| } | |
| function __audio_sound_get_gain(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_gain(_index); | |
| } | |
| function __audio_sound_get_listener_mask(_soundid){ | |
| //_soundid : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_soundid) && is_numeric(_soundid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_listener_mask(_soundid); | |
| } | |
| function __audio_sound_get_loop(_index){ | |
| //_index : {Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_loop(_index); | |
| } | |
| function __audio_sound_get_loop_end(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_loop_end(_index); | |
| } | |
| function __audio_sound_get_loop_start(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_loop_start(_index); | |
| } | |
| function __audio_sound_get_pitch(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_pitch(_index); | |
| } | |
| function __audio_sound_get_track_position(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_get_track_position(_index); | |
| } | |
| function __audio_sound_is_playable(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_is_playable(_index); | |
| } | |
| function __audio_sound_length(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_length(_index); | |
| } | |
| function __audio_sound_loop(_index,_state){ | |
| //_index : {Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_loop(_index,_state); | |
| } | |
| function __audio_sound_loop_end(_index,_time){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_loop_end(_index,_time); | |
| } | |
| function __audio_sound_loop_start(_index,_time){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_loop_start(_index,_time); | |
| } | |
| function __audio_sound_pitch(_index,_pitch){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_pitch(_index,_pitch); | |
| } | |
| function __audio_sound_set_listener_mask(_soundid,_mask){ | |
| //_soundid : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_soundid) && is_numeric(_soundid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_set_listener_mask(_soundid,_mask); | |
| } | |
| function __audio_sound_set_track_position(_index,_time){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sound_set_track_position(_index,_time); | |
| } | |
| function __audio_start_sync_group(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_start_sync_group(_group_index); | |
| } | |
| function __audio_stop_sound(_index){ | |
| //_index : {Asset.GMSound,Id.Sound} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_stop_sound(_index); | |
| } | |
| function __audio_stop_sync_group(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_stop_sync_group(_group_index); | |
| } | |
| function __audio_sync_group_debug(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sync_group_debug(_group_index); | |
| } | |
| function __audio_sync_group_get_track_pos(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sync_group_get_track_pos(_group_index); | |
| } | |
| function __audio_sync_group_is_paused(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sync_group_is_paused(_group_index); | |
| } | |
| function __audio_sync_group_is_playing(_group_index){ | |
| //_group_index : {Id.AudioSyncGroup} | |
| if (!is_handle(_group_index) && is_numeric(_group_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return audio_sync_group_is_playing(_group_index); | |
| } | |
| function __buffer_base64_decode(_string){ | |
| return buffer_base64_decode(_string); | |
| } | |
| function __buffer_base64_decode_ext(_buffer,_string,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_base64_decode_ext(_buffer,_string,_offset); | |
| } | |
| function __buffer_base64_encode(_buffer,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_base64_encode(_buffer,_offset,_size); | |
| } | |
| function __buffer_compress(_buffer,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_compress(_buffer,_offset,_size); | |
| } | |
| function __buffer_copy(_src_buffer,_src_offset,_size,_dest_buffer,_dest_offset){ | |
| //_src_buffer : {Id.Buffer} | |
| if (!is_handle(_src_buffer) && is_numeric(_src_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dest_buffer : {Id.Buffer} | |
| if (!is_handle(_dest_buffer) && is_numeric(_dest_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_copy(_src_buffer,_src_offset,_size,_dest_buffer,_dest_offset); | |
| } | |
| function __buffer_copy_from_vertex_buffer(_vertex_buffer,_start_vertex,_num_vertices,_dest_buffer,_dest_offset){ | |
| //_vertex_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_vertex_buffer) && is_numeric(_vertex_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dest_buffer : {Id.Buffer} | |
| if (!is_handle(_dest_buffer) && is_numeric(_dest_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_copy_from_vertex_buffer(_vertex_buffer,_start_vertex,_num_vertices,_dest_buffer,_dest_offset); | |
| } | |
| function __buffer_copy_stride(_src_buffer,_src_offset,_src_size,_src_stride,_src_count,_dest_buffer,_dest_offset,_dest_stride){ | |
| //_src_buffer : {Id.Buffer} | |
| if (!is_handle(_src_buffer) && is_numeric(_src_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dest_buffer : {Id.Buffer} | |
| if (!is_handle(_dest_buffer) && is_numeric(_dest_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_copy_stride(_src_buffer,_src_offset,_src_size,_src_stride,_src_count,_dest_buffer,_dest_offset,_dest_stride); | |
| } | |
| function __buffer_crc32(_buffer,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_crc32(_buffer,_offset,_size); | |
| } | |
| function __buffer_create(_size,_type,_alignment){ | |
| return buffer_create(_size,_type,_alignment); | |
| } | |
| function __buffer_create_from_vertex_buffer(_vertex_buffer,_type,_alignment){ | |
| //_vertex_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_vertex_buffer) && is_numeric(_vertex_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_create_from_vertex_buffer(_vertex_buffer,_type,_alignment); | |
| } | |
| function __buffer_create_from_vertex_buffer_ext(_vertex_buffer,_type,_alignment,_start_vertex,_num_vertices){ | |
| //_vertex_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_vertex_buffer) && is_numeric(_vertex_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_create_from_vertex_buffer_ext(_vertex_buffer,_type,_alignment,_start_vertex,_num_vertices); | |
| } | |
| function __buffer_decompress(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_decompress(_buffer); | |
| } | |
| function __buffer_delete(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_delete(_buffer); | |
| } | |
| function __buffer_exists(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_exists(_buffer); | |
| } | |
| function __buffer_fill(_buffer,_offset,_type,_value,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_fill(_buffer,_offset,_type,_value,_size); | |
| } | |
| function __buffer_get_address(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_address(_buffer); | |
| } | |
| function __buffer_get_alignment(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_alignment(_buffer); | |
| } | |
| function __buffer_get_size(_index){ | |
| //_index : {Id.Buffer} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_size(_index); | |
| } | |
| function __buffer_get_surface(_buffer,_surface,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_surface(_buffer,_surface,_offset); | |
| } | |
| function __buffer_get_surface_depth(_buffer,_surface,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_surface_depth(_buffer,_surface,_offset); | |
| } | |
| function __buffer_get_type(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_type(_buffer); | |
| } | |
| function __buffer_get_used_size(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_get_used_size(_buffer); | |
| } | |
| function __buffer_load(_filename){ | |
| return buffer_load(_filename); | |
| } | |
| function __buffer_load_async(_buffer,_filename,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_load_async(_buffer,_filename,_offset,_size); | |
| } | |
| function __buffer_load_ext(_buffer,_filename,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_load_ext(_buffer,_filename,_offset); | |
| } | |
| function __buffer_load_partial(_buffer,_filename,_offset,_src_len,_dest_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_load_partial(_buffer,_filename,_offset,_src_len,_dest_offset); | |
| } | |
| function __buffer_md5(_buffer,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_md5(_buffer,_offset,_size); | |
| } | |
| function __buffer_peek(_buffer,_offset,_type){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_peek(_buffer,_offset,_type); | |
| } | |
| function __buffer_poke(_buffer,_offset,_type,_value){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_poke(_buffer,_offset,_type,_value); | |
| } | |
| function __buffer_read(_buffer,_type){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_read(_buffer,_type); | |
| } | |
| function __buffer_resize(_buffer,_newsize){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_resize(_buffer,_newsize); | |
| } | |
| function __buffer_save(_buffer,_filename){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_save(_buffer,_filename); | |
| } | |
| function __buffer_save_async(_buffer,_filename,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_save_async(_buffer,_filename,_offset,_size); | |
| } | |
| function __buffer_save_ext(_buffer,_filename,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_save_ext(_buffer,_filename,_offset,_size); | |
| } | |
| function __buffer_seek(_buffer,_base,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_seek(_buffer,_base,_offset); | |
| } | |
| function __buffer_set_surface(_buffer,_surface,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_set_surface(_buffer,_surface,_offset); | |
| } | |
| function __buffer_set_surface_depth(_buffer,_surface,_offset){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_set_surface_depth(_buffer,_surface,_offset); | |
| } | |
| function __buffer_set_used_size(_buffer,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_set_used_size(_buffer,_size); | |
| } | |
| function __buffer_sha1(_buffer,_offset,_size){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_sha1(_buffer,_offset,_size); | |
| } | |
| function __buffer_tell(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_tell(_buffer); | |
| } | |
| function __buffer_write(_buffer,_type,_value){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return buffer_write(_buffer,_type,_value); | |
| } | |
| function __call_cancel(_handle){ | |
| //_handle : {Id.TimeSource} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return call_cancel(_handle); | |
| } | |
| function __call_later(_period,_units,_callback,_repeat){ | |
| //_callback : {Function} | |
| if (!is_handle(_callback) && is_numeric(_callback)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return call_later(_period,_units,_callback,_repeat); | |
| } | |
| function __camera_apply(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_apply(_camera_id); | |
| } | |
| function __camera_copy_transforms(_dest_camera_id,_src_camera_id){ | |
| //_dest_camera_id : {Id.Camera} | |
| if (!is_handle(_dest_camera_id) && is_numeric(_dest_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_src_camera_id : {Id.Camera} | |
| if (!is_handle(_src_camera_id) && is_numeric(_src_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_copy_transforms(_dest_camera_id,_src_camera_id); | |
| } | |
| function __camera_create(){ | |
| return camera_create(); | |
| } | |
| function __camera_create_view(_room_x,_room_y,_width,_height,_angle,_object,_x_speed,_y_speed,_x_border,_y_border){ | |
| //_object : {Id.Instance,Asset.GMObject} | |
| if (!is_handle(_object) && is_numeric(_object)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_create_view(_room_x,_room_y,_width,_height,_angle,_object,_x_speed,_y_speed,_x_border,_y_border); | |
| } | |
| function __camera_destroy(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_destroy(_camera_id); | |
| } | |
| function __camera_get_active(){ | |
| return camera_get_active(); | |
| } | |
| function __camera_get_begin_script(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_begin_script(_camera_id); | |
| } | |
| function __camera_get_default(){ | |
| return camera_get_default(); | |
| } | |
| function __camera_get_end_script(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_end_script(_camera_id); | |
| } | |
| function __camera_get_proj_mat(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_proj_mat(_camera_id); | |
| } | |
| function __camera_get_update_script(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_update_script(_camera_id); | |
| } | |
| function __camera_get_view_angle(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_angle(_camera_id); | |
| } | |
| function __camera_get_view_border_x(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_border_x(_camera_id); | |
| } | |
| function __camera_get_view_border_y(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_border_y(_camera_id); | |
| } | |
| function __camera_get_view_height(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_height(_camera_id); | |
| } | |
| function __camera_get_view_mat(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_mat(_camera_id); | |
| } | |
| function __camera_get_view_speed_x(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_speed_x(_camera_id); | |
| } | |
| function __camera_get_view_speed_y(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_speed_y(_camera_id); | |
| } | |
| function __camera_get_view_target(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_target(_camera_id); | |
| } | |
| function __camera_get_view_width(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_width(_camera_id); | |
| } | |
| function __camera_get_view_x(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_x(_camera_id); | |
| } | |
| function __camera_get_view_y(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_get_view_y(_camera_id); | |
| } | |
| function __camera_set_begin_script(_camera_id,_script){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Function,Real} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_begin_script(_camera_id,_script); | |
| } | |
| function __camera_set_default(_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_default(_camera_id); | |
| } | |
| function __camera_set_end_script(_camera_id,_script){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Function,Real} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_end_script(_camera_id,_script); | |
| } | |
| function __camera_set_proj_mat(_camera_id,_matrix){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_proj_mat(_camera_id,_matrix); | |
| } | |
| function __camera_set_update_script(_camera_id,_script){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Function,Real} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_update_script(_camera_id,_script); | |
| } | |
| function __camera_set_view_angle(_camera_id,_angle){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_angle(_camera_id,_angle); | |
| } | |
| function __camera_set_view_border(_camera_id,_x_border,_y_border){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_border(_camera_id,_x_border,_y_border); | |
| } | |
| function __camera_set_view_mat(_camera_id,_matrix){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_mat(_camera_id,_matrix); | |
| } | |
| function __camera_set_view_pos(_camera_id,_x,_y){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_pos(_camera_id,_x,_y); | |
| } | |
| function __camera_set_view_size(_camera_id,_width,_height){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_size(_camera_id,_width,_height); | |
| } | |
| function __camera_set_view_speed(_camera_id,_xspeed,_yspeed){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_speed(_camera_id,_xspeed,_yspeed); | |
| } | |
| function __camera_set_view_target(_camera_id,__id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return camera_set_view_target(_camera_id,__id); | |
| } | |
| function __collision_circle(_x1,_y1,_rad,_obj,_prec,_notme){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_circle(_x1,_y1,_rad,_obj,_prec,_notme); | |
| } | |
| function __collision_circle_list(_x1,_y1,_rad,_obj,_prec,_notme,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_circle_list(_x1,_y1,_rad,_obj,_prec,_notme,_list,_ordered); | |
| } | |
| function __collision_ellipse(_x1,_y1,_x2,_y2,_obj,_prec,_notme){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_ellipse(_x1,_y1,_x2,_y2,_obj,_prec,_notme); | |
| } | |
| function __collision_ellipse_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_ellipse_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered); | |
| } | |
| function __collision_line(_x1,_y1,_x2,_y2,_obj,_prec,_notme){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_line(_x1,_y1,_x2,_y2,_obj,_prec,_notme); | |
| } | |
| function __collision_line_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_line_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered); | |
| } | |
| function __collision_point(_x,_y,_obj,_prec,_notme){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_point(_x,_y,_obj,_prec,_notme); | |
| } | |
| function __collision_point_list(_x,_y,_obj,_prec,_notme,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_point_list(_x,_y,_obj,_prec,_notme,_list,_ordered); | |
| } | |
| function __collision_rectangle(_x1,_y1,_x2,_y2,_obj,_prec,_notme){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_rectangle(_x1,_y1,_x2,_y2,_obj,_prec,_notme); | |
| } | |
| function __collision_rectangle_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Constant.Other,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return collision_rectangle_list(_x1,_y1,_x2,_y2,_obj,_prec,_notme,_list,_ordered); | |
| } | |
| function __dbg_button(_label,_dbgref,_width,_height){ | |
| //_dbgref : {Id.DbgRef,Id.Script,Function} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_button(_label,_dbgref,_width,_height); | |
| } | |
| function __dbg_button(_label,_dbgref,_width,_height){ | |
| //_dbgref : {Id.DbgRef,Id.Script,Function} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_button(_label,_dbgref,_width,_height); | |
| } | |
| function __dbg_checkbox(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_checkbox(_dbgref,_label); | |
| } | |
| function __dbg_checkbox(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_checkbox(_dbgref,_label); | |
| } | |
| function __dbg_color(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_color(_dbgref,_label); | |
| } | |
| function __dbg_color(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_color(_dbgref,_label); | |
| } | |
| function __dbg_colour(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_colour(_dbgref,_label); | |
| } | |
| function __dbg_colour(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_colour(_dbgref,_label); | |
| } | |
| function __dbg_drop_down(_dbgref,_specifierOrArrayOfValues,_labelOrArrayOfLabels,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_drop_down(_dbgref,_specifierOrArrayOfValues,_labelOrArrayOfLabels,_label); | |
| } | |
| function __dbg_drop_down(_dbgref,_specifierOrArrayOfValues,_labelOrArrayOfLabels,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_drop_down(_dbgref,_specifierOrArrayOfValues,_labelOrArrayOfLabels,_label); | |
| } | |
| function __dbg_same_line(){ | |
| return dbg_same_line(); | |
| } | |
| function __dbg_section(_name,_open){ | |
| return dbg_section(_name,_open); | |
| } | |
| function __dbg_slider(_dbgref,_minimum,_maximum,_label,_step){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_slider(_dbgref,_minimum,_maximum,_label,_step); | |
| } | |
| function __dbg_slider(_dbgref,_minimum,_maximum,_label,_step){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_slider(_dbgref,_minimum,_maximum,_label,_step); | |
| } | |
| function __dbg_slider_int(_dbgref,_minimum,_maximum,_label,_step){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_slider_int(_dbgref,_minimum,_maximum,_label,_step); | |
| } | |
| function __dbg_slider_int(_dbgref,_minimum,_maximum,_label,_step){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_slider_int(_dbgref,_minimum,_maximum,_label,_step); | |
| } | |
| function __dbg_sprite(_dbgrefSprite,_dbgrefSpriteIndex,_label,_width,_height){ | |
| //_dbgrefSprite : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSprite) && is_numeric(_dbgrefSprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSpriteIndex : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSpriteIndex) && is_numeric(_dbgrefSpriteIndex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_sprite(_dbgrefSprite,_dbgrefSpriteIndex,_label,_width,_height); | |
| } | |
| function __dbg_sprite(_dbgrefSprite,_dbgrefSpriteIndex,_label,_width,_height){ | |
| //_dbgrefSprite : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSprite) && is_numeric(_dbgrefSprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSpriteIndex : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSpriteIndex) && is_numeric(_dbgrefSpriteIndex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_sprite(_dbgrefSprite,_dbgrefSpriteIndex,_label,_width,_height); | |
| } | |
| function __dbg_sprite_button(_dbgref,_dbgrefSprite,_dbgrefSpriteIndex,_width,_height,_xoffset,_yoffset,_widthSprite,_heightSprite){ | |
| //_dbgref : {Id.DbgRef,Id.Script,Function} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSprite : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSprite) && is_numeric(_dbgrefSprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSpriteIndex : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSpriteIndex) && is_numeric(_dbgrefSpriteIndex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_sprite_button(_dbgref,_dbgrefSprite,_dbgrefSpriteIndex,_width,_height,_xoffset,_yoffset,_widthSprite,_heightSprite); | |
| } | |
| function __dbg_sprite_button(_dbgref,_dbgrefSprite,_dbgrefSpriteIndex,_width,_height,_xoffset,_yoffset,_widthSprite,_heightSprite){ | |
| //_dbgref : {Id.DbgRef,Id.Script,Function} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSprite : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSprite) && is_numeric(_dbgrefSprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefSpriteIndex : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgrefSpriteIndex) && is_numeric(_dbgrefSpriteIndex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_sprite_button(_dbgref,_dbgrefSprite,_dbgrefSpriteIndex,_width,_height,_xoffset,_yoffset,_widthSprite,_heightSprite); | |
| } | |
| function __dbg_text(_dbgref){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef],String} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text(_dbgref); | |
| } | |
| function __dbg_text(_dbgref){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef],String} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text(_dbgref); | |
| } | |
| function __dbg_text_input(_dbgref,_label,_type){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text_input(_dbgref,_label,_type); | |
| } | |
| function __dbg_text_input(_dbgref,_label,_type){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text_input(_dbgref,_label,_type); | |
| } | |
| function __dbg_text_separator(_dbgref,_align){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef],String} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text_separator(_dbgref,_align); | |
| } | |
| function __dbg_text_separator(_dbgref,_align){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef],String} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_text_separator(_dbgref,_align); | |
| } | |
| function __dbg_view(_name,_visible,_x,_y,_width,_height){ | |
| return dbg_view(_name,_visible,_x,_y,_width,_height); | |
| } | |
| function __dbg_watch(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_watch(_dbgref,_label); | |
| } | |
| function __dbg_watch(_dbgref,_label){ | |
| //_dbgref : {Id.DbgRef|Array[Id.DbgRef]} | |
| if (!is_handle(_dbgref) && is_numeric(_dbgref)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return dbg_watch(_dbgref,_label); | |
| } | |
| function __distance_to_object(_obj){ | |
| //_obj : {Id.Instance,Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return distance_to_object(_obj); | |
| } | |
| function __draw_get_font(){ | |
| return draw_get_font(); | |
| } | |
| function __draw_set_font(_font){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_set_font(_font); | |
| } | |
| function __draw_skeleton(_sprite,_animname,_skinname,_frame,_x,_y,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_skeleton(_sprite,_animname,_skinname,_frame,_x,_y,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __draw_skeleton_collision(_sprite,_animname,_frame,_x,_y,_xscale,_yscale,_rot,_colour){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_skeleton_collision(_sprite,_animname,_frame,_x,_y,_xscale,_yscale,_rot,_colour); | |
| } | |
| function __draw_skeleton_instance(_instance,_animname,_skinname,_frame,_x,_y,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_instance : {Id.Instance} | |
| if (!is_handle(_instance) && is_numeric(_instance)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_skeleton_instance(_instance,_animname,_skinname,_frame,_x,_y,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __draw_skeleton_time(_sprite,_animname,_skinname,_time,_x,_y,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_skeleton_time(_sprite,_animname,_skinname,_time,_x,_y,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __draw_sprite(_sprite,_subimg,_x,_y){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite(_sprite,_subimg,_x,_y); | |
| } | |
| function __draw_sprite_ext(_sprite,_subimg,_x,_y,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_ext(_sprite,_subimg,_x,_y,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __draw_sprite_general(_sprite,_subimg,_left,_top,_width,_height,_x,_y,_xscale,_yscale,_rot,_c1,_c2,_c3,_c4,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_general(_sprite,_subimg,_left,_top,_width,_height,_x,_y,_xscale,_yscale,_rot,_c1,_c2,_c3,_c4,_alpha); | |
| } | |
| function __draw_sprite_part(_sprite,_subimg,_left,_top,_width,_height,_x,_y){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_part(_sprite,_subimg,_left,_top,_width,_height,_x,_y); | |
| } | |
| function __draw_sprite_part_ext(_sprite,_subimg,_left,_top,_width,_height,_x,_y,_xscale,_yscale,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_part_ext(_sprite,_subimg,_left,_top,_width,_height,_x,_y,_xscale,_yscale,_colour,_alpha); | |
| } | |
| function __draw_sprite_pos(_sprite,_subimg,_x1,_y1,_x2,_y2,_x3,_y3,_x4,_y4,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_pos(_sprite,_subimg,_x1,_y1,_x2,_y2,_x3,_y3,_x4,_y4,_alpha); | |
| } | |
| function __draw_sprite_stretched(_sprite,_subimg,_x,_y,_w,_h){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_stretched(_sprite,_subimg,_x,_y,_w,_h); | |
| } | |
| function __draw_sprite_stretched_ext(_sprite,_subimg,_x,_y,_w,_h,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_stretched_ext(_sprite,_subimg,_x,_y,_w,_h,_colour,_alpha); | |
| } | |
| function __draw_sprite_tiled(_sprite,_subimg,_x,_y){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_tiled(_sprite,_subimg,_x,_y); | |
| } | |
| function __draw_sprite_tiled_ext(_sprite,_subimg,_x,_y,_xscale,_yscale,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_sprite_tiled_ext(_sprite,_subimg,_x,_y,_xscale,_yscale,_colour,_alpha); | |
| } | |
| function __draw_surface(_id,_x,_y){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface(_id,_x,_y); | |
| } | |
| function __draw_surface_ext(_id,_x,_y,_xscale,_yscale,_rot,_col,_alpha){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_ext(_id,_x,_y,_xscale,_yscale,_rot,_col,_alpha); | |
| } | |
| function __draw_surface_general(_id,_left,_top,_w,_h,_x,_y,_xscale,_yscale,_rot,_c1,_c2,_c3,_c4,_alpha){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_general(_id,_left,_top,_w,_h,_x,_y,_xscale,_yscale,_rot,_c1,_c2,_c3,_c4,_alpha); | |
| } | |
| function __draw_surface_part(_id,_left,_top,_w,_h,_x,_y){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_part(_id,_left,_top,_w,_h,_x,_y); | |
| } | |
| function __draw_surface_part_ext(_id,_left,_top,_w,_h,_x,_y,_xscale,_yscale,_colour,_alpha){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_part_ext(_id,_left,_top,_w,_h,_x,_y,_xscale,_yscale,_colour,_alpha); | |
| } | |
| function __draw_surface_stretched(_id,_x,_y,_w,_h){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_stretched(_id,_x,_y,_w,_h); | |
| } | |
| function __draw_surface_stretched_ext(_id,_x,_y,_w,_h,_colour,_alpha){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_stretched_ext(_id,_x,_y,_w,_h,_colour,_alpha); | |
| } | |
| function __draw_surface_tiled(_id,_x,_y){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_tiled(_id,_x,_y); | |
| } | |
| function __draw_surface_tiled_ext(_id,_x,_y,_xscale,_yscale,_col,_alpha){ | |
| //_id : {Id.Surface} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_surface_tiled_ext(_id,_x,_y,_xscale,_yscale,_col,_alpha); | |
| } | |
| function __draw_tile(_tileset,_tiledata,_frame,_x,_y){ | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_tile(_tileset,_tiledata,_frame,_x,_y); | |
| } | |
| function __draw_tilemap(_tilemap_element_id,_x,_y){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return draw_tilemap(_tilemap_element_id,_x,_y); | |
| } | |
| function __ds_grid_to_mp_grid(_src,_dest,_func){ | |
| //_dest : {Id.MpGrid} | |
| if (!is_handle(_dest) && is_numeric(_dest)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_func : {Function} | |
| if (!is_handle(_func) && is_numeric(_func)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_grid_to_mp_grid(_src,_dest,_func); | |
| } | |
| function __ds_list_add(_id,_value){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(ds_list_add, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __ds_list_clear(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_clear(_id); | |
| } | |
| function __ds_list_copy(_destination,_source){ | |
| //_destination : {Id.DsList} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.DsList} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_copy(_destination,_source); | |
| } | |
| function __ds_list_create(){ | |
| return ds_list_create(); | |
| } | |
| function __ds_list_delete(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_delete(_id,_pos); | |
| } | |
| function __ds_list_destroy(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_destroy(_id); | |
| } | |
| function __ds_list_empty(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_empty(_id); | |
| } | |
| function __ds_list_find_index(_id,_val){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_find_index(_id,_val); | |
| } | |
| function __ds_list_find_value(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_find_value(_id,_pos); | |
| } | |
| function __ds_list_insert(_id,_pos,_val){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_insert(_id,_pos,_val); | |
| } | |
| function __ds_list_is_list(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_is_list(_id,_pos); | |
| } | |
| function __ds_list_is_map(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_is_map(_id,_pos); | |
| } | |
| function __ds_list_mark_as_list(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_mark_as_list(_id,_pos); | |
| } | |
| function __ds_list_mark_as_map(_id,_pos){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_mark_as_map(_id,_pos); | |
| } | |
| function __ds_list_read(_id,_str,_legacy){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_read(_id,_str,_legacy); | |
| } | |
| function __ds_list_replace(_id,_pos,_val){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_replace(_id,_pos,_val); | |
| } | |
| function __ds_list_set(_id,_pos,_value){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(ds_list_set, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __ds_list_shuffle(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_shuffle(_id); | |
| } | |
| function __ds_list_size(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_size(_id); | |
| } | |
| function __ds_list_sort(_id,_ascend){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_sort(_id,_ascend); | |
| } | |
| function __ds_list_write(_id){ | |
| //_id : {Id.DsList} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_list_write(_id); | |
| } | |
| function __ds_map_add(_id,_key,_val){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_add(_id,_key,_val); | |
| } | |
| function __ds_map_add_list(_id,_key,_value){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_value : {Id.DsList} | |
| if (!is_handle(_value) && is_numeric(_value)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_add_list(_id,_key,_value); | |
| } | |
| function __ds_map_add_map(_id,_key,_value){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_value : {Id.DsMap} | |
| if (!is_handle(_value) && is_numeric(_value)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_add_map(_id,_key,_value); | |
| } | |
| function __ds_map_clear(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_clear(_id); | |
| } | |
| function __ds_map_copy(_destination,_source){ | |
| //_destination : {Id.DsMap} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.DsMap} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_copy(_destination,_source); | |
| } | |
| function __ds_map_create(){ | |
| return ds_map_create(); | |
| } | |
| function __ds_map_delete(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_delete(_id,_key); | |
| } | |
| function __ds_map_destroy(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_destroy(_id); | |
| } | |
| function __ds_map_empty(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_empty(_id); | |
| } | |
| function __ds_map_exists(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_exists(_id,_key); | |
| } | |
| function __ds_map_find_first(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_find_first(_id); | |
| } | |
| function __ds_map_find_last(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_find_last(_id); | |
| } | |
| function __ds_map_find_next(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_find_next(_id,_key); | |
| } | |
| function __ds_map_find_previous(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_find_previous(_id,_key); | |
| } | |
| function __ds_map_find_value(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_find_value(_id,_key); | |
| } | |
| function __ds_map_is_list(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_is_list(_id,_key); | |
| } | |
| function __ds_map_is_map(_id,_key){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_is_map(_id,_key); | |
| } | |
| function __ds_map_keys_to_array(_id,_array){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_keys_to_array(_id,_array); | |
| } | |
| function __ds_map_read(_id,_str,_legacy){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_read(_id,_str,_legacy); | |
| } | |
| function __ds_map_replace(_id,_key,_val){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_replace(_id,_key,_val); | |
| } | |
| function __ds_map_replace_list(_id,_key,_value){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_value : {Id.DsList} | |
| if (!is_handle(_value) && is_numeric(_value)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_replace_list(_id,_key,_value); | |
| } | |
| function __ds_map_replace_map(_id,_key,_value){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_value : {Id.DsMap} | |
| if (!is_handle(_value) && is_numeric(_value)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_replace_map(_id,_key,_value); | |
| } | |
| function __ds_map_secure_load(_filename){ | |
| return ds_map_secure_load(_filename); | |
| } | |
| function __ds_map_secure_load_buffer(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_secure_load_buffer(_buffer); | |
| } | |
| function __ds_map_secure_save(_map,_filename){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_secure_save(_map,_filename); | |
| } | |
| function __ds_map_secure_save_buffer(_id,_buffer){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_secure_save_buffer(_id,_buffer); | |
| } | |
| function __ds_map_set(_id,_key,_value){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_set(_id,_key,_value); | |
| } | |
| function __ds_map_size(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_size(_id); | |
| } | |
| function __ds_map_values_to_array(_id,_array){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_values_to_array(_id,_array); | |
| } | |
| function __ds_map_write(_id){ | |
| //_id : {Id.DsMap} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_map_write(_id); | |
| } | |
| function __ds_priority_add(_id,_val,_priority){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_add(_id,_val,_priority); | |
| } | |
| function __ds_priority_change_priority(_id,_val,_priority){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_change_priority(_id,_val,_priority); | |
| } | |
| function __ds_priority_clear(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_clear(_id); | |
| } | |
| function __ds_priority_copy(_destination,_source){ | |
| //_destination : {Id.DsPriority} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.DsPriority} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_copy(_destination,_source); | |
| } | |
| function __ds_priority_create(){ | |
| return ds_priority_create(); | |
| } | |
| function __ds_priority_delete_max(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_delete_max(_id); | |
| } | |
| function __ds_priority_delete_min(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_delete_min(_id); | |
| } | |
| function __ds_priority_delete_value(_id,_val){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_delete_value(_id,_val); | |
| } | |
| function __ds_priority_destroy(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_destroy(_id); | |
| } | |
| function __ds_priority_empty(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_empty(_id); | |
| } | |
| function __ds_priority_find_max(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_find_max(_id); | |
| } | |
| function __ds_priority_find_min(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_find_min(_id); | |
| } | |
| function __ds_priority_find_priority(_id,_val){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_find_priority(_id,_val); | |
| } | |
| function __ds_priority_read(_id,_str,_legacy){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_read(_id,_str,_legacy); | |
| } | |
| function __ds_priority_size(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_size(_id); | |
| } | |
| function __ds_priority_write(_id){ | |
| //_id : {Id.DsPriority} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_priority_write(_id); | |
| } | |
| function __ds_queue_clear(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_clear(_id); | |
| } | |
| function __ds_queue_copy(_destination,_source){ | |
| //_destination : {Id.DsQueue} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.DsQueue} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_copy(_destination,_source); | |
| } | |
| function __ds_queue_create(){ | |
| return ds_queue_create(); | |
| } | |
| function __ds_queue_dequeue(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_dequeue(_id); | |
| } | |
| function __ds_queue_destroy(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_destroy(_id); | |
| } | |
| function __ds_queue_empty(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_empty(_id); | |
| } | |
| function __ds_queue_enqueue(_id,_value){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(ds_queue_enqueue, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __ds_queue_head(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_head(_id); | |
| } | |
| function __ds_queue_read(_id,_str,_legacy){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_read(_id,_str,_legacy); | |
| } | |
| function __ds_queue_size(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_size(_id); | |
| } | |
| function __ds_queue_tail(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_tail(_id); | |
| } | |
| function __ds_queue_write(_id){ | |
| //_id : {Id.DsQueue} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_queue_write(_id); | |
| } | |
| function __ds_stack_clear(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_clear(_id); | |
| } | |
| function __ds_stack_copy(_destination,_source){ | |
| //_destination : {Id.DsStack} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.DsStack} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_copy(_destination,_source); | |
| } | |
| function __ds_stack_create(){ | |
| return ds_stack_create(); | |
| } | |
| function __ds_stack_destroy(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_destroy(_id); | |
| } | |
| function __ds_stack_empty(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_empty(_id); | |
| } | |
| function __ds_stack_pop(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_pop(_id); | |
| } | |
| function __ds_stack_push(_id,_value){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(ds_stack_push, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __ds_stack_read(_id,_str,_legacy){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_read(_id,_str,_legacy); | |
| } | |
| function __ds_stack_size(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_size(_id); | |
| } | |
| function __ds_stack_top(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_top(_id); | |
| } | |
| function __ds_stack_write(_id){ | |
| //_id : {Id.DsStack} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ds_stack_write(_id); | |
| } | |
| function __effect_create_layer(_layer_id,_kind,_x,_y,_size,_colour){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return effect_create_layer(_layer_id,_kind,_x,_y,_size,_colour); | |
| } | |
| function __event_perform(_type,_numb){ | |
| //_numb : {Constant.EventNumber,Real,Constant.VirtualKey,Asset.GMObject} | |
| if (_numb == ev_collision && !is_handle(_numb) && is_numeric(_numb)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return event_perform(_type,_numb); | |
| } | |
| function __event_perform_async(_type,_ds_map){ | |
| //_ds_map : {Id.DsMap} | |
| if (!is_handle(_ds_map) && is_numeric(_ds_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return event_perform_async(_type,_ds_map); | |
| } | |
| function __event_perform_object(_obj,_type,_numb){ | |
| //_numb : {Constant.EventNumber,Real,Constant.VirtualKey,Asset.GMObject} | |
| if (_numb == ev_collision && !is_handle(_numb) && is_numeric(_numb)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return event_perform_object(_obj,_type,_numb); | |
| } | |
| function __exception_unhandled_handler(_user_handler){ | |
| //_user_handler : {Function} | |
| if (!is_handle(_user_handler) && is_numeric(_user_handler)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return exception_unhandled_handler(_user_handler); | |
| } | |
| function __external_call(_id,_value){ | |
| //_id : {Id.ExternalCall} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(external_call, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __external_define(_dll,_name,_calltype,_restype,_argnumb,_value){ | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(external_define, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __file_bin_close(_binfile){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_close(_binfile); | |
| } | |
| function __file_bin_open(_fname,_mode){ | |
| return file_bin_open(_fname,_mode); | |
| } | |
| function __file_bin_position(_binfile){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_position(_binfile); | |
| } | |
| function __file_bin_read_byte(_binfile){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_read_byte(_binfile); | |
| } | |
| function __file_bin_rewrite(_binfile){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_rewrite(_binfile); | |
| } | |
| function __file_bin_seek(_binfile,_pos){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_seek(_binfile,_pos); | |
| } | |
| function __file_bin_size(_binfile){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_size(_binfile); | |
| } | |
| function __file_bin_write_byte(_binfile,_byte){ | |
| //_binfile : {Id.BinaryFile} | |
| if (!is_handle(_binfile) && is_numeric(_binfile)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_bin_write_byte(_binfile,_byte); | |
| } | |
| function __file_text_close(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_close(_fileid); | |
| } | |
| function __file_text_eof(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_eof(_fileid); | |
| } | |
| function __file_text_eoln(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_eoln(_fileid); | |
| } | |
| function __file_text_open_append(_fname){ | |
| return file_text_open_append(_fname); | |
| } | |
| function __file_text_open_from_string(_string){ | |
| return file_text_open_from_string(_string); | |
| } | |
| function __file_text_open_read(_fname){ | |
| return file_text_open_read(_fname); | |
| } | |
| function __file_text_open_write(_fname){ | |
| return file_text_open_write(_fname); | |
| } | |
| function __file_text_read_real(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_read_real(_fileid); | |
| } | |
| function __file_text_read_string(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_read_string(_fileid); | |
| } | |
| function __file_text_readln(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_readln(_fileid); | |
| } | |
| function __file_text_write_real(_fileid,_val){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_write_real(_fileid,_val); | |
| } | |
| function __file_text_write_string(_fileid,_str){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_write_string(_fileid,_str); | |
| } | |
| function __file_text_writeln(_fileid){ | |
| //_fileid : {Id.TextFile} | |
| if (!is_handle(_fileid) && is_numeric(_fileid)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return file_text_writeln(_fileid); | |
| } | |
| function __flexpanel_create_node(_struct_or_json){ | |
| return flexpanel_create_node(_struct_or_json); | |
| } | |
| function __flexpanel_node_get_measure_function(_root){ | |
| //_root : {Pointer.FlexpanelNode} | |
| if (!is_handle(_root) && is_numeric(_root)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return flexpanel_node_get_measure_function(_root); | |
| } | |
| function __flexpanel_node_set_measure_function(_root,_function){ | |
| //_root : {Pointer.FlexpanelNode} | |
| if (!is_handle(_root) && is_numeric(_root)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return flexpanel_node_set_measure_function(_root,_function); | |
| } | |
| function __font_add(_name,_size,_bold,_italic,_first,_last){ | |
| return font_add(_name,_size,_bold,_italic,_first,_last); | |
| } | |
| function __font_add_sprite(_spr,_first,_prop,_sep){ | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_add_sprite(_spr,_first,_prop,_sep); | |
| } | |
| function __font_add_sprite_ext(_spr,_string_map,_prop,_sep){ | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_add_sprite_ext(_spr,_string_map,_prop,_sep); | |
| } | |
| function __font_cache_glyph(_font,_glyph_index){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_cache_glyph(_font,_glyph_index); | |
| } | |
| function __font_delete(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_delete(_ind); | |
| } | |
| function __font_enable_effects(_ind,_enable,_params){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_enable_effects(_ind,_enable,_params); | |
| } | |
| function __font_enable_sdf(_ind,_enable){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_enable_sdf(_ind,_enable); | |
| } | |
| function __font_exists(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_exists(_ind); | |
| } | |
| function __font_get_bold(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_bold(_ind); | |
| } | |
| function __font_get_first(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_first(_ind); | |
| } | |
| function __font_get_fontname(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_fontname(_ind); | |
| } | |
| function __font_get_info(_font){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_info(_font); | |
| } | |
| function __font_get_italic(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_italic(_ind); | |
| } | |
| function __font_get_last(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_last(_ind); | |
| } | |
| function __font_get_name(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_name(_ind); | |
| } | |
| function __font_get_sdf_enabled(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_sdf_enabled(_ind); | |
| } | |
| function __font_get_sdf_spread(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_sdf_spread(_ind); | |
| } | |
| function __font_get_size(_ind){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_size(_ind); | |
| } | |
| function __font_get_texture(_font){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_texture(_font); | |
| } | |
| function __font_get_texture(_font){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_texture(_font); | |
| } | |
| function __font_get_uvs(_font){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_get_uvs(_font); | |
| } | |
| function __font_replace_sprite(_ind,_spr,_first,_prop,_sep){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_replace_sprite(_ind,_spr,_first,_prop,_sep); | |
| } | |
| function __font_replace_sprite_ext(_font,_spr,_string_map,_prop,_sep){ | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_replace_sprite_ext(_font,_spr,_string_map,_prop,_sep); | |
| } | |
| function __font_sdf_spread(_ind,_spread){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_sdf_spread(_ind,_spread); | |
| } | |
| function __font_set_cache_size(_ind,_max){ | |
| //_ind : {Asset.GMFont} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return font_set_cache_size(_ind,_max); | |
| } | |
| function __game_load_buffer(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return game_load_buffer(_buffer); | |
| } | |
| function __game_save_buffer(_buffer){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return game_save_buffer(_buffer); | |
| } | |
| function __gif_add_surface(_gif_index,_surface,_delay_time,_xoffset,_yoffset,_quantization){ | |
| //_gif_index : {Id.Gif} | |
| if (!is_handle(_gif_index) && is_numeric(_gif_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gif_add_surface(_gif_index,_surface,_delay_time,_xoffset,_yoffset,_quantization); | |
| } | |
| function __gif_open(_width,_height,_clear_colour){ | |
| return gif_open(_width,_height,_clear_colour); | |
| } | |
| function __gif_save(_gif_index,_fname){ | |
| //_gif_index : {Id.Gif} | |
| if (!is_handle(_gif_index) && is_numeric(_gif_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gif_save(_gif_index,_fname); | |
| } | |
| function __gif_save_buffer(_gif_index){ | |
| //_gif_index : {Id.Gif} | |
| if (!is_handle(_gif_index) && is_numeric(_gif_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gif_save_buffer(_gif_index); | |
| } | |
| function __gpu_get_state(){ | |
| return gpu_get_state(); | |
| } | |
| function __gpu_get_stencil_func(){ | |
| return gpu_get_stencil_func(); | |
| } | |
| function __gpu_get_tex_filter_ext(_sampler_id){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_filter_ext(_sampler_id); | |
| } | |
| function __gpu_get_tex_max_aniso_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_max_aniso_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_max_mip_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_max_mip_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_min_mip_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_min_mip_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_mip_bias_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_mip_bias_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_mip_enable_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_mip_enable_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_mip_filter_ext(_sampler_index){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_mip_filter_ext(_sampler_index); | |
| } | |
| function __gpu_get_tex_repeat_ext(_sampler_id){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_tex_repeat_ext(_sampler_id); | |
| } | |
| function __gpu_get_texfilter_ext(_sampler_id){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_texfilter_ext(_sampler_id); | |
| } | |
| function __gpu_get_texrepeat_ext(_sampler_id){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_get_texrepeat_ext(_sampler_id); | |
| } | |
| function __gpu_get_zfunc(){ | |
| return gpu_get_zfunc(); | |
| } | |
| function __gpu_set_state(_ds_map){ | |
| //_ds_map : {Id.DsMap} | |
| if (!is_handle(_ds_map) && is_numeric(_ds_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_state(_ds_map); | |
| } | |
| function __gpu_set_stencil_func(_cmp_func){ | |
| //_cmp_func : {Constant.ZFunction} | |
| if (!is_handle(_cmp_func) && is_numeric(_cmp_func)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_stencil_func(_cmp_func); | |
| } | |
| function __gpu_set_tex_filter_ext(_sampler_id,_linear){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_filter_ext(_sampler_id,_linear); | |
| } | |
| function __gpu_set_tex_max_aniso_ext(_sampler_index,_maxaniso){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_max_aniso_ext(_sampler_index,_maxaniso); | |
| } | |
| function __gpu_set_tex_max_mip_ext(_sampler_index,_maxmip){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_max_mip_ext(_sampler_index,_maxmip); | |
| } | |
| function __gpu_set_tex_min_mip_ext(_sampler_index,_minmip){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_min_mip_ext(_sampler_index,_minmip); | |
| } | |
| function __gpu_set_tex_mip_bias_ext(_sampler_index,_bias){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_mip_bias_ext(_sampler_index,_bias); | |
| } | |
| function __gpu_set_tex_mip_enable_ext(_sampler_index,_setting){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_mip_enable_ext(_sampler_index,_setting); | |
| } | |
| function __gpu_set_tex_mip_filter_ext(_sampler_index,_filter){ | |
| //_sampler_index : {Id.Uniform} | |
| if (!is_handle(_sampler_index) && is_numeric(_sampler_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_mip_filter_ext(_sampler_index,_filter); | |
| } | |
| function __gpu_set_tex_repeat_ext(_sampler_id,_repeat){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_tex_repeat_ext(_sampler_id,_repeat); | |
| } | |
| function __gpu_set_texfilter_ext(_sampler_id,_enable){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_texfilter_ext(_sampler_id,_enable); | |
| } | |
| function __gpu_set_texrepeat_ext(_sampler_id,_enable){ | |
| //_sampler_id : {Id.Sampler} | |
| if (!is_handle(_sampler_id) && is_numeric(_sampler_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_texrepeat_ext(_sampler_id,_enable); | |
| } | |
| function __gpu_set_zfunc(_cmp_func){ | |
| //_cmp_func : {Constant.ZFunction} | |
| if (!is_handle(_cmp_func) && is_numeric(_cmp_func)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return gpu_set_zfunc(_cmp_func); | |
| } | |
| function __handle_parse(_value_string){ | |
| return handle_parse(_value_string); | |
| } | |
| function __http_request(_url,_method,_header_map,_body){ | |
| //_header_map : {Id.DsMap} | |
| if (!is_handle(_header_map) && is_numeric(_header_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_body : {Real,String,Id.Buffer} | |
| if (!is_handle(_body) && is_numeric(_body)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return http_request(_url,_method,_header_map,_body); | |
| } | |
| function __iap_activate(_ds_list){ | |
| //_ds_list : {Id.DsList} | |
| if (!is_handle(_ds_list) && is_numeric(_ds_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return iap_activate(_ds_list); | |
| } | |
| function __iap_enumerate_products(_ds_list){ | |
| //_ds_list : {Id.DsList} | |
| if (!is_handle(_ds_list) && is_numeric(_ds_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return iap_enumerate_products(_ds_list); | |
| } | |
| function __iap_product_details(_product_id,_ds_map){ | |
| //_ds_map : {Id.DsMap} | |
| if (!is_handle(_ds_map) && is_numeric(_ds_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return iap_product_details(_product_id,_ds_map); | |
| } | |
| function __instance_activate_layer(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_activate_layer(_layer_id); | |
| } | |
| function __instance_activate_object(_obj,_collision_space){ | |
| //_obj : {Asset.GMObject,Id.Instance,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_activate_object(_obj,_collision_space); | |
| } | |
| function __instance_change(_obj,_perf){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_change(_obj,_perf); | |
| } | |
| function __instance_copy(_perf){ | |
| return instance_copy(_perf); | |
| } | |
| function __instance_create_depth(_x,_y,_depth,_obj,_var_struct){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_create_depth(_x,_y,_depth,_obj,_var_struct); | |
| } | |
| function __instance_create_layer(_x,_y,_layer_id,_obj,_var_struct){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_create_layer(_x,_y,_layer_id,_obj,_var_struct); | |
| } | |
| function __instance_deactivate_layer(_layer){ | |
| //_layer : {Id.Layer,String} | |
| if (!is_handle(_layer) && is_numeric(_layer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_deactivate_layer(_layer); | |
| } | |
| function __instance_deactivate_object(_obj,_collision_space){ | |
| //_obj : {Asset.GMObject,Id.Instance,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_deactivate_object(_obj,_collision_space); | |
| } | |
| function __instance_destroy(_id,_execute_event_flag){ | |
| //_id : {Asset.GMObject,Id.Instance,Constant.All} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_destroy(_id,_execute_event_flag); | |
| } | |
| function __instance_exists(_obj){ | |
| //_obj : {Id.Instance,Asset.GMObject,Undefined} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_exists(_obj); | |
| } | |
| function __instance_find(_obj,_n){ | |
| //_obj : {Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_find(_obj,_n); | |
| } | |
| function __instance_furthest(_x,_y,_obj){ | |
| //_obj : {Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_furthest(_x,_y,_obj); | |
| } | |
| function __instance_id_get(_index){ | |
| //_index : {Id.Instance} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_id_get(_index); | |
| } | |
| function __instance_nearest(_x,_y,_obj){ | |
| //_obj : {Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_nearest(_x,_y,_obj); | |
| } | |
| function __instance_number(_obj){ | |
| //_obj : {Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_number(_obj); | |
| } | |
| function __instance_place(_x,_y,_obj){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_place(_x,_y,_obj); | |
| } | |
| function __instance_place_list(_x,_y,_obj,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_place_list(_x,_y,_obj,_list,_ordered); | |
| } | |
| function __instance_position(_x,_y,_obj){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_position(_x,_y,_obj); | |
| } | |
| function __instance_position_list(_x,_y,_obj,_list,_ordered){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return instance_position_list(_x,_y,_obj,_list,_ordered); | |
| } | |
| function __is_instanceof(_struct,_constructor_name){ | |
| //_constructor_name : {Function,Asset.GMScript} | |
| if (!is_handle(_constructor_name) && is_numeric(_constructor_name)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return is_instanceof(_struct,_constructor_name); | |
| } | |
| function __json_encode(_map,_prettify){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return json_encode(_map,_prettify); | |
| } | |
| function __json_parse(_json,_filter,_inhibit_string_convert){ | |
| //_filter : {Function} | |
| if (!is_handle(_filter) && is_numeric(_filter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return json_parse(_json,_filter,_inhibit_string_convert); | |
| } | |
| function __json_stringify(_val,_prettify,_filter){ | |
| //_filter : {Function} | |
| if (!is_handle(_filter) && is_numeric(_filter)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return json_stringify(_val,_prettify,_filter); | |
| } | |
| function __layer_add_instance(_layer_id,_instance_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_instance_id : {Id.Instance} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_add_instance(_layer_id,_instance_id); | |
| } | |
| function __layer_background_alpha(_background_element_id,_alpha){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_alpha(_background_element_id,_alpha); | |
| } | |
| function __layer_background_blend(_background_element_id,_blend){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_blend(_background_element_id,_blend); | |
| } | |
| function __layer_background_change(_background_element_id,_sprite){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_change(_background_element_id,_sprite); | |
| } | |
| function __layer_background_create(_layer_id,_sprite){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_create(_layer_id,_sprite); | |
| } | |
| function __layer_background_destroy(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_destroy(_background_element_id); | |
| } | |
| function __layer_background_exists(_layer_id,_background_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_exists(_layer_id,_background_element_id); | |
| } | |
| function __layer_background_get_alpha(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_alpha(_background_element_id); | |
| } | |
| function __layer_background_get_blend(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_blend(_background_element_id); | |
| } | |
| function __layer_background_get_htiled(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_htiled(_background_element_id); | |
| } | |
| function __layer_background_get_id(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_id(_layer_id); | |
| } | |
| function __layer_background_get_index(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_index(_background_element_id); | |
| } | |
| function __layer_background_get_speed(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_speed(_background_element_id); | |
| } | |
| function __layer_background_get_sprite(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_sprite(_background_element_id); | |
| } | |
| function __layer_background_get_stretch(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_stretch(_background_element_id); | |
| } | |
| function __layer_background_get_visible(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_visible(_background_element_id); | |
| } | |
| function __layer_background_get_vtiled(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_vtiled(_background_element_id); | |
| } | |
| function __layer_background_get_xscale(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_xscale(_background_element_id); | |
| } | |
| function __layer_background_get_yscale(_background_element_id){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_get_yscale(_background_element_id); | |
| } | |
| function __layer_background_htiled(_background_element_id,_htile){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_htiled(_background_element_id,_htile); | |
| } | |
| function __layer_background_index(_background_element_id,_index){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_index(_background_element_id,_index); | |
| } | |
| function __layer_background_speed(_background_element_id,_speed){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_speed(_background_element_id,_speed); | |
| } | |
| function __layer_background_sprite(_background_element_id,_sprite_index){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite_index : {Asset.GMSprite} | |
| if (!is_handle(_sprite_index) && is_numeric(_sprite_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_sprite(_background_element_id,_sprite_index); | |
| } | |
| function __layer_background_stretch(_background_element_id,_stretch){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_stretch(_background_element_id,_stretch); | |
| } | |
| function __layer_background_visible(_background_element_id,_visible){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_visible(_background_element_id,_visible); | |
| } | |
| function __layer_background_vtiled(_background_element_id,_vtile){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_vtiled(_background_element_id,_vtile); | |
| } | |
| function __layer_background_xscale(_background_element_id,_xscale){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_xscale(_background_element_id,_xscale); | |
| } | |
| function __layer_background_yscale(_background_element_id,_speed){ | |
| //_background_element_id : {Id.BackgroundElement} | |
| if (!is_handle(_background_element_id) && is_numeric(_background_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_background_yscale(_background_element_id,_speed); | |
| } | |
| function __layer_clear_fx(_layer_name_or_id){ | |
| //_layer_name_or_id : {String,Id.Layer} | |
| if (!is_handle(_layer_name_or_id) && is_numeric(_layer_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_clear_fx(_layer_name_or_id); | |
| } | |
| function __layer_create(_depth,_name){ | |
| return layer_create(_depth,_name); | |
| } | |
| function __layer_depth(_layer_id,_depth){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_depth(_layer_id,_depth); | |
| } | |
| function __layer_destroy(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_destroy(_layer_id); | |
| } | |
| function __layer_destroy_instances(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_destroy_instances(_layer_id); | |
| } | |
| function __layer_element_move(_element_id,_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_element_move(_element_id,_layer_id); | |
| } | |
| function __layer_enable_fx(_layer_name_or_id,_enable){ | |
| //_layer_name_or_id : {String,Id.Layer} | |
| if (!is_handle(_layer_name_or_id) && is_numeric(_layer_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_enable_fx(_layer_name_or_id,_enable); | |
| } | |
| function __layer_exists(_layer_name){ | |
| //_layer_name : {String,Id.Layer} | |
| if (!is_handle(_layer_name) && is_numeric(_layer_name)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_exists(_layer_name); | |
| } | |
| function __layer_fx_is_enabled(_layer_name_or_id){ | |
| //_layer_name_or_id : {String,Id.Layer} | |
| if (!is_handle(_layer_name_or_id) && is_numeric(_layer_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_fx_is_enabled(_layer_name_or_id); | |
| } | |
| function __layer_get_all(){ | |
| return layer_get_all(); | |
| } | |
| function __layer_get_all_elements(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_all_elements(_layer_id); | |
| } | |
| function __layer_get_depth(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_depth(_layer_id); | |
| } | |
| function __layer_get_element_layer(_element_id){ | |
| return layer_get_element_layer(_element_id); | |
| } | |
| function __layer_get_flexpanel_node(_layer_name){ | |
| return layer_get_flexpanel_node(_layer_name); | |
| } | |
| function __layer_get_fx(_layer_name_or_id){ | |
| //_layer_name_or_id : {String,Id.Layer} | |
| if (!is_handle(_layer_name_or_id) && is_numeric(_layer_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_fx(_layer_name_or_id); | |
| } | |
| function __layer_get_hspeed(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_hspeed(_layer_id); | |
| } | |
| function __layer_get_id(_layer_name){ | |
| return layer_get_id(_layer_name); | |
| } | |
| function __layer_get_id_at_depth(_depth){ | |
| return layer_get_id_at_depth(_depth); | |
| } | |
| function __layer_get_name(_layer_id){ | |
| //_layer_id : {Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_name(_layer_id); | |
| } | |
| function __layer_get_script_begin(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_script_begin(_layer_id); | |
| } | |
| function __layer_get_script_end(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_script_end(_layer_id); | |
| } | |
| function __layer_get_shader(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_shader(_layer_id); | |
| } | |
| function __layer_get_target_room(){ | |
| return layer_get_target_room(); | |
| } | |
| function __layer_get_type(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_type(_layer_id); | |
| } | |
| function __layer_get_visible(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_visible(_layer_id); | |
| } | |
| function __layer_get_vspeed(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_vspeed(_layer_id); | |
| } | |
| function __layer_get_x(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_x(_layer_id); | |
| } | |
| function __layer_get_y(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_get_y(_layer_id); | |
| } | |
| function __layer_has_instance(_layer_id,_instance_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_instance_id : {Id.Instance} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_has_instance(_layer_id,_instance_id); | |
| } | |
| function __layer_hspeed(_layer_id,_hspd){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_hspeed(_layer_id,_hspd); | |
| } | |
| function __layer_instance_get_instance(_element_id){ | |
| return layer_instance_get_instance(_element_id); | |
| } | |
| function __layer_particle_alpha(_particle_element_id,_alpha){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_alpha(_particle_element_id,_alpha); | |
| } | |
| function __layer_particle_angle(_particle_element_id,_angle){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_angle(_particle_element_id,_angle); | |
| } | |
| function __layer_particle_blend(_particle_element_id,_color){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_blend(_particle_element_id,_color); | |
| } | |
| function __layer_particle_get_alpha(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_alpha(_particle_element_id); | |
| } | |
| function __layer_particle_get_angle(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_angle(_particle_element_id); | |
| } | |
| function __layer_particle_get_blend(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_blend(_particle_element_id); | |
| } | |
| function __layer_particle_get_id(_layer_id,_particle_element_name){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_id(_layer_id,_particle_element_name); | |
| } | |
| function __layer_particle_get_instance(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_instance(_particle_element_id); | |
| } | |
| function __layer_particle_get_system(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_system(_particle_element_id); | |
| } | |
| function __layer_particle_get_x(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_x(_particle_element_id); | |
| } | |
| function __layer_particle_get_xscale(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_xscale(_particle_element_id); | |
| } | |
| function __layer_particle_get_y(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_y(_particle_element_id); | |
| } | |
| function __layer_particle_get_yscale(_particle_element_id){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_get_yscale(_particle_element_id); | |
| } | |
| function __layer_particle_x(_particle_element_id,_x){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_x(_particle_element_id,_x); | |
| } | |
| function __layer_particle_xscale(_particle_element_id,_xscale){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_xscale(_particle_element_id,_xscale); | |
| } | |
| function __layer_particle_y(_particle_element_id,_y){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_y(_particle_element_id,_y); | |
| } | |
| function __layer_particle_yscale(_particle_element_id,_yscale){ | |
| //_particle_element_id : {Id.ParticleElement} | |
| if (!is_handle(_particle_element_id) && is_numeric(_particle_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_particle_yscale(_particle_element_id,_yscale); | |
| } | |
| function __layer_script_begin(_layer_id,_script){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Asset.GMScript,Function,Real} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_script_begin(_layer_id,_script); | |
| } | |
| function __layer_script_end(_layer_id,_script){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Asset.GMScript,Function,Real} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_script_end(_layer_id,_script); | |
| } | |
| function __layer_sequence_angle(_sequence_element_id,_angle){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_angle(_sequence_element_id,_angle); | |
| } | |
| function __layer_sequence_create(_layer_id,_x,_y,_sequence_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sequence_id : {Asset.GMSequence} | |
| if (!is_handle(_sequence_id) && is_numeric(_sequence_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_create(_layer_id,_x,_y,_sequence_id); | |
| } | |
| function __layer_sequence_destroy(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_destroy(_sequence_element_id); | |
| } | |
| function __layer_sequence_exists(_layer_id,_sequence_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_exists(_layer_id,_sequence_element_id); | |
| } | |
| function __layer_sequence_get_angle(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_angle(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_headdir(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_headdir(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_headpos(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_headpos(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_instance(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_instance(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_length(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_length(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_sequence(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_sequence(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_speedscale(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_speedscale(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_x(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_x(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_xscale(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_xscale(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_y(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_y(_sequence_element_id); | |
| } | |
| function __layer_sequence_get_yscale(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_get_yscale(_sequence_element_id); | |
| } | |
| function __layer_sequence_headdir(_sequence_element_id,_direction){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_headdir(_sequence_element_id,_direction); | |
| } | |
| function __layer_sequence_headpos(_sequence_element_id,_position){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_headpos(_sequence_element_id,_position); | |
| } | |
| function __layer_sequence_is_finished(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_is_finished(_sequence_element_id); | |
| } | |
| function __layer_sequence_is_paused(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_is_paused(_sequence_element_id); | |
| } | |
| function __layer_sequence_pause(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_pause(_sequence_element_id); | |
| } | |
| function __layer_sequence_play(_sequence_element_id){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_play(_sequence_element_id); | |
| } | |
| function __layer_sequence_speedscale(_sequence_element_id,_speedscale){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_speedscale(_sequence_element_id,_speedscale); | |
| } | |
| function __layer_sequence_x(_sequence_element_id,_pos_x){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_x(_sequence_element_id,_pos_x); | |
| } | |
| function __layer_sequence_xscale(_sequence_element_id,_xscale){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_xscale(_sequence_element_id,_xscale); | |
| } | |
| function __layer_sequence_y(_sequence_element_id,_pos_y){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_y(_sequence_element_id,_pos_y); | |
| } | |
| function __layer_sequence_yscale(_sequence_element_id,_yscale){ | |
| //_sequence_element_id : {Id.SequenceElement} | |
| if (!is_handle(_sequence_element_id) && is_numeric(_sequence_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sequence_yscale(_sequence_element_id,_yscale); | |
| } | |
| function __layer_set_fx(_layer_name_or_id,_filter_or_effect){ | |
| //_layer_name_or_id : {String,Id.Layer} | |
| if (!is_handle(_layer_name_or_id) && is_numeric(_layer_name_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_set_fx(_layer_name_or_id,_filter_or_effect); | |
| } | |
| function __layer_set_target_room(_room){ | |
| //_room : {Asset.GMRoom} | |
| if (!is_handle(_room) && is_numeric(_room)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_set_target_room(_room); | |
| } | |
| function __layer_set_visible(_layer_id,_visible){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_set_visible(_layer_id,_visible); | |
| } | |
| function __layer_shader(_layer_id,_shader){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_shader(_layer_id,_shader); | |
| } | |
| function __layer_sprite_alpha(_sprite_element_id,_alpha){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_alpha(_sprite_element_id,_alpha); | |
| } | |
| function __layer_sprite_angle(_sprite_element_id,_angle){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_angle(_sprite_element_id,_angle); | |
| } | |
| function __layer_sprite_blend(_sprite_element_id,_blend){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_blend(_sprite_element_id,_blend); | |
| } | |
| function __layer_sprite_change(_sprite_element_id,_sprite_index){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite_index : {Asset.GMSprite} | |
| if (!is_handle(_sprite_index) && is_numeric(_sprite_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_change(_sprite_element_id,_sprite_index); | |
| } | |
| function __layer_sprite_create(_layer_id,_x,_y,_sprite){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_create(_layer_id,_x,_y,_sprite); | |
| } | |
| function __layer_sprite_destroy(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_destroy(_sprite_element_id); | |
| } | |
| function __layer_sprite_exists(_layer_id,_sprite_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_exists(_layer_id,_sprite_element_id); | |
| } | |
| function __layer_sprite_get_alpha(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_alpha(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_angle(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_angle(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_blend(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_blend(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_id(_layer_id,_sprite_element_name){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_id(_layer_id,_sprite_element_name); | |
| } | |
| function __layer_sprite_get_index(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_index(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_speed(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_speed(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_sprite(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_sprite(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_x(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_x(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_xscale(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_xscale(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_y(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_y(_sprite_element_id); | |
| } | |
| function __layer_sprite_get_yscale(_sprite_element_id){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_get_yscale(_sprite_element_id); | |
| } | |
| function __layer_sprite_index(_sprite_element_id,_index){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_index(_sprite_element_id,_index); | |
| } | |
| function __layer_sprite_speed(_sprite_element_id,_speed){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_speed(_sprite_element_id,_speed); | |
| } | |
| function __layer_sprite_x(_sprite_element_id,_x){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_x(_sprite_element_id,_x); | |
| } | |
| function __layer_sprite_xscale(_sprite_element_id,_xscale){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_xscale(_sprite_element_id,_xscale); | |
| } | |
| function __layer_sprite_y(_sprite_element_id,_y){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_y(_sprite_element_id,_y); | |
| } | |
| function __layer_sprite_yscale(_sprite_element_id,_yscale){ | |
| //_sprite_element_id : {Id.SpriteElement} | |
| if (!is_handle(_sprite_element_id) && is_numeric(_sprite_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_sprite_yscale(_sprite_element_id,_yscale); | |
| } | |
| function __layer_text_alpha(_text_element_id,_alpha){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_alpha(_text_element_id,_alpha); | |
| } | |
| function __layer_text_angle(_text_element_id,_angle){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_angle(_text_element_id,_angle); | |
| } | |
| function __layer_text_blend(_text_element_id,_blend){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_blend(_text_element_id,_blend); | |
| } | |
| function __layer_text_charspacing(_text_element_id,_charspacing){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_charspacing(_text_element_id,_charspacing); | |
| } | |
| function __layer_text_create(_layer_id,_x,_y,_font,_text){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_create(_layer_id,_x,_y,_font,_text); | |
| } | |
| function __layer_text_destroy(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_destroy(_text_element_id); | |
| } | |
| function __layer_text_exists(_layer_id,_text_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_exists(_layer_id,_text_element_id); | |
| } | |
| function __layer_text_font(_text_element_id,_font){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_font : {Asset.GMFont} | |
| if (!is_handle(_font) && is_numeric(_font)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_font(_text_element_id,_font); | |
| } | |
| function __layer_text_frameh(_text_element_id,_height){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_frameh(_text_element_id,_height); | |
| } | |
| function __layer_text_framew(_text_element_id,_width){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_framew(_text_element_id,_width); | |
| } | |
| function __layer_text_get_alpha(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_alpha(_text_element_id); | |
| } | |
| function __layer_text_get_angle(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_angle(_text_element_id); | |
| } | |
| function __layer_text_get_blend(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_blend(_text_element_id); | |
| } | |
| function __layer_text_get_charspacing(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_charspacing(_text_element_id); | |
| } | |
| function __layer_text_get_font(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_font(_text_element_id); | |
| } | |
| function __layer_text_get_frameh(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_frameh(_text_element_id); | |
| } | |
| function __layer_text_get_framew(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_framew(_text_element_id); | |
| } | |
| function __layer_text_get_halign(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_halign(_text_element_id); | |
| } | |
| function __layer_text_get_id(_layer_id,_text_element_name){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_id(_layer_id,_text_element_name); | |
| } | |
| function __layer_text_get_linespacing(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_linespacing(_text_element_id); | |
| } | |
| function __layer_text_get_origin(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_origin(_text_element_id); | |
| } | |
| function __layer_text_get_paragraphspacing(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_paragraphspacing(_text_element_id); | |
| } | |
| function __layer_text_get_text(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_text(_text_element_id); | |
| } | |
| function __layer_text_get_valign(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_valign(_text_element_id); | |
| } | |
| function __layer_text_get_wrap(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_wrap(_text_element_id); | |
| } | |
| function __layer_text_get_wrapmode(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_wrapmode(_text_element_id); | |
| } | |
| function __layer_text_get_x(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_x(_text_element_id); | |
| } | |
| function __layer_text_get_xorigin(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_xorigin(_text_element_id); | |
| } | |
| function __layer_text_get_xscale(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_xscale(_text_element_id); | |
| } | |
| function __layer_text_get_y(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_y(_text_element_id); | |
| } | |
| function __layer_text_get_yorigin(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_yorigin(_text_element_id); | |
| } | |
| function __layer_text_get_yscale(_text_element_id){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_get_yscale(_text_element_id); | |
| } | |
| function __layer_text_halign(_text_element_id,_alignment){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_halign(_text_element_id,_alignment); | |
| } | |
| function __layer_text_linespacing(_text_element_id,_linespacing){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_linespacing(_text_element_id,_linespacing); | |
| } | |
| function __layer_text_origin(_text_element_id,_origin){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_origin(_text_element_id,_origin); | |
| } | |
| function __layer_text_paragraphspacing(_text_element_id,_paragraphspacing){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_paragraphspacing(_text_element_id,_paragraphspacing); | |
| } | |
| function __layer_text_text(_text_element_id,_text){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_text(_text_element_id,_text); | |
| } | |
| function __layer_text_valign(_text_element_id,_alignment){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_valign(_text_element_id,_alignment); | |
| } | |
| function __layer_text_wrap(_text_element_id,_wrap){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_wrap(_text_element_id,_wrap); | |
| } | |
| function __layer_text_wrapmode(_text_element_id,_wrapmode){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_wrapmode(_text_element_id,_wrapmode); | |
| } | |
| function __layer_text_x(_text_element_id,_x){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_x(_text_element_id,_x); | |
| } | |
| function __layer_text_xorigin(_text_element_id,_xorigin){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_xorigin(_text_element_id,_xorigin); | |
| } | |
| function __layer_text_xscale(_text_element_id,_xscale){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_xscale(_text_element_id,_xscale); | |
| } | |
| function __layer_text_y(_text_element_id,_y){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_y(_text_element_id,_y); | |
| } | |
| function __layer_text_yorigin(_text_element_id,_yorigin){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_yorigin(_text_element_id,_yorigin); | |
| } | |
| function __layer_text_yscale(_text_element_id,_yscale){ | |
| //_text_element_id : {Id.TextElement} | |
| if (!is_handle(_text_element_id) && is_numeric(_text_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_text_yscale(_text_element_id,_yscale); | |
| } | |
| function __layer_tile_alpha(_tile_element_id,_alpha){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_alpha(_tile_element_id,_alpha); | |
| } | |
| function __layer_tile_blend(_tile_element_id,_col){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_blend(_tile_element_id,_col); | |
| } | |
| function __layer_tile_change(_tile_element_id,_sprite){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_change(_tile_element_id,_sprite); | |
| } | |
| function __layer_tile_create(_layer_id,_x,_y,_tileset,_left,_top,_width,_height){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_create(_layer_id,_x,_y,_tileset,_left,_top,_width,_height); | |
| } | |
| function __layer_tile_destroy(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_destroy(_tile_element_id); | |
| } | |
| function __layer_tile_exists(_layer_id,_tile_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tile_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_exists(_layer_id,_tile_element_id); | |
| } | |
| function __layer_tile_get_alpha(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_alpha(_tile_element_id); | |
| } | |
| function __layer_tile_get_blend(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_blend(_tile_element_id); | |
| } | |
| function __layer_tile_get_region(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_region(_tile_element_id); | |
| } | |
| function __layer_tile_get_sprite(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_sprite(_tile_element_id); | |
| } | |
| function __layer_tile_get_visible(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_visible(_tile_element_id); | |
| } | |
| function __layer_tile_get_x(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_x(_tile_element_id); | |
| } | |
| function __layer_tile_get_xscale(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_xscale(_tile_element_id); | |
| } | |
| function __layer_tile_get_y(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_y(_tile_element_id); | |
| } | |
| function __layer_tile_get_yscale(_tile_element_id){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_get_yscale(_tile_element_id); | |
| } | |
| function __layer_tile_region(_tile_element_id,_left,_top,_width,_height){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_region(_tile_element_id,_left,_top,_width,_height); | |
| } | |
| function __layer_tile_visible(_tile_element_id,_visible){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_visible(_tile_element_id,_visible); | |
| } | |
| function __layer_tile_x(_tile_element_id,_x){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_x(_tile_element_id,_x); | |
| } | |
| function __layer_tile_xscale(_tile_element_id,_scale){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_xscale(_tile_element_id,_scale); | |
| } | |
| function __layer_tile_y(_tile_element_id,_y){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_y(_tile_element_id,_y); | |
| } | |
| function __layer_tile_yscale(_tile_element_id,_scale){ | |
| //_tile_element_id : {Id.TileElementId} | |
| if (!is_handle(_tile_element_id) && is_numeric(_tile_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tile_yscale(_tile_element_id,_scale); | |
| } | |
| function __layer_tilemap_create(_layer_id,_x,_y,_tileset,_width,_height){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_create(_layer_id,_x,_y,_tileset,_width,_height); | |
| } | |
| function __layer_tilemap_destroy(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_destroy(_tilemap_element_id); | |
| } | |
| function __layer_tilemap_exists(_layer_id,_tilemap_element_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_exists(_layer_id,_tilemap_element_id); | |
| } | |
| function __layer_tilemap_get_colmask(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_get_colmask(_tilemap_element_id); | |
| } | |
| function __layer_tilemap_get_id(_layer_id){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_get_id(_layer_id); | |
| } | |
| function __layer_tilemap_set_colmask(_tilemap_element_id,_index){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_tilemap_set_colmask(_tilemap_element_id,_index); | |
| } | |
| function __layer_vspeed(_layer_id,_vspd){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_vspeed(_layer_id,_vspd); | |
| } | |
| function __layer_x(_layer_id,_x){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_x(_layer_id,_x); | |
| } | |
| function __layer_y(_layer_id,_y){ | |
| //_layer_id : {String,Id.Layer} | |
| if (!is_handle(_layer_id) && is_numeric(_layer_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return layer_y(_layer_id,_y); | |
| } | |
| function __method(_struct_ref_or_instance_id,_function){ | |
| //_function : {Function} | |
| if (!is_handle(_function) && is_numeric(_function)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return method(_struct_ref_or_instance_id,_function); | |
| } | |
| function __method_call(_method,_array_args,_offset,_num_args){ | |
| //_method : {Function} | |
| if (!is_handle(_method) && is_numeric(_method)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return method_call(_method,_array_args,_offset,_num_args); | |
| } | |
| function __method_get_index(_method){ | |
| //_method : {Function} | |
| if (!is_handle(_method) && is_numeric(_method)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return method_get_index(_method); | |
| } | |
| function __method_get_self(_method){ | |
| //_method : {Function} | |
| if (!is_handle(_method) && is_numeric(_method)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return method_get_self(_method); | |
| } | |
| function __move_and_collide(_dx,_dy,_obj,_num_iterations,_xoff,_yoff,_max_x_distance,_max_y_distance){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return move_and_collide(_dx,_dy,_obj,_num_iterations,_xoff,_yoff,_max_x_distance,_max_y_distance); | |
| } | |
| function __mp_grid_add_cell(_id,_h,_v){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_add_cell(_id,_h,_v); | |
| } | |
| function __mp_grid_add_instances(_id,_obj,_prec){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Asset.GMObject,Id.Instance} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_add_instances(_id,_obj,_prec); | |
| } | |
| function __mp_grid_add_rectangle(_id,_x1,_y1,_x2,_y2){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_add_rectangle(_id,_x1,_y1,_x2,_y2); | |
| } | |
| function __mp_grid_clear_all(_id){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_clear_all(_id); | |
| } | |
| function __mp_grid_clear_cell(_id,_h,_v){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_clear_cell(_id,_h,_v); | |
| } | |
| function __mp_grid_clear_rectangle(_id,_x1,_y1,_x2,_y2){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_clear_rectangle(_id,_x1,_y1,_x2,_y2); | |
| } | |
| function __mp_grid_create(_left,_top,_hcells,_vcells,_cellwidth,_cellheight){ | |
| return mp_grid_create(_left,_top,_hcells,_vcells,_cellwidth,_cellheight); | |
| } | |
| function __mp_grid_destroy(_id){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_destroy(_id); | |
| } | |
| function __mp_grid_draw(_id){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_draw(_id); | |
| } | |
| function __mp_grid_get_cell(_id,_x1,_y1){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_get_cell(_id,_x1,_y1); | |
| } | |
| function __mp_grid_path(_id,_path,_xstart,_ystart,_xgoal,_ygoal,_allowdiag){ | |
| //_id : {Id.MpGrid} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_path(_id,_path,_xstart,_ystart,_xgoal,_ygoal,_allowdiag); | |
| } | |
| function __mp_grid_to_ds_grid(_source,_destination){ | |
| //_source : {Id.MpGrid} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_grid_to_ds_grid(_source,_destination); | |
| } | |
| function __mp_linear_path(_path,_xgoal,_ygoal,_stepsize,_checkall){ | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_linear_path(_path,_xgoal,_ygoal,_stepsize,_checkall); | |
| } | |
| function __mp_linear_path_object(_path,_xgoal,_ygoal,_stepsize,_obj){ | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Asset.GMObject,Id.Instance} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_linear_path_object(_path,_xgoal,_ygoal,_stepsize,_obj); | |
| } | |
| function __mp_linear_step_object(_xgoal,_ygoal,_stepsize,_obj){ | |
| //_obj : {Asset.GMObject,Id.Instance} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_linear_step_object(_xgoal,_ygoal,_stepsize,_obj); | |
| } | |
| function __mp_potential_path(_path,_xgoal,_ygoal,_stepsize,_factor,_checkall){ | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_potential_path(_path,_xgoal,_ygoal,_stepsize,_factor,_checkall); | |
| } | |
| function __mp_potential_path_object(_path,_xgoal,_ygoal,_stepsize,_factor,_obj){ | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Id.Instance,Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_potential_path_object(_path,_xgoal,_ygoal,_stepsize,_factor,_obj); | |
| } | |
| function __mp_potential_step_object(_xgoal,_ygoal,_stepsize,_obj){ | |
| //_obj : {Id.Instance,Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return mp_potential_step_object(_xgoal,_ygoal,_stepsize,_obj); | |
| } | |
| function __network_connect(_socket,_url,_port){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_connect(_socket,_url,_port); | |
| } | |
| function __network_connect_async(_socket,_url,_port){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_connect_async(_socket,_url,_port); | |
| } | |
| function __network_connect_raw(_socket,_url,_port){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_connect_raw(_socket,_url,_port); | |
| } | |
| function __network_connect_raw_async(_socket,_url,_port){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_connect_raw_async(_socket,_url,_port); | |
| } | |
| function __network_create_socket(_type){ | |
| return network_create_socket(_type); | |
| } | |
| function __network_create_socket_ext(_type,_port){ | |
| return network_create_socket_ext(_type,_port); | |
| } | |
| function __network_destroy(_socket){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_destroy(_socket); | |
| } | |
| function __network_send_broadcast(_socket,_port,_buffer,_size){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_send_broadcast(_socket,_port,_buffer,_size); | |
| } | |
| function __network_send_packet(_socket,_buffer,_size){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_send_packet(_socket,_buffer,_size); | |
| } | |
| function __network_send_raw(_socket,_buffer,_size,_options){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_send_raw(_socket,_buffer,_size,_options); | |
| } | |
| function __network_send_udp(_socket,_url,_port,_buffer,_size){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_send_udp(_socket,_url,_port,_buffer,_size); | |
| } | |
| function __network_send_udp_raw(_socket,_url,_port,_buffer,_size){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_send_udp_raw(_socket,_url,_port,_buffer,_size); | |
| } | |
| function __network_set_timeout(_socket,_read_timeout,_write_timeout){ | |
| //_socket : {Id.Socket} | |
| if (!is_handle(_socket) && is_numeric(_socket)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return network_set_timeout(_socket,_read_timeout,_write_timeout); | |
| } | |
| function __object_exists(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_exists(_obj); | |
| } | |
| function __object_get_mask(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_mask(_obj); | |
| } | |
| function __object_get_name(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_name(_obj); | |
| } | |
| function __object_get_parent(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_parent(_obj); | |
| } | |
| function __object_get_persistent(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_persistent(_obj); | |
| } | |
| function __object_get_physics(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_physics(_obj); | |
| } | |
| function __object_get_solid(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_solid(_obj); | |
| } | |
| function __object_get_sprite(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_sprite(_obj); | |
| } | |
| function __object_get_visible(_obj){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_get_visible(_obj); | |
| } | |
| function __object_is_ancestor(_obj,_par){ | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_par : {Asset.GMObject} | |
| if (!is_handle(_par) && is_numeric(_par)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_is_ancestor(_obj,_par); | |
| } | |
| function __object_set_mask(_index,_spr){ | |
| //_index : {Asset.GMObject} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_set_mask(_index,_spr); | |
| } | |
| function __object_set_persistent(_index,_pers){ | |
| //_index : {Asset.GMObject} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_set_persistent(_index,_pers); | |
| } | |
| function __object_set_solid(_index,_solid){ | |
| //_index : {Asset.GMObject} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_set_solid(_index,_solid); | |
| } | |
| function __object_set_sprite(_index,_spr){ | |
| //_index : {Asset.GMObject} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_set_sprite(_index,_spr); | |
| } | |
| function __object_set_visible(_index,_vis){ | |
| //_index : {Asset.GMObject} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return object_set_visible(_index,_vis); | |
| } | |
| function __os_get_info(){ | |
| return os_get_info(); | |
| } | |
| function __part_emitter_burst(_ps,_ind,_parttype,_number){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_parttype : {Id.ParticleType} | |
| if (!is_handle(_parttype) && is_numeric(_parttype)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_burst(_ps,_ind,_parttype,_number); | |
| } | |
| function __part_emitter_clear(_ps,_ind){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_clear(_ps,_ind); | |
| } | |
| function __part_emitter_create(_ps){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_create(_ps); | |
| } | |
| function __part_emitter_delay(_ps,_ind,_delay_min,_delay_max,_delay_unit){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_delay(_ps,_ind,_delay_min,_delay_max,_delay_unit); | |
| } | |
| function __part_emitter_destroy(_ps,_ind){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_destroy(_ps,_ind); | |
| } | |
| function __part_emitter_destroy_all(_ps){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_destroy_all(_ps); | |
| } | |
| function __part_emitter_enable(_ps,_ind,_enable){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_enable(_ps,_ind,_enable); | |
| } | |
| function __part_emitter_exists(_ps,_ind){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_exists(_ps,_ind); | |
| } | |
| function __part_emitter_interval(_ps,_ind,_interval_min,_interval_max,_interval_unit){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_interval(_ps,_ind,_interval_min,_interval_max,_interval_unit); | |
| } | |
| function __part_emitter_region(_ps,_ind,_xmin,_xmax,_ymin,_ymax,_shape,_distribution){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_region(_ps,_ind,_xmin,_xmax,_ymin,_ymax,_shape,_distribution); | |
| } | |
| function __part_emitter_relative(_ps,_ind,_enable){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_relative(_ps,_ind,_enable); | |
| } | |
| function __part_emitter_stream(_ps,_ind,_parttype,_number){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind : {Id.ParticleEmitter} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_parttype : {Id.ParticleType} | |
| if (!is_handle(_parttype) && is_numeric(_parttype)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_emitter_stream(_ps,_ind,_parttype,_number); | |
| } | |
| function __part_particles_burst(_ind,_x,_y,_partsys){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_partsys : {Asset.GMParticleSystem} | |
| if (!is_handle(_partsys) && is_numeric(_partsys)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_burst(_ind,_x,_y,_partsys); | |
| } | |
| function __part_particles_clear(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_clear(_ind); | |
| } | |
| function __part_particles_count(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_count(_ind); | |
| } | |
| function __part_particles_create(_ind,_x,_y,_parttype,_number){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_parttype : {Id.ParticleType} | |
| if (!is_handle(_parttype) && is_numeric(_parttype)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_create(_ind,_x,_y,_parttype,_number); | |
| } | |
| function __part_particles_create_color(_ind,_x,_y,_parttype,_color,_number){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_parttype : {Id.ParticleType} | |
| if (!is_handle(_parttype) && is_numeric(_parttype)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_create_color(_ind,_x,_y,_parttype,_color,_number); | |
| } | |
| function __part_particles_create_colour(_ind,_x,_y,_parttype,_colour,_number){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_parttype : {Id.ParticleType} | |
| if (!is_handle(_parttype) && is_numeric(_parttype)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_particles_create_colour(_ind,_x,_y,_parttype,_colour,_number); | |
| } | |
| function __part_system_angle(_ind,_angle){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_angle(_ind,_angle); | |
| } | |
| function __part_system_automatic_draw(_ind,_automatic){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_automatic_draw(_ind,_automatic); | |
| } | |
| function __part_system_automatic_update(_ind,_automatic){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_automatic_update(_ind,_automatic); | |
| } | |
| function __part_system_clear(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_clear(_ind); | |
| } | |
| function __part_system_color(_ind,_color,_alpha){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_color(_ind,_color,_alpha); | |
| } | |
| function __part_system_colour(_ind,_colour,_alpha){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_colour(_ind,_colour,_alpha); | |
| } | |
| function __part_system_create(_partsys){ | |
| //_partsys : {Asset.GMParticleSystem} | |
| if (!is_handle(_partsys) && is_numeric(_partsys)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_create(_partsys); | |
| } | |
| function __part_system_create_layer(_layer,_persistent,_partsys){ | |
| //_partsys : {Asset.GMParticleSystem} | |
| if (!is_handle(_partsys) && is_numeric(_partsys)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_create_layer(_layer,_persistent,_partsys); | |
| } | |
| function __part_system_depth(_ind,_depth){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_depth(_ind,_depth); | |
| } | |
| function __part_system_destroy(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_destroy(_ind); | |
| } | |
| function __part_system_draw_order(_ind,_oldtonew){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_draw_order(_ind,_oldtonew); | |
| } | |
| function __part_system_drawit(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_drawit(_ind); | |
| } | |
| function __part_system_exists(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_exists(_ind); | |
| } | |
| function __part_system_get_info(_partsys){ | |
| //_partsys : {Id.ParticleSystem} | |
| if (!is_handle(_partsys) && is_numeric(_partsys)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_get_info(_partsys); | |
| } | |
| function __part_system_get_layer(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_get_layer(_ind); | |
| } | |
| function __part_system_global_space(_ind,_enable){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_global_space(_ind,_enable); | |
| } | |
| function __part_system_layer(_ps,_layer){ | |
| //_ps : {Id.ParticleSystem} | |
| if (!is_handle(_ps) && is_numeric(_ps)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_layer : {Id.Layer,String} | |
| if (!is_handle(_layer) && is_numeric(_layer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_layer(_ps,_layer); | |
| } | |
| function __part_system_position(_ind,_x,_y){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_position(_ind,_x,_y); | |
| } | |
| function __part_system_update(_ind){ | |
| //_ind : {Id.ParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_system_update(_ind); | |
| } | |
| function __part_type_alpha1(_ind,_alpha1){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_alpha1(_ind,_alpha1); | |
| } | |
| function __part_type_alpha2(_ind,_alpha1,_alpha2){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_alpha2(_ind,_alpha1,_alpha2); | |
| } | |
| function __part_type_alpha3(_ind,_alpha1,_alpha2,_alpha3){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_alpha3(_ind,_alpha1,_alpha2,_alpha3); | |
| } | |
| function __part_type_blend(_ind,_additive){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_blend(_ind,_additive); | |
| } | |
| function __part_type_clear(_ind){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_clear(_ind); | |
| } | |
| function __part_type_color1(_ind,_colour1){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color1(_ind,_colour1); | |
| } | |
| function __part_type_color2(_ind,_colour1,_colour2){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color2(_ind,_colour1,_colour2); | |
| } | |
| function __part_type_color3(_ind,_colour1,_colour2,_colour3){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color3(_ind,_colour1,_colour2,_colour3); | |
| } | |
| function __part_type_color_hsv(_ind,_hmin,_hmax,_smin,_smax,_vmin,_vmax){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color_hsv(_ind,_hmin,_hmax,_smin,_smax,_vmin,_vmax); | |
| } | |
| function __part_type_color_mix(_ind,_colour1,_colour2){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color_mix(_ind,_colour1,_colour2); | |
| } | |
| function __part_type_color_rgb(_ind,_rmin,_rmax,_gmin,_gmax,_bmin,_bmax){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_color_rgb(_ind,_rmin,_rmax,_gmin,_gmax,_bmin,_bmax); | |
| } | |
| function __part_type_colour1(_ind,_colour1){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour1(_ind,_colour1); | |
| } | |
| function __part_type_colour2(_ind,_colour1,_colour2){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour2(_ind,_colour1,_colour2); | |
| } | |
| function __part_type_colour3(_ind,_colour1,_colour2,_colour3){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour3(_ind,_colour1,_colour2,_colour3); | |
| } | |
| function __part_type_colour_hsv(_ind,_hmin,_hmax,_smin,_smax,_vmin,_vmax){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour_hsv(_ind,_hmin,_hmax,_smin,_smax,_vmin,_vmax); | |
| } | |
| function __part_type_colour_mix(_ind,_colour1,_colour2){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour_mix(_ind,_colour1,_colour2); | |
| } | |
| function __part_type_colour_rgb(_ind,_rmin,_rmax,_gmin,_gmax,_bmin,_bmax){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_colour_rgb(_ind,_rmin,_rmax,_gmin,_gmax,_bmin,_bmax); | |
| } | |
| function __part_type_create(){ | |
| return part_type_create(); | |
| } | |
| function __part_type_death(_ind,_death_number,_death_type){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_death_type : {Id.ParticleType} | |
| if (!is_handle(_death_type) && is_numeric(_death_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_death(_ind,_death_number,_death_type); | |
| } | |
| function __part_type_destroy(_ind){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_destroy(_ind); | |
| } | |
| function __part_type_direction(_ind,_dir_min,_dir_max,_dir_incr,_dir_wiggle){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_direction(_ind,_dir_min,_dir_max,_dir_incr,_dir_wiggle); | |
| } | |
| function __part_type_exists(_ind){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_exists(_ind); | |
| } | |
| function __part_type_gravity(_ind,_grav_amount,_grav_direction){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_gravity(_ind,_grav_amount,_grav_direction); | |
| } | |
| function __part_type_life(_ind,_life_min,_life_max){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_life(_ind,_life_min,_life_max); | |
| } | |
| function __part_type_orientation(_ind,_ang_min,_ang_max,_ang_incr,_ang_wiggle,_ang_relative){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_orientation(_ind,_ang_min,_ang_max,_ang_incr,_ang_wiggle,_ang_relative); | |
| } | |
| function __part_type_scale(_ind,_xscale,_yscale){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_scale(_ind,_xscale,_yscale); | |
| } | |
| function __part_type_shape(_ind,_shape){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_shape(_ind,_shape); | |
| } | |
| function __part_type_size(_ind,_size_min,_size_max,_size_incr,_size_wiggle){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_size(_ind,_size_min,_size_max,_size_incr,_size_wiggle); | |
| } | |
| function __part_type_size_x(_ind,_size_min,_size_max,_size_incr,_size_wiggle){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_size_x(_ind,_size_min,_size_max,_size_incr,_size_wiggle); | |
| } | |
| function __part_type_size_y(_ind,_size_min,_size_max,_size_incr,_size_wiggle){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_size_y(_ind,_size_min,_size_max,_size_incr,_size_wiggle); | |
| } | |
| function __part_type_speed(_ind,_speed_min,_speed_max,_speed_incr,_speed_wiggle){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_speed(_ind,_speed_min,_speed_max,_speed_incr,_speed_wiggle); | |
| } | |
| function __part_type_sprite(_ind,_sprite,_animate,_stretch,_random){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_sprite(_ind,_sprite,_animate,_stretch,_random); | |
| } | |
| function __part_type_step(_ind,_step_number,_step_type){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_step_type : {Id.ParticleType} | |
| if (!is_handle(_step_type) && is_numeric(_step_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_step(_ind,_step_number,_step_type); | |
| } | |
| function __part_type_subimage(_ind,_subimg){ | |
| //_ind : {Id.ParticleType} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return part_type_subimage(_ind,_subimg); | |
| } | |
| function __particle_exists(_ind){ | |
| //_ind : {Asset.GMParticleSystem} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return particle_exists(_ind); | |
| } | |
| function __particle_get_info(_partsys){ | |
| //_partsys : {Asset.GMParticleSystem,Id.ParticleSystem} | |
| if (!is_handle(_partsys) && is_numeric(_partsys)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return particle_get_info(_partsys); | |
| } | |
| function __path_add(){ | |
| return path_add(); | |
| } | |
| function __path_add_point(_index,_x,_y,_speed){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_add_point(_index,_x,_y,_speed); | |
| } | |
| function __path_append(_index,_path){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_append(_index,_path); | |
| } | |
| function __path_assign(_index,_path){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_assign(_index,_path); | |
| } | |
| function __path_change_point(_index,_n,_x,_y,_speed){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_change_point(_index,_n,_x,_y,_speed); | |
| } | |
| function __path_clear_points(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_clear_points(_index); | |
| } | |
| function __path_delete(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_delete(_index); | |
| } | |
| function __path_delete_point(_index,_n){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_n : {Asset.GMPath} | |
| if (!is_handle(_n) && is_numeric(_n)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_delete_point(_index,_n); | |
| } | |
| function __path_duplicate(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_duplicate(_index); | |
| } | |
| function __path_exists(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_exists(_index); | |
| } | |
| function __path_flip(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_flip(_index); | |
| } | |
| function __path_get_closed(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_closed(_index); | |
| } | |
| function __path_get_kind(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_kind(_index); | |
| } | |
| function __path_get_length(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_length(_index); | |
| } | |
| function __path_get_name(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_name(_index); | |
| } | |
| function __path_get_number(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_number(_index); | |
| } | |
| function __path_get_point_speed(_index,_n){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_point_speed(_index,_n); | |
| } | |
| function __path_get_point_x(_index,_n){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_point_x(_index,_n); | |
| } | |
| function __path_get_point_y(_index,_n){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_point_y(_index,_n); | |
| } | |
| function __path_get_precision(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_precision(_index); | |
| } | |
| function __path_get_speed(_index,_pos){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_speed(_index,_pos); | |
| } | |
| function __path_get_x(_index,_pos){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_x(_index,_pos); | |
| } | |
| function __path_get_y(_index,_pos){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_get_y(_index,_pos); | |
| } | |
| function __path_insert_point(_index,_n,_x,_y,_speed){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_insert_point(_index,_n,_x,_y,_speed); | |
| } | |
| function __path_mirror(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_mirror(_index); | |
| } | |
| function __path_rescale(_index,_xscale,_yscale){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_rescale(_index,_xscale,_yscale); | |
| } | |
| function __path_reverse(_index){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_reverse(_index); | |
| } | |
| function __path_rotate(_index,_angle){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_rotate(_index,_angle); | |
| } | |
| function __path_set_closed(_index,_closed){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_set_closed(_index,_closed); | |
| } | |
| function __path_set_kind(_index,_val){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_set_kind(_index,_val); | |
| } | |
| function __path_set_precision(_index,_prec){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_set_precision(_index,_prec); | |
| } | |
| function __path_shift(_index,_xshift,_yshift){ | |
| //_index : {Asset.GMPath} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_shift(_index,_xshift,_yshift); | |
| } | |
| function __path_start(_path,_speed,_endaction,_absolute){ | |
| //_path : {Asset.GMPath} | |
| if (!is_handle(_path) && is_numeric(_path)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return path_start(_path,_speed,_endaction,_absolute); | |
| } | |
| function __physics_fixture_add_point(_fixture,_xpos,_ypos){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_add_point(_fixture,_xpos,_ypos); | |
| } | |
| function __physics_fixture_bind(_fixture,_target){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_target : {Id.Instance,Asset.GMObject,Constant.All} | |
| if (!is_handle(_target) && is_numeric(_target)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_bind(_fixture,_target); | |
| } | |
| function __physics_fixture_bind_ext(_fixture,_target,_xoffset,_yoffset){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_target : {Id.Instance,Asset.GMObject,Constant.All} | |
| if (!is_handle(_target) && is_numeric(_target)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_bind_ext(_fixture,_target,_xoffset,_yoffset); | |
| } | |
| function __physics_fixture_create(){ | |
| return physics_fixture_create(); | |
| } | |
| function __physics_fixture_delete(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_delete(_fixture); | |
| } | |
| function __physics_fixture_set_angular_damping(_fixture,_damping){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_angular_damping(_fixture,_damping); | |
| } | |
| function __physics_fixture_set_awake(_fixture,_flag){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_awake(_fixture,_flag); | |
| } | |
| function __physics_fixture_set_box_shape(_fixture,_half_width,_half_height){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_box_shape(_fixture,_half_width,_half_height); | |
| } | |
| function __physics_fixture_set_chain_shape(_fixture,_loop){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_chain_shape(_fixture,_loop); | |
| } | |
| function __physics_fixture_set_circle_shape(_fixture,_rad){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_circle_shape(_fixture,_rad); | |
| } | |
| function __physics_fixture_set_collision_group(_fixture,_group){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_collision_group(_fixture,_group); | |
| } | |
| function __physics_fixture_set_density(_fixture,_density){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_density(_fixture,_density); | |
| } | |
| function __physics_fixture_set_edge_shape(_fixture,_local_x1,_local_y1,_local_x2,_local_y2){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_edge_shape(_fixture,_local_x1,_local_y1,_local_x2,_local_y2); | |
| } | |
| function __physics_fixture_set_friction(_fixture,_friction){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_friction(_fixture,_friction); | |
| } | |
| function __physics_fixture_set_kinematic(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_kinematic(_fixture); | |
| } | |
| function __physics_fixture_set_linear_damping(_fixture,_damping){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_linear_damping(_fixture,_damping); | |
| } | |
| function __physics_fixture_set_polygon_shape(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_polygon_shape(_fixture); | |
| } | |
| function __physics_fixture_set_restitution(_fixture,_restitution){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_restitution(_fixture,_restitution); | |
| } | |
| function __physics_fixture_set_sensor(_fixture,_state){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_fixture_set_sensor(_fixture,_state); | |
| } | |
| function __physics_get_density(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_get_density(_fixture); | |
| } | |
| function __physics_get_friction(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_get_friction(_fixture); | |
| } | |
| function __physics_get_restitution(_fixture){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_get_restitution(_fixture); | |
| } | |
| function __physics_joint_delete(_joint){ | |
| //_joint : {Id.PhysicsIndex} | |
| if (!is_handle(_joint) && is_numeric(_joint)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_delete(_joint); | |
| } | |
| function __physics_joint_distance_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_distance_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_col); | |
| } | |
| function __physics_joint_enable_motor(_joint,_motor){ | |
| //_joint : {Id.PhysicsIndex} | |
| if (!is_handle(_joint) && is_numeric(_joint)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_enable_motor(_joint,_motor); | |
| } | |
| function __physics_joint_friction_create(_inst1,_inst2,_anchor_x,_anchor_y,_max_force,_max_torque,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_friction_create(_inst1,_inst2,_anchor_x,_anchor_y,_max_force,_max_torque,_col); | |
| } | |
| function __physics_joint_gear_create(_inst1,_inst2,_joint_1,_joint_2,_ratio){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_joint_1 : {Id.PhysicsIndex} | |
| if (!is_handle(_joint_1) && is_numeric(_joint_1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_joint_2 : {Id.PhysicsIndex} | |
| if (!is_handle(_joint_2) && is_numeric(_joint_2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_gear_create(_inst1,_inst2,_joint_1,_joint_2,_ratio); | |
| } | |
| function __physics_joint_get_value(_joint,_value){ | |
| //_joint : {Id.PhysicsIndex} | |
| if (!is_handle(_joint) && is_numeric(_joint)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_get_value(_joint,_value); | |
| } | |
| function __physics_joint_prismatic_create(_inst1,_inst2,_w_anchor_x,_w_anchor_y,_w_axis_x,_w_axis_y,_lower_trans_limit,_upper_trans_limit,_limit,_max_motor_force,_motor_speed,_motor,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_prismatic_create(_inst1,_inst2,_w_anchor_x,_w_anchor_y,_w_axis_x,_w_axis_y,_lower_trans_limit,_upper_trans_limit,_limit,_max_motor_force,_motor_speed,_motor,_col); | |
| } | |
| function __physics_joint_pulley_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_l_anchor1_x,_l_anchor1_y,_l_anchor2_x,_l_anchor2_y,_ratio,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_l_anchor1_x : {Id.Instance} | |
| if (!is_handle(_l_anchor1_x) && is_numeric(_l_anchor1_x)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_l_anchor1_y : {Id.Instance} | |
| if (!is_handle(_l_anchor1_y) && is_numeric(_l_anchor1_y)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_l_anchor2_x : {Id.Instance} | |
| if (!is_handle(_l_anchor2_x) && is_numeric(_l_anchor2_x)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_l_anchor2_y : {Id.Instance} | |
| if (!is_handle(_l_anchor2_y) && is_numeric(_l_anchor2_y)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ratio : {Id.Instance} | |
| if (!is_handle(_ratio) && is_numeric(_ratio)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_pulley_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_l_anchor1_x,_l_anchor1_y,_l_anchor2_x,_l_anchor2_y,_ratio,_col); | |
| } | |
| function __physics_joint_revolute_create(_inst1,_inst2,_w_anchor_x,_w_anchor_y,_ang_min_limit,_ang_max_limit,_ang_limit,_max_motor_torque,_motor_speed,_motor,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_revolute_create(_inst1,_inst2,_w_anchor_x,_w_anchor_y,_ang_min_limit,_ang_max_limit,_ang_limit,_max_motor_torque,_motor_speed,_motor,_col); | |
| } | |
| function __physics_joint_rope_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_maxlength,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_rope_create(_inst1,_inst2,_w_anchor1_x,_w_anchor1_y,_w_anchor2_x,_w_anchor2_y,_maxlength,_col); | |
| } | |
| function __physics_joint_set_value(_joint,_field,_value){ | |
| //_joint : {Id.PhysicsIndex} | |
| if (!is_handle(_joint) && is_numeric(_joint)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_set_value(_joint,_field,_value); | |
| } | |
| function __physics_joint_weld_create(_inst1,_inst2,_anchor_x,_anchor_y,_ref_angle,_freq_hz,_damping_ratio,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_weld_create(_inst1,_inst2,_anchor_x,_anchor_y,_ref_angle,_freq_hz,_damping_ratio,_col); | |
| } | |
| function __physics_joint_wheel_create(_inst1,_inst2,_anchor_x,_anchor_y,_axis_x,_axis_y,_enablemotor,_max_motor_torque,_motor_speed,_freq_hz,_damping_ratio,_col){ | |
| //_inst1 : {Id.Instance} | |
| if (!is_handle(_inst1) && is_numeric(_inst1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_inst2 : {Id.Instance} | |
| if (!is_handle(_inst2) && is_numeric(_inst2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_joint_wheel_create(_inst1,_inst2,_anchor_x,_anchor_y,_axis_x,_axis_y,_enablemotor,_max_motor_torque,_motor_speed,_freq_hz,_damping_ratio,_col); | |
| } | |
| function __physics_particle_create(_flags,_x,_y,_xv,_yv,_col,_alpha,_category){ | |
| return physics_particle_create(_flags,_x,_y,_xv,_yv,_col,_alpha,_category); | |
| } | |
| function __physics_particle_delete(_ind){ | |
| //_ind : {Id.PhysicsIndex} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_delete(_ind); | |
| } | |
| function __physics_particle_delete_region_poly(_pointlist){ | |
| //_pointlist : {Id.DsList} | |
| if (!is_handle(_pointlist) && is_numeric(_pointlist)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_delete_region_poly(_pointlist); | |
| } | |
| function __physics_particle_draw(_typemask,_category,_sprite,_subimg){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_draw(_typemask,_category,_sprite,_subimg); | |
| } | |
| function __physics_particle_draw_ext(_typemask,_category,_sprite,_subimg,_xscale,_yscale,_ang,_col,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_draw_ext(_typemask,_category,_sprite,_subimg,_xscale,_yscale,_ang,_col,_alpha); | |
| } | |
| function __physics_particle_get_data(_buffer,_flags){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_get_data(_buffer,_flags); | |
| } | |
| function __physics_particle_get_data_particle(_ind,_buffer,_flags){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_get_data_particle(_ind,_buffer,_flags); | |
| } | |
| function __physics_particle_group_end(){ | |
| return physics_particle_group_end(); | |
| } | |
| function __physics_particle_group_get_ang_vel(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_ang_vel(_group); | |
| } | |
| function __physics_particle_group_get_angle(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_angle(_group); | |
| } | |
| function __physics_particle_group_get_centre_x(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_centre_x(_group); | |
| } | |
| function __physics_particle_group_get_centre_y(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_centre_y(_group); | |
| } | |
| function __physics_particle_group_get_data(_group,_buffer,_flags){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_data(_group,_buffer,_flags); | |
| } | |
| function __physics_particle_group_get_inertia(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_inertia(_group); | |
| } | |
| function __physics_particle_group_get_mass(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_mass(_group); | |
| } | |
| function __physics_particle_group_get_vel_x(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_vel_x(_group); | |
| } | |
| function __physics_particle_group_get_vel_y(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_vel_y(_group); | |
| } | |
| function __physics_particle_group_get_x(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_x(_group); | |
| } | |
| function __physics_particle_group_get_y(_group){ | |
| //_group : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_group) && is_numeric(_group)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_get_y(_group); | |
| } | |
| function __physics_particle_group_join(_to,_from){ | |
| //_to : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_to) && is_numeric(_to)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_from : {Id.PhysicsParticleGroup} | |
| if (!is_handle(_from) && is_numeric(_from)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_particle_group_join(_to,_from); | |
| } | |
| function __physics_raycast(_xStart,_yStart,_xEnd,_yEnd,_ids,_all_hits,_max_fraction){ | |
| //_ids : {Asset.GMObject|Id.Instance|Array[Id.Instance]|Array[Asset.GMObject]} | |
| if (!is_handle(_ids) && is_numeric(_ids)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_raycast(_xStart,_yStart,_xEnd,_yEnd,_ids,_all_hits,_max_fraction); | |
| } | |
| function __physics_remove_fixture(_id,_fixture){ | |
| //_id : {Id.Instance} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_remove_fixture(_id,_fixture); | |
| } | |
| function __physics_set_density(_fixture,_density){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_set_density(_fixture,_density); | |
| } | |
| function __physics_set_friction(_fixture,_friction){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_set_friction(_fixture,_friction); | |
| } | |
| function __physics_set_restitution(_fixture,_restitution){ | |
| //_fixture : {Id.PhysicsIndex} | |
| if (!is_handle(_fixture) && is_numeric(_fixture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_set_restitution(_fixture,_restitution); | |
| } | |
| function __physics_test_overlap(_xpos,_ypos,_angle,_obj){ | |
| //_obj : {Id.Instance,Asset.GMObject,Constant.All} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return physics_test_overlap(_xpos,_ypos,_angle,_obj); | |
| } | |
| function __place_empty(_x,_y,_object_id){ | |
| //_object_id : {Id.TileMapElement,Asset.GMObject,Id.Instance,Array} | |
| if (!is_handle(_object_id) && is_numeric(_object_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return place_empty(_x,_y,_object_id); | |
| } | |
| function __place_meeting(_x,_y,_obj){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return place_meeting(_x,_y,_obj); | |
| } | |
| function __position_change(_x,_y,_obj,_perf){ | |
| //_x : {Id.Instance} | |
| if (!is_handle(_x) && is_numeric(_x)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_y : {Id.Instance} | |
| if (!is_handle(_y) && is_numeric(_y)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return position_change(_x,_y,_obj,_perf); | |
| } | |
| function __position_meeting(_x,_y,_obj){ | |
| //_obj : {Id.TileMapElement,Asset.GMObject,Id.Instance,Constant.All,Array} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return position_meeting(_x,_y,_obj); | |
| } | |
| function __ref_create(_dbgrefOrStruct,_dbgrefOrName,_index){ | |
| //_dbgrefOrStruct : {Id.DbgRef,Id.Instance,Struct} | |
| if (!is_handle(_dbgrefOrStruct) && is_numeric(_dbgrefOrStruct)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_dbgrefOrName : {Id.DbgRef,String} | |
| if (!is_handle(_dbgrefOrName) && is_numeric(_dbgrefOrName)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return ref_create(_dbgrefOrStruct,_dbgrefOrName,_index); | |
| } | |
| function __rollback_define_player(_player_object,_layer_name){ | |
| //_player_object : {Asset.GMObject} | |
| if (!is_handle(_player_object) && is_numeric(_player_object)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return rollback_define_player(_player_object,_layer_name); | |
| } | |
| function __room_add(){ | |
| return room_add(); | |
| } | |
| function __room_assign(_ind,_source){ | |
| //_ind : {Asset.GMRoom} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Asset.GMRoom} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_assign(_ind,_source); | |
| } | |
| function __room_duplicate(_index){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_duplicate(_index); | |
| } | |
| function __room_exists(_index){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_exists(_index); | |
| } | |
| function __room_get_camera(_rm,_vind){ | |
| //_rm : {Asset.GMRoom} | |
| if (!is_handle(_rm) && is_numeric(_rm)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_get_camera(_rm,_vind); | |
| } | |
| function __room_get_info(_index,_views,_instances,_layers,_layer_elements,_tilemap_data){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_get_info(_index,_views,_instances,_layers,_layer_elements,_tilemap_data); | |
| } | |
| function __room_get_name(_index){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_get_name(_index); | |
| } | |
| function __room_get_viewport(_rm,_vind){ | |
| //_rm : {Asset.GMRoom} | |
| if (!is_handle(_rm) && is_numeric(_rm)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_get_viewport(_rm,_vind); | |
| } | |
| function __room_goto(_index){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_goto(_index); | |
| } | |
| function __room_instance_add(_index,_x,_y,_obj){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_obj : {Asset.GMObject} | |
| if (!is_handle(_obj) && is_numeric(_obj)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_instance_add(_index,_x,_y,_obj); | |
| } | |
| function __room_instance_clear(_index){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_instance_clear(_index); | |
| } | |
| function __room_next(_numb){ | |
| //_numb : {Asset.GMRoom} | |
| if (!is_handle(_numb) && is_numeric(_numb)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_next(_numb); | |
| } | |
| function __room_previous(_numb){ | |
| //_numb : {Asset.GMRoom} | |
| if (!is_handle(_numb) && is_numeric(_numb)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_previous(_numb); | |
| } | |
| function __room_set_background_color(_ind,_col,_show){ | |
| //_ind : {Asset.GMRoom} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_background_color(_ind,_col,_show); | |
| } | |
| function __room_set_background_colour(_ind,_col,_show){ | |
| //_ind : {Asset.GMRoom} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_background_colour(_ind,_col,_show); | |
| } | |
| function __room_set_camera(_rm,_vind,_camera){ | |
| //_rm : {Asset.GMRoom} | |
| if (!is_handle(_rm) && is_numeric(_rm)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_camera : {Id.Camera} | |
| if (!is_handle(_camera) && is_numeric(_camera)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_camera(_rm,_vind,_camera); | |
| } | |
| function __room_set_height(_index,_h){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_height(_index,_h); | |
| } | |
| function __room_set_persistent(_index,_val){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_persistent(_index,_val); | |
| } | |
| function __room_set_view_enabled(_index,_val){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_view_enabled(_index,_val); | |
| } | |
| function __room_set_viewport(_rm,_vind,_vis,_xport,_yport,_wport,_hport){ | |
| //_rm : {Asset.GMRoom} | |
| if (!is_handle(_rm) && is_numeric(_rm)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_viewport(_rm,_vind,_vis,_xport,_yport,_wport,_hport); | |
| } | |
| function __room_set_width(_index,_w){ | |
| //_index : {Asset.GMRoom} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return room_set_width(_index,_w); | |
| } | |
| function __script_execute(_scr,_value){ | |
| //_scr : {Function,Asset.GMScript} | |
| if (!is_handle(_scr) && is_numeric(_scr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| static __arr = []; var _arr = __arr; | |
| for (var _i=0; _i<argument_count; _i++) { _arr[_i] = argument[_i]; } | |
| var _ret = script_execute_ext(script_execute, _arr); | |
| array_resize(_arr, 0); | |
| return _ret; | |
| } | |
| function __script_execute_ext(_scr,_array_args,_offset,_num_args){ | |
| //_scr : {Function,Asset.GMScript} | |
| if (!is_handle(_scr) && is_numeric(_scr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return script_execute_ext(_scr,_array_args,_offset,_num_args); | |
| } | |
| function __script_exists(_scr){ | |
| //_scr : {Asset.GMScript} | |
| if (!is_handle(_scr) && is_numeric(_scr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return script_exists(_scr); | |
| } | |
| function __script_get_name(_scr){ | |
| //_scr : {Asset.GMScript,Function} | |
| if (!is_handle(_scr) && is_numeric(_scr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return script_get_name(_scr); | |
| } | |
| function __sequence_exists(_sequence_struct_or_id){ | |
| //_sequence_struct_or_id : {Asset.GMSequence,Struct.Sequence} | |
| if (!is_handle(_sequence_struct_or_id) && is_numeric(_sequence_struct_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sequence_exists(_sequence_struct_or_id); | |
| } | |
| function __sequence_get(_sequence_index){ | |
| //_sequence_index : {Asset.GMSequence} | |
| if (!is_handle(_sequence_index) && is_numeric(_sequence_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sequence_get(_sequence_index); | |
| } | |
| function __sequence_get_objects(_sequence_struct_or_id){ | |
| //_sequence_struct_or_id : {Asset.GMSequence,Struct.Sequence} | |
| if (!is_handle(_sequence_struct_or_id) && is_numeric(_sequence_struct_or_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sequence_get_objects(_sequence_struct_or_id); | |
| } | |
| function __sequence_instance_override_object(_sequence_instance_struct,_object_id,_instance_or_object_id){ | |
| //_object_id : {Asset.GMObject} | |
| if (!is_handle(_object_id) && is_numeric(_object_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_instance_or_object_id : {Id.Instance,Asset.GMObject} | |
| if (!is_handle(_instance_or_object_id) && is_numeric(_instance_or_object_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sequence_instance_override_object(_sequence_instance_struct,_object_id,_instance_or_object_id); | |
| } | |
| function __shader_current(){ | |
| return shader_current(); | |
| } | |
| function __shader_get_name(_shader){ | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_get_name(_shader); | |
| } | |
| function __shader_get_sampler_index(_shader,_uniform){ | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_get_sampler_index(_shader,_uniform); | |
| } | |
| function __shader_get_uniform(_shader,_uniform){ | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_get_uniform(_shader,_uniform); | |
| } | |
| function __shader_is_compiled(_shader){ | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_is_compiled(_shader); | |
| } | |
| function __shader_set(_shader){ | |
| //_shader : {Asset.GMShader} | |
| if (!is_handle(_shader) && is_numeric(_shader)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set(_shader); | |
| } | |
| function __shader_set_uniform_f(_handle,_value1,_value2,_value3,_value4){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_f(_handle,_value1,_value2,_value3,_value4); | |
| } | |
| function __shader_set_uniform_f_array(_handle,_array){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_f_array(_handle,_array); | |
| } | |
| function __shader_set_uniform_f_buffer(_handle,_buffer,_offset,_count){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_f_buffer(_handle,_buffer,_offset,_count); | |
| } | |
| function __shader_set_uniform_i(_handle,_value1,_value2,_value3,_value4){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_i(_handle,_value1,_value2,_value3,_value4); | |
| } | |
| function __shader_set_uniform_i_array(_uniform_id,_array){ | |
| //_uniform_id : {Id.Uniform} | |
| if (!is_handle(_uniform_id) && is_numeric(_uniform_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_i_array(_uniform_id,_array); | |
| } | |
| function __shader_set_uniform_matrix(_handle){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_matrix(_handle); | |
| } | |
| function __shader_set_uniform_matrix_array(_handle,_array){ | |
| //_handle : {Id.Uniform} | |
| if (!is_handle(_handle) && is_numeric(_handle)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return shader_set_uniform_matrix_array(_handle,_array); | |
| } | |
| function __skeleton_animation_list(_sprite,_list){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_animation_list(_sprite,_list); | |
| } | |
| function __skeleton_attachment_create(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_create(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot); | |
| } | |
| function __skeleton_attachment_create_color(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_color,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_create_color(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_color,_alpha); | |
| } | |
| function __skeleton_attachment_create_colour(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_create_colour(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __skeleton_attachment_replace(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_replace(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot); | |
| } | |
| function __skeleton_attachment_replace_colour(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_colour,_alpha){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_replace_colour(_name,_sprite,_ind,_xorigin,_yorigin,_xscale,_yscale,_rot,_colour,_alpha); | |
| } | |
| function __skeleton_attachment_set(_slot,_attachment){ | |
| //_attachment : {Asset.GMSprite,String} | |
| if (!is_handle(_attachment) && is_numeric(_attachment)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_attachment_set(_slot,_attachment); | |
| } | |
| function __skeleton_bone_data_get(_bone,_map){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_bone_data_get(_bone,_map); | |
| } | |
| function __skeleton_bone_data_set(_bone,_map){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_bone_data_set(_bone,_map); | |
| } | |
| function __skeleton_bone_list(_sprite,_list){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsMap} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_bone_list(_sprite,_list); | |
| } | |
| function __skeleton_bone_state_get(_bone,_map){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_bone_state_get(_bone,_map); | |
| } | |
| function __skeleton_bone_state_set(_bone,_map){ | |
| //_map : {Id.DsMap} | |
| if (!is_handle(_map) && is_numeric(_map)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_bone_state_set(_bone,_map); | |
| } | |
| function __skeleton_find_slot(_x,_y,_list){ | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_find_slot(_x,_y,_list); | |
| } | |
| function __skeleton_skin_list(_sprite,_list){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_skin_list(_sprite,_list); | |
| } | |
| function __skeleton_slot_data(_sprite,_list){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_slot_data(_sprite,_list); | |
| } | |
| function __skeleton_slot_data_instance(_list){ | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_slot_data_instance(_list); | |
| } | |
| function __skeleton_slot_list(_sprite,_list){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_list : {Id.DsList} | |
| if (!is_handle(_list) && is_numeric(_list)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return skeleton_slot_list(_sprite,_list); | |
| } | |
| function __sprite_add(_fname,_imgnum,_removeback,_smooth,_xorig,_yorig){ | |
| return sprite_add(_fname,_imgnum,_removeback,_smooth,_xorig,_yorig); | |
| } | |
| function __sprite_add_ext(_fname,_imgnum,_xorig,_yorig,_prefetch){ | |
| return sprite_add_ext(_fname,_imgnum,_xorig,_yorig,_prefetch); | |
| } | |
| function __sprite_add_from_surface(_index,_surface,_x,_y,_w,_h,_removeback,_smooth){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_surface : {Id.Surface} | |
| if (!is_handle(_surface) && is_numeric(_surface)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_add_from_surface(_index,_surface,_x,_y,_w,_h,_removeback,_smooth); | |
| } | |
| function __sprite_assign(_index,_sprite){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_assign(_index,_sprite); | |
| } | |
| function __sprite_collision_mask(_ind,_sepmasks,_bboxmode,_bbleft,_bbtop,_bbright,_bbbottom,_kind,_tolerance){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_collision_mask(_ind,_sepmasks,_bboxmode,_bbleft,_bbtop,_bbright,_bbbottom,_kind,_tolerance); | |
| } | |
| function __sprite_create_from_surface(_index,_x,_y,_w,_h,_removeback,_smooth,_xorig,_yorig){ | |
| //_index : {Id.Surface} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_create_from_surface(_index,_x,_y,_w,_h,_removeback,_smooth,_xorig,_yorig); | |
| } | |
| function __sprite_delete(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_delete(_index); | |
| } | |
| function __sprite_duplicate(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_duplicate(_index); | |
| } | |
| function __sprite_exists(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_exists(_index); | |
| } | |
| function __sprite_flush(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_flush(_ind); | |
| } | |
| function __sprite_flush_multi(_array){ | |
| //_array : {Array[Asset.GMSprite]} | |
| if (!is_handle(_array) && is_numeric(_array)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_flush_multi(_array); | |
| } | |
| function __sprite_get_bbox_bottom(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_bbox_bottom(_ind); | |
| } | |
| function __sprite_get_bbox_left(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_bbox_left(_ind); | |
| } | |
| function __sprite_get_bbox_mode(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_bbox_mode(_ind); | |
| } | |
| function __sprite_get_bbox_right(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_bbox_right(_ind); | |
| } | |
| function __sprite_get_bbox_top(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_bbox_top(_ind); | |
| } | |
| function __sprite_get_convex_hull(_index,_max_pts,_subimg){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_convex_hull(_index,_max_pts,_subimg); | |
| } | |
| function __sprite_get_height(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_height(_index); | |
| } | |
| function __sprite_get_info(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_info(_index); | |
| } | |
| function __sprite_get_name(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_name(_index); | |
| } | |
| function __sprite_get_nineslice(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_nineslice(_ind); | |
| } | |
| function __sprite_get_number(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_number(_index); | |
| } | |
| function __sprite_get_speed(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_speed(_index); | |
| } | |
| function __sprite_get_speed_type(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_speed_type(_index); | |
| } | |
| function __sprite_get_texture(_spr,_subimg){ | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_texture(_spr,_subimg); | |
| } | |
| function __sprite_get_texture(_spr,_subimg){ | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_texture(_spr,_subimg); | |
| } | |
| function __sprite_get_tpe(_sprite,_index){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_tpe(_sprite,_index); | |
| } | |
| function __sprite_get_uvs(_sprite,_subimage){ | |
| //_sprite : {Asset.GMSprite} | |
| if (!is_handle(_sprite) && is_numeric(_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_uvs(_sprite,_subimage); | |
| } | |
| function __sprite_get_width(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_width(_index); | |
| } | |
| function __sprite_get_xoffset(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_xoffset(_index); | |
| } | |
| function __sprite_get_yoffset(_index){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_get_yoffset(_index); | |
| } | |
| function __sprite_merge(_ind1,_ind2){ | |
| //_ind1 : {Asset.GMSprite} | |
| if (!is_handle(_ind1) && is_numeric(_ind1)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_ind2 : {Asset.GMSprite} | |
| if (!is_handle(_ind2) && is_numeric(_ind2)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_merge(_ind1,_ind2); | |
| } | |
| function __sprite_prefetch(_ind){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_prefetch(_ind); | |
| } | |
| function __sprite_prefetch_multi(_array){ | |
| //_array : {Array[Asset.GMSprite]} | |
| if (!is_handle(_array) && is_numeric(_array)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_prefetch_multi(_array); | |
| } | |
| function __sprite_replace(_ind,_fname,_imgnumb,_removeback,_smooth,_xorig,_yorig){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_replace(_ind,_fname,_imgnumb,_removeback,_smooth,_xorig,_yorig); | |
| } | |
| function __sprite_save(_ind,_subimg,_fname){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_save(_ind,_subimg,_fname); | |
| } | |
| function __sprite_save_strip(_ind,_filename){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_save_strip(_ind,_filename); | |
| } | |
| function __sprite_set_alpha_from_sprite(_ind,_spr){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_spr : {Asset.GMSprite} | |
| if (!is_handle(_spr) && is_numeric(_spr)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_alpha_from_sprite(_ind,_spr); | |
| } | |
| function __sprite_set_bbox(_ind,_left,_top,_right,_bottom){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_bbox(_ind,_left,_top,_right,_bottom); | |
| } | |
| function __sprite_set_bbox_mode(_ind,_mode){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_bbox_mode(_ind,_mode); | |
| } | |
| function __sprite_set_cache_size(_ind,_max){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_cache_size(_ind,_max); | |
| } | |
| function __sprite_set_cache_size_ext(_ind,_index,_max){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_cache_size_ext(_ind,_index,_max); | |
| } | |
| function __sprite_set_nineslice(_ind,_nineslice){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_nineslice(_ind,_nineslice); | |
| } | |
| function __sprite_set_offset(_ind,_xoff,_yoff){ | |
| //_ind : {Asset.GMSprite} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_offset(_ind,_xoff,_yoff); | |
| } | |
| function __sprite_set_speed(_index,_speed,_type){ | |
| //_index : {Asset.GMSprite} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return sprite_set_speed(_index,_speed,_type); | |
| } | |
| function __static_get(_struct){ | |
| //_struct : {Struct,Function,Asset.GMScript} | |
| if (!is_handle(_struct) && is_numeric(_struct)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return static_get(_struct); | |
| } | |
| function __string_foreach(_str,_func,_pos,_length){ | |
| //_func : {Function} | |
| if (!is_handle(_func) && is_numeric(_func)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return string_foreach(_str,_func,_pos,_length); | |
| } | |
| function __struct_foreach(_struct,_func){ | |
| //_func : {Function} | |
| if (!is_handle(_func) && is_numeric(_func)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return struct_foreach(_struct,_func); | |
| } | |
| function __surface_copy(_destination,_x,_y,_source){ | |
| //_destination : {Id.Surface} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.Surface} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_copy(_destination,_x,_y,_source); | |
| } | |
| function __surface_copy_part(_destination,_x,_y,_source,_xs,_ys,_ws,_hs){ | |
| //_destination : {Id.Surface} | |
| if (!is_handle(_destination) && is_numeric(_destination)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_source : {Id.Surface} | |
| if (!is_handle(_source) && is_numeric(_source)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_copy_part(_destination,_x,_y,_source,_xs,_ys,_ws,_hs); | |
| } | |
| function __surface_create(_w,_h,_format){ | |
| return surface_create(_w,_h,_format); | |
| } | |
| function __surface_create_ext(_name,_w,_h){ | |
| return surface_create_ext(_name,_w,_h); | |
| } | |
| function __surface_exists(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_exists(_surface_id); | |
| } | |
| function __surface_free(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_free(_surface_id); | |
| } | |
| function __surface_get_format(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_format(_surface_id); | |
| } | |
| function __surface_get_height(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_height(_surface_id); | |
| } | |
| function __surface_get_target(){ | |
| return surface_get_target(); | |
| } | |
| function __surface_get_target_depth(){ | |
| return surface_get_target_depth(); | |
| } | |
| function __surface_get_target_ext(_index){ | |
| return surface_get_target_ext(_index); | |
| } | |
| function __surface_get_texture(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_texture(_surface_id); | |
| } | |
| function __surface_get_texture(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_texture(_surface_id); | |
| } | |
| function __surface_get_texture_depth(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_texture_depth(_surface_id); | |
| } | |
| function __surface_get_texture_depth(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_texture_depth(_surface_id); | |
| } | |
| function __surface_get_width(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_get_width(_surface_id); | |
| } | |
| function __surface_getpixel(_surface_id,_x,_y){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_getpixel(_surface_id,_x,_y); | |
| } | |
| function __surface_getpixel_ext(_surface_id,_x,_y){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_getpixel_ext(_surface_id,_x,_y); | |
| } | |
| function __surface_has_depth(_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_has_depth(_surface_id); | |
| } | |
| function __surface_resize(_surface_id,_w,_h){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_resize(_surface_id,_w,_h); | |
| } | |
| function __surface_save(_surface_id,_fname){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_save(_surface_id,_fname); | |
| } | |
| function __surface_save_part(_surface_id,_fname,_x,_y,_width,_height){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_save_part(_surface_id,_fname,_x,_y,_width,_height); | |
| } | |
| function __surface_set_target(_surface_id,_depth_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_depth_id : {Id.Surface} | |
| if (!is_handle(_depth_id) && is_numeric(_depth_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_set_target(_surface_id,_depth_id); | |
| } | |
| function __surface_set_target_ext(_index,_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return surface_set_target_ext(_index,_surface_id); | |
| } | |
| function __tag_get_asset_ids(_tags,_asset_type){ | |
| //_asset_type : {Constant.AssetType} | |
| if (!is_handle(_asset_type) && is_numeric(_asset_type)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tag_get_asset_ids(_tags,_asset_type); | |
| } | |
| function __texture_set_stage(_stage,_tex){ | |
| //_stage : {Id.Sampler} | |
| if (!is_handle(_stage) && is_numeric(_stage)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tex : {Pointer.Texture,Real} | |
| if (!is_handle(_tex) && is_numeric(_tex)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return texture_set_stage(_stage,_tex); | |
| } | |
| function __texturegroup_get_fonts(_tex){ | |
| return texturegroup_get_fonts(_tex); | |
| } | |
| function __texturegroup_get_sprites(_tex){ | |
| return texturegroup_get_sprites(_tex); | |
| } | |
| function __texturegroup_get_textures(_tex_id){ | |
| return texturegroup_get_textures(_tex_id); | |
| } | |
| function __texturegroup_get_tilesets(_tex){ | |
| return texturegroup_get_tilesets(_tex); | |
| } | |
| function __texturegroup_set_mode(_explicit,_debug,_default_sprite){ | |
| //_default_sprite : {Asset.GMSprite} | |
| if (!is_handle(_default_sprite) && is_numeric(_default_sprite)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return texturegroup_set_mode(_explicit,_debug,_default_sprite); | |
| } | |
| function __tilemap_clear(_tilemap_element_id,_tiledata){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_clear(_tilemap_element_id,_tiledata); | |
| } | |
| function __tilemap_get(_tilemap_element_id,_x_cell,_y_cell){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get(_tilemap_element_id,_x_cell,_y_cell); | |
| } | |
| function __tilemap_get_at_pixel(_tilemap_element_id,_x,_y){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_at_pixel(_tilemap_element_id,_x,_y); | |
| } | |
| function __tilemap_get_cell_x_at_pixel(_tilemap_element_id,_x,_y){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_cell_x_at_pixel(_tilemap_element_id,_x,_y); | |
| } | |
| function __tilemap_get_cell_y_at_pixel(_tilemap_element_id,_x,_y){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_cell_y_at_pixel(_tilemap_element_id,_x,_y); | |
| } | |
| function __tilemap_get_frame(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_frame(_tilemap_element_id); | |
| } | |
| function __tilemap_get_height(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_height(_tilemap_element_id); | |
| } | |
| function __tilemap_get_mask(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_mask(_tilemap_element_id); | |
| } | |
| function __tilemap_get_tile_height(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_tile_height(_tilemap_element_id); | |
| } | |
| function __tilemap_get_tile_width(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_tile_width(_tilemap_element_id); | |
| } | |
| function __tilemap_get_tileset(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_tileset(_tilemap_element_id); | |
| } | |
| function __tilemap_get_width(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_width(_tilemap_element_id); | |
| } | |
| function __tilemap_get_x(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_x(_tilemap_element_id); | |
| } | |
| function __tilemap_get_y(_tilemap_element_id){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_get_y(_tilemap_element_id); | |
| } | |
| function __tilemap_set(_tilemap_element_id,_tiledata,_xcell,_ycell){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_set(_tilemap_element_id,_tiledata,_xcell,_ycell); | |
| } | |
| function __tilemap_set_at_pixel(_tilemap_element_id,_tiledata,_xcell,_ycell){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_set_at_pixel(_tilemap_element_id,_tiledata,_xcell,_ycell); | |
| } | |
| function __tilemap_set_height(_tilemap_element_id,_height){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_set_height(_tilemap_element_id,_height); | |
| } | |
| function __tilemap_set_mask(_tilemap_element_id,_mask){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_set_mask(_tilemap_element_id,_mask); | |
| } | |
| function __tilemap_set_width(_tilemap_element_id,_width){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_set_width(_tilemap_element_id,_width); | |
| } | |
| function __tilemap_tileset(_tilemap_element_id,_tileset_index){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_tileset_index : {Asset.GMTileSet} | |
| if (!is_handle(_tileset_index) && is_numeric(_tileset_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_tileset(_tilemap_element_id,_tileset_index); | |
| } | |
| function __tilemap_x(_tilemap_element_id,_x){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_x(_tilemap_element_id,_x); | |
| } | |
| function __tilemap_y(_tilemap_element_id,_y){ | |
| //_tilemap_element_id : {Id.TileMapElement} | |
| if (!is_handle(_tilemap_element_id) && is_numeric(_tilemap_element_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tilemap_y(_tilemap_element_id,_y); | |
| } | |
| function __tileset_get_info(_index){ | |
| //_index : {Asset.GMTileSet} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tileset_get_info(_index); | |
| } | |
| function __tileset_get_name(_index){ | |
| //_index : {Asset.GMTileSet} | |
| if (!is_handle(_index) && is_numeric(_index)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tileset_get_name(_index); | |
| } | |
| function __tileset_get_texture(_tileset){ | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tileset_get_texture(_tileset); | |
| } | |
| function __tileset_get_texture(_tileset){ | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tileset_get_texture(_tileset); | |
| } | |
| function __tileset_get_uvs(_tileset){ | |
| //_tileset : {Asset.GMTileSet} | |
| if (!is_handle(_tileset) && is_numeric(_tileset)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return tileset_get_uvs(_tileset); | |
| } | |
| function __time_source_create(_parent,_period,_units,_callback,_args,_reps,_expiry_type){ | |
| //_parent : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_parent) && is_numeric(_parent)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_callback : {Function} | |
| if (!is_handle(_callback) && is_numeric(_callback)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_create(_parent,_period,_units,_callback,_args,_reps,_expiry_type); | |
| } | |
| function __time_source_destroy(_id,_destroy_tree){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_destroy(_id,_destroy_tree); | |
| } | |
| function __time_source_exists(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_exists(_id); | |
| } | |
| function __time_source_get_children(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_children(_id); | |
| } | |
| function __time_source_get_parent(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_parent(_id); | |
| } | |
| function __time_source_get_period(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_period(_id); | |
| } | |
| function __time_source_get_reps_completed(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_reps_completed(_id); | |
| } | |
| function __time_source_get_reps_remaining(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_reps_remaining(_id); | |
| } | |
| function __time_source_get_state(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_state(_id); | |
| } | |
| function __time_source_get_time_remaining(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_time_remaining(_id); | |
| } | |
| function __time_source_get_units(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_get_units(_id); | |
| } | |
| function __time_source_pause(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_pause(_id); | |
| } | |
| function __time_source_reconfigure(_id,_period,_units,_callback,_args,_reps,_expiry_type){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_callback : {Function} | |
| if (!is_handle(_callback) && is_numeric(_callback)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_reconfigure(_id,_period,_units,_callback,_args,_reps,_expiry_type); | |
| } | |
| function __time_source_reset(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_reset(_id); | |
| } | |
| function __time_source_resume(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_resume(_id); | |
| } | |
| function __time_source_start(_id){ | |
| //_id : {Id.TimeSource,Constant.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_start(_id); | |
| } | |
| function __time_source_stop(_id){ | |
| //_id : {Id.TimeSource} | |
| if (!is_handle(_id) && is_numeric(_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return time_source_stop(_id); | |
| } | |
| function __timeline_add(){ | |
| return timeline_add(); | |
| } | |
| function __timeline_clear(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_clear(_ind); | |
| } | |
| function __timeline_delete(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_delete(_ind); | |
| } | |
| function __timeline_exists(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_exists(_ind); | |
| } | |
| function __timeline_get_name(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_get_name(_ind); | |
| } | |
| function __timeline_max_moment(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_max_moment(_ind); | |
| } | |
| function __timeline_moment_add_script(_ind,_step,_script){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_script : {Asset.GMScript,Function} | |
| if (!is_handle(_script) && is_numeric(_script)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_moment_add_script(_ind,_step,_script); | |
| } | |
| function __timeline_moment_clear(_ind,_step){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_moment_clear(_ind,_step); | |
| } | |
| function __timeline_size(_ind){ | |
| //_ind : {Asset.GMTimeline} | |
| if (!is_handle(_ind) && is_numeric(_ind)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return timeline_size(_ind); | |
| } | |
| function __variable_instance_exists(_instance_id,_name){ | |
| //_instance_id : {Struct,Id.Instance} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return variable_instance_exists(_instance_id,_name); | |
| } | |
| function __variable_instance_get(_instance_id,_name){ | |
| //_instance_id : {Struct,Id.Instance,Constant.All} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return variable_instance_get(_instance_id,_name); | |
| } | |
| function __variable_instance_get_names(__id){ | |
| //__id : {Struct,Id.Instance,Constant.All} | |
| if (!is_handle(__id) && is_numeric(__id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return variable_instance_get_names(__id); | |
| } | |
| function __variable_instance_names_count(_instance_id){ | |
| //_instance_id : {Struct,Id.Instance} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return variable_instance_names_count(_instance_id); | |
| } | |
| function __variable_instance_set(_instance_id,_name,_val){ | |
| //_instance_id : {Struct,Id.Instance} | |
| if (!is_handle(_instance_id) && is_numeric(_instance_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return variable_instance_set(_instance_id,_name,_val); | |
| } | |
| function __vertex_argb(_buffer,_argb){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_argb(_buffer,_argb); | |
| } | |
| function __vertex_begin(_buffer,_format){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_format : {Id.VertexFormat} | |
| if (!is_handle(_format) && is_numeric(_format)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_begin(_buffer,_format); | |
| } | |
| function __vertex_buffer_exists(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_buffer_exists(_buffer); | |
| } | |
| function __vertex_color(_buffer,_color,_alpha){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_color(_buffer,_color,_alpha); | |
| } | |
| function __vertex_colour(_buffer,_colour,_alpha){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_colour(_buffer,_colour,_alpha); | |
| } | |
| function __vertex_create_buffer(){ | |
| return vertex_create_buffer(); | |
| } | |
| function __vertex_create_buffer_ext(_size){ | |
| return vertex_create_buffer_ext(_size); | |
| } | |
| function __vertex_create_buffer_from_buffer(_buffer,_format){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_format : {Id.VertexFormat} | |
| if (!is_handle(_format) && is_numeric(_format)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_create_buffer_from_buffer(_buffer,_format); | |
| } | |
| function __vertex_create_buffer_from_buffer_ext(_buffer,_format,_src_offset,_vert_num){ | |
| //_buffer : {Id.Buffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_format : {Id.VertexFormat} | |
| if (!is_handle(_format) && is_numeric(_format)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_create_buffer_from_buffer_ext(_buffer,_format,_src_offset,_vert_num); | |
| } | |
| function __vertex_delete_buffer(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_delete_buffer(_buffer); | |
| } | |
| function __vertex_end(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_end(_buffer); | |
| } | |
| function __vertex_float1(_buffer,_float){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_float1(_buffer,_float); | |
| } | |
| function __vertex_float2(_buffer,_float,_float2){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_float2(_buffer,_float,_float2); | |
| } | |
| function __vertex_float3(_buffer,_float,_float2,_float3){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_float3(_buffer,_float,_float2,_float3); | |
| } | |
| function __vertex_float4(_buffer,_float,_float2,_float3,_float4){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_float4(_buffer,_float,_float2,_float3,_float4); | |
| } | |
| function __vertex_format_delete(_format_id){ | |
| //_format_id : {Id.VertexFormat} | |
| if (!is_handle(_format_id) && is_numeric(_format_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_format_delete(_format_id); | |
| } | |
| function __vertex_format_end(){ | |
| return vertex_format_end(); | |
| } | |
| function __vertex_format_exists(_format_id){ | |
| //_format_id : {Id.VertexFormat} | |
| if (!is_handle(_format_id) && is_numeric(_format_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_format_exists(_format_id); | |
| } | |
| function __vertex_format_get_info(_format_id){ | |
| //_format_id : {Id.VertexFormat} | |
| if (!is_handle(_format_id) && is_numeric(_format_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_format_get_info(_format_id); | |
| } | |
| function __vertex_freeze(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_freeze(_buffer); | |
| } | |
| function __vertex_get_buffer_size(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_get_buffer_size(_buffer); | |
| } | |
| function __vertex_get_number(_buffer){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_get_number(_buffer); | |
| } | |
| function __vertex_normal(_buffer,_nx,_ny,_nz){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_normal(_buffer,_nx,_ny,_nz); | |
| } | |
| function __vertex_position(_buffer,_x,_y){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_position(_buffer,_x,_y); | |
| } | |
| function __vertex_position_3d(_buffer,_x,_y,_z){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_position_3d(_buffer,_x,_y,_z); | |
| } | |
| function __vertex_submit(_buffer,_primitive,_texture){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_texture : {Pointer.Texture,Real} | |
| if (!is_handle(_texture) && is_numeric(_texture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_submit(_buffer,_primitive,_texture); | |
| } | |
| function __vertex_submit_ext(_buffer,_primitive,_texture,_offset,_number){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_texture : {Pointer.Texture,Real} | |
| if (!is_handle(_texture) && is_numeric(_texture)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_submit_ext(_buffer,_primitive,_texture,_offset,_number); | |
| } | |
| function __vertex_texcoord(_buffer,_u,_v){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_texcoord(_buffer,_u,_v); | |
| } | |
| function __vertex_ubyte4(_buffer,_byte,_byte2,_byte3,_byte4){ | |
| //_buffer : {Id.VertexBuffer} | |
| if (!is_handle(_buffer) && is_numeric(_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_ubyte4(_buffer,_byte,_byte2,_byte3,_byte4); | |
| } | |
| function __vertex_update_buffer_from_buffer(_dest_vbuff,_dest_offset,_src_buffer,_src_offset,_src_size){ | |
| //_dest_vbuff : {Id.VertexBuffer} | |
| if (!is_handle(_dest_vbuff) && is_numeric(_dest_vbuff)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_src_buffer : {Id.Buffer} | |
| if (!is_handle(_src_buffer) && is_numeric(_src_buffer)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_update_buffer_from_buffer(_dest_vbuff,_dest_offset,_src_buffer,_src_offset,_src_size); | |
| } | |
| function __vertex_update_buffer_from_vertex(_dest_vbuff,_dest_vert,_src_vbuff,_src_vert,_src_vert_num){ | |
| //_dest_vbuff : {Id.VertexBuffer} | |
| if (!is_handle(_dest_vbuff) && is_numeric(_dest_vbuff)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| //_src_vbuff : {Id.VertexBuffer} | |
| if (!is_handle(_src_vbuff) && is_numeric(_src_vbuff)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return vertex_update_buffer_from_vertex(_dest_vbuff,_dest_vert,_src_vbuff,_src_vert,_src_vert_num); | |
| } | |
| function __view_get_surface_id(_view_port){ | |
| return view_get_surface_id(_view_port); | |
| } | |
| function __view_set_camera(_view_port,_camera_id){ | |
| //_camera_id : {Id.Camera} | |
| if (!is_handle(_camera_id) && is_numeric(_camera_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return view_set_camera(_view_port,_camera_id); | |
| } | |
| function __view_set_surface_id(_view_port,_surface_id){ | |
| //_surface_id : {Id.Surface} | |
| if (!is_handle(_surface_id) && is_numeric(_surface_id)) throw "This project doesnt support arbitrary handle access, please provide a handle instead of a number." | |
| return view_set_surface_id(_view_port,_surface_id); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment