API do GML???

Ver o tópico anterior Ver o tópico seguinte Ir em baixo

API do GML???

Mensagem por victor448 em Seg 17 Jan 2011, 22:05

Olá a todos tenho uma duvida basica,acabei de terminar de aprender o GML mais como eu venho do python senti a falta da API, que é nada mais nada menos que as funções da linguage,onde posso encontrar a "API" do GML???
Poste um link por favor...
Se não me indique o site/lugar,onde eu posso achar,se eu não fui claro me digam...
T++ Happy

victor448

Número de Mensagens : 10
Idade : 18
Data de inscrição : 24/11/2010
Reputação : 0
Insignia 1 x 0 Insignia 2 x 0 Insignia 3 x 0
Prêmios
   : 0
   : 0
   : 0

Voltar ao Topo Ir em baixo

Re: API do GML???

Mensagem por Igor KinGamer em Seg 17 Jan 2011, 22:40

Se com "funções", você se refere a definição de função que eu conheço (ex.: sin(x), cos(x), destroy_instance(), etc.), então, está no help do GM. É só apertar F1 que lá estão (quase) todas as funções que há no GM (no item "The Game Maker Language (GML)").

Igor KinGamer

Número de Mensagens : 890
Idade : 21
Data de inscrição : 26/09/2008
Reputação : 11
Insignia 1 x 0 Insignia 2 x 0 Insignia 3 x 0
Prêmios
   :
   :
   :

Voltar ao Topo Ir em baixo

Re: API do GML???

Mensagem por victor448 em Seg 17 Jan 2011, 22:45

Igor KinGamer escreveu:Se com "funções", você se refere a definição de função que eu conheço (ex.: sin(x), cos(x), destroy_instance(), etc.), então, está no help do GM. É só apertar F1 que lá estão (quase) todas as funções que há no GM (no item "The Game Maker Language (GML)").
Obrigado era isso mesmo fiquei com medo de isso ter outro nome no game maker,mais agradeço!!!
T++

victor448

Número de Mensagens : 10
Idade : 18
Data de inscrição : 24/11/2010
Reputação : 0
Insignia 1 x 0 Insignia 2 x 0 Insignia 3 x 0
Prêmios
   : 0
   : 0
   : 0

Voltar ao Topo Ir em baixo

Re: API do GML???

Mensagem por Shadow10 em Ter 18 Jan 2011, 00:31

No folder do Software tem dois arquivos de sistema legiveis.
Um é o fnames, e nele esta escrito todas as funções da linguagem que são:
Spoiler:
Código:
//////////////
// Chapter 401
//////////////

argument_relative*
argument
argument0
argument1
argument2
argument3
argument4
argument5
argument6
argument7
argument8
argument9
argument10
argument11
argument12
argument13
argument14
argument15
self#
other#
all#
noone#
global#
local#
//////////////
// Chapter 402
//////////////

// section 2.1

true#
false#
pi#

// section 2.2

is_real(val)
is_string(val)
random(x)
random_range(x1,x2)
irandom(x)
irandom_range(x1,x2)
random_set_seed(seed)
random_get_seed()
randomize()
choose(x1,x2,x3,...)
abs(x)
round(x)
floor(x)
ceil(x)
sign(x)
frac(x)
sqrt(x)
sqr(x)
exp(x)
ln(x)
log2(x)
log10(x)
sin(x)
cos(x)
tan(x)
arcsin(x)
arccos(x)
arctan(x)
arctan2(y,x)
degtorad(x)
radtodeg(x)
power(x,n)
logn(n,x)
min(x1,x2,x3,...)
max(x1,x2,x3,...)
mean(x1,x2,x3,...)
median(x1,x2,x3,...)
point_distance(x1,y1,x2,y2)
point_direction(x1,y1,x2,y2)
lengthdir_x(len,dir)
lengthdir_y(len,dir)

// section 2.3

real(str)
string(val)
string_format(val,total,dec)
chr(val)
ord(char)
string_length(str)
string_pos(substr,str)
string_copy(str,index,count)
string_char_at(str,index)
string_delete(str,index,count)
string_insert(substr,str,index)
string_lower(str)
string_upper(str)
string_repeat(str,count)
string_letters(str)
string_digits(str)
string_lettersdigits(str)
string_replace(str,substr,newstr)
string_replace_all(str,substr,newstr)
string_count(substr,str)
clipboard_has_text()
clipboard_set_text(str)
clipboard_get_text()

// section 2.4

date_current_datetime()
date_current_date()
date_current_time()
date_create_datetime(year,month,day,hour,minute,second)
date_create_date(year,month,day)
date_create_time(hour,minute,second)
date_valid_datetime(year,month,day,hour,minute,second)
date_valid_date(year,month,day)
date_valid_time(hour,minute,second)
date_inc_year(date,amount)
date_inc_month(date,amount)
date_inc_week(date,amount)
date_inc_day(date,amount)
date_inc_hour(date,amount)
date_inc_minute(date,amount)
date_inc_second(date,amount)
date_get_year(date)
date_get_month(date)
date_get_week(date)
date_get_day(date)
date_get_hour(date)
date_get_minute(date)
date_get_second(date)
date_get_weekday(date)
date_get_day_of_year(date)
date_get_hour_of_year(date)
date_get_minute_of_year(date)
date_get_second_of_year(date)
date_year_span(date1,date2)
date_month_span(date1,date2)
date_week_span(date1,date2)
date_day_span(date1,date2)
date_hour_span(date1,date2)
date_minute_span(date1,date2)
date_second_span(date1,date2)
date_compare_datetime(date1,date2)
date_compare_date(date1,date2)
date_compare_time(date1,date2)
date_date_of(date)
date_time_of(date)
date_datetime_string(date)
date_date_string(date)
date_time_string(date)
date_days_in_month(date)
date_days_in_year(date)
date_leap_year(date)
date_is_today(date)
//////////////
// Chapter 403
//////////////

// section 3.1

x
y
xprevious
yprevious
xstart
ystart
hspeed
vspeed
direction
speed
friction
gravity
gravity_direction
motion_set(dir,speed)
motion_add(dir,speed)
place_free(x,y)
place_empty(x,y)
place_meeting(x,y,obj)
place_snapped(hsnap,vsnap)
move_random(hsnap,vsnap)
move_snap(hsnap,vsnap)
move_towards_point(x,y,sp)
move_contact_solid(dir,maxdist)
move_contact_all(dir,maxdist)
move_outside_solid(dir,maxdist)
move_outside_all(dir,maxdist)
move_bounce_solid(advanced)
move_bounce_all(advanced)
move_wrap(hor,vert,margin)
distance_to_point(x,y)
distance_to_object(obj)
position_empty(x,y)
position_meeting(x,y,obj)

// section 3.2

path_start(path,speed,endaction,absolute)
path_end()
path_index*
path_position
path_positionprevious
path_speed
path_scale
path_orientation
path_endaction

// section 3.3

mp_linear_step(x,y,speed,checkall)
mp_potential_step(x,y,speed,checkall)
mp_linear_step_object(x,y,speed,obj)
mp_potential_step_object(x,y,speed,obj)
mp_potential_settings(maxrot,rotstep,ahead,onspot)
mp_linear_path(path,xg,yg,stepsize,checkall)
mp_potential_path(path,xg,yg,stepsize,factor,checkall)
mp_linear_path_object(path,xg,yg,stepsize,obj)
mp_potential_path_object(path,xg,yg,stepsize,factor,obj)
mp_grid_create(left,top,hcells,vcells,cellwidth,cellheight)
mp_grid_destroy(id)
mp_grid_clear_all(id)
mp_grid_clear_cell(id,h,v)
mp_grid_clear_rectangle(id,left,top,right,bottom)
mp_grid_add_cell(id,h,v)
mp_grid_add_rectangle(id,left,top,right,bottom)
mp_grid_add_instances(id,obj,prec)
mp_grid_path(id,path,xstart,ystart,xgoal,ygoal,allowdiag)
mp_grid_draw(id)

// section 3.4

collision_point(x,y,obj,prec,notme)
collision_rectangle(x1,y1,x2,y2,obj,prec,notme)
collision_circle(x1,y1,radius,obj,prec,notme)
collision_ellipse(x1,y1,x2,y2,obj,prec,notme)
collision_line(x1,y1,x2,y2,obj,prec,notme)

// section 3.5

object_index*
id*
solid
persistent
mask_index
instance_count*
instance_id*
instance_find(obj,n)
instance_exists(obj)
instance_number(obj)
instance_position(x,y,obj)
instance_nearest(x,y,obj)
instance_furthest(x,y,obj)
instance_place(x,y,obj)
instance_create(x,y,obj)
instance_copy(performevent)
instance_change(obj,performevents)
instance_destroy()
position_destroy(x,y)
position_change(x,y,obj,performevents)

// section 3.6

instance_deactivate_all(notme)
instance_deactivate_object(obj)
instance_deactivate_region(left,top,width,height,inside,notme)
instance_activate_all()
instance_activate_object(obj)
instance_activate_region(left,top,width,height,inside)

// section 3.7

room_speed
fps*
current_time*
current_year*
current_month*
current_day*
current_weekday*
current_hour*
current_minute*
current_second*
sleep(millisec)
alarm[0..11]
timeline_index
timeline_position
timeline_speed
timeline_running
timeline_loop

// section 3.8

room
room_first*
room_last*
room_width*
room_height*
room_caption
room_persistent
room_goto(numb)
room_goto_previous()
room_goto_next()
room_previous(numb)
room_next(numb)
room_restart()
game_end()
game_restart()
game_load(filename)
game_save(filename)

transition_kind
transition_steps
transition_color
transition_define(kind,name)
transition_exists(kind)

// section 3.9

score
lives
health
show_score
show_lives
show_health
caption_score
caption_lives
caption_health

// section 3.10

event_perform(type,numb)
event_user(numb)
event_perform_object(obj,type,numb)
event_inherited()
event_type*
event_number*
event_object*
event_action*
ev_create#
ev_destroy#
ev_step#
ev_alarm#
ev_keyboard#
ev_mouse#
ev_collision#
ev_other#
ev_draw#
ev_keypress#
ev_keyrelease#
ev_trigger#
ev_left_button#
ev_right_button#
ev_middle_button#
ev_no_button#
ev_left_press#
ev_right_press#
ev_middle_press#
ev_left_release#
ev_right_release#
ev_middle_release#
ev_mouse_enter#
ev_mouse_leave#
ev_mouse_wheel_up#
ev_mouse_wheel_down#
ev_global_left_button#
ev_global_right_button#
ev_global_middle_button#
ev_global_left_press#
ev_global_right_press#
ev_global_middle_press#
ev_global_left_release#
ev_global_right_release#
ev_global_middle_release#
ev_joystick1_left#
ev_joystick1_right#
ev_joystick1_up#
ev_joystick1_down#
ev_joystick1_button1#
ev_joystick1_button2#
ev_joystick1_button3#
ev_joystick1_button4#
ev_joystick1_button5#
ev_joystick1_button6#
ev_joystick1_button7#
ev_joystick1_button8#
ev_joystick2_left#
ev_joystick2_right#
ev_joystick2_up#
ev_joystick2_down#
ev_joystick2_button1#
ev_joystick2_button2#
ev_joystick2_button3#
ev_joystick2_button4#
ev_joystick2_button5#
ev_joystick2_button6#
ev_joystick2_button7#
ev_joystick2_button8#
ev_outside#
ev_boundary#
ev_game_start#
ev_game_end#
ev_room_start#
ev_room_end#
ev_no_more_lives#
ev_animation_end#
ev_end_of_path#
ev_no_more_health#
ev_close_button#
ev_user0#
ev_user1#
ev_user2#
ev_user3#
ev_user4#
ev_user5#
ev_user6#
ev_user7#
ev_user8#
ev_user9#
ev_user10#
ev_user11#
ev_user12#
ev_user13#
ev_user14#
ev_user15#
ev_step_normal#
ev_step_begin#
ev_step_end#

// section 3.11

gamemaker_pro*
gamemaker_registered*
gamemaker_version*
error_occurred
error_last
show_debug_message(str)
debug_mode*
variable_global_exists(name)
variable_global_get(name)
variable_global_array_get(name,ind)
variable_global_array2_get(name,ind1,ind2)
variable_global_set(name,value)
variable_global_array_set(name,ind,value)
variable_global_array2_set(name,ind1,ind2,value)
variable_local_exists(name)
variable_local_get(name)
variable_local_array_get(name,ind)
variable_local_array2_get(name,ind1,ind2)
variable_local_set(name,value)
variable_local_array_set(name,ind,value)
variable_local_array2_set(name,ind1,ind2,value)
set_program_priority(priority)
set_application_title(title)


//////////////
// Chapter 404
//////////////

// section 4.1

keyboard_key
keyboard_lastkey
keyboard_lastchar
keyboard_string
keyboard_set_map(key1,key2)
keyboard_get_map(key)
keyboard_unset_map()
keyboard_check(key)
keyboard_check_pressed(key)
keyboard_check_released(key)
keyboard_check_direct(key)
keyboard_get_numlock()
keyboard_set_numlock(on)
keyboard_key_press(key)
keyboard_key_release(key)
vk_nokey#
vk_anykey#
vk_enter#
vk_return#
vk_shift#
vk_control#
vk_alt#
vk_escape#
vk_space#
vk_backspace#
vk_tab#
vk_pause#
vk_printscreen#
vk_left#
vk_right#
vk_up#
vk_down#
vk_home#
vk_end#
vk_delete#
vk_insert#
vk_pageup#
vk_pagedown#
vk_f1#
vk_f2#
vk_f3#
vk_f4#
vk_f5#
vk_f6#
vk_f7#
vk_f8#
vk_f9#
vk_f10#
vk_f11#
vk_f12#
vk_numpad0#
vk_numpad1#
vk_numpad2#
vk_numpad3#
vk_numpad4#
vk_numpad5#
vk_numpad6#
vk_numpad7#
vk_numpad8#
vk_numpad9#
vk_divide#
vk_multiply#
vk_subtract#
vk_add#
vk_decimal#
vk_lshift#
vk_lcontrol#
vk_lalt#
vk_rshift#
vk_rcontrol#
vk_ralt#
keyboard_clear(key)
io_clear()
io_handle()
keyboard_wait()

// section 4.2

mouse_x*
mouse_y*
mouse_button
mouse_lastbutton
mb_any#
mb_none#
mb_left#
mb_right#
mb_middle#
mouse_check_button(button)
mouse_check_button_pressed(button)
mouse_check_button_released(button)
mouse_wheel_up()
mouse_wheel_down()
mouse_clear(button)
mouse_wait()
cursor_sprite

// section 4.3

joystick_exists(id)
joystick_direction(id)
joystick_name(id)
joystick_axes(id)
joystick_buttons(id)
joystick_has_pov(id)
joystick_check_button(id,button)
joystick_xpos(id)
joystick_ypos(id)
joystick_zpos(id)
joystick_rpos(id)
joystick_upos(id)
joystick_vpos(id)
joystick_pov(id)


//////////////
// Chapter 405
//////////////

// section 5.1

visible
sprite_index
sprite_width*
sprite_height*
sprite_xoffset*
sprite_yoffset*
image_number*
image_index
image_speed
depth
image_xscale
image_yscale
image_angle
image_alpha
image_blend
bbox_left*
bbox_right*
bbox_top*
bbox_bottom*

// section 5.2

background_color
background_showcolor
background_visible[0..7]
background_foreground[0..7]
background_index[0..7]
background_x[0..7]
background_y[0...7]
background_width[0...7]*
background_height[0...7]*
background_htiled[0..7]
background_vtiled[0..7]
background_xscale[0..7]
background_yscale[0..7]
background_hspeed[0..7]
background_vspeed[0..7]
background_blend[0..7]
background_alpha[0..7]

// section 5.3

draw_sprite(sprite,subimg,x,y)
draw_sprite_ext(sprite,subimg,x,y,xscale,yscale,rot,color,alpha)
draw_sprite_stretched(sprite,subimg,x,y,w,h)
draw_sprite_stretched_ext(sprite,subimg,x,y,w,h,color,alpha)
draw_sprite_tiled(sprite,subimg,x,y)
draw_sprite_tiled_ext(sprite,subimg,x,y,xscale,yscale,color,alpha)
draw_sprite_part(sprite,subimg,left,top,width,height,x,y)
draw_sprite_part_ext(sprite,subimg,left,top,width,height,x,y,xscale,yscale,color,alpha)
draw_sprite_general(sprite,subimg,left,top,width,height,x,y,xscale,yscale,rot,c1,c2,c3,c4,alpha)
draw_background(back,x,y)
draw_background_ext(back,x,y,xscale,yscale,rot,color,alpha)
draw_background_stretched(back,x,y,w,h)
draw_background_stretched_ext(back,x,y,w,h,color,alpha)
draw_background_tiled(back,x,y)
draw_background_tiled_ext(back,x,y,xscale,yscale,color,alpha)
draw_background_part(back,left,top,width,height,x,y)
draw_background_part_ext(back,left,top,width,height,x,y,xscale,yscale,color,alpha)
draw_background_general(back,left,top,width,height,x,y,xscale,yscale,rot,c1,c2,c3,c4,alpha)

// section 5.4

draw_clear(col)
draw_clear_alpha(col,alpha)
draw_point(x,y)
draw_line(x1,y1,x2,y2)
draw_line_width(x1,y1,x2,y2,w)
draw_rectangle(x1,y1,x2,y2,outline)
draw_roundrect(x1,y1,x2,y2,outline)
draw_triangle(x1,y1,x2,y2,x3,y3,outline)
draw_circle(x,y,r,outline)
draw_ellipse(x1,y1,x2,y2,outline)
draw_set_circle_precision(precision)
draw_arrow(x1,y1,x2,y2,size)
draw_button(x1,y1,x2,y2,up)
draw_path(path,x,y,absolute)
draw_healthbar(x1,y1,x2,y2,amount,backcol,mincol,maxcol,direction,showback,showborder)
draw_getpixel(x,y)
draw_set_color(col)
draw_set_alpha(alpha)
draw_get_color()
draw_get_alpha()
c_aqua#
c_black#
c_blue#
c_dkgray#
c_fuchsia#
c_gray#
c_green#
c_lime#
c_ltgray#
c_maroon#
c_navy#
c_olive#
c_purple#
c_red#
c_silver#
c_teal#
c_white#
c_yellow#
c_orange#
make_color_rgb(red,green,blue)
make_color_hsv(hue,saturation,value)
color_get_red(col)
color_get_green(col)
color_get_blue(col)
color_get_hue(col)
color_get_saturation(col)
color_get_value(col)
merge_color(col1,col2,amount)
screen_save(fname)
screen_save_part(fname,x,y,w,h)

// section 5.5

draw_set_font(font)
draw_set_halign(halign)
fa_left#
fa_center#
fa_right#
draw_set_valign(valign)
fa_top#
fa_middle#
fa_bottom#
draw_text(x,y,string)
draw_text_ext(x,y,string,sep,w)
string_width(string)
string_height(string)
string_width_ext(string,sep,w)
string_height_ext(string,sep,w)
draw_text_transformed(x,y,string,xscale,yscale,angle)
draw_text_ext_transformed(x,y,string,sep,w,xscale,yscale,angle)
draw_text_color(x,y,string,c1,c2,c3,c4,alpha)
draw_text_ext_color(x,y,string,sep,w,c1,c2,c3,c4,alpha)
draw_text_transformed_color(x,y,string,xscale,yscale,angle,c1,c2,c3,c4,alpha)
draw_text_ext_transformed_color(x,y,string,sep,w,xscale,yscale,angle,c1,c2,c3,c4,alpha)

// section 5.6

draw_point_color(x,y,col1)
draw_line_color(x1,y1,x2,y2,col1,col2)
draw_line_width_color(x1,y1,x2,y2,w,col1,col2)
draw_rectangle_color(x1,y1,x2,y2,col1,col2,col3,col4,outline)
draw_roundrect_color(x1,y1,x2,y2,col1,col2,outline)
draw_triangle_color(x1,y1,x2,y2,x3,y3,col1,col2,col3,outline)
draw_circle_color(x,y,r,col1,col2,outline)
draw_ellipse_color(x1,y1,x2,y2,col1,col2,outline)
pr_pointlist#
pr_linelist#
pr_linestrip#
pr_trianglelist#
pr_trianglestrip#
pr_trianglefan#
draw_primitive_begin(kind)
draw_vertex(x,y)
draw_vertex_color(x,y,col,alpha)
draw_primitive_end()
sprite_get_texture(spr,subimg)
background_get_texture(back)
texture_preload(texid)
texture_set_priority(texid,prio)
texture_get_width(texid)
texture_get_height(texid)
draw_primitive_begin_texture(kind,texid)
draw_vertex_texture(x,y,xtex,ytex)
draw_vertex_texture_color(x,y,xtex,ytex,col,alpha)
texture_set_interpolation(linear)
texture_set_blending(blend)
texture_set_repeat(repeat)
draw_set_blend_mode(mode)
draw_set_blend_mode_ext(src,dest)
bm_normal#
bm_add#
bm_max#
bm_subtract#
bm_zero#
bm_one#
bm_src_color#
bm_inv_src_color#
bm_src_alpha#
bm_inv_src_alpha#
bm_dest_alpha#
bm_inv_dest_alpha#
bm_dest_color#
bm_inv_dest_color#
bm_src_alpha_sat#

// section 5.7_1

surface_create(w,h)
surface_free(id)
surface_exists(id)
surface_get_width(id)
surface_get_height(id)
surface_get_texture(id)
surface_set_target(id)
surface_reset_target()
draw_surface(id,x,y)
draw_surface_stretched(id,x,y,w,h)
draw_surface_tiled(id,x,y)
draw_surface_part(id,left,top,width,height,x,y)
draw_surface_ext(id,x,y,xscale,yscale,rot,color,alpha)
draw_surface_stretched_ext(id,x,y,w,h,color,alpha)
draw_surface_tiled_ext(id,x,y,xscale,yscale,color,alpha)
draw_surface_part_ext(id,left,top,width,height,x,y,xscale,yscale,color,alpha)
draw_surface_general(id,left,top,width,height,x,y,xscale,yscale,rot,c1,c2,c3,c4,alpha)
surface_getpixel(id,x,y)
surface_save(id,fname)
surface_save_part(id,fname,x,y,w,h)
surface_copy(destination,x,y,source)
surface_copy_part(destination,x,y,source,xs,ys,ws,hs)

// section 5.7

tile_add(background,left,top,width,height,x,y,depth)
tile_delete(id)
tile_exists(id)
tile_get_x(id)
tile_get_y(id)
tile_get_left(id)
tile_get_top(id)
tile_get_width(id)
tile_get_height(id)
tile_get_depth(id)
tile_get_visible(id)
tile_get_xscale(id)
tile_get_yscale(id)
tile_get_background(id)
tile_get_blend(id)
tile_get_alpha(id)
tile_set_position(id,x,y)
tile_set_region(id,left,top,width,height)
tile_set_background(id,background)
tile_set_visible(id,visible)
tile_set_depth(id,depth)
tile_set_scale(id,xscale,yscale)
tile_set_blend(id,color)
tile_set_alpha(id,alpha)
tile_layer_hide(depth)
tile_layer_show(depth)
tile_layer_delete(depth)
tile_layer_shift(depth,x,y)
tile_layer_find(depth,x,y)
tile_layer_delete_at(depth,x,y)
tile_layer_depth(depth,newdepth)

// section 5.8

display_get_width()
display_get_height()
display_get_colordepth()
display_get_frequency()
display_set_size(w,h)
display_set_colordepth(coldepth)
display_set_frequency(frequency)
display_set_all(w,h,frequency,coldepth)
display_test_all(w,h,frequency,coldepth)
display_reset()
display_mouse_get_x()
display_mouse_get_y()
display_mouse_set(x,y)

// section 5.9

window_set_visible(visible)
window_get_visible()
window_set_fullscreen(full)
window_get_fullscreen()
window_set_showborder(show)
window_get_showborder()
window_set_showicons(show)
window_get_showicons()
window_set_stayontop(stay)
window_get_stayontop()
window_set_sizeable(sizeable)
window_get_sizeable()
window_set_caption(caption)
window_get_caption()
window_set_cursor(curs)
cr_default#
cr_none#
cr_arrow#
cr_cross#
cr_beam#
cr_size_nesw#
cr_size_ns#
cr_size_nwse#
cr_size_we#
cr_uparrow#
cr_hourglass#
cr_drag#
cr_nodrop#
cr_hsplit#
cr_vsplit#
cr_multidrag#
cr_sqlwait#
cr_no#
cr_appstart#
cr_help#
cr_handpoint#
cr_size_all#
window_get_cursor()
window_set_color(color)
window_get_color()
window_set_region_scale(scale,adaptwindow)
window_get_region_scale()
window_set_position(x,y)
window_set_size(w,h)
window_set_rectangle(x,y,w,h)
window_center()
window_default()
window_get_x()
window_get_y()
window_get_width()
window_get_height()
window_mouse_get_x()
window_mouse_get_y()
window_mouse_set(x,y)

// section 5.10

view_enabled
view_current*
view_visible[0..7]
view_xview[0..7]
view_yview[0..7]
view_wview[0..7]
view_hview[0..7]
view_xport[0..7]
view_yport[0..7]
view_wport[0..7]
view_hport[0..7]
view_angle[0..7]
view_hborder[0..7]
view_vborder[0..7]
view_hspeed[0..7]
view_vspeed[0..7]
view_object[0..7]
window_set_region_size(w,h,adaptwindow)
window_get_region_width()
window_get_region_height()
window_view_mouse_get_x(id)
window_view_mouse_get_y(id)
window_view_mouse_set(id,x,y)
window_views_mouse_get_x()
window_views_mouse_get_y()
window_views_mouse_set(x,y)

// section 5.11

screen_redraw()
screen_refresh()
screen_wait_vsync()
set_automatic_draw(value)
set_synchronization(value)


//////////////
// Chapter 406
//////////////

// section 6.1

sound_play(index)
sound_loop(index)
sound_stop(index)
sound_stop_all()
sound_isplaying(index)
sound_volume(index,value)
sound_global_volume(value)
sound_fade(index,value,time)
sound_pan(index,value)
sound_background_tempo(factor)
sound_set_search_directory(dir)

// section 6.2

se_none#
se_chorus#
se_echo#
se_flanger#
se_gargle#
se_reverb#
se_compressor#
se_equalizer#
sound_effect_set(snd,effect)
sound_effect_chorus(snd,wetdry,depth,feedback,frequency,wave,delay,phase)
sound_effect_echo(snd,wetdry,feedback,leftdelay,rightdelay,pandelay)
sound_effect_flanger(snd,wetdry,depth,feedback,frequency,wave,delay,phase)
sound_effect_gargle(snd,rate,wave)
sound_effect_reverb(snd,gain,mix,time,ratio)
sound_effect_compressor(snd,gain,attack,release,threshold,ratio,delay)
sound_effect_equalizer(snd,center,bandwidth,gain)

// section 6.3

sound_3d_set_sound_position(snd,x,y,z)
sound_3d_set_sound_velocity(snd,x,y,z)
sound_3d_set_sound_distance(snd,mindist,maxdist)
sound_3d_set_sound_cone(snd,x,y,z,anglein,angleout,voloutside)
//sound_3d_set_distance_factor(snd,factor)
//sound_3d_set_rolloff_factor(snd,factor)
//sound_3d_set_doppler_factor(snd,factor)
//sound_3d_set_listener_position(snd,x,y,z)
//sound_3d_set_listener_velocity(snd,x,y,z)
//sound_3d_set_listener_orientation(snd,xf,yf,zf,xt,yt,zt)

// section 6.4

cd_init()
cd_present()
cd_number()
cd_playing()
cd_paused()
cd_track()
cd_length()
cd_track_length(n)
cd_position()
cd_track_position()
cd_play(first,last)
cd_stop()
cd_pause()
cd_resume()
cd_set_position(pos)
cd_set_track_position(pos)
cd_open_door()
cd_close_door()
MCI_command(str)


//////////////
// Chapter 407
//////////////

// section 7.1

splash_show_video(fname,loop)
splash_show_text(fname,delay)
splash_show_web(url,delay)
splash_show_image(fname,delay)
splash_set_caption(cap)
splash_set_fullscreen(full)
splash_set_border(border)
splash_set_size(w,h)
splash_set_position(x,y)
splash_set_adapt(adapt)
splash_set_top(top)
splash_set_color(col)
splash_set_main(main)
splash_set_scale(scale)
splash_set_cursor(vis)
splash_set_interrupt(interrupt)
splash_set_stop_key(stop)
splash_set_stop_mouse(stop)
splash_set_close_button(show)
show_info()
load_info(fname)

// section 7.2

show_message(str)
show_message_ext(str,but1,but2,but3)
show_question(str)
get_integer(str,def)
get_string(str,def)
message_background(back)
message_button(sprite)
message_alpha(alpha)
message_text_font(name,size,color,style)
message_button_font(name,size,color,style)
message_input_font(name,size,color,style)
message_mouse_color(col)
message_input_color(col)
message_position(x,y)
message_size(w,h)
message_caption(show,str)
show_menu(str,def)
show_menu_pos(x,y,str,def)
get_color(defcol)
get_open_filename(filter,fname)
get_save_filename(filter,fname)
get_directory(dname)
get_directory_alt(capt,root)
show_error(str,abort)

// section 7.3

highscore_show_ext(numb,back,border,col1,col2,name,size)
highscore_show(numb)
highscore_set_background(back);
highscore_set_border(show);
highscore_set_font(name,size,style);
highscore_set_strings(caption,nobody,escape);
highscore_set_colors(back,new,other);
highscore_clear()
highscore_add(str,numb)
highscore_add_current()
highscore_value(place)
highscore_name(place)
draw_highscore(x1,y1,x2,y2)


//////////////
// Chapter 408
//////////////

// section 8.1

sprite_exists(ind)
sprite_get_name(ind)
sprite_get_number(ind)
sprite_get_width(ind)
sprite_get_height(ind)
sprite_get_xoffset(ind)
sprite_get_yoffset(ind)
sprite_get_bbox_left(ind)
sprite_get_bbox_right(ind)
sprite_get_bbox_top(ind)
sprite_get_bbox_bottom(ind)

sprite_save(ind,subimg,fname)
sprite_save_strip(ind,fname)

// section 8.2

sound_exists(ind)
sound_get_name(ind)
sound_get_kind(ind)
sound_get_preload(ind)
sound_discard(ind)
sound_restore(ind)

// section 8.3

background_exists(ind)
background_get_name(ind)
background_get_width(ind)
background_get_height(ind)

background_save(ind,fname)


// section 8.4

font_exists(ind)
font_get_name(ind)
font_get_fontname(ind)
font_get_bold(ind)
font_get_italic(ind)
font_get_first(ind)
font_get_last(ind)

// section 8.5

path_exists(ind)
path_get_name(ind)
path_get_length(ind)
path_get_kind(ind)
path_get_closed(ind)
path_get_precision(ind)
path_get_number(ind)
path_get_point_x(ind,n)
path_get_point_y(ind,n)
path_get_point_speed(ind,n)
path_get_x(ind,pos)
path_get_y(ind,pos)
path_get_speed(ind,pos)

// section 8.6

script_exists(ind)
script_get_name(ind)
script_get_text(ind)

// section 8.7

timeline_exists(ind)
timeline_get_name(ind)

// section 8.8

object_exists(ind)
object_get_name(ind)
object_get_sprite(ind)
object_get_solid(ind)
object_get_visible(ind)
object_get_depth(ind)
object_get_persistent(ind)
object_get_mask(ind)
object_get_parent(ind)
object_is_ancestor(ind1,ind2)

// section 8.9

room_exists(ind)
room_get_name(ind)

//////////////
// Chapter 409
//////////////

// section 9.1

sprite_set_offset(ind,xoff,yoff)
sprite_duplicate(ind)
sprite_assign(ind,source)
sprite_merge(ind1,ind2)
sprite_add(fname,imgnumb,removeback,smooth,xorig,yorig)
sprite_replace(ind,fname,imgnumb,removeback,smooth,xorig,yorig)
sprite_add_sprite(fname)
sprite_replace_sprite(ind,fname)
sprite_create_from_screen(x,y,w,h,removeback,smooth,xorig,yorig)
sprite_add_from_screen(ind,x,y,w,h,removeback,smooth)
sprite_create_from_surface(id,x,y,w,h,removeback,smooth,xorig,yorig)
sprite_add_from_surface(ind,id,x,y,w,h,removeback,smooth)
sprite_delete(ind)
sprite_set_alpha_from_sprite(ind,spr)
sprite_collision_mask(ind,sepmasks,bboxmode,bbleft,bbright,bbtop,bbbottom,kind,tolerance)

// section 9.2

sound_add(fname,kind,preload)
sound_replace(ind,fname,kind,preload)
sound_delete(ind)

// section 9.3

background_duplicate(ind)
background_assign(ind,source)
background_add(fname,removeback,smooth)
background_replace(ind,fname,removeback,smooth)
background_add_background(fname)
background_replace_background(ind,fname)
background_create_color(w,h,col)
background_create_gradient(w,h,col1,col2,kind)
background_create_from_screen(x,y,w,h,removeback,smooth)
background_create_from_surface(id,x,y,w,h,removeback,smooth)
background_delete(ind)
background_set_alpha_from_background(ind,back)

// section 9.4

font_add(name,size,bold,italic,first,last)
font_add_sprite(spr,first,prop,sep)
font_replace(ind,name,size,bold,italic,first,last)
font_replace_sprite(ind,spr,first,prop,sep)
font_delete(ind)

// section 9.5

path_set_kind(ind,kind)
path_set_closed(ind,closed)
path_set_precision(ind,prec)
path_add()
path_assign(ind,path)
path_duplicate(ind)
path_append(ind,path)
path_delete(ind)
path_add_point(ind,x,y,speed)
path_insert_point(ind,n,x,y,speed)
path_change_point(ind,n,x,y,speed)
path_delete_point(ind,n)
path_clear_points(ind)
path_reverse(ind)
path_mirror(ind)
path_flip(ind)
path_rotate(ind,angle)
path_scale(ind,xscale,yscale)
path_shift(ind,xshift,yshift)

// section 9.6

execute_string(str,arg0,arg1,...)
execute_file(fname,arg0,arg1,...)
script_execute(ind,arg0,arg1,...)

// section 9.7

timeline_add()
timeline_delete(ind)
timeline_clear(ind)
timeline_moment_clear(ind,step)
timeline_moment_add(ind,step,codestr)

// section 9.8

object_set_sprite(ind,spr)
object_set_solid(ind,solid)
object_set_visible(ind,vis)
object_set_depth(ind,depth)
object_set_persistent(ind,pers)
object_set_mask(ind,spr)
object_set_parent(ind,obj)
object_add()
object_delete(ind)
object_event_clear(ind,evtype,evnumb)
object_event_add(ind,evtype,evnumb,codestr)

// section 9.9

room_set_width(ind,w)
room_set_height(ind,h)
room_set_caption(ind,str)
room_set_persistent(ind,pers)
room_set_code(ind,codestr)
room_set_background_color(ind,col,show)
room_set_background(ind,bind,vis,fore,back,x,y,htiled,vtiled,hspeed,vspeed,alpha)
room_set_view(ind,vind,vis,xview,yview,wview,hview,xport,yport,wport,hport,hborder,vborder,hspeed,vspeed,obj)
room_set_view_enabled(ind,val)
room_add()
room_duplicate(ind)
room_assign(ind,source)
room_instance_add(ind,x,y,obj)
room_instance_clear(ind)
room_tile_add(ind,back,left,top,width,height,x,y,depth)
room_tile_add_ext(ind,back,left,top,width,height,x,y,depth,xscale,yscale,alpha)
room_tile_clear(ind)



//////////////
// Chapter 410
//////////////

// section 10.1

file_text_open_read(fname)
file_text_open_write(fname)
file_text_open_append(fname)
file_text_close(file)
file_text_write_string(file,str)
file_text_write_real(file,val)
file_text_writeln(file)
file_text_read_string(file)
file_text_read_real(file)
file_text_readln(file)
file_text_eof(file)
file_text_eoln(file)
file_exists(fname)
file_delete(fname)
file_rename(oldname,newname)
file_copy(fname,newname)
directory_exists(dname)
directory_create(dname)
file_find_first(mask,attr)
file_find_next()
file_find_close()
file_attributes(fname,attr)
filename_name(fname)
filename_path(fname)
filename_dir(fname)
filename_drive(fname)
filename_ext(fname)
filename_change_ext(fname,newext)
file_bin_open(fname,mode)
file_bin_rewrite(file)
file_bin_close(file)
file_bin_position(file)
file_bin_size(file)
file_bin_seek(file,pos)
file_bin_write_byte(file,byte)
file_bin_read_byte(file)
export_include_file(fname)
export_include_file_location(fname,location)
discard_include_file(fname)
parameter_count()
parameter_string(n)
environment_get_variable(name)
fa_readonly#
fa_hidden#
fa_sysfile#
fa_volumeid#
fa_directory#
fa_archive#
game_id*
working_directory*
temp_directory*
program_directory*
disk_free(drive)
disk_size(drive)

// section 10.2

registry_write_string(name,str)
registry_write_real(name,value)
registry_read_string(name)
registry_read_real(name)
registry_exists(name)
registry_write_string_ext(key,name,str)
registry_write_real_ext(key,name,value)
registry_read_string_ext(key,name)
registry_read_real_ext(key,name)
registry_exists_ext(key,name)
registry_set_root(root)

// section 10.3

ini_open(fname)
ini_close()
ini_read_string(section,key,default)
ini_read_real(section,key,default)
ini_write_string(section,key,str)
ini_write_real(section,key,value)
ini_key_exists(section,key)
ini_section_exists(section)
ini_key_delete(section,key)
ini_section_delete(section)

// section 10.4

execute_program(prog,arg,wait)
execute_shell(prog,arg)
secure_mode*




//////////////
// Chapter 411
//////////////

// section 11.0

ds_set_precision(prec)

// section 11.1

ds_stack_create()
ds_stack_destroy(id)
ds_stack_clear(id)
ds_stack_copy(id,source)
ds_stack_size(id)
ds_stack_empty(id)
ds_stack_push(id,value)
ds_stack_pop(id)
ds_stack_top(id)
ds_stack_write(id)
ds_stack_read(id,str)

// section 11.2

ds_queue_create()
ds_queue_destroy(id)
ds_queue_clear(id)
ds_queue_copy(id,source)
ds_queue_size(id)
ds_queue_empty(id)
ds_queue_enqueue(id,value)
ds_queue_dequeue(id)
ds_queue_head(id)
ds_queue_tail(id)
ds_queue_write(id)
ds_queue_read(id,str)

// section 11.3

ds_list_create()
ds_list_destroy(id)
ds_list_clear(id)
ds_list_copy(id,source)
ds_list_size(id)
ds_list_empty(id)
ds_list_add(id,value)
ds_list_insert(id,pos,value)
ds_list_replace(id,pos,value)
ds_list_delete(id,pos)
ds_list_find_index(id,value)
ds_list_find_value(id,pos)
ds_list_sort(id,ascending)
ds_list_shuffle(id)
ds_list_write(id)
ds_list_read(id,str)

// section 11.4

ds_map_create()
ds_map_destroy(id)
ds_map_clear(id)
ds_map_copy(id,source)
ds_map_size(id)
ds_map_empty(id)
ds_map_add(id,key,value)
ds_map_replace(id,key,value)
ds_map_delete(id,key)
ds_map_exists(id,key)
ds_map_find_value(id,key)
ds_map_find_previous(id,key)
ds_map_find_next(id,key)
ds_map_find_first(id)
ds_map_find_last(id)
ds_map_write(id)
ds_map_read(id,str)

// section 11.5

ds_priority_create()
ds_priority_destroy(id)
ds_priority_clear(id)
ds_priority_copy(id,source)
ds_priority_size(id)
ds_priority_empty(id)
ds_priority_add(id,value,priority)
ds_priority_change_priority(id,value,priority)
ds_priority_find_priority(id,value)
ds_priority_delete_value(id,value)
ds_priority_delete_min(id)
ds_priority_find_min(id)
ds_priority_delete_max(id)
ds_priority_find_max(id)
ds_priority_write(id)
ds_priority_read(id,str)

// section 11.6

ds_grid_create(w,h)
ds_grid_destroy(id)
ds_grid_copy(id,source)
ds_grid_resize(id,w,h)
ds_grid_width(id)
ds_grid_height(id)
ds_grid_clear(id,val)
ds_grid_set(id,x,y,val)
ds_grid_add(id,x,y,val)
ds_grid_multiply(id,x,y,val)
ds_grid_set_region(id,x1,y1,x2,y2,val)
ds_grid_add_region(id,x1,y1,x2,y2,val)
ds_grid_multiply_region(id,x1,y1,x2,y2,val)
ds_grid_set_disk(id,xm,ym,r,val)
ds_grid_add_disk(id,xm,ym,r,val)
ds_grid_multiply_disk(id,xm,ym,r,val)
ds_grid_set_grid_region(id,source,x1,y1,x2,y2,xpos,ypos)
ds_grid_add_grid_region(id,source,x1,y1,x2,y2,xpos,ypos)
ds_grid_multiply_grid_region(id,source,x1,y1,x2,y2,xpos,ypos)
ds_grid_get(id,x,y)
ds_grid_get_sum(id,x1,y1,x2,y2)
ds_grid_get_max(id,x1,y1,x2,y2)
ds_grid_get_min(id,x1,y1,x2,y2)
ds_grid_get_mean(id,x1,y1,x2,y2)
ds_grid_get_disk_sum(id,xm,ym,r)
ds_grid_get_disk_min(id,xm,ym,r)
ds_grid_get_disk_max(id,xm,ym,r)
ds_grid_get_disk_mean(id,xm,ym,r)
ds_grid_value_exists(id,x1,y1,x2,y2,val)
ds_grid_value_x(id,x1,y1,x2,y2,val)
ds_grid_value_y(id,x1,y1,x2,y2,val)
ds_grid_value_disk_exists(id,xm,ym,r,val)
ds_grid_value_disk_x(id,xm,ym,r,val)
ds_grid_value_disk_y(id,xm,ym,r,val)
ds_grid_shuffle(id)
ds_grid_write(id)
ds_grid_read(id,str)

//////////////
// Chapter 412
//////////////

// section 12.1a

effect_create_below(kind,x,y,size,color)
effect_create_above(kind,x,y,size,color)
effect_clear()
ef_explosion#
ef_ring#
ef_ellipse#
ef_firework#
ef_smoke#
ef_smokeup#
ef_star#
ef_spark#
ef_flare#
ef_cloud#
ef_rain#
ef_snow#

// section 12.1

part_type_create()
part_type_destroy(ind)
part_type_exists(ind)
part_type_clear(ind)
part_type_shape(ind,shape)
part_type_sprite(ind,sprite,animat,stretch,random)
part_type_size(ind,size_min,size_max,size_incr,size_wiggle)
part_type_scale(ind,xscale,yscale)
part_type_orientation(ind,ang_min,ang_max,ang_incr,ang_wiggle,ang_relative)
part_type_life(ind,life_min,life_max)
part_type_step(ind,step_number,step_type)
part_type_death(ind,death_number,death_type)
part_type_speed(ind,speed_min,speed_max,speed_incr,speed_wiggle)
part_type_direction(ind,dir_min,dir_max,dir_incr,dir_wiggle)
part_type_gravity(ind,grav_amount,grav_dir)
part_type_color1(ind,color1)
part_type_color2(ind,color1,color2)
part_type_color3(ind,color1,color2,color3)
part_type_color_mix(ind,color1,color2)
part_type_color_rgb(ind,rmin,rmax,gmin,gmax,bmin,bmax)
part_type_color_hsv(ind,hmin,hmax,smin,smax,vmin,vmax)
part_type_alpha1(ind,alpha1)
part_type_alpha2(ind,alpha1,alpha2)
part_type_alpha3(ind,alpha1,alpha2,alpha3)
part_type_blend(ind,additive)
pt_shape_pixel#
pt_shape_disk#
pt_shape_square#
pt_shape_line#
pt_shape_star#
pt_shape_circle#
pt_shape_ring#
pt_shape_sphere#
pt_shape_flare#
pt_shape_spark#
pt_shape_explosion#
pt_shape_cloud#
pt_shape_smoke#
pt_shape_snow#

// section 12.2

part_system_create()
part_system_destroy(ind)
part_system_exists(ind)
part_system_clear(ind)
part_system_draw_order(ind,oldtonew)
part_system_depth(ind,depth)
part_system_position(ind,x,y)
part_system_automatic_update(ind,automatic)
part_system_automatic_draw(ind,draw)
part_system_update(ind)
part_system_drawit(ind)

part_particles_create(ind,x,y,parttype,number)
part_particles_create_color(ind,x,y,parttype,color,number)
part_particles_clear(ind)
part_particles_count(ind)

// section 12.3

part_emitter_create(ps)
part_emitter_destroy(ps,ind)
part_emitter_destroy_all(ps)
part_emitter_exists(ps,ind)
part_emitter_clear(ps,ind)
part_emitter_region(ps,ind,xmin,xmax,ymin,ymax,shape,distribution)
part_emitter_burst(ps,ind,parttype,number)
part_emitter_stream(ps,ind,parttype,number)
ps_distr_linear#
ps_distr_gaussian#
ps_distr_invgaussian#
ps_shape_rectangle#
ps_shape_ellipse#
ps_shape_diamond#
ps_shape_line#

// section 12.4

part_attractor_create(ps)
part_attractor_destroy(ps,ind)
part_attractor_destroy_all(ps)
part_attractor_exists(ps,ind)
part_attractor_clear(ps,ind)
part_attractor_position(ps,ind,x,y)
part_attractor_force(ps,ind,force,dist,kind,additive)
ps_force_constant#
ps_force_linear#
ps_force_quadratic#

// section 12.5

part_destroyer_create(ps)
part_destroyer_destroy(ps,ind)
part_destroyer_destroy_all(ps)
part_destroyer_exists(ps,ind)
part_destroyer_clear(ps,ind)
part_destroyer_region(ps,ind,xmin,xmax,ymin,ymax,shape)

// section 12.6

part_deflector_create(ps)
part_deflector_destroy(ps,ind)
part_deflector_destroy_all(ps)
part_deflector_exists(ps,ind)
part_deflector_clear(ps,ind)
part_deflector_region(ps,ind,xmin,xmax,ymin,ymax)
part_deflector_kind(ps,ind,kind)
part_deflector_friction(ps,ind,amount)
ps_deflect_vertical#
ps_deflect_horizontal#

// section 12.7

part_changer_create(ps)
part_changer_destroy(ps,ind)
part_changer_destroy_all(ps)
part_changer_exists(ps,ind)
part_changer_clear(ps,ind)
part_changer_region(ps,ind,xmin,xmax,ymin,ymax,shape)
part_changer_kind(ps,ind,kind)
part_changer_types(ps,ind,parttype1,parttype2)
ps_change_all#
ps_change_shape#
ps_change_motion#

//////////////
// Chapter 413
//////////////

// section 13.1

mplay_init_ipx()
mplay_init_tcpip(addrstring)
mplay_init_modem(initstr,phonenr)
mplay_init_serial(portno,baudrate,stopbits,parity,flow)
mplay_connect_status()
mplay_end()
mplay_ipaddress()

// section 13.2

mplay_session_mode(move)
mplay_session_create(sesname,playnumb,playername)
mplay_session_find()
mplay_session_name(numb)
mplay_session_join(numb,playername)
mplay_session_status()
mplay_session_end()

// section 13.3

mplay_player_find()
mplay_player_name(numb)
mplay_player_id(numb)

// section 13.4

mplay_data_write(ind,value)
mplay_data_read(ind)
mplay_data_mode(guaranteed)

// section 13.5

mplay_message_send(player,id,val)
mplay_message_send_guaranteed(player,id,val)
mplay_message_receive(player)
mplay_message_id()
mplay_message_value()
mplay_message_player()
mplay_message_name()
mplay_message_count(player)
mplay_message_clear(player)
//////////////
// Chapter 414
//////////////

external_call(id,arg1,arg2,...)
external_define(dll,name,calltype,restype,argnumb,arg1type,arg2type,...)
external_free(dllname)
window_handle()
ty_real#
ty_string#
dll_cdecl#
dll_stdcall#
//////////////
// Chapter 415
//////////////

d3d_start()
d3d_end()
d3d_set_hidden(enable)
d3d_set_perspective(enable)
d3d_set_depth(depth)
d3d_primitive_begin(kind)
d3d_vertex(x,y,z)
d3d_vertex_color(x,y,z,col,alpha)
d3d_primitive_end()
d3d_primitive_begin_texture(kind,texid)
d3d_vertex_texture(x,y,z,xtex,ytex)
d3d_vertex_texture_color(x,y,z,xtex,ytex,col,alpha)
d3d_draw_block(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat)
d3d_draw_cylinder(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat,closed,steps)
d3d_draw_cone(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat,closed,steps)
d3d_draw_ellipsoid(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat,steps)
d3d_draw_wall(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat)
d3d_draw_floor(x1,y1,z1,x2,y2,z2,texid,hrepeat,vrepeat)
d3d_set_projection(xfrom,yfrom,zfrom,xto,yto,zto,xup,yup,zup)
d3d_set_projection_ext(xfrom,yfrom,zfrom,xto,yto,zto,xup,yup,zup,angle,aspect,znear,zfar)
d3d_set_projection_ortho(x,y,w,h,angle)
d3d_set_projection_perspective(x,y,w,h,angle)
d3d_transform_set_identity()
d3d_transform_set_translation(xt,yt,zt)
d3d_transform_set_scaling(xs,ys,zs)
d3d_transform_set_rotation_x(angle)
d3d_transform_set_rotation_y(angle)
d3d_transform_set_rotation_z(angle)
d3d_transform_set_rotation_axis(xa,ya,za,angle)
d3d_transform_add_translation(xt,yt,zt)
d3d_transform_add_scaling(xs,ys,zs)
d3d_transform_add_rotation_x(angle)
d3d_transform_add_rotation_y(angle)
d3d_transform_add_rotation_z(angle)
d3d_transform_add_rotation_axis(xa,ya,za,angle)
d3d_transform_stack_clear()
d3d_transform_stack_empty()
d3d_transform_stack_push()
d3d_transform_stack_pop()
d3d_transform_stack_top()
d3d_transform_stack_discard()
d3d_set_fog(enable,color,start,end)
d3d_set_lighting(enable)
d3d_set_shading(smooth)
d3d_set_culling(cull)
d3d_light_define_direction(ind,dx,dy,dz,col)
d3d_light_define_point(ind,x,y,z,range,col)
d3d_light_enable(ind,enable)
d3d_vertex_normal(x,y,z,nx,ny,nz)
d3d_vertex_normal_color(x,y,z,nx,ny,nz,col,alpha)
d3d_vertex_normal_texture(x,y,z,nx,ny,nz,xtex,ytex)
d3d_vertex_normal_texture_color(x,y,z,nx,ny,nz,xtex,ytex,col,alpha)

d3d_model_create()
d3d_model_destroy(ind)
d3d_model_clear(ind)
d3d_model_save(ind,fname)
d3d_model_load(ind,fname)
d3d_model_draw(ind,x,y,z,texid)

d3d_model_primitive_begin(ind,kind)
d3d_model_vertex(ind,x,y,z)
d3d_model_vertex_color(ind,x,y,z,col,alpha)
d3d_model_vertex_texture(ind,x,y,z,xtex,ytex)
d3d_model_vertex_texture_color(ind,x,y,z,xtex,ytex,col,alpha)
d3d_model_vertex_normal(ind,x,y,z,nx,ny,nz)
d3d_model_vertex_normal_color(ind,x,y,z,nx,ny,nz,col,alpha)
d3d_model_vertex_normal_texture(ind,x,y,z,nx,ny,nz,xtex,ytex)
d3d_model_vertex_normal_texture_color(ind,x,y,z,nx,ny,nz,xtex,ytex,col,alpha)
d3d_model_primitive_end(ind)

d3d_model_block(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat)
d3d_model_cylinder(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat,closed,steps)
d3d_model_cone(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat,closed,steps)
d3d_model_ellipsoid(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat,steps)
d3d_model_wall(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat)
d3d_model_floor(ind,x1,y1,z1,x2,y2,z2,hrepeat,vrepeat)

O outro é o snippets, que pode ser alterado pelos usuários.
Eu fui procurar a API e encontrei ele. Pra usar ele na edição de scripts, você só precisa pressionar a tecla F2 e assim, uma lista de 0 a 9 funções pré prontas são exibidas e se você escolher qualquer uma delas, é montado no editor o esqueleto da função. Tive a ideia de pôr as minhas funções que eu mais uso, assim não precisaria ficar escrevendo por muito tempo.
Segue a lista abaixo:
Código:
1 - block:{#    |STATEMENT|;#}#
2 - if:if (|CONDITION|)#{#    STATEMENT;#};#
3 - if-else:if (|CONDITION|)#{#    STATEMENT;#}#else#{#    STATEMENT;#};#
4 - for:for (|INITIALISATION|; CONDITION; INCREMENT)#{#    STATEMENT;#};#
5 - for i:for (i=0; i<|CONDITION|; i+=1)#{#    STATEMENT;#};#
6 - while:while (|CONDITION|)#{#    STATEMENT;#};#
7 - do:do#{#    |STATEMENT|;#}#until (CONDITION);#
8 - repeat:repeat (|EXPRESSION|)#{#    STATEMENT;#};#
9 - switch:switch (|EXPRESSION|)#{#    case EXPRESSION: STATEMENT; break;#    default: STATEMENT;#}#
0 - with:with (|EXPRESSION|)#{#    STATEMENT;#};# 
comment:// |TEXT|
multiline comment:/***************************************************#  |TEXT|# ***************************************************/

Eu achei boa a ideia de editar esse arquivo a final, ele só serve pra montar uma função sem nada dentro.
Espero que essas informações ajude alguém. :|

Shadow10

Ranking : Nota C
Número de Mensagens : 429
Data de inscrição : 07/11/2010
Notas recebidas : C
Reputação : 19
Insignia 1 x 0 Insignia 2 x 0 Insignia 3 x 0
Prêmios
   : 0
   : 0
   : 0

Voltar ao Topo Ir em baixo

Re: API do GML???

Mensagem por Conteúdo patrocinado Hoje à(s) 00:28


Conteúdo patrocinado


Voltar ao Topo Ir em baixo

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo


 
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum