/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tvcpu
  typedef gx_tbase
  typedef gx_tmodel
  typedef gx_tskin
  typedef gx_tcomponent
  typedef gx_tphysic
  typedef gx_tautomat
  typedef gx_tmatrix
  typedef gx_teventbox
  typedef gx_tbasemessage
endgroup

/* -------- */
/* gx_actor */
/* -------- */
group gx_actor
  typedef gx_tactor
  classtype gx_actor,gx_tactor

  define gx_actor_checkactorvisible_cone,0x1
  define gx_actor_checkactorvisible_ray,0x2

  declarexfunction int,gx_actor_ginstall,nothing
  declarexfunction void,gx_actor_getparentclass,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setparentclass,gx_tactor,ptr_tactor,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tactor,gx_actor_new,nothing
  declarexfunction gx_tactor,gx_actor_load,gx_tbase,ptr_tbase,string,filename
  declarexfunction gx_tactor,gx_actor_loadchunk,gx_tbase,ptr_tbase,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_actor_save,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,string,filename
  declarexfunction int,gx_actor_savechunk,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,int,filenum
  declarexfunction gx_tactor,gx_actor_loadgxml,gx_tbase,ptr_tbase,string,filename
  declarexfunction gx_tactor,gx_actor_loadgxmlchunk,gx_tbase,ptr_tbase,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_actor_savegxml,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,string,filename
  declarexfunction int,gx_actor_savegxmlchunk,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,int,filenum
  declarexfunction gx_tactor,gx_actor_loadall,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_actor_saveall,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,string,filename
  declarexfunction nothing,gx_actor_free,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_addref,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getref,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_install,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_uninstall,gx_tactor,ptr_tactor
  declarexfunction string,gx_actor_getname,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setname,gx_tactor,ptr_tactor,string,name
  declarexfunction int,gx_actor_getmodelindex,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setmodelindex,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,int,model
  declarexfunction string,gx_actor_getmodelname,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setnamedmodel,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,string,modelname
  declarexfunction gx_tvcpu,gx_actor_getclass,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setclass,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu
  declarexfunction string,gx_actor_getclassname,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setclassname,gx_tactor,ptr_tactor,string,classname
  declarexfunction int,gx_actor_insertclass,gx_tactor,ptr_tactor,string,name
  declarexfunction nothing,gx_actor_deleteindexedclass,gx_tactor,ptr_tactor,int,index
  declarexfunction int,gx_actor_getnbclass,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getnamedclassindex,gx_tactor,ptr_tactor,string,name
  declarexfunction int,gx_actor_getclassindex,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu
  declarexfunction gx_tvcpu,gx_actor_getindexedclass,gx_tactor,ptr_tactor,int,index
  declarexfunction nothing,gx_actor_setindexedclass,gx_tactor,ptr_tactor,int,index,gx_tvcpu,ptr_tvcpu
  declarexfunction string,gx_actor_getindexedclassname,gx_tactor,ptr_tactor,int,index
  declarexfunction nothing,gx_actor_setindexedclassname,gx_tactor,ptr_tactor,int,index,string,name
  declarexfunction gx_tmodel,gx_actor_getmodel,gx_tactor,ptr_tactor
  declarexfunction gx_tskin,gx_actor_getskin,gx_tactor,ptr_tactor
  declarexfunction gx_tcomponent,gx_actor_getcomponent,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setcomponent,gx_tactor,ptr_tactor,gx_tcomponent,ptr_tcomponent
  declarexfunction void,gx_actor_createautomat,gx_tactor,ptr_tactor
  declarexfunction gx_tphysic,gx_actor_getphysic,gx_tactor,ptr_tactor
  declarexfunction gx_tautomat,gx_actor_getptrautomat,gx_tactor,ptr_tactor
  declarexfunction void,gx_actor_createplayer,gx_tactor,ptr_tactor
  declarexfunction void,gx_actor_getuserpointer,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setuserpointer,gx_tactor,ptr_tactor,void,pointer
  declarexfunction nothing,gx_actor_insertcustommatrix,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_deletecustommatrix,gx_tactor,ptr_tactor
  declarexfunction gx_tmatrix,gx_actor_getcustommatrix,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getcurrentsector,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getdisplaystate,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setdisplayon,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setdisplayoff,gx_tactor,ptr_tactor
  declarexfunction float,gx_actor_getloddistance,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setloddistance,gx_tactor,ptr_tactor,float,distance
  declarexfunction int,gx_actor_getnbanim,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getcurrentanim,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getanimcount,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setanimcount,gx_tactor,ptr_tactor,int,count
  declarexfunction nothing,gx_actor_resetanimcount,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_randomanimcount,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setnextanim,gx_tactor,ptr_tactor,int,numanim
  declarexfunction nothing,gx_actor_pauseanim,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_resumeanim,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_isanimpaused,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getlastcount,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getblendanimcount,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getblendanimnumber,gx_tactor,ptr_tactor
  declarexfunction float,gx_actor_getblendanimfactor,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_gettimefactor,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_settimefactor,gx_tactor,ptr_tactor,int,factor
  declarexfunction int,gx_actor_getanimevent,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_resetanimevent,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enableblendanim,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_disableblendanim,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_isblendanim,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enableshadow,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_disableshadow,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_isshadowenabled,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getcameralink,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setcameralink,gx_tactor,ptr_tactor,int,flag
  declarexfunction nothing,gx_actor_getfirstpos,gx_tactor,ptr_tactor,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_actor_setfirstpos,gx_tactor,ptr_tactor,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_actor_getpos,gx_tactor,ptr_tactor,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_actor_setpos,gx_tactor,ptr_tactor,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_actor_resetpos,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_move,gx_tactor,ptr_tactor,float,vectorx,float,vectory,float,vectorz
  declarexfunction nothing,gx_actor_getfirstang,gx_tactor,ptr_tactor,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_actor_setfirstang,gx_tactor,ptr_tactor,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_actor_getang,gx_tactor,ptr_tactor,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_actor_setang,gx_tactor,ptr_tactor,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_actor_getrotation,gx_tactor,ptr_tactor,rint,rotx,rint,roty,rint,rotz
  declarexfunction nothing,gx_actor_setrotation,gx_tactor,ptr_tactor,int,rotx,int,roty,int,rotz
  declarexfunction nothing,gx_actor_addang,gx_tactor,ptr_tactor,int,angx,int,angy,int,angz
  declarexfunction int,gx_actor_interpolang,gx_tactor,ptr_tactor,int,angx,int,angy,int,angz,int,speedrot
  declarexfunction nothing,gx_actor_getheadang,gx_tactor,ptr_tactor,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_actor_setheadang,gx_tactor,ptr_tactor,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_actor_setcameratarget,gx_tactor,ptr_tactor,float,srcposx,float,srcposy,float,srcposz,float,dstposx,float,dstposy,float,dstposz,int,angz
  declarexfunction nothing,gx_actor_setcamerafollow,gx_tactor,ptr_tactor,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,float,height,float,distance
  declarexfunction int,gx_actor_getrendersequence,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setrendersequence,gx_tactor,ptr_tactor,int,sequence
  declarexfunction nothing,gx_actor_getcolcylinder,gx_tactor,ptr_tactor,rfloat,size,rfloat,radius
  declarexfunction nothing,gx_actor_setcolcylinder,gx_tactor,ptr_tactor,float,size,float,radius
  declarexfunction int,gx_actor_getcolcylinderid,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_setcolcylinderid,gx_tactor,ptr_tactor,int,id
  declarexfunction nothing,gx_actor_forcecollision,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enablecollision2d,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_disablecollision2d,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_iscollision2d,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enablecollision3d,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_disablecollision3d,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_iscollision3d,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enablenavmesh,gx_tactor,ptr_tactor,int,flag
  declarexfunction int,gx_actor_isnavmesh,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_enablecollisionactor,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_disablecollisionactor,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_iscollisionactor,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_testcol2d,gx_tactor,ptr_tactor,int,id,float,height,float,cylinderradius,float,sphereradius
  declarexfunction int,gx_actor_testcol3d,gx_tactor,ptr_tactor,int,id,float,radius
  declarexfunction nothing,gx_actor_getcol3dnorm,gx_tactor,ptr_tactor,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_actor_getlastcollision,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_getcolpos,gx_tactor,ptr_tactor,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_actor_setcolpos,gx_tactor,ptr_tactor,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_actor_getcolnorm,gx_tactor,ptr_tactor,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction nothing,gx_actor_setcolnorm,gx_tactor,ptr_tactor,float,normx,float,normy,float,normz
  declarexfunction int,gx_actor_recalecol2dactor,gx_tactor,ptr_tactor,gx_tactor,target_tactor
  declarexfunction int,gx_actor_testcol2dactor,gx_tactor,ptr_tactor,gx_tactor,target_tactor
  declarexfunction int,gx_actor_testeventbox,gx_tactor,ptr_tactor,gx_teventbox,ptr_teventbox,float,radius
  declarexfunction nothing,gx_actor_getboundingsize,gx_tactor,ptr_tactor,rfloat,sizex,rfloat,sizey,rfloat,sizez,rfloat,radius
  declarexfunction nothing,gx_actor_setboundingsize,gx_tactor,ptr_tactor,float,sizex,float,sizey,float,sizez,float,radius
  declarexfunction nothing,gx_actor_clonevar,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu
  declarexfunction void,gx_actor_getclonedvar,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_actor_freeclonedvar,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_actor_restoreallclonedvar,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu,int,index
  declarexfunction nothing,gx_actor_cloneallvar,gx_tactor,ptr_tactor,gx_tvcpu,ptr_tvcpu,int,index
  declarexfunction gx_tbasemessage,gx_actor_pushmessage,gx_tactor,ptr_tactor,int,type,int,priority,int,id
  declarexfunction int,gx_actor_getnbmessage,gx_tactor,ptr_tactor
  declarexfunction gx_tbasemessage,gx_actor_getnextmessage,gx_tactor,ptr_tactor,rint,type,rint,priority,rint,id
  declarexfunction int,gx_actor_readmessageint,gx_tbasemessage,ptr_tbasemessage,int,index
  declarexfunction float,gx_actor_readmessagefloat,gx_tbasemessage,ptr_tbasemessage,int,index
  declarexfunction long,gx_actor_readmessagelong,gx_tbasemessage,ptr_tbasemessage,int,index
  declarexfunction void,gx_actor_readmessagevoid,gx_tbasemessage,ptr_tbasemessage,int,index
  declarexfunction nothing,gx_actor_writemessageint,gx_tbasemessage,ptr_tbasemessage,int,index,int,value
  declarexfunction nothing,gx_actor_writemessagefloat,gx_tbasemessage,ptr_tbasemessage,int,index,float,value
  declarexfunction nothing,gx_actor_writemessagelong,gx_tbasemessage,ptr_tbasemessage,int,index,long,value
  declarexfunction nothing,gx_actor_writemessagevoid,gx_tbasemessage,ptr_tbasemessage,int,index,void,value
  declarexfunction int,gx_actor_popmessage,gx_tactor,ptr_tactor,int,id
  declarexfunction nothing,gx_actor_freemessage,gx_tactor,ptr_tactor,int,priority
  declarexfunction nothing,gx_actor_playsound,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor,string,filename,int,volume,int,pitch,float,distance,int,flag
  declarexfunction nothing,gx_actor_updatesound,gx_tactor,ptr_tactor,int,volume,int,pitch,float,distance
  declarexfunction nothing,gx_actor_stopsound,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_getsoundstate,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_actor_getvector3d,gx_tactor,ptr_tactor,rfloat,vectx,rfloat,vecty,rfloat,vectz
  declarexfunction nothing,gx_actor_transformvector2d,gx_tactor,ptr_tactor,rfloat,vectorx,rfloat,vectorz
  declarexfunction nothing,gx_actor_transformvector3d,gx_tactor,ptr_tactor,rfloat,vectorx,rfloat,vectory,rfloat,vectorz
  declarexfunction float,gx_actor_getcameradistance,gx_tactor,ptr_tactor
  declarexfunction float,gx_actor_getactordistance2d,gx_tactor,ptr_tactor,gx_tactor,ptr_tactor_target
  declarexfunction float,gx_actor_getactordistance3d,gx_tactor,ptr_tactor,gx_tactor,ptr_tactor_target
  declarexfunction nothing,gx_actor_getactorangdelta,gx_tactor,ptr_tactor,gx_tactor,ptr_tactor_target,rint,angx,rint,deltaangx,rint,angy,rint,deltaangy
  declarexfunction nothing,gx_actor_getangdelta,gx_tactor,ptr_tactor,float,posx,float,posy,float,posz,rint,angx,rint,deltaangx,rint,angy,rint,deltaangy
  declarexfunction nothing,gx_actor_computevisibility,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_isvisible,gx_tactor,ptr_tactor
  declarexfunction int,gx_actor_checkactorvisible,gx_tactor,ptr_tactor,gx_tactor,ptr_tactor_target,float,distancemin,float,distancemax,int,anglemax,float,headheight,float,targetheadheight,float,collisionradius,int,collisionid,int,flag
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbitmap
endgroup

/* ----------------- */
/* gx_animatedsprite */
/* ----------------- */
group gx_animatedsprite
  typedef gx_tanimatedsprite
  classtype gx_animatedsprite,gx_tanimatedsprite

  enum -1
    dim gx_animatedsprite_crunchauto,1
    dim gx_animatedsprite_crunchvideo8,1
    dim gx_animatedsprite_crunchvideo9,1
    dim gx_animatedsprite_crunchvideo10,1
  endenum

  declarexfunction int,gx_animatedsprite_ginstall,nothing
  declarexfunction void,gx_animatedsprite_getparentclass,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setparentclass,gx_tanimatedsprite,ptr_tanimatedsprite,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tanimatedsprite,gx_animatedsprite_new,nothing
  declarexfunction gx_tanimatedsprite,gx_animatedsprite_load,string,filename
  declarexfunction gx_tanimatedsprite,gx_animatedsprite_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_animatedsprite_save,gx_tanimatedsprite,ptr_tanimatedsprite,string,filename
  declarexfunction int,gx_animatedsprite_savechunk,gx_tanimatedsprite,ptr_tanimatedsprite,int,filenum
  declarexfunction nothing,gx_animatedsprite_free,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_addref,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction int,gx_animatedsprite_getref,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction gx_tanimatedsprite,gx_animatedsprite_copy,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction string,gx_animatedsprite_getname,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setname,gx_tanimatedsprite,ptr_tanimatedsprite,string,name
  declarexfunction int,gx_animatedsprite_getfreq,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setfreq,gx_tanimatedsprite,ptr_tanimatedsprite,int,freq
  declarexfunction int,gx_animatedsprite_isinverseanim,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setinverseanim,gx_tanimatedsprite,ptr_tanimatedsprite,int,flag
  declarexfunction nothing,gx_animatedsprite_initiate,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_manage,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction int,gx_animatedsprite_getcurrentcounter,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setcurrentcounter,gx_tanimatedsprite,ptr_tanimatedsprite,int,count
  declarexfunction int,gx_animatedsprite_getcurrentindex,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction nothing,gx_animatedsprite_setcurrentindex,gx_tanimatedsprite,ptr_tanimatedsprite,int,index
  declarexfunction int,gx_animatedsprite_islooped,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction gx_tbitmap,gx_animatedsprite_getcurrentbitmap,gx_tanimatedsprite,ptr_tanimatedsprite
  declarexfunction int,gx_animatedsprite_insertbitmap,gx_tanimatedsprite,ptr_tanimatedsprite,gx_tbitmap,ptr_tbitmap,int,crunch,int,quantization,int,flag
  declarexfunction int,gx_animatedsprite_getnbbitmap,gx_tanimatedsprite,ptr_tanimatedsprite
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tvcpu
  typedef gx_twbtexteditor
  typedef gx_tstream
endgroup

/* ----------- */
/* gx_antiryad */
/* ----------- */
group gx_antiryad
  typedef gx_tantiryad
  classtype gx_antiryad,gx_tantiryad

  define gx_antiryad_majorversion,0x89
  define gx_antiryad_majorversion_89,1
  define gx_antiryad_globalversion_8,1

  declarexfunction int,gx_antiryad_ginstall,nothing
  declarexfunction int,gx_antiryad_install,int,command
  declarexfunction nothing,gx_antiryad_uninstall,nothing
  declarexfunction string,gx_antiryad_getname,nothing
  declarexfunction int,gx_antiryad_getversion,nothing
  declarexfunction string,gx_antiryad_getstringversion,nothing
  declarexfunction string,gx_antiryad_getstringfullversion,nothing
  declarexfunction int,gx_antiryad_geteditormode,nothing
  declarexfunction nothing,gx_antiryad_seteditormode,int,mode
  declarexfunction string,gx_antiryad_getstartupdirectory,nothing
  declarexfunction string,gx_antiryad_getexecutabledirectory,nothing
  declarexfunction string,gx_antiryad_getinstalldirectory,nothing
  declarexfunction void,gx_antiryad_getfilebufferpointer,nothing
  declarexfunction int,gx_antiryad_getfilebuffersize,nothing
  declarexfunction nothing,gx_antiryad_display,nothing
  declarexfunction gx_twbtexteditor,gx_antiryad_getmaintexteditor,nothing
  declarexfunction nothing,gx_antiryad_setmaintexteditor,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_twbtexteditor,gx_antiryad_getdoctexteditor,nothing
  declarexfunction nothing,gx_antiryad_setdoctexteditor,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_antiryad_getdesktopflag,nothing
  declarexfunction nothing,gx_antiryad_setdesktopflag,int,flag
  declarexfunction nothing,gx_antiryad_enabledesktopflag,int,flag
  declarexfunction int,gx_antiryad_maininstall,nothing
  declarexfunction nothing,gx_antiryad_mainuninstall,nothing
  declarexfunction int,gx_antiryad_manage,nothing
  declarexfunction nothing,gx_antiryad_main,nothing
  declarexfunction int,gx_antiryad_command,string,command,int,flag
  declarexfunction nothing,gx_antiryad_terminalcommand,string,command
  declarexfunction nothing,gx_antiryad_updateoption,nothing
  declarexfunction nothing,gx_antiryad_option,nothing
  declarexfunction nothing,gx_antiryad_loadoption,nothing
  declarexfunction nothing,gx_antiryad_saveoption,nothing
  declarexfunction int,gx_antiryad_registeruserfile,string,filename,int,flag
  declarexfunction int,gx_antiryad_registeruser,int,flag
  declarexfunction int,gx_antiryad_checklicensekey,gx_tstream,ptr_tstream,int,flag
  declarexfunction int,gx_antiryad_getlicenseversion,nothing
  declarexfunction nothing,gx_antiryad_setlicenseversion,int,value
  declarexfunction int,gx_antiryad_ispureversion,nothing
  declarexfunction int,gx_antiryad_isltsversion,nothing
  declarexfunction int,gx_antiryad_isdevelopmentversion,nothing
  declarexfunction nothing,gx_antiryad_pluginload,nothing
  declarexfunction nothing,gx_antiryad_pluginclose,nothing
  declarexfunction int,gx_antiryad_pluginlaunch,string,label,string,type,rint,dresult,rfloat,fresult,rvoid,aresult
  declarexfunction nothing,gx_antiryad_loadstartupplugin,nothing
  declarexfunction nothing,gx_antiryad_insertplugin,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_antiryad_deleteplugin,int,index
  declarexfunction int,gx_antiryad_getnbplugin,nothing
  declarexfunction gx_tvcpu,gx_antiryad_getindexedplugin,int,index
  declarexfunction gx_tvcpu,gx_antiryad_getnamedplugin,string,name
  declarexfunction int,gx_antiryad_insertpluginmenu,string,mainmenuname,string,menuname,void,handle,int,resourcesymbol
  declarexfunction nothing,gx_antiryad_installengine,int,flag
  declarexfunction nothing,gx_antiryad_uninstallengine,nothing
  declarexfunction gx_tvcpu,gx_antiryad_loadgel,nothing
  declarexfunction nothing,gx_antiryad_rungel,string,labelname,rint,vardresult,rfloat,varfresult,rvoid,vararesult
  declarexfunction int,gx_antiryad_runagx,string,filename,int,mode
  declarexfunction nothing,gx_antiryad_executablecompiler,string,command,string,commandfile
  declarexfunction nothing,gx_antiryad_stringencryptor,nothing
  declarexfunction nothing,gx_antiryad_fileprocess,int,command,string,source,string,target,int,crypttype,string,password
  declarexfunction nothing,gx_antiryad_chunkviewer,string,filename
  declarexfunction nothing,gx_antiryad_warpgenerator,nothing
  declarexfunction nothing,gx_antiryad_benchmark,int,flag
  declarexfunction nothing,gx_antiryad_inputtester,nothing
  declarexfunction nothing,gx_antiryad_displayacknowledgment,nothing
  declarexfunction nothing,gx_antiryad_browsehelp,nothing
  declarexfunction nothing,gx_antiryad_checkforupdate,string,versionname,string,versionlink,string,downloadlink
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* -------- */
/* gx_array */
/* -------- */
group gx_array
  typedef gx_tarray
  classtype gx_array,gx_tarray

  enum 0
    dim gx_arraystdcallback_str,1
    dim gx_arraystdcallback_strcase,1
    dim gx_arraystdcallback_ptrstr,1
    dim gx_arraystdcallback_ptrstrcase,1
    dim gx_arraystdcallback_unicode,1
    dim gx_arraystdcallback_unicodecase,1
    dim gx_arraystdcallback_ptrunicode,1
    dim gx_arraystdcallback_ptrunicodecase,1
    dim gx_arraystdcallback_xstring,1
    dim gx_arraystdcallback_xstringcase,1
    dim gx_arraystdcallback_dsp,1
  endenum

  declarexfunction int,gx_array_ginstall,nothing
  declarexfunction nothing,gx_array_create,rint,nbcell,rvoid,pointer,int,size,int,nbblock
  declarexfunction nothing,gx_array_aquire,int,nbcell,rvoid,pointer,int,size
  declarexfunction nothing,gx_array_setnbcell,rint,nbcell,rvoid,pointer,int,size,int,nbblock
  declarexfunction nothing,gx_array_setnbcellnz,rint,nbcell,rvoid,pointer,int,size,int,nbblock
  declarexfunction void,gx_array_insertblock,rint,nbcell,rvoid,pointer,int,size,int,numcell,int,nbblock
  declarexfunction void,gx_array_insertblocknz,rint,nbcell,rvoid,pointer,int,size,int,numcell,int,nbblock
  declarexfunction void,gx_array_insertcell,rint,nbcell,rvoid,pointer,int,size,int,numcell
  declarexfunction void,gx_array_insertcellnz,rint,nbcell,rvoid,pointer,int,size,int,numcell
  declarexfunction void,gx_array_pushfront,rint,nbcell,rvoid,pointer,int,size
  declarexfunction void,gx_array_pushfrontnz,rint,nbcell,rvoid,pointer,int,size
  declarexfunction void,gx_array_push,rint,nbcell,rvoid,pointer,int,size
  declarexfunction void,gx_array_pushnz,rint,nbcell,rvoid,pointer,int,size
  declarexfunction void,gx_array_insertarray,rint,nbcell,rvoid,pointer,int,size,int,numcell,int,nbblock,void,ptrblock
  declarexfunction nothing,gx_array_deleteblock,rint,nbcell,rvoid,pointer,int,size,int,numcell,int,nbblock
  declarexfunction nothing,gx_array_deletecell,rint,nbcell,rvoid,pointer,int,size,int,numcell
  declarexfunction nothing,gx_array_fastdeletecell,rint,nbcell,rvoid,pointer,int,size,int,numcell
  declarexfunction nothing,gx_array_popfront,rint,nbcell,rvoid,pointer,int,size
  declarexfunction nothing,gx_array_pop,rint,nbcell,rvoid,pointer,int,size
  declarexfunction nothing,gx_array_copy,rint,nbcell,rvoid,pointer,int,size,int,nbblock,void,ptrblock
  declarexfunction nothing,gx_array_sort,int,nbcell,void,pointer,int,size,void,ptr_tarraysort,void,buffertmp,void,userpointer
  declarexfunction nothing,gx_array_stdsort,int,nbcell,void,pointer,int,size,int,type,void,buffertmp
  declarexfunction nothing,gx_array_bubblesort,int,nbcell,void,pointer,int,size,void,ptr_tarraysort,void,buffertmp,void,userpointer
  declarexfunction nothing,gx_array_stdbubblesort,int,nbcell,void,pointer,int,size,int,type,void,buffertmp
  declarexfunction void,gx_array_sortedsearch,int,nbcell,void,pointer,int,size,void,cmpcell,void,ptr_tarraysort,void,userpointer,rint,index
  declarexfunction void,gx_array_stdsortedsearch,int,nbcell,void,pointer,int,size,void,cmpcell,int,type,rint,index
  declarexfunction nothing,gx_array_free,rint,nbcell,rvoid,pointer
  declarexfunction void,gx_array_getcell,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction void,gx_array_dynamicgetcell,rint,nbcell,rvoid,pointer,int,size,int,numcell,int,offset
  declarexfunction void,gx_array_getcellfirst,int,nbcell,void,pointer,int,size,int,offset
  declarexfunction void,gx_array_getcellend,int,nbcell,void,pointer,int,size,int,offset
  declarexfunction int,gx_array_getcellindex,int,nbcell,void,pointer,int,size,void,cell
  declarexfunction int,gx_array_getcellbyte,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcellbyte,int,nbcell,void,pointer,int,size,int,numcell,int,offset,int,value
  declarexfunction int,gx_array_getcellubyte,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction int,gx_array_getcellshort,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcellshort,int,nbcell,void,pointer,int,size,int,numcell,int,offset,int,value
  declarexfunction int,gx_array_getcellushort,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction int,gx_array_getcellint,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcellint,int,nbcell,void,pointer,int,size,int,numcell,int,offset,int,value
  declarexfunction float,gx_array_getcellfloat,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcellfloat,int,nbcell,void,pointer,int,size,int,numcell,int,offset,float,value
  declarexfunction long,gx_array_getcelllong,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcelllong,int,nbcell,void,pointer,int,size,int,numcell,int,offset,long,value
  declarexfunction void,gx_array_getcellvoid,int,nbcell,void,pointer,int,size,int,numcell,int,offset
  declarexfunction nothing,gx_array_setcellvoid,int,nbcell,void,pointer,int,size,int,numcell,int,offset,void,value
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tactor
  typedef gx_tweapon
  typedef gx_tpathfind
endgroup

/* ---------- */
/* gx_automat */
/* ---------- */
group gx_automat
  typedef gx_tautomat
  classtype gx_automat,gx_tautomat

  enum 0
    dim gx_automat_statesleep,1
    dim gx_automat_statewait,1
    dim gx_automat_statewalk,1
    dim gx_automat_stateturnwalk,1
    dim gx_automat_statejump,1
    dim gx_automat_staterun,1
    dim gx_automat_stateturnrun,1
    dim gx_automat_staterunpathfind,1
    dim gx_automat_stateturnrunpathfind,1
    dim gx_automat_statefight,1
    dim gx_automat_statefire,1
    dim gx_automat_stateprotect,1
    dim gx_automat_statehit,1
    dim gx_automat_statedeath,1
    dim gx_automat_statedead,1
    dim gx_automat_numstate,1
  endenum

  enum 0
    dim gx_automatmessage_disable,1
    dim gx_automatmessage_sleep,1
    dim gx_automatmessage_wait,1
    dim gx_automatmessage_anim,1
    dim gx_automatmessage_killlife,1
    dim gx_automatmessage_settarget,1
    dim gx_automatmessage_movetoactor,1
    dim gx_automatmessage_movetopos,1
    dim gx_automatmessage_followpath,1
    dim gx_automatmessage_turntoang,1
    dim gx_automatmessage_turntoactor,1
    dim gx_automatmessage_turntopos,1
    dim gx_automatmessage_fire,1
  endenum

  define gx_automatmessage_flagrun,0x1
  define gx_automatmessage_flagfire,0x2
  define gx_automatmessage_flagfollowfloor,0x4

  enum 0
    dim gx_automatgroupanim_wait,1
    dim gx_automatgroupanim_waitweapon,1
    dim gx_automatgroupanim_walk,1
    dim gx_automatgroupanim_walkdown,1
    dim gx_automatgroupanim_walkleft,1
    dim gx_automatgroupanim_walkright,1
    dim gx_automatgroupanim_walkupleft,1
    dim gx_automatgroupanim_walkdownleft,1
    dim gx_automatgroupanim_walkupright,1
    dim gx_automatgroupanim_walkdownright,1
    dim gx_automatgroupanim_walkweapon,1
    dim gx_automatgroupanim_walkdownweapon,1
    dim gx_automatgroupanim_walkleftweapon,1
    dim gx_automatgroupanim_walkrightweapon,1
    dim gx_automatgroupanim_walkupleftweapon,1
    dim gx_automatgroupanim_walkdownleftweapon,1
    dim gx_automatgroupanim_walkuprightweapon,1
    dim gx_automatgroupanim_walkdownrightweapon,1
    dim gx_automatgroupanim_jumpstart,1
    dim gx_automatgroupanim_jump,1
    dim gx_automatgroupanim_jumpend,1
    dim gx_automatgroupanim_run,1
    dim gx_automatgroupanim_rundown,1
    dim gx_automatgroupanim_runleft,1
    dim gx_automatgroupanim_runright,1
    dim gx_automatgroupanim_runupleft,1
    dim gx_automatgroupanim_rundownleft,1
    dim gx_automatgroupanim_runupright,1
    dim gx_automatgroupanim_rundownright,1
    dim gx_automatgroupanim_runweapon,1
    dim gx_automatgroupanim_rundownweapon,1
    dim gx_automatgroupanim_runleftweapon,1
    dim gx_automatgroupanim_runrightweapon,1
    dim gx_automatgroupanim_runupleftweapon,1
    dim gx_automatgroupanim_rundownleftweapon,1
    dim gx_automatgroupanim_runuprightweapon,1
    dim gx_automatgroupanim_rundownrightweapon,1
    dim gx_automatgroupanim_turnleft,1
    dim gx_automatgroupanim_turnright,1
    dim gx_automatgroupanim_turnleftweapon,1
    dim gx_automatgroupanim_turnrightweapon,1
    dim gx_automatgroupanim_fight,1
    dim gx_automatgroupanim_protect,1
    dim gx_automatgroupanim_hit,1
    dim gx_automatgroupanim_death,1
    dim gx_automatgroupanim_dead,1
    dim gx_automatgroupanim_number,1
  endenum

  define gx_automatfamily_flagenemi,0x1
  define gx_automatfamily_flagsearch,0x2

  declarexfunction int,gx_automat_ginstall,nothing
  declarexfunction void,gx_automat_getparentclass,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setparentclass,gx_tautomat,ptr_tautomat,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction int,gx_automat_insertfamily,nothing
  declarexfunction nothing,gx_automat_freefamily,nothing
  declarexfunction int,gx_automat_getfamilyflag,int,family,int,targetfamily
  declarexfunction nothing,gx_automat_setfamilyflag,int,family,int,targetfamily,int,flag
  declarexfunction gx_tautomat,gx_automat_new,nothing
  declarexfunction nothing,gx_automat_free,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_addref,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_getref,gx_tautomat,ptr_tautomat
  declarexfunction void,gx_automat_getptrplayer,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_getstate,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setstate,gx_tautomat,ptr_tautomat,int,state
  declarexfunction int,gx_automat_getmessageid,nothing
  declarexfunction nothing,gx_automat_setmessageid,int,id
  declarexfunction gx_tactor,gx_automat_getptractor,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setptractor,gx_tautomat,ptr_tautomat,gx_tactor,ptr_tactor
  declarexfunction int,gx_automat_isenabled,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_enable,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_disable,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_sleep,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_unsleep,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_issleeping,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_getang,gx_tautomat,ptr_tautomat,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_automat_setang,gx_tautomat,ptr_tautomat,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_automat_gettargetang,gx_tautomat,ptr_tautomat,rint,angx,rint,angy
  declarexfunction nothing,gx_automat_gettargetdeltaang,gx_tautomat,ptr_tautomat,rint,deltaangx,rint,deltaangy
  declarexfunction int,gx_automat_getwaitturntarget,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setwaitturntarget,gx_tautomat,ptr_tautomat,int,flag
  declarexfunction nothing,gx_automat_looktarget,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_dontlooktarget,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_islookingtarget,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_getdeltaanglook,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_firewhenrun,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_dontfirewhenrun,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_isfirewhenrun,gx_tautomat,ptr_tautomat
  declarexfunction void,gx_automat_getuserpointer,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setuserpointer,gx_tautomat,ptr_tautomat,void,pointer
  declarexfunction nothing,gx_automat_transformvector2d,gx_tautomat,ptr_tautomat,rfloat,vectorx,rfloat,vectorz
  declarexfunction nothing,gx_automat_transformvector3d,gx_tautomat,ptr_tautomat,rfloat,vectorx,rfloat,vectory,rfloat,vectorz
  declarexfunction int,gx_automat_interpolang,gx_tautomat,ptr_tautomat,int,angx,int,angy,int,angz,int,speedrot
  declarexfunction int,gx_automat_getflagagressive,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setflagagressive,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_resetflagagressive,gx_tautomat,ptr_tautomat
  declarexfunction float,gx_automat_getfirstlife,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setfirstlife,gx_tautomat,ptr_tautomat,float,firstlife
  declarexfunction float,gx_automat_getlife,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setlife,gx_tautomat,ptr_tautomat,float,life
  declarexfunction int,gx_automat_getfamily,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setfamily,gx_tautomat,ptr_tautomat,int,family
  declarexfunction gx_tautomat,gx_automat_gettarget,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_settarget,gx_tautomat,ptr_tautomat,gx_tautomat,target_tautomat
  declarexfunction float,gx_automat_getheadheight,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setheadheight,gx_tautomat,ptr_tautomat,float,headheight
  declarexfunction float,gx_automat_getvisibilityradius,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setvisibilityradius,gx_tautomat,ptr_tautomat,float,visibilityradius
  declarexfunction float,gx_automat_getspeedwalk,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedwalk,gx_tautomat,ptr_tautomat,float,speedwalk
  declarexfunction float,gx_automat_getspeedwalkdown,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedwalkdown,gx_tautomat,ptr_tautomat,float,speedwalkdown
  declarexfunction float,gx_automat_getspeedwalkleft,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedwalkleft,gx_tautomat,ptr_tautomat,float,speedwalkleft
  declarexfunction float,gx_automat_getspeedwalkright,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedwalkright,gx_tautomat,ptr_tautomat,float,speedwalkright
  declarexfunction float,gx_automat_getspeedrun,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedrun,gx_tautomat,ptr_tautomat,float,speedrun
  declarexfunction float,gx_automat_getspeedrundown,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedrundown,gx_tautomat,ptr_tautomat,float,speedrundown
  declarexfunction float,gx_automat_getspeedrunleft,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedrunleft,gx_tautomat,ptr_tautomat,float,speedrunleft
  declarexfunction float,gx_automat_getspeedrunright,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedrunright,gx_tautomat,ptr_tautomat,float,speedrunright
  declarexfunction float,gx_automat_getrunlimit,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setrunlimit,gx_tautomat,ptr_tautomat,float,runlimit
  declarexfunction float,gx_automat_getpower,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setpower,gx_tautomat,ptr_tautomat,float,power
  declarexfunction float,gx_automat_getcolcylinder,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setcolcylinder,gx_tautomat,ptr_tautomat,float,colcylinder
  declarexfunction float,gx_automat_getcolsphere,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setcolsphere,gx_tautomat,ptr_tautomat,float,colsphere
  declarexfunction float,gx_automat_getcolposition,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setcolposition,gx_tautomat,ptr_tautomat,float,colposition
  declarexfunction int,gx_automat_getperpendicularangx,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setperpendicularangx,gx_tautomat,ptr_tautomat,int,flag
  declarexfunction int,gx_automat_getperpendicularangz,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setperpendicularangz,gx_tautomat,ptr_tautomat,int,flag
  declarexfunction int,gx_automat_gethiddenwhendead,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_sethiddenwhendead,gx_tautomat,ptr_tautomat,int,flag
  declarexfunction float,gx_automat_getarearadius,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setarearadius,gx_tautomat,ptr_tautomat,float,radius
  declarexfunction float,gx_automat_getautosleepdistance,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setautosleepdistance,gx_tautomat,ptr_tautomat,float,distance
  declarexfunction nothing,gx_automat_insertweapon,gx_tautomat,ptr_tautomat,string,name
  declarexfunction nothing,gx_automat_deleteweapon,gx_tautomat,ptr_tautomat,int,numweapon
  declarexfunction nothing,gx_automat_freeweapon,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_getnbweapon,gx_tautomat,ptr_tautomat
  declarexfunction gx_tweapon,gx_automat_getindexedweapon,gx_tautomat,ptr_tautomat,int,numweapon
  declarexfunction gx_tweapon,gx_automat_getnamedweapon,gx_tautomat,ptr_tautomat,string,weaponname
  declarexfunction int,gx_automat_getweaponindex,gx_tautomat,ptr_tautomat,gx_tweapon,ptr_tweapon
  declarexfunction int,gx_automat_getcurrentweapon,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setcurrentweapon,gx_tautomat,ptr_tautomat,int,currentweapon
  declarexfunction gx_tpathfind,gx_automat_getpathfind,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setpathfind,gx_tautomat,ptr_tautomat,gx_tpathfind,ptr_tpathfind
  declarexfunction float,gx_automat_getspeedrot,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setspeedrot,gx_tautomat,ptr_tautomat,float,speedrot
  declarexfunction float,gx_automat_getjumpsize,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setjumpsize,gx_tautomat,ptr_tautomat,float,jumpsize
  declarexfunction float,gx_automat_getgravity,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setgravity,gx_tautomat,ptr_tautomat,float,gravity
  declarexfunction float,gx_automat_getlastjumplevel,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_resetlastjumplevel,gx_tautomat,ptr_tautomat
  declarexfunction float,gx_automat_getdistancetargetfight,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setdistancetargetfight,gx_tautomat,ptr_tautomat,float,distancetargetfight
  declarexfunction float,gx_automat_getdistancetargetdetectmin,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setdistancetargetdetectmin,gx_tautomat,ptr_tautomat,float,distance
  declarexfunction float,gx_automat_getdistancetargetdetectmax,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setdistancetargetdetectmax,gx_tautomat,ptr_tautomat,float,distance
  declarexfunction int,gx_automat_getvisionanglemax,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setvisionanglemax,gx_tautomat,ptr_tautomat,int,visionanglemax
  declarexfunction float,gx_automat_getdistancetargetlost,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setdistancetargetlost,gx_tautomat,ptr_tautomat,float,distancetargetlost
  declarexfunction int,gx_automat_getfireanglemax,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setfireanglemax,gx_tautomat,ptr_tautomat,int,fireanglemax
  declarexfunction int,gx_automat_getsoundvolume,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setsoundvolume,gx_tautomat,ptr_tautomat,int,soundvolume
  declarexfunction int,gx_automat_getsoundpitch,gx_tautomat ,ptr_tautomat
  declarexfunction nothing,gx_automat_setsoundpitch,gx_tautomat,ptr_tautomat,int,soundpitch
  declarexfunction float,gx_automat_getsounddistance,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setsounddistance,gx_tautomat,ptr_tautomat,float,sounddistance
  declarexfunction nothing,gx_automat_setsoundsurprise,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundfight,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundfire,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundtalk,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundruntalk,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundhappy,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsoundhit,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_setsounddead,gx_tautomat,ptr_tautomat,string,soundname
  declarexfunction nothing,gx_automat_killlife,gx_tautomat,ptr_tautomat,gx_tautomat,target_tautomat,float,numlife,int,flaghit
  declarexfunction int,gx_automat_getnextgroupanim,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_setnextgroupanim,gx_tautomat,ptr_tautomat,int,nextgroupanim
  declarexfunction int,gx_automat_getcurrentgroupanim,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_updategroupanim,gx_tautomat,ptr_tautomat
  declarexfunction int,gx_automat_getgroupanim,gx_tautomat,ptr_tautomat,int,numgroupanim
  declarexfunction nothing,gx_automat_setgroupanim,gx_tautomat,ptr_tautomat,int,numgroupanim,int,numanim
  declarexfunction nothing,gx_automat_project,gx_tautomat,ptr_tautomat,float,speed,float,speedgravity,int,angy
  declarexfunction nothing,gx_automat_resetinertiapos,gx_tautomat,ptr_tautomat
  declarexfunction nothing,gx_automat_resetjump,gx_tautomat,ptr_tautomat
  declarexfunction gx_tautomat,gx_automat_checktarget,gx_tautomat,ptr_tautomat
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tworld
  typedef gx_tcomponent
  typedef gx_tmodel
  typedef gx_tactor
  typedef gx_txarray
  typedef gx_tlight
  typedef gx_tbitmap
  typedef gx_tmaterial
  typedef gx_tpath
  typedef gx_tpathfind
  typedef gx_teventbox
  typedef gx_tstream
  typedef gx_tparticleemitter
endgroup

/* ------- */
/* gx_base */
/* ------- */
group gx_base
  typedef gx_tbase
  classtype gx_base,gx_tbase

  define gx_base_coltypenone,0x0
  define gx_base_coltypestatic,0x1
  define gx_base_coltypedynamiccylinder,0x2
  define gx_base_coltypedynamicmesh,0x4
  define gx_base_coltypeall,0xffffffff

  declarexfunction int,gx_base_ginstall,nothing
  declarexfunction void,gx_base_getparentclass,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setparentclass,gx_tbase,ptr_tbase,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction string,gx_base_getsequencename,nothing
  declarexfunction int,gx_base_getsequencetype,nothing
  declarexfunction int,gx_base_getsequenceid,nothing
  declarexfunction nothing,gx_base_setsequence,string,name,int,type,int,id
  declarexfunction string,gx_base_getnextsequencename,nothing
  declarexfunction int,gx_base_getnextsequencetype,nothing
  declarexfunction int,gx_base_getnextsequenceid,nothing
  declarexfunction nothing,gx_base_setnextsequence,string,name,int,type,int,id
  declarexfunction gx_tbase,gx_base_new,nothing
  declarexfunction gx_tbase,gx_base_load,string,filename
  declarexfunction gx_tbase,gx_base_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_base_save,gx_tbase,ptr_tbase,string,filename
  declarexfunction int,gx_base_savechunk,gx_tbase,ptr_tbase,int,filenum
  declarexfunction gx_tbase,gx_base_loadgxml,string,filename
  declarexfunction gx_tbase,gx_base_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_base_savegxml,gx_tbase,ptr_tbase,string,filename
  declarexfunction int,gx_base_savegxmlchunk,gx_tbase,ptr_tbase,int,filenum
  declarexfunction gx_tbase,gx_base_loadall,string,filename
  declarexfunction nothing,gx_base_saveall,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_base_free,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_addref,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getref,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_check,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_merge,gx_tbase,ptr_tbase,gx_tbase,src_tbase
  declarexfunction nothing,gx_base_insertworld,gx_tbase,ptr_tbase,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_base_purgeworld,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_getgez,gx_tbase,ptr_tbase,rint,size,rvoid,buffer
  declarexfunction nothing,gx_base_setgez,gx_tbase,ptr_tbase,int,size,void,buffer
  declarexfunction nothing,gx_base_importtexture,gx_tbase,ptr_tbase,string,dirname
  declarexfunction nothing,gx_base_optimizeanim,gx_tbase,ptr_tbase,int,minanim
  declarexfunction nothing,gx_base_optimizetexture,gx_tbase,ptr_tbase,int,factor,int,nbcolor
  declarexfunction nothing,gx_base_generategeom,gx_tbase,ptr_tbase,int,type
  declarexfunction int,gx_base_getworldrendersequence,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setworldrendersequence,gx_tbase,ptr_tbase,int,sequence
  declarexfunction nothing,gx_base_install,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_uninstall,gx_tbase,ptr_tbase
  declarexfunction gx_tbase,gx_base_getinstalledbase,nothing
  declarexfunction nothing,gx_base_restart,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_manage,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_startmanage,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_endmanage,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_startdisplay,gx_tbase,ptr_tbase,int,sequence
  declarexfunction nothing,gx_base_enddisplay,gx_tbase,ptr_tbase,int,sequence
  declarexfunction nothing,gx_base_multipassdisplay,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_flush,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_forcemanageautomat,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_forcedisplay,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_isinstalled,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_ismanaging,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_enablefog,gx_tbase,ptr_tbase,int,depth,int,densitystart,int,density,int,start,int,step,int,red,int,green,int,blue,int,fadefactor
  declarexfunction nothing,gx_base_disablefog,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_loadsequence,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_savesequence,gx_tbase,ptr_tbase
  declarexfunction string,gx_base_getname,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setname,gx_tbase,ptr_tbase,string,name
  declarexfunction gx_tworld,gx_base_getworld,gx_tbase,ptr_tbase
  declarexfunction gx_tcomponent,gx_base_getcomponent,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setcomponent,gx_tbase,ptr_tbase,gx_tcomponent,component
  declarexfunction int,gx_base_getflagquit,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setflagquit,gx_tbase,ptr_tbase,int,quitvalue
  declarexfunction int,gx_base_getblendmode,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setblendmode,gx_tbase,ptr_tbase,int,blendmode
  declarexfunction nothing,gx_base_lock,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_unlock,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getlock,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_lockdisplay,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_unlockdisplay,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getlockdisplay,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_getcamerapos,gx_tbase,ptr_tbase,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_base_setcamerapos,gx_tbase,ptr_tbase,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_base_getcameraang,gx_tbase,ptr_tbase,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_base_setcameraang,gx_tbase,ptr_tbase,int,angx,int,angy,int,angz
  declarexfunction int,gx_base_getcamerasector,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_movecamera,gx_tbase,ptr_tbase,float,vectorx,float,vectory,float,vectorz
  declarexfunction nothing,gx_base_setcameratarget,gx_tbase,ptr_tbase,float,srcposx,float,srcposy,float,srcposz,float,dstposx,float,dstposy,float,dstposz,rint,angx,rint,angy,int,angz
  declarexfunction nothing,gx_base_setcamerafollow,gx_tbase,ptr_tbase,rfloat,posx,rfloat,posy,rfloat,posz,int,angx,int,angy,int,angz,float,height,float,distance
  declarexfunction int,gx_base_insertmodel,gx_tbase,ptr_tbase,string,name
  declarexfunction nothing,gx_base_deletemodel,gx_tbase,ptr_tbase,int,nummodel
  declarexfunction int,gx_base_getnbmodel,gx_tbase,ptr_tbase
  declarexfunction gx_tmodel,gx_base_getindexedmodel,gx_tbase,ptr_tbase,int,nummodel
  declarexfunction gx_tmodel,gx_base_getnamedmodel,gx_tbase,ptr_tbase,string,modelname
  declarexfunction int,gx_base_getmodelindex,gx_tbase,ptr_tbase,gx_tmodel,ptr_tmodel
  declarexfunction int,gx_base_insertactor,gx_tbase,ptr_tbase,string,name,int,nummodel,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_base_deleteactor,gx_tbase,ptr_tbase,int,numactor
  declarexfunction int,gx_base_copyactor,gx_tbase,ptr_tbase,int,index
  declarexfunction int,gx_base_getnbactor,gx_tbase,ptr_tbase
  declarexfunction gx_tactor,gx_base_getindexedactor,gx_tbase,ptr_tbase,int,index
  declarexfunction gx_tactor,gx_base_getnamedactor,gx_tbase,ptr_tbase,string,actorname
  declarexfunction int,gx_base_getactorindex,gx_tbase,ptr_tbase,gx_tactor,ptr_tactor
  declarexfunction gx_txarray,gx_base_getprojectilexarray,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_insertlight,gx_tbase,ptr_tbase,string,name
  declarexfunction nothing,gx_base_deletelight,gx_tbase,ptr_tbase,int,numlight
  declarexfunction nothing,gx_base_freelight,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_copylight,gx_tbase,ptr_tbase,int,index
  declarexfunction int,gx_base_getnblight,gx_tbase,ptr_tbase
  declarexfunction gx_tlight,gx_base_getindexedlight,gx_tbase,ptr_tbase,int,numlight
  declarexfunction gx_tlight,gx_base_getnamedlight,gx_tbase,ptr_tbase,string,lightname
  declarexfunction int,gx_base_getlightindex,gx_tbase,ptr_tbase,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_base_optimizelight,gx_tbase,ptr_tbase,int,nbmaxlight,float,attenuation
  declarexfunction nothing,gx_base_scalelight,gx_tbase,ptr_tbase,float,scalefactor
  declarexfunction nothing,gx_base_launchimmediatelight,gx_tbase,ptr_tbase,gx_tlight,ptr_tlight,int,sector,float,posx,float,posy,float,posz,int,red,int,green,int,blue,float,radius,int,flag
  declarexfunction gx_txarray,gx_base_getimmediatelightxarray,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_insertshadow,gx_tbase,ptr_tbase,string,sectorname,string,meshname
  declarexfunction nothing,gx_base_deleteshadow,gx_tbase,ptr_tbase,int,numshadow
  declarexfunction nothing,gx_base_freeshadow,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbshadow,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_getshadowname,gx_tbase,ptr_tbase,int,numshadow,string,sectorname,string,meshname
  declarexfunction nothing,gx_base_setshadowname,gx_tbase,ptr_tbase,int,numshadow,string,sectorname,string,meshname
  declarexfunction int,gx_base_getshadowindex,gx_tbase,ptr_tbase,string,sectorname,string,meshname
  declarexfunction string,gx_base_getshadowmaterialname,gx_tbase,ptr_tbase,int,numshadow
  declarexfunction nothing,gx_base_setshadowmaterialname,gx_tbase,ptr_tbase,int,numshadow,string,name
  declarexfunction int,gx_base_getshadowrender,gx_tbase,ptr_tbase,int,numshadow
  declarexfunction nothing,gx_base_setshadowrender,gx_tbase,ptr_tbase,int,numshadow,int,render
  declarexfunction nothing,gx_base_getshadowpos,gx_tbase,ptr_tbase,int,numshadow,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_base_setshadowpos,gx_tbase,ptr_tbase,int,numshadow,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_base_getshadowang,gx_tbase,ptr_tbase,int,numshadow,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_base_setshadowang,gx_tbase,ptr_tbase,int,numshadow,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_base_getshadowcolor,gx_tbase,ptr_tbase,int,numshadow,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_base_setshadowcolor,gx_tbase,ptr_tbase,int,numshadow,int,alpha,int,red,int,green,int,blue
  declarexfunction float,gx_base_getshadowdistance,gx_tbase,ptr_tbase,int,numshadow
  declarexfunction nothing,gx_base_setshadowdistance,gx_tbase,ptr_tbase,int,numshadow,float,distance
  declarexfunction int,gx_base_insertbundle,gx_tbase,ptr_tbase,string,name
  declarexfunction nothing,gx_base_deletebundle,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_freebundle,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbbundle,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnamedbundle,gx_tbase,ptr_tbase,string,name
  declarexfunction string,gx_base_getbundlename,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundlename,gx_tbase,ptr_tbase,int,index,string,name
  declarexfunction string,gx_base_getbundletype,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundletype,gx_tbase,ptr_tbase,int,index,string,type
  declarexfunction int,gx_base_getbundlesize,gx_tbase,ptr_tbase,int,index
  declarexfunction void,gx_base_getbundlepointer,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundledata,gx_tbase,ptr_tbase,int,index,void,buffer,int,size
  declarexfunction int,gx_base_getbundlecrunch,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_crunchbundle,gx_tbase,ptr_tbase,int,index,int,crunchnumber
  declarexfunction gx_tcomponent,gx_base_getbundlecomponent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundlecomponent,gx_tbase,ptr_tbase,int,index,gx_tcomponent,ptr_tcomponent
  declarexfunction int,gx_base_getbundleuserid,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundleuserid,gx_tbase,ptr_tbase,int,index,int,id
  declarexfunction int,gx_base_getbundleuserpointer,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_setbundleuserpointer,gx_tbase,ptr_tbase,int,index,void,pointer
  declarexfunction gx_tparticleemitter,gx_base_createparticleemitterfrombundle,gx_tbase,ptr_tbase,int,index
  declarexfunction int,gx_base_insertbitmap,gx_tbase,ptr_tbase,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_base_deletebitmap,gx_tbase,ptr_tbase,int,numbitmap
  declarexfunction nothing,gx_base_freebitmap,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbbitmap,gx_tbase,ptr_tbase
  declarexfunction gx_tbitmap,gx_base_getindexedbitmap,gx_tbase,ptr_tbase,int,numbitmap
  declarexfunction gx_tbitmap,gx_base_getnamedbitmap,gx_tbase,ptr_tbase,string,bitmapname
  declarexfunction int,gx_base_getbitmapindex,gx_tbase,ptr_tbase,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tmaterial,gx_base_getindexedbitmapmaterial,gx_tbase,ptr_tbase,int,index
  declarexfunction gx_tmaterial,gx_base_getnamedbitmapmaterial,gx_tbase,ptr_tbase,string,name
  declarexfunction int,gx_base_getbitmapmaterialindex,gx_tbase,ptr_tbase,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_base_insertpath,gx_tbase,ptr_tbase,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_base_deletepath,gx_tbase,ptr_tbase,int,numpath
  declarexfunction nothing,gx_base_copypath,gx_tbase,ptr_tbase,int,numpath
  declarexfunction nothing,gx_base_freepath,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbpath,gx_tbase,ptr_tbase
  declarexfunction gx_tpath,gx_base_getindexedpath,gx_tbase,ptr_tbase,int,numpath
  declarexfunction gx_tpath,gx_base_getnamedpath,gx_tbase,ptr_tbase,string,pathname
  declarexfunction int,gx_base_getpathindex,gx_tbase,ptr_tbase,gx_tpath,ptr_tpath
  declarexfunction int,gx_base_insertpathfind,gx_tbase,ptr_tbase,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_base_deletepathfind,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_freepathfind,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbpathfind,gx_tbase,ptr_tbase
  declarexfunction gx_tpathfind,gx_base_getindexedpathfind,gx_tbase,ptr_tbase,int,index
  declarexfunction gx_tpathfind,gx_base_getnamedpathfind,gx_tbase,ptr_tbase,string,name
  declarexfunction int,gx_base_getpathfindindex,gx_tbase,ptr_tbase,gx_tpathfind,ptr_tpathfind
  declarexfunction int,gx_base_inserteventbox,gx_tbase,ptr_tbase,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_base_deleteeventbox,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_base_freeeventbox,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbeventbox,gx_tbase,ptr_tbase
  declarexfunction gx_teventbox,gx_base_getindexedeventbox,gx_tbase,ptr_tbase,int,index
  declarexfunction gx_teventbox,gx_base_getnamedeventbox,gx_tbase,ptr_tbase,string,name
  declarexfunction int,gx_base_geteventboxindex,gx_tbase,ptr_tbase,gx_teventbox,ptr_teventbox
  declarexfunction int,gx_base_testcol3dcylinder,gx_tbase,ptr_tbase,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz,int,flag
  declarexfunction int,gx_base_testcol3dsphere,gx_tbase,ptr_tbase,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz,int,flag
  declarexfunction nothing,gx_base_getglobalshadowcolor,gx_tbase,ptr_tbase,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_base_setglobalshadowcolor,gx_tbase,ptr_tbase,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_base_getglobalshadowrender,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setglobalshadowrender,gx_tbase,ptr_tbase,int,render
  declarexfunction int,gx_base_getglobalshadowmaterial,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setglobalshadowmaterial,gx_tbase,ptr_tbase,int,materialindex
  declarexfunction int,gx_base_getglobalshadowcollisionid,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setglobalshadowcollisionid,gx_tbase,ptr_tbase,int,collisionid
  declarexfunction float,gx_base_getglobalshadowprecision,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setglobalshadowprecision,gx_tbase,ptr_tbase,float,shadowprecision
  declarexfunction float,gx_base_getglobalshadowdistance,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_setglobalshadowdistance,gx_tbase,ptr_tbase,float,distance
  declarexfunction int,gx_base_getnbpoint,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbface,gx_tbase,ptr_tbase
  declarexfunction int,gx_base_getnbtriangle,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_printstatus,gx_tbase,ptr_tbase
  declarexfunction gx_tstream,gx_base_getmemorycardstream,nothing
  declarexfunction nothing,gx_base_setmemorycardstream,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_base_memorycardload,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_base_memorycardsave,gx_tbase,ptr_tbase
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tfield
  typedef gx_tbase
  typedef gx_tscene
  typedef gx_tworld
  typedef gx_tbitmap
  typedef gx_tcomponent
  typedef gx_twbtexteditor
  typedef gx_tstream
endgroup

/* --------- */
/* gx_baseed */
/* --------- */
group gx_baseed
  typedef gx_tbaseed
  classtype gx_baseed,gx_tbaseed

  enum 0
    dim gx_baseed_selecttypeactor,1
    dim gx_baseed_selecttypelight,1
    dim gx_baseed_selecttypeeventbox,1
    dim gx_baseed_selecttypepath,1
    dim gx_baseed_selecttypepathfind,1
    dim gx_baseed_selecttypemesh,1
  endenum

  declarexfunction int,gx_baseed_ginstall,nothing
  declarexfunction nothing,gx_baseed_install,nothing
  declarexfunction nothing,gx_baseed_uninstall,nothing
  declarexfunction gx_tbase,gx_baseed_newbase,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_setbasename,gx_tbase,ptr_tbase
  declarexfunction gx_tbase,gx_baseed_loadbase,gx_tbase,ptr_tbase,string,filename
  declarexfunction gx_tbase,gx_baseed_safeloadbase,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_savebase,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_saveasbase,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_mergebase,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_closebase,gx_tbase,ptr_tbase
  declarexfunction string,gx_baseed_getbasefilename,nothing
  declarexfunction nothing,gx_baseed_setbasefilename,string,name
  declarexfunction nothing,gx_baseed_update,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_getcursorpos,rint,posx,rint,posy,rint,posz
  declarexfunction nothing,gx_baseed_setcursorpos,int,posx,int,posy,int,posz
  declarexfunction int,gx_baseed_updatecursorpos,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_editbasecomponent,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_exit,nothing
  declarexfunction gx_tscene,gx_baseed_getptrscene,nothing
  declarexfunction nothing,gx_baseed_setptrscene,gx_tscene,ptr_tscene
  declarexfunction gx_tworld,gx_baseed_getptrworld,nothing
  declarexfunction nothing,gx_baseed_setptrworld,gx_tworld,ptr_tworld
  declarexfunction gx_tbase,gx_baseed_getptrbase,nothing
  declarexfunction nothing,gx_baseed_setptrbase,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_insertworld,gx_tbase,ptr_tbase,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_insertgez,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_loadhelpermodel,nothing
  declarexfunction gx_tscene,gx_baseed_gethelpermodel,nothing
  declarexfunction nothing,gx_baseed_sethelpermodel,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_importassetfromscene,gx_tbase,ptr_tbase,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_optimize,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_baseed_aquirecamera,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_updatecamera,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_fastview,gx_tbase,ptr_tbase,int,flag
  declarexfunction nothing,gx_baseed_test,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_installdisplay,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_display,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_uninstalldisplay,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_selectone,int,index,int,type
  declarexfunction nothing,gx_baseed_unselect,int,index,int,type
  declarexfunction nothing,gx_baseed_selectmore,int,index,int,type
  declarexfunction nothing,gx_baseed_selectinvert,int,index,int,type
  declarexfunction nothing,gx_baseed_selectnone,nothing
  declarexfunction nothing,gx_baseed_selectall,int,type
  declarexfunction nothing,gx_baseed_selectinvertall,int,type
  declarexfunction int,gx_baseed_isselected,int,index,int,type
  declarexfunction int,gx_baseed_getcurrentselected,int,type
  declarexfunction int,gx_baseed_getnbselected,int,type
  declarexfunction int,gx_baseed_getindexedselected,int,listindex,int,type
  declarexfunction int,gx_baseed_getnballselected,nothing
  declarexfunction int,gx_baseed_getallselectedindex,int,listindex
  declarexfunction int,gx_baseed_getallselectedtype,int,listindex
  declarexfunction nothing,gx_baseed_updateselection,nothing
  declarexfunction nothing,gx_baseed_loadactor,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_saveactor,gx_tbase,ptr_tbase,int,actorindex,string,filename
  declarexfunction nothing,gx_baseed_insertactor,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deleteactor,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_copyactor,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_copymultipleactor,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_actorproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_actorselectcurrent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_actorselectmore,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_actoreditcomponent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_insertlight,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deletelight,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_copylight,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_loadlight,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_savelight,gx_tbase,ptr_tbase,int,index,string,filename
  declarexfunction nothing,gx_baseed_lightproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_lightselectcurrent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_lightselectmore,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_scalelight,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_insertshadow,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deleteshadow,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_shadowproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_insertbundle,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deletebundle,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_bundleproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_insertbitmap,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deletebitmap,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_editbitmap,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathinsert,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_pathimport,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_pathdelete,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathload,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_pathsave,gx_tbase,ptr_tbase,int,index,string,filename
  declarexfunction nothing,gx_baseed_pathcopy,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathselectcurrent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathselectmore,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_patheditor,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathinsertkey,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathdeletekey,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathkeyproperty,gx_tbase,ptr_tbase,int,index,int,numkey
  declarexfunction nothing,gx_baseed_pathtessellate,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_eventboxinsert,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_eventboxdelete,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_eventboxload,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_eventboxsave,gx_tbase,ptr_tbase,int,index,string,filename
  declarexfunction nothing,gx_baseed_eventboxproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_eventboxcopy,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_eventboxselectcurrent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_eventboxselectmore,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_newmodel,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_deletemodel,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_modelproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_loadmodel,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_savemodel,gx_tbase,ptr_tbase,int,modelindex,string,filename
  declarexfunction nothing,gx_baseed_exportmodel,gx_tbase,ptr_tbase,int,modelindex,int,lod,string,filename
  declarexfunction nothing,gx_baseed_modelanimproperty,gx_tbase,ptr_tbase,int,modelindex,int,animindex
  declarexfunction nothing,gx_baseed_insertskin,gx_tbase,ptr_tbase,int,index,string,filemane
  declarexfunction nothing,gx_baseed_insertskinlod,gx_tbase,ptr_tbase,int,index,string,filename
  declarexfunction nothing,gx_baseed_deleteskin,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_deleteskinlod,gx_tbase,ptr_tbase,int,index,int,lod
  declarexfunction nothing,gx_baseed_insertmodelanim,gx_tbase,ptr_tbase,int,index,gx_tscene,ptr_tscene,string,animname,string,groupanimname
  declarexfunction nothing,gx_baseed_replacemodelanim,gx_tbase,ptr_tbase,int,index,int,animindex,gx_tscene,ptr_tscene,string,animname
  declarexfunction nothing,gx_baseed_deletemodelanim,gx_tbase,ptr_tbase,int,index,int,animindex
  declarexfunction nothing,gx_baseed_renamemodelanim,gx_tbase,ptr_tbase,int,index,int,animindex,string,animname
  declarexfunction nothing,gx_baseed_weldmodelmesh,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_unweldmodelmesh,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_insertgroupanim,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_deletegroupanim,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_printstatus,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_resetview,nothing
  declarexfunction nothing,gx_baseed_zeroview,nothing
  declarexfunction nothing,gx_baseed_setfrontview,nothing
  declarexfunction nothing,gx_baseed_setleftview,nothing
  declarexfunction nothing,gx_baseed_settopview,nothing
  declarexfunction nothing,gx_baseed_changeview,nothing
  declarexfunction nothing,gx_baseed_move,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_startmove,gx_tbase,ptr_tbase
  declarexfunction int,gx_baseed_managemove,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_displaymove,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_stopmove,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_pathfindinsert,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_pathfinddelete,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindload,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_baseed_pathfindsave,gx_tbase,ptr_tbase,int,index,string,filename
  declarexfunction nothing,gx_baseed_pathfindrename,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindproperty,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindselectcurrent,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindselectmore,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindeditor,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindinsertnode,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfinddeletenode,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindnodeproperty,gx_tbase,ptr_tbase,int,numpathfind,int,index
  declarexfunction nothing,gx_baseed_pathfindlinknode,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindunlinksinglenode,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindunlinknode,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindunlinkall,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindtest,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindtessellate,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindautolink,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindcleanup,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_pathfindbuildway,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_projectload,string,filename
  declarexfunction nothing,gx_baseed_projectsave,string,filename
  declarexfunction nothing,gx_baseed_projectloadgxml,string,filename
  declarexfunction nothing,gx_baseed_projectsavegxml,string,filename
  declarexfunction nothing,gx_baseed_projectloadall,string,filename
  declarexfunction nothing,gx_baseed_projectsaveall,string,filename
  declarexfunction nothing,gx_baseed_projectloadfile,string,filename
  declarexfunction nothing,gx_baseed_projectsavefile,nothing
  declarexfunction nothing,gx_baseed_saveasprojectfile,nothing
  declarexfunction nothing,gx_baseed_closeproject,nothing
  declarexfunction nothing,gx_baseed_freeproject,nothing
  declarexfunction string,gx_baseed_getprojectfilename,nothing
  declarexfunction nothing,gx_baseed_setprojectfilename,string,filename
  declarexfunction nothing,gx_baseed_projectupdate,nothing
  declarexfunction nothing,gx_baseed_projectautoimport,nothing
  declarexfunction gx_tcomponent,gx_baseed_projectgetcomponent,nothing
  declarexfunction nothing,gx_baseed_projectsetcomponent,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_baseed_projecteditcomponent,nothing
  declarexfunction nothing,gx_baseed_projectoption,nothing
  declarexfunction nothing,gx_baseed_projectedittool,nothing
  declarexfunction nothing,gx_baseed_projecteditbase,nothing
  declarexfunction nothing,gx_baseed_projecteditbitmap,nothing
  declarexfunction nothing,gx_baseed_projecteditscene,nothing
  declarexfunction nothing,gx_baseed_projecteditmodel,nothing
  declarexfunction nothing,gx_baseed_projecteditbundle,nothing
  declarexfunction nothing,gx_baseed_projectanimseparator,nothing
  declarexfunction nothing,gx_baseed_projectimportasset,string,selection
  declarexfunction nothing,gx_baseed_projectcomponenthelp,nothing
  declarexfunction nothing,gx_baseed_projectlaunchtool,nothing
  declarexfunction nothing,gx_baseed_projectsetworkingdirectory,string,directory
  declarexfunction string,gx_baseed_projectgetworkingdirectory,nothing
  declarexfunction nothing,gx_baseed_projectselectworkingdirectory,nothing
  declarexfunction nothing,gx_baseed_projectgotoworkingdirectory,nothing
  declarexfunction nothing,gx_baseed_newbasic,nothing
  declarexfunction nothing,gx_baseed_replacebasic,int,index
  declarexfunction nothing,gx_baseed_deletebasic,int,index
  declarexfunction nothing,gx_baseed_basicproperty,int,index
  declarexfunction nothing,gx_baseed_editbasic,int,index
  declarexfunction nothing,gx_baseed_compilebasic,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_recompileallbasic,gx_tbase,ptr_tbase
  declarexfunction int,gx_baseed_getnbbasic,nothing
  declarexfunction gx_twbtexteditor,gx_baseed_getnamedbasic,string,name
  declarexfunction int,gx_baseed_getbasicindex,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_twbtexteditor,gx_baseed_getindexedbasic,int,index
  declarexfunction nothing,gx_baseed_setindexedbasic,int,index,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_baseed_insertbasic,nothing
  declarexfunction nothing,gx_baseed_basicsetflagcompile,int,index
  declarexfunction nothing,gx_baseed_basicresetflagcompile,int,index
  declarexfunction int,gx_baseed_basicgetflagcompile,int,index
  declarexfunction nothing,gx_baseed_basicsetflagrecompile,int,index
  declarexfunction nothing,gx_baseed_basicresetflagrecompile,int,index
  declarexfunction int,gx_baseed_basicgetflagrecompile,int,index
  declarexfunction int,gx_baseed_basicgetflagprecompiledheader,int,index
  declarexfunction nothing,gx_baseed_basicsetflagprecompiledheader,int,index,int,flag
  declarexfunction nothing,gx_baseed_basicsetflagautosave,int,index
  declarexfunction nothing,gx_baseed_basicresetflagautosave,int,index
  declarexfunction int,gx_baseed_basicgetflagautosave,int,index
  declarexfunction string,gx_baseed_basicgetlevel,int,index
  declarexfunction nothing,gx_baseed_basicsetlevel,int,index,string,level
  declarexfunction string,gx_baseed_basicgetgexname,int,index
  declarexfunction nothing,gx_baseed_basicsetgexname,int,index,string,name
  declarexfunction nothing,gx_baseed_basicgetpos,int,index,rint,posx,rint,posy
  declarexfunction nothing,gx_baseed_basicsetpos,int,index,int,posx,int,posy
  declarexfunction nothing,gx_baseed_basicgetobject,int,index,rint,size,rvoid,buffer
  declarexfunction nothing,gx_baseed_basicsetobject,int,index,int,size,void,buffer
  declarexfunction nothing,gx_baseed_basicfreeobject,int,index
  declarexfunction string,gx_baseed_basicgetlocation,int,index
  declarexfunction nothing,gx_baseed_basicsetlocation,int,index,string,location
  declarexfunction nothing,gx_baseed_basicsetpassword,string,password
  declarexfunction nothing,gx_baseed_basicencryptall,nothing
  declarexfunction nothing,gx_baseed_basicdecryptall,nothing
  declarexfunction nothing,gx_baseed_basicimport,int,index
  declarexfunction nothing,gx_baseed_basicexport,int,index
  declarexfunction nothing,gx_baseed_basicimportall,nothing
  declarexfunction nothing,gx_baseed_basicexportall,nothing
  declarexfunction nothing,gx_baseed_textureeditor,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_baseed_edittexture,gx_tbase,ptr_tbase,int,index
  declarexfunction nothing,gx_baseed_capturecubemap,gx_tbase,ptr_tbase,gx_tbitmap,front_tbitmap,gx_tbitmap,back_tbitmap,gx_tbitmap,left_tbitmap,gx_tbitmap,right_tbitmap,gx_tbitmap,up_tbitmap,gx_tbitmap,down_tbitmap
  declarexfunction nothing,gx_baseed_exportwarp,gx_tbase,ptr_tbase
  declarexfunction gx_tworld,gx_baseed_buildworld,gx_tworld,ptr_tworld
  declarexfunction gx_tworld,gx_baseed_loadworld,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_saveworld,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_saveasworld,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_convertworldtoscene,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_generateworldgeom,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_testworld,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_baseed_closeworld,gx_tworld,ptr_tworld
  declarexfunction gx_tscene,gx_baseed_loadscene,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_savescene,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_saveasscene,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_mergescene,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_testscene,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_closescene,gx_tscene,ptr_tscene
  declarexfunction int,gx_baseed_selectshortnamedrender,nothing
  declarexfunction int,gx_baseed_selectnamedrender,nothing
  declarexfunction nothing,gx_baseed_scenesetname,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneinsertcamera,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenedeletecamera,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenerecordcamera,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenekillframe,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneinsertanim,gx_tscene,ptr_tscene,string,filename
  declarexfunction nothing,gx_baseed_scenescale,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneweld,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneoptimizeface,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneinsertoctree,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenedeleteoctree,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneaddambient,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemulambient,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneaddomni,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_sceneclearlight,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenetrianglify,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenengonify,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenegenerategeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenerender,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshselectcurrent,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshselect,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshselecthierarchy,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshunselecthierarchy,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshselectvisible,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshselecthidden,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshlink,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshcopy,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshmove,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshrotate,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshdelete,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshoptimize,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshproperty,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_scenemeshcreatebox,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenemeshcreatesphere,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenetextureproperty,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenetextureinsert,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenetexturedelete,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_baseed_scenetexturereplace,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_baseed_sceneprintstatus,gx_tscene,ptr_tscene
  declarexfunction gx_tfield,gx_baseed_sceneconverter,gx_tfield,ptr_tfield
  declarexfunction gx_tfield,gx_baseed_sceneanimseparator,gx_tfield,ptr_tfield
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbitmapvqtable
endgroup

/* --------- */
/* gx_bitmap */
/* --------- */
group gx_bitmap
  typedef gx_tbitmap
  classtype gx_bitmap,gx_tbitmap

  enum 0
    dim gx_bitmap_drawflat,1
    dim gx_bitmap_drawgour,1
    dim gx_bitmap_drawflatadd,1
    dim gx_bitmap_drawgouradd,1
    dim gx_bitmap_drawflatsub,1
    dim gx_bitmap_drawgoursub,1
    dim gx_bitmap_drawflatmul,1
    dim gx_bitmap_drawgourmul,1
    dim gx_bitmap_drawflatcutout,1
    dim gx_bitmap_drawgourcutout,1
    dim gx_bitmap_drawflatalpha,1
    dim gx_bitmap_drawgouralpha,1
    dim gx_bitmap_drawnumber,1
  endenum

  define gx_globalbitmap_flagdrawalpha,0x1
  define gx_globalbitmap_flagdrawred,0x2
  define gx_globalbitmap_flagdrawgreen,0x4
  define gx_globalbitmap_flagdrawblue,0x8

  enum 0
    dim gx_bitmaptc_s3t1,1
    dim gx_bitmaptc_s3t3,1
    dim gx_bitmaptc_s3t5,1
    dim gx_bitmaptc_gxtc1,1
    dim gx_bitmaptc_gxtc2,1
    dim gx_bitmaptc_paletted4,1
    dim gx_bitmaptc_vq2,1
    dim gx_bitmaptc_vq4,1
    dim gx_bitmaptc_dct1,1
    dim gx_bitmaptc_dct2,1
    dim gx_bitmaptc_wavelet1,1
    dim gx_bitmaptc_wavelet2,1
    dim gx_bitmaptc_etc1,1
    dim gx_bitmaptc_etc1alpha,1
    dim gx_bitmaptc_pvrtc1,1
    dim gx_bitmaptc_pvrtc1alpha,1
    dim gx_bitmaptc_fxt1,1
    dim gx_bitmaptc_fxt1alpha,1
    dim gx_bitmaptc_etc2,1
    dim gx_bitmaptc_etc2alpha,1
    dim gx_bitmaptc_dctx1,1
    dim gx_bitmaptc_dctx2,1
    dim gx_bitmaptc_s3t1cutout,1
    dim gx_bitmaptc_rgtc1,1
    dim gx_bitmaptc_rgtc2,1
    dim gx_bitmaptc_nbformat,1
  endenum

  define gx_bitmap_qualitylimit,0x7fffffff

  declarexfunction nothing,gx_bitmap_install,nothing
  declarexfunction int,gx_bitmap_ginstall,nothing
  declarexfunction void,gx_bitmap_getparentclass,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_setparentclass,gx_tbitmap,ptr_tbitmap,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction int,gx_bitmap_getglobalflag,nothing
  declarexfunction nothing,gx_bitmap_setglobalflag,int,flag
  declarexfunction gx_tbitmap,gx_bitmap_load,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction gx_tbitmap,gx_bitmap_loadall,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadmtr,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadtxc,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadiff,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadneo,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadscr,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadpcx,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadgif,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadtga,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadbmp,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loadtif,string,filename
  declarexfunction gx_tbitmap,gx_bitmap_loaddds,string,filename
  declarexfunction nothing,gx_bitmap_save,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction int,gx_bitmap_savechunk,gx_tbitmap,ptr_tbitmap,int,filenum
  declarexfunction nothing,gx_bitmap_saveall,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_savemtr,gx_tbitmap,ptr_tbitmap,string,filename,int,format
  declarexfunction nothing,gx_bitmap_savetxc,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_saveiff,gx_tbitmap,ptr_tbitmap,string,filename,int,format
  declarexfunction nothing,gx_bitmap_saveneo,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_savescr,gx_tbitmap,ptr_tbitmap,string,filename,int,mode
  declarexfunction nothing,gx_bitmap_savepcx,gx_tbitmap,ptr_tbitmap,string,filename,int,format
  declarexfunction nothing,gx_bitmap_savegif,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_savetga,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_savebmp,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_savetif,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_saveicns,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_bitmap_free,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_addref,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_getref,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_bitmap_create,string,name,int,sizex,int,sizey,int,bitpixel
  declarexfunction gx_tbitmap,gx_bitmap_copy,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_merge,gx_tbitmap,ptr_tbitmap,gx_tbitmap,src_tbitmap
  declarexfunction nothing,gx_bitmap_setcrunchtc,int,type
  declarexfunction nothing,gx_bitmap_setcrunchquantization,int,quantization
  declarexfunction nothing,gx_bitmap_crunch,gx_tbitmap,ptr_tbitmap,int,crunchnumber
  declarexfunction int,gx_bitmap_getcrunch,gx_tbitmap,ptr_tbitmap
  declarexfunction string,gx_bitmap_getname,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_setname,gx_tbitmap,ptr_tbitmap,string,name
  declarexfunction int,gx_bitmap_getsizex,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_getsizey,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_getsize,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_setsize,gx_tbitmap,ptr_tbitmap,int,sizex,int,sizey
  declarexfunction nothing,gx_bitmap_changesize,gx_tbitmap,ptr_tbitmap,int,sizex,int,sizey
  declarexfunction nothing,gx_bitmap_fastchangesize,gx_tbitmap,ptr_tbitmap,int,sizex,int,sizey
  declarexfunction int,gx_bitmap_getrendershortnameindex,string,name
  declarexfunction nothing,gx_bitmap_getindexedrendershortname,int,render,string,name
  declarexfunction int,gx_bitmap_getrendernameindex,string,name
  declarexfunction nothing,gx_bitmap_getindexedrendername,int,render,string,name
  declarexfunction int,gx_bitmap_getrawpixel,gx_tbitmap,ptr_tbitmap,int,x,int,y
  declarexfunction nothing,gx_bitmap_setrawpixel,gx_tbitmap,ptr_tbitmap,int,x,int,y,int,value
  declarexfunction nothing,gx_bitmap_getpixel,gx_tbitmap,ptr_tbitmap,int,x,int,y,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_bitmap_setpixel,gx_tbitmap,ptr_tbitmap,int,x,int,y,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_drawpixel,gx_tbitmap,ptr_tbitmap,int,x,int,y,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawline,gx_tbitmap,ptr_tbitmap,int,x1,int,y1,int,x2,int,y2,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawsquare,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbox,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbitmap,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,gx_tbitmap,ptr_tbitmapsrc,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbitmapblock,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmapsrc,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbitmapzoom,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmapsrc,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbitmaprotozoom,gx_tbitmap,ptr_tbitmap,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,int,angle,gx_tbitmap,ptr_tbitmapsrc,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawbitmapline,gx_tbitmap,ptr_tbitmap,int,x1,int,y1,int,x2,int,y2,gx_tbitmap,ptr_tbitmapsrc,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_drawtext,gx_tbitmap,ptr_tbitmap,int,posx,int,posy,string,text,int,font,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_bitmap_smooth,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_smoothmore,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_adjustgamma,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_deblockfilter,gx_tbitmap,ptr_tbitmap,gx_tbitmap,smooth_tbitmap,int,factor
  declarexfunction nothing,gx_bitmap_heighttonormalmap,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_normaltoheightmap,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_heighttoembossbumpmap1,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_heighttoembossbumpmap2,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_bakediffusemap,gx_tbitmap,ptr_tbitmap,gx_tbitmap,normal_tbitmap,gx_tbitmap,height_tbitmap,gx_tbitmap,reflexion_tbitmap,gx_tbitmap,specular_tbitmap,gx_tbitmap,ambocclusion_tbitmap
  declarexfunction nothing,gx_bitmap_fastshift,gx_tbitmap,ptr_tbitmap,gx_tbitmap,src_tbitmap,int,x,int,y
  declarexfunction nothing,gx_bitmap_shift,gx_tbitmap,ptr_tbitmap,int,x,int,y
  declarexfunction nothing,gx_bitmap_fasthflip,gx_tbitmap,ptr_tbitmap,gx_tbitmap,src_tbitmap
  declarexfunction nothing,gx_bitmap_hflip,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_fastvflip,gx_tbitmap,ptr_tbitmap,gx_tbitmap,src_tbitmap
  declarexfunction nothing,gx_bitmap_vflip,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_rotateleft,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_rotateright,gx_tbitmap,ptr_tbitmap
  declarexfunction void,gx_bitmap_getpicture,gx_tbitmap,ptr_tbitmap
  declarexfunction void,gx_bitmap_getptrpalette,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_getpalette,gx_tbitmap,ptr_tbitmap,int,numpal,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_bitmap_updatepalette,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_setpalette,gx_tbitmap,ptr_tbitmap,int,numpal,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_setallpalette,gx_tbitmap,ptr_tbitmap,rvoid,palette
  declarexfunction nothing,gx_bitmap_changepalette,gx_tbitmap,ptr_tbitmap,int,numpal,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_changeallpalette,gx_tbitmap,ptr_tbitmap,rvoid,palette
  declarexfunction int,gx_bitmap_isalphapresent,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_isalphapresentfast,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_isalphacutout,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_isgreyscale,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_ismonochrome,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_getbitpixel,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_fastconvert8,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_convert,gx_tbitmap,ptr_tbitmap,int,bitpixel
  declarexfunction nothing,gx_bitmap_limitcolor,gx_tbitmap,ptr_tbitmap,int,nbcolor
  declarexfunction nothing,gx_bitmap_dither,gx_tbitmap,ptr_tbitmap,gx_tbitmap,origin_tbitmap
  declarexfunction nothing,gx_bitmap_ditherwithalpha,gx_tbitmap,ptr_tbitmap,gx_tbitmap,origin_tbitmap
  declarexfunction int,gx_bitmap_getnbcolor,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_pixelconvert24to8,int,r,int,g,int,b
  declarexfunction nothing,gx_bitmap_pixelconvert8to24,int,c,rint,r,rint,g,rint,b
  declarexfunction int,gx_bitmap_pixelconvert24to16,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert16to24,int,color,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert24to15,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert15to24,int,color,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert16to15,int,color
  declarexfunction int,gx_bitmap_pixelconvert15to16,int,color
  declarexfunction int,gx_bitmap_pixelconvert32to12,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert12to32,int,color,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert32to15,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert15to32,int,color,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_bitmap_pixelconvertrgbtoyuv,int,r,int,g,int,b,rint,y,rint,u,rint,v
  declarexfunction nothing,gx_bitmap_pixelconvertyuvtorgb,int,y,int,u,int,v,rint,r,rint,g,rint,b
  declarexfunction int,gx_bitmap_pixelconvertyuv24to8,int,y,int,u,int,v
  declarexfunction nothing,gx_bitmap_pixelconvertyuv8to24,int,c,rint,y,rint,u,rint,v
  declarexfunction int,gx_bitmap_pixelconvertyuv24to16,int,y,int,u,int,v
  declarexfunction nothing,gx_bitmap_pixelconvertyuv16to24,int,c,rint,y,rint,u,rint,v
  declarexfunction int,gx_bitmap_pixelconvert24to16cpu,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert16to24cpu,int,color,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert24to15cpu,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert15to24cpu,int,color,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert32to12cpu,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert12to32cpu,int,color,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvert32to15cpu,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_bitmap_pixelconvert15to32cpu,int,color,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_pixelconvertyuv24to16cpu,int,y,int,u,int,v
  declarexfunction nothing,gx_bitmap_pixelconvertyuv16to24cpu,int,c,rint,y,rint,u,rint,v
  declarexfunction int,gx_bitmap_calculatepixelsize,int,sizex,int,sizey,int,bitpixel
  declarexfunction nothing,gx_bitmap_getaveragecolor,gx_tbitmap,ptr_tbitmap,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction int,gx_bitmap_getquality,gx_tbitmap,ptr_tbitmap,gx_tbitmap,origin_tbitmap,int,quantizationfactor,int,mode
  declarexfunction nothing,gx_bitmap_converttoyuv,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_bitmap_convertfromyuv,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_bitmap_getgxtcsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttogxtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfromgxtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction int,gx_bitmap_gets3tcsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttos3tc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfroms3tc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction int,gx_bitmap_readdctblock,int,x,int,y
  declarexfunction nothing,gx_bitmap_writedctblock,int,x,int,y,int,value
  declarexfunction void,gx_bitmap_getdctbuffer,nothing
  declarexfunction nothing,gx_bitmap_blockconverttodct,nothing
  declarexfunction nothing,gx_bitmap_blockconverttodctx,int,quantization
  declarexfunction nothing,gx_bitmap_iblockconverttodct,nothing
  declarexfunction nothing,gx_bitmap_blockconvertfromdct,nothing
  declarexfunction nothing,gx_bitmap_blockconvertfromdctx,int,quantization
  declarexfunction nothing,gx_bitmap_iblockconvertfromdct,nothing
  declarexfunction int,gx_bitmap_getdctsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttodct,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfromdct,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_initwavelet,int,sizeshift,int,quantization
  declarexfunction nothing,gx_bitmap_resetwavelet,nothing
  declarexfunction int,gx_bitmap_readwaveletblock,int,x,int,y
  declarexfunction nothing,gx_bitmap_writewaveletblock,int,x,int,y,int,value
  declarexfunction void,gx_bitmap_getwaveletbuffer,nothing
  declarexfunction nothing,gx_bitmap_blockconverttowavelet,nothing
  declarexfunction nothing,gx_bitmap_blockconvertfromwavelet,nothing
  declarexfunction int,gx_bitmap_getwaveletsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttowavelet,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfromwavelet,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction int,gx_bitmap_getvqsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttovq,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfromvq,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction gx_tbitmapvqtable,gx_bitmap_newvqtable,int,blocksize
  declarexfunction nothing,gx_bitmap_freevqtable,gx_tbitmapvqtable,ptr_tbitmapvqtable
  declarexfunction nothing,gx_bitmap_addvqblock,gx_tbitmapvqtable,ptr_tbitmapvqtable,int,nbblock
  declarexfunction int,gx_bitmap_getvqnbblock,gx_tbitmapvqtable,ptr_tbitmapvqtable
  declarexfunction nothing,gx_bitmap_getvqcolor,gx_tbitmapvqtable,ptr_tbitmapvqtable,int,blockindex,int,x,int,y,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_bitmap_setvqcolor,gx_tbitmapvqtable,ptr_tbitmapvqtable,int,blockindex,int,x,int,y,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_bitmap_getvqindex,gx_tbitmapvqtable,ptr_tbitmapvqtable,int,blockindex
  declarexfunction nothing,gx_bitmap_generatevq,gx_tbitmapvqtable,data_tbitmapvqtable,gx_tbitmapvqtable,index_tbitmapvqtable,int,nbvq
  declarexfunction int,gx_bitmap_getetcsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttoetc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfrometc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction int,gx_bitmap_getpvrtcsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttopvrtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfrompvrtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction int,gx_bitmap_getfxtcsize,gx_tbitmap,ptr_tbitmap,int,mode
  declarexfunction int,gx_bitmap_converttofxtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction nothing,gx_bitmap_convertfromfxtc,gx_tbitmap,ptr_tbitmap,void,buffer,int,mode
  declarexfunction gx_tbitmap,gx_bitmap_createdummytexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_createenvmaptexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_createmulmaptexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_createsubmaptexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_createalphamaptexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_createlightmaptexture,nothing
  declarexfunction gx_tbitmap,gx_bitmap_cubemaptospheremap,gx_tbitmap,front_tbitmap,gx_tbitmap,back_tbitmap,gx_tbitmap,left_tbitmap,gx_tbitmap,right_tbitmap,gx_tbitmap,up_tbitmap,gx_tbitmap,down_tbitmap
  declarexfunction nothing,gx_bitmap_spheremaptocubemap,gx_tbitmap,ptr_tbitmap,rvoid,front_tbitmap,rvoid,back_tbitmap,rvoid,left_tbitmap,rvoid,right_tbitmap,rvoid,up_tbitmap,rvoid,down_tbitmap
  declarexfunction gx_tbitmap,gx_bitmap_cubemaptocylindermap,gx_tbitmap,front_tbitmap,gx_tbitmap,back_tbitmap,gx_tbitmap,left_tbitmap,gx_tbitmap,right_tbitmap,gx_tbitmap,up_tbitmap,gx_tbitmap,down_tbitmap
  declarexfunction nothing,gx_bitmap_cylindermaptocubemap,gx_tbitmap,ptr_tbitmap,rvoid,front_tbitmap,rvoid,left_tbitmap,rvoid,back_tbitmap,rvoid,right_tbitmap,rvoid,up_tbitmap,rvoid,down_tbitmap
  declarexfunction gx_tbitmap,gx_bitmap_cubemaptocrossmap,gx_tbitmap,front_tbitmap,gx_tbitmap,back_tbitmap,gx_tbitmap,left_tbitmap,gx_tbitmap,right_tbitmap,gx_tbitmap,up_tbitmap,gx_tbitmap,down_tbitmap
  declarexfunction nothing,gx_bitmap_crossmaptocubemap,gx_tbitmap,ptr_tbitmap,rvoid,front_tbitmap,rvoid,back_tbitmap,rvoid,left_tbitmap,rvoid,right_tbitmap,rvoid,up_tbitmap,rvoid,down_tbitmap
  declarexfunction nothing,gx_bitmap_makeseamless,gx_tbitmap,ptr_tbitmap,int,mode
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ------------ */
/* gx_cachedmem */
/* ------------ */
group gx_cachedmem
  typedef gx_tcachedmem
  classtype gx_cachedmem,gx_tcachedmem

  enum 0
    dim gx_cachedmem_mapnone,1
    dim gx_cachedmem_mapreadonly,1
    dim gx_cachedmem_mapwriteonly,1
    dim gx_cachedmem_mapreadwrite,1
  endenum

  declarexfunction int,gx_cachedmem_ginstall,nothing
  declarexfunction nothing,gx_cachedmem_install,nothing
  declarexfunction nothing,gx_cachedmem_uninstall,nothing
  declarexfunction void,gx_cachedmem_getparentclass,gx_tcachedmem,ptr_tcachedmem
  declarexfunction nothing,gx_cachedmem_setparentclass,gx_tcachedmem,ptr_tcachedmem,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tcachedmem,gx_cachedmem_new,int,size
  declarexfunction gx_tcachedmem,gx_cachedmem_longnew,long,size
  declarexfunction nothing,gx_cachedmem_free,gx_tcachedmem,ptr_tcachedmem
  declarexfunction nothing,gx_cachedmem_addref,gx_tcachedmem,ptr_tcachedmem
  declarexfunction int,gx_cachedmem_getref,gx_tcachedmem,ptr_tcachedmem
  declarexfunction void,gx_cachedmem_mapbuffer,gx_tcachedmem,ptr_tcachedmem,int,mode
  declarexfunction void,gx_cachedmem_mapsubbuffer,gx_tcachedmem,ptr_tcachedmem,int,offset,int,size,int,mode
  declarexfunction void,gx_cachedmem_longmapsubbuffer,gx_tcachedmem,ptr_tcachedmem,long,offset,long,size,int,mode
  declarexfunction nothing,gx_cachedmem_unmapbuffer,gx_tcachedmem,ptr_tcachedmem
  declarexfunction int,gx_cachedmem_getsize,gx_tcachedmem,ptr_tcachedmem
  declarexfunction long,gx_cachedmem_longgetsize,gx_tcachedmem,ptr_tcachedmem
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbase
  typedef gx_tactor
  typedef gx_tpath
endgroup

/* --------- */
/* gx_camera */
/* --------- */
group gx_camera
  typedef gx_tcamera
  classtype gx_camera,gx_tcamera

  enum 0
    dim gx_camera_messagetypesetcurrent,1
    dim gx_camera_messagetyperotate,1
    dim gx_camera_messagetypefreeinterpolate,1
    dim gx_camera_messagetypetargetinterpolate,1
    dim gx_camera_messagetypeactorinterpolate,1
    dim gx_camera_messagetyperotateinterpolate,1
    dim gx_camera_messagetypefreepath,1
    dim gx_camera_messagetypetargetpath,1
    dim gx_camera_messagetypeactorpath,1
    dim gx_camera_messagetypewait,1
    dim gx_camera_messagetypeshock,1
    dim gx_camera_messagetypereturn,1
    dim gx_camera_messagetypelockbase,1
    dim gx_camera_messagetypeunlockbase,1
  endenum

  enum 0
    dim gx_camera_modefirst,1
    dim gx_camera_modethird,1
    dim gx_camera_modeiso,1
    dim gx_camera_modefixed,1
  endenum

  declarexfunction int,gx_camera_ginstall,nothing
  declarexfunction nothing,gx_camera_install,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_camera_uninstall,nothing
  declarexfunction nothing,gx_camera_manage,nothing
  declarexfunction nothing,gx_camera_enable,nothing
  declarexfunction nothing,gx_camera_disable,nothing
  declarexfunction int,gx_camera_isenabled,nothing
  declarexfunction int,gx_camera_getmode,nothing
  declarexfunction nothing,gx_camera_setmode,int,mode
  declarexfunction gx_tactor,gx_camera_getparentactor,nothing
  declarexfunction nothing,gx_camera_setparentactor,gx_tactor,ptr_tactor
  declarexfunction float,gx_camera_getdistance,nothing
  declarexfunction nothing,gx_camera_setdistance,float,distance
  declarexfunction float,gx_camera_getinertiapos,nothing
  declarexfunction nothing,gx_camera_setinertiapos,float,value
  declarexfunction float,gx_camera_getinertiaang,nothing
  declarexfunction nothing,gx_camera_setinertiaang,float,value
  declarexfunction int,gx_camera_getfov,nothing
  declarexfunction nothing,gx_camera_setfov,int,value
  declarexfunction float,gx_camera_getcolcylinder,nothing
  declarexfunction nothing,gx_camera_setcolcylinder,float,radius
  declarexfunction float,gx_camera_getcolsphere,nothing
  declarexfunction nothing,gx_camera_setcolsphere,float,radius
  declarexfunction nothing,gx_camera_getcurrentang,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_camera_setcurrentang,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_camera_getoffsetpos,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_camera_setoffsetpos,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_camera_getoffsetang,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_camera_setoffsetang,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_camera_shock,int,power,float,attenuation,float,correction
  declarexfunction nothing,gx_camera_pushmessagesetcurrent,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_camera_pushmessagerotate,int,angx,int,angy,int,angz,int,time
  declarexfunction nothing,gx_camera_pushmessagefreeinterpolate,float,posx,float,posy,float,posz,int,time
  declarexfunction nothing,gx_camera_pushmessagetargetinterpolate,float,posx,float,posy,float,posz,float,targetx,float,targety,float,targetz,int,time
  declarexfunction nothing,gx_camera_pushmessageactorinterpolate,float,posx,float,posy,float,posz,gx_tactor,ptr_tactor,int,time
  declarexfunction nothing,gx_camera_pushmessagerotateinterpolate,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,int,time
  declarexfunction nothing,gx_camera_pushmessagefreepath,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_camera_pushmessagetargetpath,gx_tpath,ptr_tpath,float,targetx,float,targety,float,targetz
  declarexfunction nothing,gx_camera_pushmessageactorpath,gx_tpath,ptr_tpath,gx_tactor,ptr_tactor
  declarexfunction nothing,gx_camera_pushmessagewait,int,time
  declarexfunction nothing,gx_camera_pushmessageshock,int,power,float,attenuation,float,correction
  declarexfunction nothing,gx_camera_pushmessagereturn,int,time
  declarexfunction nothing,gx_camera_pushmessagelockbase,nothing
  declarexfunction nothing,gx_camera_pushmessageunlockbase,nothing
  declarexfunction int,gx_camera_getnbmessage,nothing
  declarexfunction nothing,gx_camera_killnextmessage,nothing
  declarexfunction nothing,gx_camera_killallmessage,nothing
  declarexfunction int,gx_camera_getcurrentmessage,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tfield
  typedef gx_twbtexteditor
endgroup

/* ------------ */
/* gx_component */
/* ------------ */
group gx_component
  typedef gx_tcomponent
  classtype gx_component,gx_tcomponent

  declarexfunction int,gx_component_ginstall,nothing
  declarexfunction nothing,gx_component_install,nothing
  declarexfunction nothing,gx_component_uninstall,nothing
  declarexfunction void,gx_component_getparentclass,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_component_setparentclass,gx_tcomponent,ptr_tcomponent,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tcomponent,gx_component_new,nothing
  declarexfunction gx_tcomponent,gx_component_load,string,filename
  declarexfunction gx_tcomponent,gx_component_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_component_save,gx_tcomponent,ptr_tcomponent,string,filename
  declarexfunction int,gx_component_savechunk,gx_tcomponent,ptr_tcomponent,int,filenum
  declarexfunction gx_tcomponent,gx_component_loadgxml,string,filename
  declarexfunction gx_tcomponent,gx_component_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_component_savegxml,gx_tcomponent,ptr_tcomponent,string,filename
  declarexfunction int,gx_component_savegxmlchunk,gx_tcomponent,ptr_tcomponent,int,filenum
  declarexfunction gx_tcomponent,gx_component_loadall,string,filename
  declarexfunction nothing,gx_component_saveall,gx_tcomponent,ptr_tcomponent,string,filename
  declarexfunction nothing,gx_component_free,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_component_addref,gx_tcomponent,ptr_tcomponent
  declarexfunction int,gx_component_getref,gx_tcomponent,ptr_tcomponent
  declarexfunction gx_tcomponent,gx_component_copy,gx_tcomponent,ptr_tcomponent
  declarexfunction string,gx_component_getname,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_component_setname,gx_tcomponent,ptr_tcomponent,string,name
  declarexfunction int,gx_component_getnbcomponent,nothing
  declarexfunction gx_tcomponent,gx_component_getindexedcomponent,int,index
  declarexfunction gx_tcomponent,gx_component_getnamedcomponent,string,name
  declarexfunction int,gx_component_getcomponentindex,gx_tcomponent,ptr_tcomponent
  declarexfunction int,gx_component_getnbfield,gx_tcomponent,ptr_tcomponent
  declarexfunction gx_tfield,gx_component_insertfield,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_component_addfield,gx_tcomponent,ptr_tcomponent,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_component_deletefield,gx_tcomponent,ptr_tcomponent,int,index
  declarexfunction nothing,gx_component_deleteemptyfield,gx_tcomponent,ptr_tcomponent
  declarexfunction gx_tfield,gx_component_getindexedfield,gx_tcomponent,ptr_tcomponent,int,index
  declarexfunction nothing,gx_component_setindexedfield,gx_tcomponent,ptr_tcomponent,int,index,gx_tfield,ptr_tfield
  declarexfunction gx_tfield,gx_component_getnamedfield,gx_tcomponent,ptr_tcomponent,string,name
  declarexfunction int,gx_component_setnamedfield,gx_tcomponent,ptr_tcomponent,string,name,gx_tfield,ptr_tfield
  declarexfunction gx_tfield,gx_component_forcegetnamedfield,gx_tcomponent,ptr_tcomponent,string,name
  declarexfunction int,gx_component_getfieldindex,gx_tcomponent,ptr_tcomponent,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_component_movefieldup,gx_tcomponent,ptr_tcomponent,int,index
  declarexfunction nothing,gx_component_movefielddown,gx_tcomponent,ptr_tcomponent,int,index
  declarexfunction nothing,gx_component_movefieldtopos,gx_tcomponent,ptr_tcomponent,int,index,int,pos
  declarexfunction nothing,gx_component_setnamedkeyname,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,string,name
  declarexfunction string,gx_component_getnamedkeyvalue,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname
  declarexfunction nothing,gx_component_setnamedkeyvalue,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,string,value
  declarexfunction int,gx_component_getnamedkeyint,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,param
  declarexfunction nothing,gx_component_setnamedkeyint,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,value
  declarexfunction float,gx_component_getnamedkeyfloat,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,param
  declarexfunction nothing,gx_component_setnamedkeyfloat,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,float,value
  declarexfunction string,gx_component_getnamedkeycontrol,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname
  declarexfunction nothing,gx_component_setnamedkeycontrol,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,string,control
  declarexfunction int,gx_component_getnamedkeyid,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname
  declarexfunction nothing,gx_component_setnamedkeyid,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,id
  declarexfunction nothing,gx_component_getnamedkeycolor,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_component_setnamedkeycolor,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_component_forcegetnamedkeyvalue,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,param,string,defaultvalue,string,defaultcontrol,string,value
  declarexfunction int,gx_component_forcegetnamedkeyint,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,param,string,defaultvalue,string,defaultcontrol
  declarexfunction float,gx_component_forcegetnamedkeyfloat,gx_tcomponent,ptr_tcomponent,string,fieldname,string,keyname,int,param,string,defaultvalue,string,defaultcontrol
  declarexfunction gx_tcomponent,gx_component_edit,gx_tcomponent,ptr_tcomponent
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tscene
endgroup

/* ------------ */
/* gx_converter */
/* ------------ */
group gx_converter
  typedef gx_tconverter
  classtype gx_converter,gx_tconverter

  declarexfunction int,gx_converter_ginstall,nothing
  declarexfunction gx_tscene,gx_converter_importall,string,filename
  declarexfunction nothing,gx_converter_exportall,gx_tscene,ptr_tscene,string,filename
  declarexfunction nothing,gx_converter_preimportaxa,string,filename
  declarexfunction gx_tscene,gx_converter_importaxa,string,filename
  declarexfunction nothing,gx_converter_exportaxa,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importobj,string,filename
  declarexfunction nothing,gx_converter_exportobj,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_import3ds,string,filename
  declarexfunction nothing,gx_converter_export3dsasc,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importms3d,string,filename
  declarexfunction nothing,gx_converter_exportms3d,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importlwo,string,filename
  declarexfunction nothing,gx_converter_exportlwo,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importb3d,string,filename
  declarexfunction nothing,gx_converter_exportb3d,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importoff,string,filename
  declarexfunction nothing,gx_converter_exportoff,gx_tscene,ptr_tscene,string,filename
  declarexfunction gx_tscene,gx_converter_importdae,string,filename
  declarexfunction nothing,gx_converter_exportdae,gx_tscene,ptr_tscene,string,filename
  declarexfunction nothing,gx_converter_exportvrml,gx_tscene,ptr_tscene,string,filename
  declarexfunction nothing,gx_converter_exporthtm,gx_tscene,ptr_tscene,string,filename
  declarexfunction nothing,gx_converter_exportirr,gx_tscene,ptr_tscene,string,filename
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tvcpu
  typedef gx_twbtexteditor
  typedef gx_tstream
endgroup

/* ------- */
/* gx_core */
/* ------- */
group gx_core
  typedef gx_tcore
  classtype gx_core,gx_tcore

  define gx_core_version,0x8900
  define gx_core_majorversion,0x89
  define gx_core_majorversion_89,1
  define gx_core_globalversion_8,1

  define gx_core_desktopflagredisplayall,0x1
  define gx_core_desktopflagrebuildwindow,0x2
  define gx_core_desktopflagexit,0x4

  enum 0
    dim gx_core_licenseunregistered,1
    dim gx_core_licensestandard,1
    dim gx_core_licensepersonal,1
    dim gx_core_licenseprofessional,1
    dim gx_core_licenseenterprise,1
    dim gx_core_licensemaster,1
    dim gx_core_licensenumber,1
  endenum

  define gx_core_mainmenusize,19
  define gx_core_iconbarsize,26
  define gx_core_topwindowsize,28

  declarexfunction int,gx_core_ginstall,nothing
  declarexfunction int,gx_core_install,int,command
  declarexfunction nothing,gx_core_uninstall,nothing
  declarexfunction string,gx_core_getname,nothing
  declarexfunction int,gx_core_getversion,nothing
  declarexfunction string,gx_core_getstringversion,nothing
  declarexfunction string,gx_core_getstringfullversion,nothing
  declarexfunction int,gx_core_geteditormode,nothing
  declarexfunction nothing,gx_core_seteditormode,int,mode
  declarexfunction string,gx_core_getstartupdirectory,nothing
  declarexfunction string,gx_core_getexecutabledirectory,nothing
  declarexfunction string,gx_core_getinstalldirectory,nothing
  declarexfunction void,gx_core_getfilebufferpointer,nothing
  declarexfunction int,gx_core_getfilebuffersize,nothing
  declarexfunction nothing,gx_core_display,nothing
  declarexfunction gx_twbtexteditor,gx_core_getmaintexteditor,nothing
  declarexfunction nothing,gx_core_setmaintexteditor,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_twbtexteditor,gx_core_getdoctexteditor,nothing
  declarexfunction nothing,gx_core_setdoctexteditor,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_core_getdesktopflag,nothing
  declarexfunction nothing,gx_core_setdesktopflag,int,flag
  declarexfunction nothing,gx_core_enabledesktopflag,int,flag
  declarexfunction int,gx_core_maininstall,nothing
  declarexfunction nothing,gx_core_mainuninstall,nothing
  declarexfunction int,gx_core_manage,nothing
  declarexfunction nothing,gx_core_main,nothing
  declarexfunction int,gx_core_command,string,command,int,flag
  declarexfunction nothing,gx_core_terminalcommand,string,command
  declarexfunction nothing,gx_core_updateoption,nothing
  declarexfunction nothing,gx_core_option,nothing
  declarexfunction nothing,gx_core_loadoption,nothing
  declarexfunction nothing,gx_core_saveoption,nothing
  declarexfunction int,gx_core_registeruserfile,string,filename,int,flag
  declarexfunction int,gx_core_registeruser,int,flag
  declarexfunction int,gx_core_checklicensekey,gx_tstream,ptr_tstream,int,flag
  declarexfunction int,gx_core_getlicenseversion,nothing
  declarexfunction nothing,gx_core_setlicenseversion,int,value
  declarexfunction int,gx_core_ispureversion,nothing
  declarexfunction int,gx_core_isltsversion,nothing
  declarexfunction int,gx_core_isdevelopmentversion,nothing
  declarexfunction nothing,gx_core_pluginload,nothing
  declarexfunction nothing,gx_core_pluginclose,nothing
  declarexfunction int,gx_core_pluginlaunch,string,label,string,type,rint,dresult,rfloat,fresult,rvoid,aresult
  declarexfunction nothing,gx_core_loadstartupplugin,nothing
  declarexfunction nothing,gx_core_insertplugin,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_core_deleteplugin,int,index
  declarexfunction int,gx_core_getnbplugin,nothing
  declarexfunction gx_tvcpu,gx_core_getindexedplugin,int,index
  declarexfunction gx_tvcpu,gx_core_getnamedplugin,string,name
  declarexfunction int,gx_core_insertpluginmenu,string,mainmenuname,string,menuname,void,handle,int,resourcesymbol
  declarexfunction nothing,gx_core_installengine,int,flag
  declarexfunction nothing,gx_core_uninstallengine,nothing
  declarexfunction gx_tvcpu,gx_core_loadgel,nothing
  declarexfunction nothing,gx_core_rungel,string,labelname,rint,vardresult,rfloat,varfresult,rvoid,vararesult
  declarexfunction int,gx_core_runagx,string,filename,int,mode
  declarexfunction nothing,gx_core_executablecompiler,string,command,string,commandfile
  declarexfunction nothing,gx_core_stringencryptor,nothing
  declarexfunction nothing,gx_core_fileprocess,int,command,string,source,string,target,int,crypttype,string,password
  declarexfunction nothing,gx_core_chunkviewer,string,filename
  declarexfunction nothing,gx_core_warpgenerator,nothing
  declarexfunction nothing,gx_core_benchmark,int,flag
  declarexfunction nothing,gx_core_inputtester,nothing
  declarexfunction nothing,gx_core_displayacknowledgment,nothing
  declarexfunction nothing,gx_core_browsehelp,nothing
  declarexfunction nothing,gx_core_checkforupdate,string,versionname,string,versionlink,string,downloadlink
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_crunch */
/* --------- */
group gx_crunch
  typedef gx_tcrunch
  classtype gx_crunch,gx_tcrunch

  enum 0
    dim gx_crunch_typestore,1
    dim gx_crunch_typerle,1
    dim gx_crunch_typerleh,1
    dim gx_crunch_typelz,1
    dim gx_crunch_typehuff,1
    dim gx_crunch_typelzh,1
    dim gx_crunch_typestd,1
    dim gx_crunch_typegxtc,1
    dim gx_crunch_typevideo,1
    dim gx_crunch_typevideocutout,1
    dim gx_crunch_typevideoalpha,1
    dim gx_crunch_nbtype,1
  endenum

  enum 0
    dim gx_crunch_exttypestore,1
    dim gx_crunch_exttyperle,1
    dim gx_crunch_exttyperleh,1
    dim gx_crunch_exttypelz,1
    dim gx_crunch_exttypehuff,1
    dim gx_crunch_exttypelzh,1
    dim gx_crunch_exttypelzw,1
    dim gx_crunch_exttypelzb,1
    dim gx_crunch_exttypelzbh,1
    dim gx_crunch_exttypeextern,1
    dim gx_crunch_nbsubtype,1
  endenum

  declarexfunction int,gx_crunch_ginstall,nothing
  declarexfunction int,gx_crunch_getsize,int,size
  declarexfunction long,gx_crunch_longgetsize,long,size
  declarexfunction nothing,gx_crunch_pack,string,buffersrc,string,bufferdst,int,startsrc,rint,size,int,numcrunch
  declarexfunction nothing,gx_crunch_longpack,string,buffersrc,string,bufferdst,int,startsrc,rlong,size,int,numcrunch
  declarexfunction nothing,gx_crunch_unpack,rvoid,buffersrc,rvoid,bufferdst,int,size,int,numcrunch
  declarexfunction nothing,gx_crunch_longunpack,rvoid,buffersrc,rvoid,bufferdst,long,size,int,numcrunch
  declarexfunction nothing,gx_crunch_packext,string,buffersrc,string,bufferdst,int,startsrc,rint,size,int,numcrunch
  declarexfunction nothing,gx_crunch_longpackext,string,buffersrc,string,bufferdst,int,startsrc,rlong,size,int,numcrunch
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* -------- */
/* gx_crypt */
/* -------- */
group gx_crypt
  typedef gx_tcrypt
  classtype gx_crypt,gx_tcrypt

  enum 0
    dim gx_crypt_typenone,1
    dim gx_crypt_typepublickey,1
    dim gx_crypt_typeprivatekey,1
    dim gx_crypt_typeextpublic,1
    dim gx_crypt_typeextprivate,1
    dim gx_crypt_typefastblock,1
    dim gx_crypt_typefastblockprivate,1
    dim gx_crypt_typemediumblock,1
    dim gx_crypt_typemediumblockprivate,1
    dim gx_crypt_typeblock,1
    dim gx_crypt_typeblockprivate,1
    dim gx_crypt_typearcfourgx,1
    dim gx_crypt_typemultipublic,1
    dim gx_crypt_typemultiprivate,1
    dim gx_crypt_typeaes,1
    dim gx_crypt_typedes,1
    dim gx_crypt_typetripledes,1
    dim gx_crypt_typeblowfish,1
    dim gx_crypt_typearcfour,1
    dim gx_crypt_typearcfourvmpc,1
    dim gx_crypt_typearcfourplus,1
    dim gx_crypt_typearcfourspritz,1
    dim gx_crypt_typeserpent,1
    dim gx_crypt_typemaxpublic,1
    dim gx_crypt_typemaxprivate,1
    dim gx_crypt_nbtype,1
  endenum

  enum 0
    dim gx_crypt_abstypernd,1
    dim gx_crypt_abstypeext,1
    dim gx_crypt_abstypeseed,1
    dim gx_crypt_nbabstype,1
  endenum

  declarexfunction int,gx_crypt_ginstall,nothing
  declarexfunction int,gx_crypt_getseed,nothing
  declarexfunction nothing,gx_crypt_setseed,int,seed
  declarexfunction nothing,gx_crypt_encrypt,void,buffer,int,size,void,password,int,passwordsize,int,type,int,flag
  declarexfunction nothing,gx_crypt_decrypt,void,buffer,int,size,void,password,int,passwordsize,int,type,int,flag
  declarexfunction nothing,gx_crypt_generatepublickey,void,privatekey,void,publickey,int,keysize,int,type
  declarexfunction int,gx_crypt_rsaencryptvalue,int,value,int,publickey,int,modulus
  declarexfunction int,gx_crypt_rsadecryptvalue,int,value,int,privatekey,int,modulus
  declarexfunction nothing,gx_crypt_rsageneratekey,int,password,rint,publickey,rint,privatekey,rint,modulus
  declarexfunction int,gx_crypt_encryptabs,int,value,void,password,int,passwordsize,int,offset,int,type
  declarexfunction int,gx_crypt_decryptabs,int,value,void,password,int,passwordsize,int,offset,int,type
  declarexfunction nothing,gx_crypt_getmd5,rint,crc0,rint,crc1, rint,crc2,rint,crc3,void,buffer,int,size
  declarexfunction nothing,gx_crypt_getsha1,rint,crc0,rint,crc1, rint,crc2,rint,crc3,rint,crc4,void,buffer,int,size
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbitmap
endgroup

/* --------- */
/* gx_cursor */
/* --------- */
group gx_cursor
  typedef gx_tcursor
  classtype gx_cursor,gx_tcursor

  define gx_cursor_flagusemouse,0x4
  define gx_cursor_flagusekeyboard,0x8
  define gx_cursor_flagusegamepad,0x10
  define gx_cursor_flagusepointer,0x20

  declarexfunction int,gx_cursor_ginstall,nothing
  declarexfunction nothing,gx_cursor_install,nothing
  declarexfunction nothing,gx_cursor_uninstall,nothing
  declarexfunction nothing,gx_cursor_insert,gx_tbitmap,ptr_tbitmap,string,materialname,float,sizex,float,sizey,float,centerx,float,centery,int,render
  declarexfunction nothing,gx_cursor_free,nothing
  declarexfunction nothing,gx_cursor_enable,nothing
  declarexfunction nothing,gx_cursor_disable,nothing
  declarexfunction int,gx_cursor_isenabled,nothing
  declarexfunction nothing,gx_cursor_enabledisplay,nothing
  declarexfunction nothing,gx_cursor_disabledisplay,nothing
  declarexfunction int,gx_cursor_isdisplayenabled,nothing
  declarexfunction nothing,gx_cursor_enablecontrolmode,int,mode
  declarexfunction nothing,gx_cursor_disablecontrolmode,int,mode
  declarexfunction int,gx_cursor_iscontrolmodeenabled,int,mode
  declarexfunction int,gx_cursor_getnbcursor,nothing
  declarexfunction int,gx_cursor_getcurrent,nothing
  declarexfunction nothing,gx_cursor_setcurrent,int,index
  declarexfunction float,gx_cursor_getposx,int,index
  declarexfunction float,gx_cursor_getposy,int,index
  declarexfunction nothing,gx_cursor_getpos3d,int,index,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_cursor_setpos,int,index,float,posx,float,posy
  declarexfunction nothing,gx_cursor_display,nothing
  declarexfunction nothing,gx_cursor_manage,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ----------- */
/* gx_database */
/* ----------- */
group gx_database
  typedef gx_tdatabase
  classtype gx_database,gx_tdatabase

  declarexfunction int,gx_database_ginstall,nothing
  declarexfunction void,gx_database_getparentclass,gx_tdatabase,ptr_tdatabase
  declarexfunction nothing,gx_database_setparentclass,gx_tdatabase,ptr_tdatabase,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tdatabase,gx_database_open,string,filename
  declarexfunction nothing,gx_database_close,gx_tdatabase,ptr_tdatabase
  declarexfunction nothing,gx_database_addref,gx_tdatabase,ptr_tdatabase
  declarexfunction int,gx_database_getref,gx_tdatabase,ptr_tdatabase
  declarexfunction int,gx_database_insertkey,gx_tdatabase,ptr_tdatabase,string,keyname,string,keyvalue,string,keycontrol
  declarexfunction nothing,gx_database_deletekey,gx_tdatabase,ptr_tdatabase,int,index
  declarexfunction nothing,gx_database_fastdeletekey,gx_tdatabase,ptr_tdatabase,int,index
  declarexfunction nothing,gx_database_sort,gx_tdatabase,ptr_tdatabase
  declarexfunction int,gx_database_getnbkey,gx_tdatabase,ptr_tdatabase
  declarexfunction nothing,gx_database_getindexedkeyname,gx_tdatabase,ptr_tdatabase,int,index,void,name
  declarexfunction nothing,gx_database_setindexedkeyname,gx_tdatabase,ptr_tdatabase,int,index,string,keyname
  declarexfunction int,gx_database_getkeyindex,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction int,gx_database_getsortedkeyindex,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_getindexedkeyvalue,gx_tdatabase,ptr_tdatabase,int,index,void,value
  declarexfunction nothing,gx_database_setindexedkeyvalue,gx_tdatabase,ptr_tdatabase,int,index,string,keyvalue
  declarexfunction int,gx_database_getindexedkeyint,gx_tdatabase,ptr_tdatabase,int,index,int,param
  declarexfunction nothing,gx_database_setindexedkeyint,gx_tdatabase,ptr_tdatabase,int,index,int,value
  declarexfunction float,gx_database_getindexedkeyfloat,gx_tdatabase,ptr_tdatabase,int,index,int,param
  declarexfunction nothing,gx_database_setindexedkeyfloat,gx_tdatabase,ptr_tdatabase,int,index,float,value
  declarexfunction nothing,gx_database_getindexedkeycontrol,gx_tdatabase,ptr_tdatabase,int,index,void,control
  declarexfunction nothing,gx_database_setindexedkeycontrol,gx_tdatabase,ptr_tdatabase,int,index,string,keycontrol
  declarexfunction int,gx_database_getindexedkeyid,gx_tdatabase,ptr_tdatabase,int,index
  declarexfunction nothing,gx_database_setindexedkeyid,gx_tdatabase,ptr_tdatabase,int,index,int,id
  declarexfunction nothing,gx_database_getindexedkeycolor,gx_tdatabase,ptr_tdatabase,int,index,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_database_setindexedkeycolor,gx_tdatabase,ptr_tdatabase,int,index,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_database_swapindexedkey,gx_tdatabase,ptr_tdatabase,int,index,int,targetindex
  declarexfunction nothing,gx_database_moveindexedkeyup,gx_tdatabase,ptr_tdatabase,int,index
  declarexfunction nothing,gx_database_moveindexedkeydown,gx_tdatabase,ptr_tdatabase,int,index
  declarexfunction nothing,gx_database_moveindexedkeytopos,gx_tdatabase,ptr_tdatabase,int,index,int,targetindex
  declarexfunction nothing,gx_database_deletenamedkey,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_fastdeletenamedkey,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_setnamedkeyname,gx_tdatabase,ptr_tdatabase,string,keyname,string,name
  declarexfunction nothing,gx_database_getnamedkeyvalue,gx_tdatabase,ptr_tdatabase,string,keyname,void,value
  declarexfunction nothing,gx_database_setnamedkeyvalue,gx_tdatabase,ptr_tdatabase,string,keyname,string,value
  declarexfunction int,gx_database_getnamedkeyint,gx_tdatabase,ptr_tdatabase,string,keyname,int,param
  declarexfunction nothing,gx_database_setnamedkeyint,gx_tdatabase,ptr_tdatabase,string,keyname,int,value
  declarexfunction float,gx_database_getnamedkeyfloat,gx_tdatabase,ptr_tdatabase,string,keyname,int,param
  declarexfunction nothing,gx_database_setnamedkeyfloat,gx_tdatabase,ptr_tdatabase,string,keyname,float,value
  declarexfunction nothing,gx_database_getnamedkeycontrol,gx_tdatabase,ptr_tdatabase,string,keyname,void,control
  declarexfunction nothing,gx_database_setnamedkeycontrol,gx_tdatabase,ptr_tdatabase,string,keyname,string,control
  declarexfunction int,gx_database_getnamedkeyid,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_setnamedkeyid,gx_tdatabase,ptr_tdatabase,string,keyname,int,id
  declarexfunction nothing,gx_database_getnamedkeycolor,gx_tdatabase,ptr_tdatabase,string,keyname,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_database_setnamedkeycolor,gx_tdatabase,ptr_tdatabase,string,keyname,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_database_swapnamedkey,gx_tdatabase,ptr_tdatabase,string,keyname,string,targetkeyname
  declarexfunction nothing,gx_database_movenamedkeyup,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_movenamedkeydown,gx_tdatabase,ptr_tdatabase,string,keyname
  declarexfunction nothing,gx_database_movenamedkeytopos,gx_tdatabase,ptr_tdatabase,string,keyname,int,targetindex
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tactor
endgroup

/* --------- */
/* gx_dialog */
/* --------- */
group gx_dialog
  typedef gx_tdialog
  classtype gx_dialog,gx_tdialog

  define gx_dialog_keyflagnone,0x0
  define gx_dialog_keyflagenabled,0x1
  define gx_dialog_keyflagonceonly,0x2
  define gx_dialog_keyflagused,0x4
  define gx_dialog_keyflagautoexecute,0x8

  define gx_dialog_actionflagnone,0x0
  define gx_dialog_actionflagenabled,0x1
  define gx_dialog_actionflagused,0x2
  define gx_dialog_actionflagonceonly,0x4

  enum 0
    dim gx_dialog_actionenablekeyifkeyused,1
    dim gx_dialog_actiondisablekeyifkeyused,1
    dim gx_dialog_actionenablekeyifgroupactived,1
    dim gx_dialog_actiondisablekeyifgroupactived,1
    dim gx_dialog_actionsetgroupifkeyused,1
    dim gx_dialog_actionsetgroupifgroupactived,1
  endenum

  define gx_dialog_flagnone,0x0
  define gx_dialog_flagenabled,0x1
  define gx_dialog_flagused,0x2
  define gx_dialog_flagautomatsleep,0x4

  enum 0
    dim gx_dialog_statewait,1
    dim gx_dialog_statetalk,1
  endenum

  declarexfunction int,gx_dialog_ginstall,nothing
  declarexfunction nothing,gx_dialog_install,nothing
  declarexfunction nothing,gx_dialog_uninstall,nothing
  declarexfunction nothing,gx_dialog_load,string,filename
  declarexfunction nothing,gx_dialog_free,nothing
  declarexfunction nothing,gx_dialog_update,nothing
  declarexfunction nothing,gx_dialog_manage,nothing
  declarexfunction int,gx_dialog_insertactor,string,name,int,flag
  declarexfunction string,gx_dialog_getactorname,int,index
  declarexfunction nothing,gx_dialog_setactorname,int,index,string,name
  declarexfunction int,gx_dialog_getactorindex,string,name
  declarexfunction nothing,gx_dialog_setgroupanim,int,index,int,groupanimwait,int,groupanimtalk
  declarexfunction int,gx_dialog_insertkey,int,index,int,subtitleid,int,group,int,flag
  declarexfunction int,gx_dialog_getnbactor,nothing
  declarexfunction gx_tactor,gx_dialog_getactor,int,index
  declarexfunction nothing,gx_dialog_setactor,int,index,gx_tactor,ptr_tactor
  declarexfunction int,gx_dialog_getflag,int,index
  declarexfunction nothing,gx_dialog_setflag,int,index,int,flag
  declarexfunction float,gx_dialog_getradius,int,index
  declarexfunction nothing,gx_dialog_setradius,int,index,float,radius
  declarexfunction int,gx_dialog_getanglemax,int,index
  declarexfunction nothing,gx_dialog_setanglemax,int,index,int,anglemax
  declarexfunction nothing,gx_dialog_setcurrentplayer,int,actorindex
  declarexfunction int,gx_dialog_getcurrentgroup,int,index
  declarexfunction nothing,gx_dialog_setcurrentgroup,int,index,int,group
  declarexfunction int,gx_dialog_getcurrentkey,int,index
  declarexfunction nothing,gx_dialog_setcurrentkey,int,index,int,keyindex
  declarexfunction int,gx_dialog_checkcurrentkey,int,index
  declarexfunction int,gx_dialog_skipcurrentkey,int,index
  declarexfunction int,gx_dialog_isdialogready,int,index
  declarexfunction int,gx_dialog_isonedialogready,nothing
  declarexfunction int,gx_dialog_isdialogrunning,int,index
  declarexfunction int,gx_dialog_isonedialogrunning,nothing
  declarexfunction nothing,gx_dialog_activate,int,index,int,anim
  declarexfunction int,gx_dialog_getactornbkey,int,index
  declarexfunction int,gx_dialog_getkeysubtitleid,int,index,int,keyindex
  declarexfunction nothing,gx_dialog_setkeysubtitleid,int,index,int,keyindex,int,subtitleid
  declarexfunction int,gx_dialog_getkeyindex,int,index,int,subtitleid
  declarexfunction int,gx_dialog_getkeygroup,int,index,int,keyindex
  declarexfunction nothing,gx_dialog_setkeygroup,int,index,int,keyindex,int,group
  declarexfunction int,gx_dialog_getkeyflag,int,index,int,keyindex
  declarexfunction nothing,gx_dialog_setkeyflag,int,index,int,keyindex,int,flag
  declarexfunction int,gx_dialog_insertaction,int,actiontype,int,dialogindex,int,sourceindex,int,targetdialogindex,int,targetindex,int,flag
  declarexfunction int,gx_dialog_getactionflag,int,actionindex
  declarexfunction nothing,gx_dialog_setactionflag,int,actionindex,int,flag
  declarexfunction nothing,gx_dialog_memorycardload,nothing
  declarexfunction nothing,gx_dialog_memorycardsave,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ------------- */
/* gx_dictionary */
/* ------------- */
group gx_dictionary
  typedef gx_tdictionary
  classtype gx_dictionary,gx_tdictionary

  enum 0
    dim gx_dictionary_typehashlist,1
    dim gx_dictionary_typesorted,1
  endenum

  declarexfunction int,gx_dictionary_ginstall,nothing
  declarexfunction void,gx_dictionary_getparentclass,gx_tdictionary,ptr_tdictionary
  declarexfunction nothing,gx_dictionary_setparentclass,gx_tdictionary,ptr_tdictionary,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tdictionary,gx_dictionary_new,int,cellsize,int,type
  declarexfunction nothing,gx_dictionary_free,gx_tdictionary,ptr_tdictionary
  declarexfunction nothing,gx_dictionary_addref,gx_tdictionary,ptr_tdictionary
  declarexfunction int,gx_dictionary_getref,gx_tdictionary,ptr_tdictionary
  declarexfunction nothing,gx_dictionary_setcallback,gx_tdictionary,ptr_tdictionary,void,ptr_tarraysort,void,crccb
  declarexfunction nothing,gx_dictionary_setstdcallback,gx_tdictionary,ptr_tdictionary,int,type
  declarexfunction gx_tdictionary,gx_dictionary_copy,gx_tdictionary,ptr_tdictionary
  declarexfunction string,gx_dictionary_getname,gx_tdictionary,ptr_tdictionary
  declarexfunction nothing,gx_dictionary_setname,gx_tdictionary,ptr_tdictionary,string,name
  declarexfunction int,gx_dictionary_insertcell,gx_tdictionary,ptr_tdictionary,void,pointer
  declarexfunction nothing,gx_dictionary_replacecell,gx_tdictionary,ptr_tdictionary,int,index,void,pointer
  declarexfunction nothing,gx_dictionary_deletecell,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_deleteall,gx_tdictionary,ptr_tdictionary
  declarexfunction nothing,gx_dictionary_purge,gx_tdictionary,ptr_tdictionary
  declarexfunction int,gx_dictionary_getnbcell,gx_tdictionary,ptr_tdictionary
  declarexfunction int,gx_dictionary_getcellindex,gx_tdictionary,ptr_tdictionary,void,pointer
  declarexfunction int,gx_dictionary_getnextcellindex,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction void,gx_dictionary_getcell,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction int,gx_dictionary_gettargetvalue,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_settargetvalue,gx_tdictionary,ptr_tdictionary,int,index,int,value
  declarexfunction long,gx_dictionary_gettargetlongvalue,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_settargetlongvalue,gx_tdictionary,ptr_tdictionary,int,index,long,value
  declarexfunction int,gx_dictionary_gettargetid,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_settargetid,gx_tdictionary,ptr_tdictionary,int,index,int,id
  declarexfunction long,gx_dictionary_gettargetlongid,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_settargetlongid,gx_tdictionary,ptr_tdictionary,int,index,long,id
  declarexfunction void,gx_dictionary_gettargetpointer,gx_tdictionary,ptr_tdictionary,int,index
  declarexfunction nothing,gx_dictionary_settargetpointer,gx_tdictionary,ptr_tdictionary,int,index,void,pointer
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------ */
/* gx_dsp */
/* ------ */
group gx_dsp
  typedef gx_tdsp
  classtype gx_dsp,gx_tdsp

  declarexfunction int,gx_dsp_ginstall,nothing
  declarexfunction nothing,gx_dsp_fill,void,dst,int,value,int,size
  declarexfunction nothing,gx_dsp_longfill,void,dst,int,value,long,size
  declarexfunction int,gx_dsp_cmp,void,buffersrc,void,bufferdst,int,size
  declarexfunction int,gx_dsp_longcmp,void,buffersrc,void,bufferdst,long,size
  declarexfunction nothing,gx_dsp_move,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_copy,void,dst,void,src,int,size
  declarexfunction nothing,gx_dsp_longcopy,void,dst,void,src,long,size
  declarexfunction nothing,gx_dsp_overlapmove,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longoverlapmove,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_overlapcopy,void,dst,void,src,int,size
  declarexfunction nothing,gx_dsp_longoverlapcopy,void,dst,void,src,long,size
  declarexfunction nothing,gx_dsp_move8,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove8,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_move16,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove16,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_move32,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove32,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_move64,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove64,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_move128,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmove128,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_moveor,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmoveor,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_movexor,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmovexor,void,src,void,dst,long,size
  declarexfunction nothing,gx_dsp_moveand,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_longmoveand,void,src,void,dst,long,size
  declarexfunction int,gx_dsp_find,void,src,void,dst,int,srcsize,int,dstsize
  declarexfunction long,gx_dsp_longfind,void,src,void,dst,long,srcsize,long,dstsize
  declarexfunction int,gx_dsp_getcrc8,int,crc,void,buffer,int,size
  declarexfunction int,gx_dsp_longgetcrc8,int,crc,void,buffer,long,size
  declarexfunction int,gx_dsp_getcrc16,int,crc,void,buffer,int,size
  declarexfunction int,gx_dsp_longgetcrc16,int,crc,void,buffer,long,size
  declarexfunction int,gx_dsp_getcrc,int,crc,void,buffer,int,size
  declarexfunction int,gx_dsp_longgetcrc,int,crc,void,buffer,long,size
  declarexfunction nothing,gx_dsp_getcrc64,rint,crc0,rint,crc1,void,buffer,int,size
  declarexfunction nothing,gx_dsp_longgetcrc64,rint,crc0,rint,crc1,void,buffer,long,size
  declarexfunction nothing,gx_dsp_getcrc128,rint,crc0,rint,crc1,rint,crc2,rint,crc3,void,buffer,int,size
  declarexfunction nothing,gx_dsp_longgetcrc128,rint,crc0,rint,crc1,rint,crc2,rint,crc3,void,buffer,long,size
  declarexfunction nothing,gx_dsp_getcrc256,rint,crc0,rint,crc1,rint,crc2,rint,crc3,rint,crc4,rint,crc5,rint,crc6,rint,crc7,void,buffer,int,size
  declarexfunction nothing,gx_dsp_longgetcrc256,rint,crc0,rint,crc1,rint,crc2,rint,crc3,rint,crc4,rint,crc5,rint,crc6,rint,crc7,void,buffer,long,size
  declarexfunction int,gx_dsp_getcpccrc,int,crc,void,buffer,int,size
  declarexfunction int,gx_dsp_longgetcpccrc,int,crc,void,buffer,long,size
  declarexfunction nothing,gx_dsp_flush8to16,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush12torgba12,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush12torgba12invert,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush15torgba15,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush15torgba15invert,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush16to8,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush16to12,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush16to15,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush16to24,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush16to32,void,source,void,target,void,table,int,nbpixel
  declarexfunction nothing,gx_dsp_flush24to16,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush32to15,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush32to12,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flush32torgba32,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_flushblur16,void,source,void,target,int,nbpixel
  declarexfunction nothing,gx_dsp_invert16,void,src,void,dst,int,size
  declarexfunction nothing,gx_dsp_boxzoom8,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom24,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom32,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom16to8,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom8to16,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom16to15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert16to15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom16to24,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert16to24,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom16to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert16to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom15to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert15to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom12to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert12to32,void,screentable,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom24to16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert24to16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom32to15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert32to15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoom32to12,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_boxzoominvert32to12,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction void,gx_dsp_createchunkytoplanartable,int,nbplane
  declarexfunction int,gx_dsp_getchunkytableoffset,int,plane
  declarexfunction nothing,gx_dsp_chunky8toplanar,void,chunkytable,int,chunkytableoffset,void,source,void,target,int,nbbyte
  declarexfunction nothing,gx_dsp_fastchunky8toplanar,void,chunkytable,void,source,void,target,int,nbbyte,int,nbplane,int,planeoffset
  declarexfunction nothing,gx_dsp_deltachunky8toplanar,void,chunkytable,void,source,void,delta,void,target,int,nbbyte,int,nbplane,int,planeoffset
  declarexfunction nothing,gx_dsp_chunky16toplanar,void,screentable,void,chunkytable,int,chunkytableoffset,void,source,void,target,int,nbbyte
  declarexfunction nothing,gx_dsp_fastchunky16toplanar,void,screentable,void,chunkytable,void,source,void,target,int,nbbyte,int,nbplane,int,planeoffset
  declarexfunction nothing,gx_dsp_deltachunky16toplanar,void,screentable,void,chunkytable,void,source,void,delta,void,target,int,nbbyte,int,nbplane,int,planeoffset
  declarexfunction nothing,gx_dsp_bilinearzoomx24,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex
  declarexfunction nothing,gx_dsp_bilinearzoomy24,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoom24,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoomx32,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex
  declarexfunction nothing,gx_dsp_bilinearzoomy32,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoom32,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoomx16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex
  declarexfunction nothing,gx_dsp_bilinearzoomy16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoom16,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoomx15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex
  declarexfunction nothing,gx_dsp_bilinearzoomy15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoom15,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoomx12,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex
  declarexfunction nothing,gx_dsp_bilinearzoomy12,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizey
  declarexfunction nothing,gx_dsp_bilinearzoom12,void,source,int,srcsizex,int,srcsizey,void,target,int,dstsizex,int,dstsizey
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tmaterial
  typedef gx_tkerneltransform
  typedef gx_tmatrix
endgroup

/* --------- */
/* gx_engine */
/* --------- */
group gx_engine
  typedef gx_tengine
  classtype gx_engine,gx_tengine

  enum 0
    dim gx_engine_intersectionoutside,1
    dim gx_engine_intersectionpartial,1
    dim gx_engine_intersectioninside,1
    dim gx_engine_intersectioncover,1
  endenum

  enum 0
    dim gx_enginecol3dinfo_typenone,1
    dim gx_enginecol3dinfo_typeworld,1
    dim gx_enginecol3dinfo_typeeventbox,1
    dim gx_enginecol3dinfo_typepath,1
    dim gx_enginecol3dinfo_typeactor,1
    dim gx_enginecol3dinfo_typemodel,1
    dim gx_enginecol3dinfo_typescene,1
    dim gx_enginecol3dinfo_typenavmesh,1
    dim gx_enginecol3dinfo_nbtype,1
  endenum

  define gx_engine_nbchannel,4

  define gx_engine_flagnone,0x0
  define gx_engine_flagdisplay,0x1
  define gx_engine_flagwireframe,0x2
  define gx_engine_flagfixedpoint,0x4
  define gx_engine_flagnozbuffer,0x8
  define gx_engine_flagspanbuffer,0x10
  define gx_engine_flagnotexture,0x20
  define gx_engine_flagmonochannel,0x40
  define gx_engine_flagreleasetexture,0x80
  define gx_engine_flagtexturenomipmap,0x100
  define gx_engine_flaghardwarerender,0x200
  define gx_engine_flaghardwaretransform,0x400
  define gx_engine_flaghardwarestaticgeom,0x800
  define gx_engine_flaghardwaredynamicgeom,0x1000
  define gx_engine_flaghardwarelight,0x2000

  enum 0
    dim gx_render_null,1
    dim gx_render_wire,1
    dim gx_render_flat,1
    dim gx_render_flattrans,1
    dim gx_render_flatadd,1
    dim gx_render_flatsub,1
    dim gx_render_flatmul,1
    dim gx_render_gour,1
    dim gx_render_gourtrans,1
    dim gx_render_gouradd,1
    dim gx_render_goursub,1
    dim gx_render_gourmul,1
    dim gx_render_map,1
    dim gx_render_maptrans,1
    dim gx_render_mapadd,1
    dim gx_render_mapsub,1
    dim gx_render_mapmul,1
    dim gx_render_mapcutout,1
    dim gx_render_mapalpha,1
    dim gx_render_gourmap,1
    dim gx_render_gourmaptrans,1
    dim gx_render_gourmapadd,1
    dim gx_render_gourmapsub,1
    dim gx_render_gourmapmul,1
    dim gx_render_gourmapcutout,1
    dim gx_render_gourmapalpha,1
    dim gx_render_maxrender,1
  endenum

  define gx_engine_renderfaceflagtwoside,0x1
  define gx_engine_renderfaceflagsprite,0x2

  declarexfunction int,gx_engine_ginstall,nothing
  declarexfunction nothing,gx_engine_install,int,flag,int,facebuffer
  declarexfunction nothing,gx_engine_uninstall,nothing
  declarexfunction nothing,gx_engine_switchtowireframe,nothing
  declarexfunction nothing,gx_engine_switchtozbuffer,nothing
  declarexfunction int,gx_engine_getflag,nothing
  declarexfunction nothing,gx_engine_begin3d,nothing
  declarexfunction nothing,gx_engine_end3d,nothing
  declarexfunction nothing,gx_engine_finish3d,nothing
  declarexfunction nothing,gx_engine_flush,nothing
  declarexfunction nothing,gx_engine_screencapture,void,buffer,int,sizex,int,sizey
  declarexfunction nothing,gx_engine_screentomaterial,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_engine_isinstalled,nothing
  declarexfunction int,gx_engine_isdisplaying,nothing
  declarexfunction nothing,gx_engine_getbackgroundcolor,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_engine_setbackgroundcolor,int,red,int,green,int,blue
  declarexfunction nothing,gx_engine_clearcolor,nothing
  declarexfunction nothing,gx_engine_cleardepth,nothing
  declarexfunction nothing,gx_engine_clearstencil,nothing
  declarexfunction nothing,gx_engine_clearall,nothing
  declarexfunction int,gx_engine_getbrightness,nothing
  declarexfunction nothing,gx_engine_setbrightness,int,level
  declarexfunction int,gx_engine_getcontrast,nothing
  declarexfunction nothing,gx_engine_setcontrast,int,level
  declarexfunction nothing,gx_engine_setclipping,int,xmin,int,xmax,int,ymin,int,ymax,int,zmax
  declarexfunction int,gx_engine_getclippingxmin,nothing
  declarexfunction int,gx_engine_getclippingxmax,nothing
  declarexfunction int,gx_engine_getclippingymin,nothing
  declarexfunction int,gx_engine_getclippingymax,nothing
  declarexfunction int,gx_engine_getclippingzmax,nothing
  declarexfunction float,gx_engine_convertscreentorenderx,float,value
  declarexfunction float,gx_engine_convertscreentorendery,float,value
  declarexfunction float,gx_engine_convertrendertoscreenx,float,value
  declarexfunction float,gx_engine_convertrendertoscreeny,float,value
  declarexfunction float,gx_engine_getweldingsize,nothing
  declarexfunction nothing,gx_engine_setweldingsize,float,size
  declarexfunction int,gx_engine_getfov,nothing
  declarexfunction nothing,gx_engine_setfov,int,fov
  declarexfunction float,gx_engine_getgenericfov,nothing
  declarexfunction nothing,gx_engine_rotatepts2d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotateblendpts2d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotatepts2dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotateblendpts2dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotatepts3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotatepts3dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotateblendpts3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotateblendpts3dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotatenorm3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_rotateblendnorm3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_morph3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_engine_getspherevisibilitymin,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,rfloat,spherex,rfloat,spherey,rfloat,spherez,rfloat,sphereradius
  declarexfunction nothing,gx_engine_getspherevisibilitymax,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,rfloat,spherex,rfloat,spherey,rfloat,spherez,rfloat,sphereradius
  declarexfunction int,gx_engine_checkspherevisibility,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,spherex,float,spherey,float,spherez,float,sphereradius
  declarexfunction nothing,gx_engine_getboxvisibilitymax,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,boxposx,float,boxposy,float,boxposz,float,sizex,float,sizey,float,sizez,rfloat,posxmin,rfloat,posxmax,rfloat,posymin,rfloat,posymax,rfloat,poszmin,rfloat,poszmax
  declarexfunction nothing,gx_engine_getboxvisibilitymin,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,boxposx,float,boxposy,float,boxposz,float,sizex,float,sizey,float,sizez,rfloat,posxmin,rfloat,posxmax,rfloat,posymin,rfloat,posymax,rfloat,poszmin,rfloat,poszmax
  declarexfunction int,gx_engine_checkboxvisibility,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,boxposx,float,boxposy,float,boxposz,float,sizex,float,sizey,float,sizez
  declarexfunction int,gx_engine_checkspheretosphereintersection,float,spherex0,float,spherey0,float,spherez0,float,sphereradius0,float,spherex1,float,spherey1,float,spherez1,float,sphereradius1
  declarexfunction int,gx_engine_checkspheretoboxintersection,float,spherex,float,spherey,float,spherez,float,sphereradius,float,boxx,float,boxy,float,boxz,float,boxsizex,float,boxsizey,float,boxsizez
  declarexfunction int,gx_engine_checkboxtoboxintersection,float,boxx0,float,boxy0,float,boxz0,float,boxsizex0,float,boxsizey0,float,boxsizez0,float,boxx1,float,boxy1,float,boxz1,float,boxsizex1,float,boxsizey1,float,boxsizez1
  declarexfunction int,gx_engine_getnbmaterial,nothing
  declarexfunction gx_tmaterial,gx_engine_getindexedmaterial,int,index
  declarexfunction gx_tmaterial,gx_engine_getnamedmaterial,string,name
  declarexfunction int,gx_engine_getmaterialindex,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_engine_getrendershortnameindex,string,name
  declarexfunction nothing,gx_engine_getindexedrendershortname,int,render,string,name
  declarexfunction int,gx_engine_getrendernameindex,string,name
  declarexfunction nothing,gx_engine_getindexedrendername,int,render,string,name
  declarexfunction int,gx_engine_getcol3dtype,nothing
  declarexfunction nothing,gx_engine_setcol3dtype,int,type
  declarexfunction int,gx_engine_getcol3dactor,nothing
  declarexfunction nothing,gx_engine_setcol3dactor,int,actor
  declarexfunction int,gx_engine_getcol3deventbox,nothing
  declarexfunction nothing,gx_engine_setcol3deventbox,int,eventbox
  declarexfunction int,gx_engine_getcol3dsector,nothing
  declarexfunction nothing,gx_engine_setcol3dsector,int,sector
  declarexfunction int,gx_engine_getcol3dmesh,nothing
  declarexfunction nothing,gx_engine_setcol3dmesh,int,mesh
  declarexfunction int,gx_engine_getcol3dface,nothing
  declarexfunction nothing,gx_engine_setcol3dface,int,face
  declarexfunction nothing,gx_engine_getcol3dpos,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_engine_setcol3dpos,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_engine_getcol3dnorm,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction nothing,gx_engine_setcol3dnorm,float,normx,float,normy,float,normz
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tcomponent
endgroup

/* ----------- */
/* gx_eventbox */
/* ----------- */
group gx_eventbox
  typedef gx_teventbox
  classtype gx_eventbox,gx_teventbox

  enum 0
    dim gx_eventbox_typecube,1
    dim gx_eventbox_typesphere,1
  endenum
  declarexfunction int,gx_eventbox_ginstall,nothing
  declarexfunction void,gx_eventbox_getparentclass,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_setparentclass,gx_teventbox,ptr_teventbox,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_teventbox,gx_eventbox_new,nothing
  declarexfunction gx_teventbox,gx_eventbox_load,string,filename
  declarexfunction gx_teventbox,gx_eventbox_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_eventbox_save,gx_teventbox,ptr_teventbox,string,filename
  declarexfunction int,gx_eventbox_savechunk,gx_teventbox,ptr_teventbox,int,filenum
  declarexfunction gx_teventbox,gx_eventbox_loadgxml,string,filename
  declarexfunction gx_teventbox,gx_eventbox_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_eventbox_savegxml,gx_teventbox,ptr_teventbox,string,filename
  declarexfunction int,gx_eventbox_savegxmlchunk,gx_teventbox,ptr_teventbox,int,filenum
  declarexfunction gx_teventbox,gx_eventbox_loadall,string,filename
  declarexfunction nothing,gx_eventbox_saveall,gx_teventbox,ptr_teventbox,string,filename
  declarexfunction nothing,gx_eventbox_free,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_addref,gx_teventbox,ptr_teventbox
  declarexfunction int,gx_eventbox_getref,gx_teventbox,ptr_teventbox
  declarexfunction gx_teventbox,gx_eventbox_copy,gx_teventbox,ptr_teventbox
  declarexfunction string,gx_eventbox_getname,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_setname,gx_teventbox,ptr_teventbox,string,name
  declarexfunction gx_tcomponent,gx_eventbox_getcomponent,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_setcomponent,gx_teventbox,ptr_teventbox,gx_tcomponent,ptr_tcomponent
  declarexfunction int,gx_eventbox_getcurrentsector,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_enable,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_disable,gx_teventbox,ptr_teventbox
  declarexfunction int,gx_eventbox_isenabled,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_getfirstpos,gx_teventbox,ptr_teventbox,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_eventbox_setfirstpos,gx_teventbox,ptr_teventbox,float,x,float,y,float,z
  declarexfunction nothing,gx_eventbox_getpos,gx_teventbox,ptr_teventbox,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_eventbox_setpos,gx_teventbox,ptr_teventbox,float,x,float,y,float,z
  declarexfunction int,gx_eventbox_gettype,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_settype,gx_teventbox,ptr_teventbox,int,type
  declarexfunction float,gx_eventbox_getradius,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_setradius,gx_teventbox,ptr_teventbox,float,radius
  declarexfunction nothing,gx_eventbox_getsize,gx_teventbox,ptr_teventbox,rfloat,sizex,rfloat,sizey,rfloat,sizez
  declarexfunction nothing,gx_eventbox_setsize,gx_teventbox,ptr_teventbox,float,sizex,float,sizey,float,sizez
  declarexfunction nothing,gx_eventbox_getang,gx_teventbox,ptr_teventbox,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_eventbox_setang,gx_teventbox,ptr_teventbox,int,angx,int,angy,int,angz
  declarexfunction int,gx_eventbox_getcollisionid,gx_teventbox,ptr_teventbox
  declarexfunction nothing,gx_eventbox_setcollisionid,gx_teventbox,ptr_teventbox,int,collisionid
  declarexfunction int,gx_eventbox_test,gx_teventbox,ptr_teventbox,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,radius
  declarexfunction int,gx_eventbox_testcol3dcylinder,gx_teventbox,ptr_teventbox,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_eventbox_testcol3dsphere,gx_teventbox,ptr_teventbox,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_twbtexteditor
  typedef gx_txarray
  typedef gx_twbwindow
endgroup

/* -------- */
/* gx_field */
/* -------- */
group gx_field
  typedef gx_tfield
  classtype gx_field,gx_tfield

  declarexfunction int,gx_field_ginstall,nothing
  declarexfunction void,gx_field_getparentclass,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_setparentclass,gx_tfield,ptr_tfield,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tfield,gx_field_new,nothing
  declarexfunction gx_tfield,gx_field_load,string,filename
  declarexfunction gx_tfield,gx_field_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_field_save,gx_tfield,ptr_tfield,string,filename
  declarexfunction int,gx_field_savechunk,gx_tfield,ptr_tfield,int,filenum
  declarexfunction gx_tfield,gx_field_loadgxml,string,filename
  declarexfunction gx_tfield,gx_field_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_field_savegxml,gx_tfield,ptr_tfield,string,filename
  declarexfunction int,gx_field_savegxmlchunk,gx_tfield,ptr_tfield,int,filenum
  declarexfunction gx_tfield,gx_field_loadall,string,filename
  declarexfunction nothing,gx_field_saveall,gx_tfield,ptr_tfield,string,filename
  declarexfunction nothing,gx_field_free,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_addref,gx_tfield,ptr_tfield
  declarexfunction int,gx_field_getref,gx_tfield,ptr_tfield
  declarexfunction string,gx_field_getname,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_setname,gx_tfield,ptr_tfield,string,name
  declarexfunction nothing,gx_field_deleteall,gx_tfield,ptr_tfield
  declarexfunction gx_tfield,gx_field_copy,gx_tfield,ptr_tfield
  declarexfunction int,gx_field_isempty,gx_tfield,ptr_tfield
  declarexfunction int,gx_field_insertkey,gx_tfield,ptr_tfield,string,keyname,string,keyvalue,string,keycontrol
  declarexfunction nothing,gx_field_insertindexedkey,gx_tfield,ptr_tfield,int,index,string,keyname,string,keyvalue,string,keycontrol
  declarexfunction nothing,gx_field_deletekey,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_renamekey,gx_tfield,ptr_tfield,int,index,string,keyname,string,keyvalue,string,keycontrol
  declarexfunction int,gx_field_getnbkey,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_setindexedkeyname,gx_tfield,ptr_tfield,int,index,string,name
  declarexfunction string,gx_field_getindexedkeyname,gx_tfield,ptr_tfield,int,index
  declarexfunction int,gx_field_getkeyindex,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_setindexedkeyvalue,gx_tfield,ptr_tfield,int,index,string,value
  declarexfunction string,gx_field_getindexedkeyvalue,gx_tfield,ptr_tfield,int,index
  declarexfunction int,gx_field_getindexedkeyint,gx_tfield,ptr_tfield,int,index,int,param
  declarexfunction nothing,gx_field_setindexedkeyint,gx_tfield,ptr_tfield,int,index,int,value
  declarexfunction float,gx_field_getindexedkeyfloat,gx_tfield,ptr_tfield,int,index,int,param
  declarexfunction nothing,gx_field_setindexedkeyfloat,gx_tfield,ptr_tfield,int,index,float,value
  declarexfunction string,gx_field_getindexedkeycontrol,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_setindexedkeycontrol,gx_tfield,ptr_tfield,int,index,string,control
  declarexfunction int,gx_field_getindexedkeyid,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_setindexedkeyid,gx_tfield,ptr_tfield,int,index,int,id
  declarexfunction nothing,gx_field_getindexedkeycolor,gx_tfield,ptr_tfield,int,index,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_field_setindexedkeycolor,gx_tfield,ptr_tfield,int,index,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_field_moveindexedkeyup,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_moveindexedkeydown,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_moveindexedkeytopos,gx_tfield,ptr_tfield,int,index,int,targetindex
  declarexfunction nothing,gx_field_setnamedkeyname,gx_tfield,ptr_tfield,string,keyname,string,name
  declarexfunction string,gx_field_getnamedkeyvalue,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_setnamedkeyvalue,gx_tfield,ptr_tfield,string,keyname,string,value
  declarexfunction int,gx_field_getnamedkeyint,gx_tfield,ptr_tfield,string,keyname,int,param
  declarexfunction nothing,gx_field_setnamedkeyint,gx_tfield,ptr_tfield,string,keyname,int,value
  declarexfunction float,gx_field_getnamedkeyfloat,gx_tfield,ptr_tfield,string,keyname,int,param
  declarexfunction nothing,gx_field_setnamedkeyfloat,gx_tfield,ptr_tfield,string,keyname,float,value
  declarexfunction string,gx_field_getnamedkeycontrol,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_setnamedkeycontrol,gx_tfield,ptr_tfield,string,keyname,string,control
  declarexfunction int,gx_field_getnamedkeyid,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_setnamedkeyid,gx_tfield,ptr_tfield,string,keyname,int,id
  declarexfunction nothing,gx_field_getnamedkeycolor,gx_tfield,ptr_tfield,string,keyname,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_field_setnamedkeycolor,gx_tfield,ptr_tfield,string,keyname,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_field_movenamedkeyup,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_movenamedkeydown,gx_tfield,ptr_tfield,string,keyname
  declarexfunction nothing,gx_field_movenamedkeytopos,gx_tfield,ptr_tfield,string,keyname,int,targetindex
  declarexfunction gx_twbtexteditor,gx_field_gettexteditor,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_settexteditor,gx_tfield,ptr_tfield,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_field_controlkey,gx_tfield,ptr_tfield,int,index
  declarexfunction nothing,gx_field_controlallkey,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_forcestart,nothing
  declarexfunction nothing,gx_field_forcestartext,gx_tfield,ptr_tfield,int,index,int,separatorindex,string,lastname
  declarexfunction nothing,gx_field_startheader,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_insertheader,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_field_forcegetnamedkeyvalue,gx_tfield,ptr_tfield,string,keyname,int,param,string,defaultvalue,string,defaultcontrol,string,value
  declarexfunction int,gx_field_forcegetnamedkeyint,gx_tfield,ptr_tfield,string,keyname,int,param,string,defaultvalue,string,defaultcontrol
  declarexfunction float,gx_field_forcegetnamedkeyfloat,gx_tfield,ptr_tfield,string,keyname,int,param,string,defaultvalue,string,defaultcontrol
  declarexfunction gx_tfield,gx_field_edit,gx_tfield,ptr_tfield
  declarexfunction int,gx_field_window,gx_tfield,ptr_tfield,string,title
  declarexfunction int,gx_field_windowcalculatesizey,gx_tfield,ptr_tfield
  declarexfunction gx_txarray,gx_field_windowcreate,gx_tfield,ptr_tfield,gx_twbwindow,ptr_twbwindow,int,dy
  declarexfunction int,gx_field_windowmanage,gx_tfield,ptr_tfield,gx_twbwindow,ptr_twbwindow,gx_txarray,ptr_txarray
  declarexfunction int,gx_field_windowcheckvalidity,gx_tfield,ptr_tfield,gx_txarray,ptr_txarray
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ------- */
/* gx_fifo */
/* ------- */
group gx_fifo
  typedef gx_tfifo
  classtype gx_fifo,gx_tfifo

  declarexfunction int,gx_fifo_ginstall,nothing
  declarexfunction void,gx_fifo_getparentclass,gx_tfifo,ptr_tfifo
  declarexfunction nothing,gx_fifo_setparentclass,gx_tfifo,ptr_tfifo,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tfifo,gx_fifo_new,int,nbcell,int,size,int,mode
  declarexfunction nothing,gx_fifo_free,gx_tfifo,ptr_tfifo
  declarexfunction nothing,gx_fifo_addref,gx_tfifo,ptr_tfifo
  declarexfunction int,gx_fifo_getref,gx_tfifo,ptr_tfifo
  declarexfunction int,gx_fifo_getnbcell,gx_tfifo,ptr_tfifo
  declarexfunction int,gx_fifo_getnbfreecell,gx_tfifo,ptr_tfifo
  declarexfunction int,gx_fifo_getnbusedcell,gx_tfifo,ptr_tfifo
  declarexfunction nothing,gx_fifo_resize,gx_tfifo,ptr_tfifo,int,nbcell
  declarexfunction void,gx_fifo_push,gx_tfifo,ptr_tfifo
  declarexfunction nothing,gx_fifo_pushint,gx_tfifo,ptr_tfifo,int,value
  declarexfunction nothing,gx_fifo_pushfloat,gx_tfifo,ptr_tfifo,float,value
  declarexfunction nothing,gx_fifo_pushlong,gx_tfifo,ptr_tfifo,long,value
  declarexfunction nothing,gx_fifo_pushvoid,gx_tfifo,ptr_tfifo,void,value
  declarexfunction void,gx_fifo_pop,gx_tfifo,ptr_tfifo
  declarexfunction int,gx_fifo_popint,gx_tfifo,ptr_tfifo
  declarexfunction float,gx_fifo_popfloat,gx_tfifo,ptr_tfifo
  declarexfunction long,gx_fifo_poplong,gx_tfifo,ptr_tfifo
  declarexfunction void,gx_fifo_popvoid,gx_tfifo,ptr_tfifo
  declarexfunction void,gx_fifo_get,gx_tfifo,ptr_tfifo
  declarexfunction nothing,gx_fifo_clear,gx_tfifo,ptr_tfifo

  enum 0
    dim gx_fifo_modestatic,1
    dim gx_fifo_modedynamic,1
  endenum
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tfileasync
  typedef gx_txarray
endgroup

/* ------- */
/* gx_file */
/* ------- */
group gx_file
  typedef gx_tfile
  classtype gx_file,gx_tfile
  
  enum 0
    dim gx_file_memorycard_success,1
    dim gx_file_memorycard_emptyerror,1
    dim gx_file_memorycard_inputerror,1
    dim gx_file_memorycard_corrupterror,1
    dim gx_file_memorycard_fullerror,1
    dim gx_file_memorycard_outputerror,1
  endenum

  declarexfunction int,gx_file_ginstall,nothing
  declarexfunction int,gx_file_open,string,filename,int,mode
  declarexfunction int,gx_file_read,int,num,void,pointer,int,size
  declarexfunction long,gx_file_longread,int,num,void,pointer,long,size
  declarexfunction int,gx_file_lread,int,num,void,pointer,int,size
  declarexfunction int,gx_file_bread,int,num,void,pointer,int,size
  declarexfunction gx_tfileasync,gx_file_asyncstart,int,filenum,int,size,void,buffer,int,blocksize
  declarexfunction gx_tfileasync,gx_file_longasyncstart,int,filenum,long,size,void,buffer,long,blocksize
  declarexfunction int,gx_file_asyncread,gx_tfileasync,ptr_tfileasync
  declarexfunction nothing,gx_file_asyncstop,gx_tfileasync,ptr_tfileasync
  declarexfunction int,gx_file_write,int,num,void,pointer,int,size
  declarexfunction long,gx_file_longwrite,int,num,void,pointer,long,size
  declarexfunction int,gx_file_lwrite,int,num,void,pointer,int,size
  declarexfunction int,gx_file_bwrite,int,num,void,pointer,int,size
  declarexfunction int,gx_file_readbyte,int,num
  declarexfunction int,gx_file_writebyte,int,num,int,value
  declarexfunction int,gx_file_readubyte,int,num
  declarexfunction int,gx_file_readshort,int,num
  declarexfunction int,gx_file_writeshort,int,num,int,value
  declarexfunction int,gx_file_breadshort,int,num
  declarexfunction int,gx_file_bwriteshort,int,num,int,value
  declarexfunction int,gx_file_readushort,int,num
  declarexfunction int,gx_file_breadushort,int,num
  declarexfunction int,gx_file_readint,int,num
  declarexfunction int,gx_file_writeint,int,num,int,value
  declarexfunction int,gx_file_breadint,int,num
  declarexfunction int,gx_file_bwriteint,int,num,int,value
  declarexfunction float,gx_file_readfloat,int,num
  declarexfunction int,gx_file_writefloat,int,num,float,value
  declarexfunction float,gx_file_breadfloat,int,num
  declarexfunction int,gx_file_bwritefloat,int,num,float,value
  declarexfunction long,gx_file_readlong,int,num
  declarexfunction int,gx_file_writelong,int,num,long,value
  declarexfunction long,gx_file_breadlong,int,num
  declarexfunction int,gx_file_bwritelong,int,num,long,value
  declarexfunction int,gx_file_readstring,int,num,string,value
  declarexfunction int,gx_file_writestring,int,num,string,value
  declarexfunction int,gx_file_readpackedstring,int,num,string,value
  declarexfunction int,gx_file_writepackedstring,int,num,string,value
  declarexfunction int,gx_file_readunicode,int,num,void,value
  declarexfunction int,gx_file_writeunicode,int,num,void,value
  declarexfunction int,gx_file_readpackedunicode,int,num,void,value
  declarexfunction int,gx_file_writepackedunicode,int,num,void,value
  declarexfunction nothing,gx_file_readpackeddata,int,filenum,int,size,void,pointer,int,pack
  declarexfunction nothing,gx_file_longreadpackeddata,int,filenum,long,size,void,pointer,int,pack
  declarexfunction int,gx_file_writepackeddata,int,filenum,int,size,void,pointer,int,pack
  declarexfunction int,gx_file_longwritepackeddata,int,filenum,long,size,void,pointer,int,pack
  declarexfunction nothing,gx_file_seek,int,num,int,size,int,mode
  declarexfunction nothing,gx_file_longseek,int,num,long,offset,int,mode
  declarexfunction int,gx_file_getpos,int,num
  declarexfunction long,gx_file_longgetpos,int,num
  declarexfunction nothing,gx_file_close,int,num
  declarexfunction void,gx_file_getdriverhandle,int,filenum
  declarexfunction int,gx_file_load,string,filename,rvoid,buffer,int,flag
  declarexfunction long,gx_file_longload,string,filename,rvoid,buffer,int,flag
  declarexfunction nothing,gx_file_save,string,filename,void,buffer,int,size,int,flag
  declarexfunction nothing,gx_file_longsave,string,filename,void,buffer,long,size,int,flag
  declarexfunction int,gx_file_openinmemory,string,filename,int,mode
  declarexfunction nothing,gx_file_closeinmemory,int,num
  declarexfunction nothing,gx_file_kill,string,filename
  declarexfunction nothing,gx_file_xdel,string,filename
  declarexfunction int,gx_file_getsize,string,filename
  declarexfunction long,gx_file_longgetsize,string,filename
  declarexfunction int,gx_file_exists,string,filename
  declarexfunction int,gx_file_isdir,string,filename
  declarexfunction int,gx_file_isreadonly,string,filename
  declarexfunction nothing,gx_file_getdate,string,filename,rint,date,rint,time
  declarexfunction nothing,gx_file_move,string,filesrc,string,filedst,int,flag
  declarexfunction nothing,gx_file_xmove,string,filesrc,string,filedst,int,flag
  declarexfunction nothing,gx_file_copy,string,filesrc,string,filedst,int,flag
  declarexfunction nothing,gx_file_copyfulldirectory,string,srcdir,string,dstdir,int,flag
  declarexfunction nothing,gx_file_patch,string,filesrc,string,filenew,string,filedst,int,flag
  declarexfunction nothing,gx_file_deletefulldirectory,string,directory,int,flag
  declarexfunction nothing,gx_file_xdeletefulldirectory,string,directory,int,flag
  declarexfunction nothing,gx_file_movefulldirectory,string,srcdir,string,dstdir,int,flag
  declarexfunction nothing,gx_file_xmovefulldirectory,string,srcdir,string,dstdir,int,flag
  declarexfunction nothing,gx_file_append,string,filesrc,string,filedst
  declarexfunction nothing,gx_file_middle,string,filesrc,string,filedst,int,start,int,size
  declarexfunction nothing,gx_file_longmiddle,string,filesrc,string,filedst,long,start,long,size
  declarexfunction int,gx_file_find,int,filenum,int,filesize,int,offset,void,buffer,int,size,int,flag
  declarexfunction long,gx_file_longfind,int,filenum,long,filesize,long,offset,void,buffer,long,size,int,flag
  declarexfunction nothing,gx_file_backup,string,filename,int,flag
  declarexfunction nothing,gx_file_getfirstfile,string,name
  declarexfunction nothing,gx_file_getnextfile,string,name
  declarexfunction nothing,gx_file_closegetfile,nothing
  declarexfunction nothing,gx_file_getfirstdirectory,string,name
  declarexfunction nothing,gx_file_getnextdirectory,string,name
  declarexfunction nothing,gx_file_closegetdirectory,nothing
  declarexfunction nothing,gx_file_getfirstvolume,string,name
  declarexfunction nothing,gx_file_getnextvolume,string,name
  declarexfunction nothing,gx_file_closegetvolume,nothing
  declarexfunction gx_txarray,gx_file_getfilelist,string,extension,int,flag
  declarexfunction gx_txarray,gx_file_getdirectorylist,int,flag
  declarexfunction gx_txarray,gx_file_getvolumelist,nothing
  declarexfunction nothing,gx_file_getcurrentdirectory,string,dirname
  declarexfunction int,gx_file_setcurrentdirectory,string,dirname
  declarexfunction nothing,gx_file_setrootdirectory,nothing
  declarexfunction nothing,gx_file_setparentdirectory,nothing
  declarexfunction nothing,gx_file_createdirectory,string,dirname
  declarexfunction nothing,gx_file_deletedirectory,string,dirname
  declarexfunction nothing,gx_file_createdirectoryrecursive,string,dirname
  declarexfunction nothing,gx_file_deletedirectoryrecursive,string,dirname
  declarexfunction nothing,gx_file_getcurrentvolume,string,volname
  declarexfunction int,gx_file_setcurrentvolume,string,volname
  declarexfunction int,gx_file_memorycardload,string,name,rvoid,buffer,rint,size
  declarexfunction int,gx_file_memorycardsave,string,name,void,buffer,int,size,int,crunch
  declarexfunction nothing,gx_file_createrecovery,string,filename,string,recoveryname,int,blocksize,int,flag
  declarexfunction int,gx_file_checkrecovery,string,filename,string,recoveryname,int,flag
  declarexfunction nothing,gx_file_createrecoveryext,string,filename,string,recoveryname,string,recoveryname2,string,recoveryname3,string,recoveryname4,int,blocksize,int,flag
  declarexfunction int,gx_file_checkrecoveryext,string,filename,string,recoveryname,string,recoveryname2,string,recoveryname3,string,recoveryname4,int,blocksize,int,flag
  declarexfunction nothing,gx_file_processrecoverydir,string,targetdir,int,mode
  declarexfunction nothing,gx_file_processrecoveryfile,string,filename,string,targetdir,int,mode
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------------ */
/* gx_filechunk */
/* ------------ */
group gx_filechunk
  typedef gx_tfilechunk
  typedef gx_txml
  typedef gx_twbtexteditor
  classtype gx_filechunk,gx_tfilechunk

  enum 0
    dim gx_filechunkformat_gxc4,1
    dim gx_filechunkformat_gx32,1
    dim gx_filechunkformat_gx64,1
    dim gx_filechunkformat_iff,1
    dim gx_filechunkformat_iff64,1
    dim gx_filechunkformat_riff,1
    dim gx_filechunkformat_8rof,1
  endenum

  enum 0
    dim gx_filechunk_xmltypenone,1
    dim gx_filechunk_xmltypetag,1
    dim gx_filechunk_xmltypeendtag,1
    dim gx_filechunk_xmltypeattribute,1
    dim gx_filechunk_xmltypeattributevalue,1
    dim gx_filechunk_xmltypetext,1
    dim gx_filechunk_xmltyperawtext,1
    dim gx_filechunk_xmltypecomment,1
    dim gx_filechunk_xmltypecdata,1
    dim gx_filechunk_xmltypeend,1
  endenum

  declarexfunction int,gx_filechunk_ginstall,nothing
  declarexfunction int,gx_filechunk_openread,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction nothing,gx_filechunk_openwrite,int,filenum,string,chunkname
  declarexfunction int,gx_filechunk_openreadhead,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction nothing,gx_filechunk_openwritehead,int,filenum,string,chunkname
  declarexfunction int,gx_filechunk_openreadform,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction nothing,gx_filechunk_openwriteform,int,filenum,int,format,string,chunkname
  declarexfunction int,gx_filechunk_openreadlist,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction nothing,gx_filechunk_openwritelist,int,filenum,string,chunkname
  declarexfunction int,gx_filechunk_getformat,int,filenum
  declarexfunction nothing,gx_filechunk_setformat,int,filenum,int,format
  declarexfunction nothing,gx_filechunk_seek,int,num,int,longu,int,mode
  declarexfunction int,gx_filechunk_getoffset,int,filenum
  declarexfunction int,gx_filechunk_read,int,num,void,pointer,int,longu
  declarexfunction int,gx_filechunk_lread,int,num,void,pointer,int,longu
  declarexfunction int,gx_filechunk_bread,int,num,void,pointer,int,longu
  declarexfunction nothing,gx_filechunk_readdata,int,filenum,int,packedsize,int,size,void,pointer,int,pack
  declarexfunction int,gx_filechunk_write,int,num,void,pointer,int,longu
  declarexfunction int,gx_filechunk_lwrite,int,num,void,pointer,int,longu
  declarexfunction int,gx_filechunk_bwrite,int,num,void,pointer,int,longu
  declarexfunction int,gx_filechunk_writedata,int,filenum,int,size,void,pointer,int,pack
  declarexfunction int,gx_filechunk_readbyte,int,num
  declarexfunction int,gx_filechunk_readubyte,int,num
  declarexfunction int,gx_filechunk_writebyte,int,num,int,value
  declarexfunction int,gx_filechunk_readshort,int,num
  declarexfunction int,gx_filechunk_breadshort,int,num
  declarexfunction int,gx_filechunk_readushort,int,num
  declarexfunction int,gx_filechunk_breadushort,int,num
  declarexfunction int,gx_filechunk_writeshort,int,num,int,value
  declarexfunction int,gx_filechunk_bwriteshort,int,num,int,value
  declarexfunction int,gx_filechunk_readint,int,num
  declarexfunction int,gx_filechunk_breadint,int,num
  declarexfunction int,gx_filechunk_writeint,int,num,int,value
  declarexfunction int,gx_filechunk_bwriteint,int,num,int,value
  declarexfunction float,gx_filechunk_readfloat,int,num
  declarexfunction float,gx_filechunk_breadfloat,int,num
  declarexfunction int,gx_filechunk_writefloat,int,num,float,value
  declarexfunction int,gx_filechunk_bwritefloat,int,num,float,value
  declarexfunction int,gx_filechunk_readlong,int,num
  declarexfunction int,gx_filechunk_breadlong,int,num
  declarexfunction int,gx_filechunk_writelong,int,num,long,value
  declarexfunction int,gx_filechunk_bwritelong,int,num,long,value
  declarexfunction int,gx_filechunk_readstring,int,num,string,value
  declarexfunction int,gx_filechunk_writestring,int,num,string,value
  declarexfunction int,gx_filechunk_readpackedstring,int,num,string,value
  declarexfunction int,gx_filechunk_writepackedstring,int,num,string,value
  declarexfunction int,gx_filechunk_readunicode,int,num,void,value
  declarexfunction int,gx_filechunk_writeunicode,int,num,void,value
  declarexfunction int,gx_filechunk_readpackedunicode,int,num,void,value
  declarexfunction int,gx_filechunk_writepackedunicode,int,num,void,value
  declarexfunction nothing,gx_filechunk_readpackeddata,int,filenum,int,size,void,pointer,int,pack
  declarexfunction int,gx_filechunk_writepackeddata,int,filenum,int,size,void,pointer,int,pack
  declarexfunction nothing,gx_filechunk_update,int,filenum,int,size
  declarexfunction int,gx_filechunk_close,int,filenum
  declarexfunction int,gx_filechunk_getcurrentstart,int,filenum
  declarexfunction int,gx_filechunk_getcurrentend,int,filenum
  declarexfunction int,gx_filechunk_getsize,int,filenum
  declarexfunction int,gx_filechunk_ifffindchunk,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction int,gx_filechunk_ifffindsubchunk,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction int,gx_filechunk_rifffindchunk,int,filenum,int,filesize,string,chunkname,int,offset
  declarexfunction gx_txml,gx_filechunk_xmlopen,string,filename,int,mode
  declarexfunction nothing,gx_filechunk_xmlclose,gx_txml,ptr_txml
  declarexfunction string,gx_filechunk_xmlreadelement,gx_txml,ptr_txml,rint,type
  declarexfunction nothing,gx_filechunk_xmlwriteelement,gx_txml,ptr_txml,int,type,string,value
  declarexfunction nothing,gx_filechunk_xmlpushstate,gx_txml,ptr_txml
  declarexfunction nothing,gx_filechunk_xmlpopstate,gx_txml,ptr_txml
  declarexfunction int,gx_filechunk_xmlgetfilenum,gx_txml,ptr_txml
  declarexfunction string,gx_filechunk_xmlgetcurrenttag,gx_txml,ptr_txml
  declarexfunction string,gx_filechunk_xmlgetcurrentattribute,gx_txml,ptr_txml
  declarexfunction int,gx_filechunk_xmlfindtag,gx_txml,ptr_txml,string,tag
  declarexfunction int,gx_filechunk_xmlfindendtag,gx_txml,ptr_txml
  declarexfunction int,gx_filechunk_xmlstackfindtag,gx_txml,ptr_txml,string,tag
  declarexfunction int,gx_filechunk_xmlstackfindendtag,gx_txml,ptr_txml
  declarexfunction string,gx_filechunk_xmlfindattribute,gx_txml,ptr_txml,string,attribute
  declarexfunction string,gx_filechunk_xmlfindtext,gx_txml,ptr_txml
  declarexfunction int,gx_filechunk_gxmlopenread,int,filenum,int,filesize,string,chunkname
  declarexfunction nothing,gx_filechunk_gxmlopenwrite,int,filenum,string,chunkname
  declarexfunction int,gx_filechunk_gxmlcloseread,int,filenum,int,filesize
  declarexfunction int,gx_filechunk_gxmlclosewrite,int,filenum,string,chunkname
  declarexfunction nothing,gx_filechunk_gxmlskipempty,int,filenum,int,filesize
  declarexfunction nothing,gx_filechunk_gxmlread,int,filenum,int,filesize,string,value
  declarexfunction nothing,gx_filechunk_gxmlwrite,int,filenum,string,name,string,value
  declarexfunction int,gx_filechunk_gxmlreadint,int,filenum,int,filesize
  declarexfunction nothing,gx_filechunk_gxmlwriteint,int,filenum,string,name,int,value
  declarexfunction nothing,gx_filechunk_gxmlwriteinthex,int,filenum,string,name,int,value
  declarexfunction float,gx_filechunk_gxmlreadfloat,int,filenum,int,filesize
  declarexfunction nothing,gx_filechunk_gxmlwritefloat,int,filenum,string,name,float,value
  declarexfunction long,gx_filechunk_gxmlreadlong,int,filenum,int,filesize
  declarexfunction nothing,gx_filechunk_gxmlwritelong,int,filenum,string,name,long,value
  declarexfunction nothing,gx_filechunk_gxmlwritelonghex,int,filenum,string,name,long,value
  declarexfunction nothing,gx_filechunk_gxmlreadstring,int,filenum,int,filesize,string,value
  declarexfunction nothing,gx_filechunk_gxmlwritestring,int,filenum,string,name,string,value
  declarexfunction nothing,gx_filechunk_gxmlreadunicode,int,filenum,int,filesize,void,value
  declarexfunction nothing,gx_filechunk_gxmlwriteunicode,int,filenum,string,name,void,value
  declarexfunction nothing,gx_filechunk_gxmlreadline,int,filenum,int,filesize,string,value
  declarexfunction nothing,gx_filechunk_gxmlwriteline,int,filenum,string,value
  declarexfunction nothing,gx_filechunk_gxmlreaddata,int,filenum,int,filesize,void,buffer,int,size
  declarexfunction nothing,gx_filechunk_gxmlwritedata,int,filenum,void,buffer,int,size
  declarexfunction nothing,gx_filechunk_gxmlreadpackeddata,int,filenum,int,filesize,void,buffer,int,size,int,pack
  declarexfunction nothing,gx_filechunk_gxmlwritepackeddata,int,filenum,void,buffer,int,size,int,pack
  declarexfunction nothing,gx_filechunk_feedinsert,gx_twbtexteditor,ptr_twbtexteditor,string,title,string,content,string,link,string,author,int,date,int,time,int,flag
  declarexfunction nothing,gx_filechunk_feedtorss,gx_twbtexteditor,ptr_twbtexteditor,string,filename,string,title,string,content,string,link
  declarexfunction nothing,gx_filechunk_feedtoatom,gx_twbtexteditor,ptr_twbtexteditor,string,filename,string,title,string,content,string,link
  declarexfunction nothing,gx_filechunk_feedtowebtxt,gx_twbtexteditor,ptr_twbtexteditor,string,filename
  declarexfunction nothing,gx_filechunk_rssformatdate,int,date,int,time,string,output
  declarexfunction int,gx_filechunk_rssopen,string,filename,string,title,string,content,string,link
  declarexfunction nothing,gx_filechunk_rsswrite,int,filenum,string,title,string,content,string,link,string,author,string,date
  declarexfunction nothing,gx_filechunk_rssclose,int,filenum
  declarexfunction int,gx_filechunk_atomopen,string,filename,string,title,string,content,string,link
  declarexfunction nothing,gx_filechunk_atomwrite,int,filenum,string,title,string,content,string,link,string,author,string,date
  declarexfunction nothing,gx_filechunk_atomclose,int,filenum
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------------- */
/* gx_filememory */
/* ------------- */
group gx_filememory
  typedef gx_tfilememory
  classtype gx_filememory,gx_tfilememory

  enum 0
    dim gx_filememory_typebuffer,1
    dim gx_filememory_typeconstant,1
    dim gx_filememory_typecopy,1
  endenum

  declarexfunction int,gx_filememory_ginstall,nothing
  declarexfunction nothing,gx_filememory_install,string,filename
  declarexfunction nothing,gx_filememory_directinstall,string,filename,void,buffer,int,size,int,type
  declarexfunction nothing,gx_filememory_directcreate,string,filename
  declarexfunction nothing,gx_filememory_getbuffer,string,filename,rvoid,buffer,rint,size
  declarexfunction int,gx_filememory_isinstalled,string,filename
  declarexfunction nothing,gx_filememory_uninstall,string,filename
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* -------------- */
/* gx_filevirtual */
/* -------------- */
group gx_filevirtual
  typedef gx_tfilevirtual
  classtype gx_filevirtual,gx_tfilevirtual

  declarexfunction int,gx_filevirtual_ginstall,nothing
  declarexfunction nothing,gx_filevirtual_install,nothing
  declarexfunction nothing,gx_filevirtual_uninstall,nothing
  declarexfunction void,gx_filevirtual_getparentclass,gx_tfilevirtual,ptr_tfilevirtual
  declarexfunction nothing,gx_filevirtual_setparentclass,gx_tfilevirtual,ptr_tfilevirtual,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tfilevirtual,gx_filevirtual_insert,string,filevirtualname,int,offset,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_filevirtual_delete,gx_tfilevirtual,ptr_tfilevirtual
  declarexfunction string,gx_filevirtual_getname,gx_tfilevirtual,ptr_tfilevirtual
  declarexfunction int,gx_filevirtual_gethandle,gx_tfilevirtual,ptr_tfilevirtual
  declarexfunction nothing,gx_filevirtual_sethandle,gx_tfilevirtual,ptr_tfilevirtual,int,handle
  declarexfunction int,gx_filevirtual_getnbfilevirtual,nothing
  declarexfunction gx_tfilevirtual,gx_filevirtual_getindexedfilevirtual,int,index
  declarexfunction gx_tfilevirtual,gx_filevirtual_getnamedfilevirtual,string,filevirtualname
  declarexfunction int,gx_filevirtual_getnbfile,gx_tfilevirtual,ptr_tfilevirtual
  declarexfunction string,gx_filevirtual_getfilename,gx_tfilevirtual,ptr_tfilevirtual,int,index
  declarexfunction int,gx_filevirtual_getnamedfile,gx_tfilevirtual,ptr_tfilevirtual,string,filename
  declarexfunction int,gx_filevirtual_getfileoffset,gx_tfilevirtual,ptr_tfilevirtual,int,index
  declarexfunction int,gx_filevirtual_getfilesize,gx_tfilevirtual,ptr_tfilevirtual,int,index
  declarexfunction gx_tfilevirtual,gx_filevirtual_findfile,string,name,rint,index
  declarexfunction nothing,gx_filevirtual_createopen,string,filename
  declarexfunction int,gx_filevirtual_createaddfile,string,filesrc,string,filedst
  declarexfunction int,gx_filevirtual_createadddirectory,string,srcdir,string,dstdir,int,startfile,int,nbfile
  declarexfunction int,gx_filevirtual_createadddirectoryrecursive,string,srcdir,string,dstdir,int,startfile,int,nbfile
  declarexfunction int,gx_filevirtual_createaddpackfile,string,filesrc,string,filedst,int,level,void,password,int,passwordsize,int,crypttype
  declarexfunction int,gx_filevirtual_createaddpackdirectory,string,srcdir,string,dstdir,int,level,void,password,int,passwordsize,int,crypttype,int,startfile,int,nbfile
  declarexfunction int,gx_filevirtual_createaddpackdirectoryrecursive,string,srcdir,string,dstdir,int,level,void,password,int,passwordsize,int,crypttype,int,startfile,int,nbfile
  declarexfunction nothing,gx_filevirtual_createclose,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_filevirtual_extract,string,filename,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_filevirtual_attach,string,filesrc,string,filedst
  declarexfunction nothing,gx_filevirtual_encrypt,string,filename,int,offset,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_filevirtual_decrypt,string,filename,int,offset,void,password,int,passwordsize,int,crypttype
  declarexfunction int,gx_filevirtual_readversion,string,filename,int,offset
  declarexfunction nothing,gx_filevirtual_readsign256,string,filename,int,offset,rint,value0,rint,value1,rint,value2,rint,value3,rint,value4,rint,value5,rint,value6,rint,value7
  declarexfunction nothing,gx_filevirtual_writesign256,string,filename,int,offset,int,value0,int,value1,int,value2,int,value3,int,value4,int,value5,int,value6,int,value7
  declarexfunction nothing,gx_filevirtual_calculatecrc256,string,filename,int,offset,rint,value0,rint,value1,rint,value2,rint,value3,rint,value4,rint,value5,rint,value6,rint,value7
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ---------- */
/* gx_gamepad */
/* ---------- */
group gx_gamepad
  typedef gx_tgamepad
  classtype gx_gamepad,gx_tgamepad

  define gx_gamepad_nbdevice,4
  define gx_gamepad_nbaxis,4

  enum 0
    dim gx_gamepad_button0,1
    dim gx_gamepad_button1,1
    dim gx_gamepad_button2,1
    dim gx_gamepad_button3,1
    dim gx_gamepad_button4,1
    dim gx_gamepad_button5,1
    dim gx_gamepad_button6,1
    dim gx_gamepad_button7,1
    dim gx_gamepad_button8,1
    dim gx_gamepad_button9,1
    dim gx_gamepad_button10,1
    dim gx_gamepad_button11,1
    dim gx_gamepad_button12,1
    dim gx_gamepad_button13,1
    dim gx_gamepad_button14,1
    dim gx_gamepad_button15,1
    dim gx_gamepad_button16,1
    dim gx_gamepad_button17,1
    dim gx_gamepad_button18,1
    dim gx_gamepad_button19,1
    dim gx_gamepad_button20,1
    dim gx_gamepad_button21,1
    dim gx_gamepad_button22,1
    dim gx_gamepad_button23,1
    dim gx_gamepad_button24,1
    dim gx_gamepad_button25,1
    dim gx_gamepad_button26,1
    dim gx_gamepad_button27,1
    dim gx_gamepad_button28,1
    dim gx_gamepad_button29,1
    dim gx_gamepad_button30,1
    dim gx_gamepad_button31,1
    dim gx_gamepad_button32,1
    dim gx_gamepad_button33,1
    dim gx_gamepad_button34,1
    dim gx_gamepad_button35,1
    dim gx_gamepad_button36,1
    dim gx_gamepad_button37,1
    dim gx_gamepad_button38,1
    dim gx_gamepad_button39,1
    dim gx_gamepad_button40,1
    dim gx_gamepad_button41,1
    dim gx_gamepad_button42,1
    dim gx_gamepad_button43,1
    dim gx_gamepad_button44,1
    dim gx_gamepad_button45,1
    dim gx_gamepad_button46,1
    dim gx_gamepad_button47,1
    dim gx_gamepad_button48,1
    dim gx_gamepad_button49,1
    dim gx_gamepad_button50,1
    dim gx_gamepad_button51,1
    dim gx_gamepad_button52,1
    dim gx_gamepad_button53,1
    dim gx_gamepad_button54,1
    dim gx_gamepad_button55,1
    dim gx_gamepad_button56,1
    dim gx_gamepad_button57,1
    dim gx_gamepad_button58,1
    dim gx_gamepad_button59,1
    dim gx_gamepad_button60,1
    dim gx_gamepad_button61,1
    dim gx_gamepad_button62,1
    dim gx_gamepad_button63,1
    dim gx_gamepad_nbbutton,0
    dim gx_gamepad_buttondeltaup0,1
    dim gx_gamepad_buttondeltadown0,1
    dim gx_gamepad_buttondeltaleft0,1
    dim gx_gamepad_buttondeltaright0,1
    dim gx_gamepad_buttondeltatop0,1
    dim gx_gamepad_buttondeltabottom0,1
    dim gx_gamepad_buttondeltaup1,1
    dim gx_gamepad_buttondeltadown1,1
    dim gx_gamepad_buttondeltaleft1,1
    dim gx_gamepad_buttondeltaright1,1
    dim gx_gamepad_buttondeltatop1,1
    dim gx_gamepad_buttondeltabottom1,1
    dim gx_gamepad_buttondeltaup2,1
    dim gx_gamepad_buttondeltadown2,1
    dim gx_gamepad_buttondeltaleft2,1
    dim gx_gamepad_buttondeltaright2,1
    dim gx_gamepad_buttondeltatop2,1
    dim gx_gamepad_buttondeltabottom2,1
    dim gx_gamepad_buttondeltaup3,1
    dim gx_gamepad_buttondeltadown3,1
    dim gx_gamepad_buttondeltaleft3,1
    dim gx_gamepad_buttondeltaright3,1
    dim gx_gamepad_buttondeltatop3,1
    dim gx_gamepad_buttondeltabottom3,1
    dim gx_gamepad_nbvirtualbutton,1
  endenum

  declarexfunction int,gx_gamepad_ginstall,nothing
  declarexfunction int,gx_gamepad_getdeltax,int,deviceindex,int,axisindex
  declarexfunction nothing,gx_gamepad_setdeltax,int,deviceindex,int,axisindex,int,deltax
  declarexfunction int,gx_gamepad_getdeltay,int,deviceindex,int,axisindex
  declarexfunction nothing,gx_gamepad_setdeltay,int,deviceindex,int,axisindex,int,deltay
  declarexfunction int,gx_gamepad_getdeltaz,int,deviceindex,int,axisindex
  declarexfunction nothing,gx_gamepad_setdeltaz,int,deviceindex,int,axisindex,int,deltaz
  declarexfunction int,gx_gamepad_getbutton,int,deviceindex,int,button
  declarexfunction nothing,gx_gamepad_setbutton,int,deviceindex,int,button,int,value
  declarexfunction nothing,gx_gamepad_updatebutton,int,deviceindex,int,button,int,value
  declarexfunction nothing,gx_gamepad_updateallbutton,int,deviceindex
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tmatrix
endgroup

/* ------ */
/* gx_fog */
/* ------ */
group gx_fog
  typedef gx_tfog
  classtype gx_fog,gx_tfog

  declarexfunction int,gx_fog_ginstall,nothing
  declarexfunction nothing,gx_fog_display,int,depth,int,densitystart,int,density,int,start,int,step,int,red,int,green,int,blue
  declarexfunction nothing,gx_fog_displayboxx,gx_tmatrix,ptr_tmatrix,float,posx,float,posy,float,posz,float,sizex,float,sizey,float,sizez,int,depth,int,density,int,red,int,green,int,blue
  declarexfunction nothing,gx_fog_displayboxy,gx_tmatrix,ptr_tmatrix,float,posx,float,posy,float,posz,float,sizex,float,sizey,float,sizez,int,depth,int,density,int,red,int,green,int,blue
  declarexfunction nothing,gx_fog_displayboxz,gx_tmatrix,ptr_tmatrix,float,posx,float,posy,float,posz,float,sizex,float,sizey,float,sizez,int,depth,int,density,int,red,int,green,int,blue
  declarexfunction nothing,gx_fog_displaysphere,gx_tmatrix,ptr_tmatrix,float,posx,float,posy,float,posz,float,radius,int,depth,int,density,int,nbsegment,int,red,int,green,int,blue
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbitmap
  typedef gx_tworld
endgroup

/* ------- */
/* gx_font */
/* ------- */
group gx_font
  typedef gx_tfont
  classtype gx_font,gx_tfont

  enum 0
    dim gx_font_type2dmonospaced,1
    dim gx_font_type2dproportional,1
    dim gx_font_type3dmonospaced,1
    dim gx_font_type3dproportional,1
  endenum

  enum 0
    dim gx_font_alignleft,1
    dim gx_font_aligncenter,1
    dim gx_font_alignright,1
    dim gx_font_alignjustified,1
  endenum

  declarexfunction int,gx_font_ginstall,nothing
  declarexfunction void,gx_font_getparentclass,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setparentclass,gx_tfont,ptr_tfont,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction nothing,gx_font_install,nothing
  declarexfunction nothing,gx_font_uninstall,nothing
  declarexfunction gx_tfont,gx_font_new,nothing
  declarexfunction gx_tfont,gx_font_load,string,filename
  declarexfunction gx_tfont,gx_font_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_font_save,gx_tfont,ptr_tfont,string,filename
  declarexfunction int,gx_font_savechunk,gx_tfont,ptr_tfont,int,filenum
  declarexfunction gx_tfont,gx_font_loadgxml,string,filename
  declarexfunction gx_tfont,gx_font_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_font_savegxml,gx_tfont,ptr_tfont,string,filename
  declarexfunction int,gx_font_savegxmlchunk,gx_tfont,ptr_tfont,int,filenum
  declarexfunction gx_tfont,gx_font_loadall,string,filename
  declarexfunction nothing,gx_font_saveall,gx_tfont,ptr_tfont,string,filename
  declarexfunction nothing,gx_font_free,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_addref,gx_tfont,ptr_tfont
  declarexfunction int,gx_font_getref,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_linkfont,gx_tfont,ptr_tfont,gx_tfont,child_tfont
  declarexfunction nothing,gx_font_unlinkfont,gx_tfont,ptr_tfont,gx_tfont,child_tfont
  declarexfunction int,gx_font_getnblinkedfont,gx_tfont,ptr_tfont
  declarexfunction gx_tfont,gx_font_getlinkedfont,gx_tfont,ptr_tfont,int,index
  declarexfunction int,gx_font_getnbfont,nothing
  declarexfunction gx_tfont,gx_font_getindexedfont,int,index
  declarexfunction gx_tfont,gx_font_getnamedfont,string,name
  declarexfunction gx_tfont,gx_font_getnextfont,gx_tfont,ptr_tfont
  declarexfunction string,gx_font_getname,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setname,gx_tfont,ptr_tfont,string,name
  declarexfunction int,gx_font_gettype,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_settype,gx_tfont,ptr_tfont,int,type
  declarexfunction int,gx_font_getrender,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setrender,gx_tfont,ptr_tfont,int,render
  declarexfunction gx_tbitmap,gx_font_getbitmap,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setbitmap,gx_tfont,ptr_tfont,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_font_getmaterial,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setmaterial,gx_tfont,ptr_tfont,int,nummaterial
  declarexfunction gx_tbitmap,gx_font_gettarget,nothing
  declarexfunction nothing,gx_font_settarget,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_font_getstartchar,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setstartchar,gx_tfont,ptr_tfont,int,value
  declarexfunction int,gx_font_getnbchar,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setnbchar,gx_tfont,ptr_tfont,int,value
  declarexfunction int,gx_font_getcharsizex,gx_tfont,ptr_tfont
  declarexfunction int,gx_font_getcharsizey,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setcharsize,gx_tfont,ptr_tfont,int,sizex,int,sizey
  declarexfunction nothing,gx_font_build,gx_tfont,ptr_tfont,gx_tworld,ptr_tworld
  declarexfunction gx_tfont,gx_font_editor,gx_tfont,ptr_tfont
  declarexfunction float,gx_font_getscreensizex,gx_tfont,ptr_tfont
  declarexfunction float,gx_font_getscreensizey,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setscreensize,gx_tfont,ptr_tfont,float,screensizex,float,screensizey
  declarexfunction float,gx_font_pixeltoscreenx,gx_tfont,ptr_tfont,float,value
  declarexfunction float,gx_font_pixeltoscreeny,gx_tfont,ptr_tfont,float,value
  declarexfunction float,gx_font_screentopixelx,gx_tfont,ptr_tfont,float,value
  declarexfunction float,gx_font_screentopixely,gx_tfont,ptr_tfont,float,value
  declarexfunction float,gx_font_getoffsetx,gx_tfont,ptr_tfont
  declarexfunction float,gx_font_getoffsety,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setoffset,gx_tfont,ptr_tfont,float,x,float,y
  declarexfunction int,gx_font_getgroup,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setgroup,gx_tfont,ptr_tfont,int,group
  declarexfunction int,gx_font_getproportionalstartx,gx_tfont,ptr_tfont,int,symbol
  declarexfunction nothing,gx_font_setproportionalstartx,gx_tfont,ptr_tfont,int,symbol,int,start
  declarexfunction int,gx_font_getproportionalsizex,gx_tfont,ptr_tfont,int,symbol
  declarexfunction nothing,gx_font_setproportionalsizex,gx_tfont,ptr_tfont,int,symbol,int,size
  declarexfunction int,gx_font_getspacesizex,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setspacesizex,gx_tfont,ptr_tfont,int,size
  declarexfunction int,gx_font_getspacesizey,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setspacesizey,gx_tfont,ptr_tfont,int,size
  declarexfunction int,gx_font_getseparator,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setseparator,gx_tfont,ptr_tfont,int,separator
  declarexfunction float,gx_font_getdepth,nothing
  declarexfunction nothing,gx_font_setdepth,float,depth
  declarexfunction float,gx_font_getitalicoffset,nothing
  declarexfunction nothing,gx_font_setitalicoffset,float,offset
  declarexfunction int,gx_font_getsymbolspacing,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setsymbolspacing,gx_tfont,ptr_tfont,int,spacing
  declarexfunction int,gx_font_geteffecttablesize,nothing
  declarexfunction nothing,gx_font_seteffecttablesize,int,size
  declarexfunction nothing,gx_font_enableeffecttable,nothing
  declarexfunction nothing,gx_font_disableeffecttable,nothing
  declarexfunction nothing,gx_font_seteffecttablecell,int,index,float,deltax,int,alpha,int,red,int,green,int,blue,float,italicoffset
  declarexfunction int,gx_font_getnbcharx,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_font_setnbcharx,gx_tfont,ptr_tfont,int,value
  declarexfunction nothing,gx_font_strprint,gx_tfont,ptr_tfont,string,text,float,posx,float,posy,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_font_unicodeprint,gx_tfont,ptr_tfont,void,text,float,posx,float,posy,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_font_strprintwrap,gx_tfont,ptr_tfont,string,text,float,posx,float,posy,int,alpha,int,red,int,green,int,blue,int,maxpixel,int,align
  declarexfunction nothing,gx_font_unicodeprintwrap,gx_tfont,ptr_tfont,void,text,float,posx,float,posy,int,alpha,int,red,int,green,int,blue,int,maxpixel,int,align
  declarexfunction int,gx_font_strgettextsize,gx_tfont,ptr_tfont,string,text
  declarexfunction int,gx_font_unicodegettextsize,gx_tfont,ptr_tfont,void,text
  declarexfunction float,gx_font_strgettextscreensize,gx_tfont,ptr_tfont,string,text
  declarexfunction float,gx_font_unicodegettextscreensize,gx_tfont,ptr_tfont,void,text
  declarexfunction int,gx_font_strgetwrapnbline,gx_tfont,ptr_tfont,string,text,int,maxsize
  declarexfunction int,gx_font_unicodegetwrapnbline,gx_tfont,ptr_tfont,void,text,int,maxsize
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_twbtexteditor
  typedef gx_tvcpu
endgroup

/* ------ */
/* gx_gel */
/* ------ */
group gx_gel
  typedef gx_tgel
  classtype gx_gel,gx_tgel

  declarexfunction int,gx_gel_ginstall,nothing
  declarexfunction nothing,gx_gel_install,nothing
  declarexfunction nothing,gx_gel_uninstall,nothing
  declarexfunction int,gx_gel_readrawline,int,filenum,int,filesize,string,string,rint,seekline
  declarexfunction int,gx_gel_unicodereadrawline,int,filenum,int,filesize,rvoid,string,rint,seekline
  declarexfunction int,gx_gel_readvirtualrawline,string,buffer,int,size,string,string,rint,seekline
  declarexfunction int,gx_gel_unicodereadvirtualrawline,rvoid,buffer,int,size,rvoid,string,rint,seekline
  declarexfunction int,gx_gel_readwbtexteditorline,gx_twbtexteditor,ptr_twbtexteditor,void,string,rint,currentline
  declarexfunction int,gx_gel_readline,int,filenum,int,filesize,string,string,rint,seekline
  declarexfunction int,gx_gel_unicodereadline,int,filenum,int,filesize,rvoid,string,rint,seekline
  declarexfunction int,gx_gel_readvirtualline,string,buffer,int,size,string,string,rint,seekline
  declarexfunction int,gx_gel_unicodereadvirtualline,rvoid,buffer,int,size,rvoid,string,rint,seekline
  declarexfunction gx_tvcpu,gx_gel_compile,string,filename
  declarexfunction int,gx_gel_lexicalgetsymbol,void,target,string,source,int,index
  declarexfunction int,gx_gel_lexicalgetexpression,void,target,string,source,int,index
  declarexfunction int,gx_gel_precompile,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_gel_loadprecompiledheader,string,filename
  declarexfunction int,gx_gel_saveprecompiledheader,string,filename
  declarexfunction int,gx_gel_loadcompressedprecompiledheader,string,filename
  declarexfunction int,gx_gel_savecompressedprecompiledheader,string,filename
  declarexfunction gx_tvcpu,gx_gel_finishprecompilation,nothing
  declarexfunction int,gx_gel_disassemble,gx_tvcpu,ptr_tvcpu,int,address,string,label,string,instruction,string,parameters,string,source
  declarexfunction nothing,gx_gel_disassembletofile,gx_tvcpu,ptr_tvcpu,string,filename
  declarexfunction int,gx_gel_getnberrorfound,nothing
  declarexfunction nothing,gx_gel_clearerrorfound,nothing
  declarexfunction nothing,gx_gel_includegel,string,filename
  declarexfunction nothing,gx_gel_includegph,string,filename
  declarexfunction nothing,gx_gel_precompilegph,string,filename
  declarexfunction nothing,gx_gel_compilegel,string,filename
  declarexfunction nothing,gx_gel_linkgex,string,targetfilename,string,filename
  declarexfunction int,gx_gel_packgez,string,target,string,source
  declarexfunction int,gx_gel_packgec,string,target,string,source
  declarexfunction int,gx_gel_packgek,string,target,string,source
  declarexfunction int,gx_gel_debugger,gx_tvcpu,ptr_tvcpu,int,address
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tmesh
  typedef gx_tmaterial
  typedef gx_tgeommesh
  typedef gx_tgeomfacelist
  typedef gx_tgeomvertex
endgroup

/* ------- */
/* gx_geom */
/* ------- */
group gx_geom
  typedef gx_tgeom
  classtype gx_geom,gx_tgeom

  enum 0
    dim gx_geom_typenone,1
    dim gx_geom_typetrianglelist,1
    dim gx_geom_typetrianglefan,1
    dim gx_geom_typetrianglestrip,1
    dim gx_geom_typetrianglefanstrip,1
    dim gx_geom_typetrianglelistindexed,1
    dim gx_geom_typetrianglefanindexed,1
    dim gx_geom_typetrianglestripindexed,1
    dim gx_geom_typetrianglefanstripindexed,1
  endenum

  declarexfunction int,gx_geom_ginstall,nothing
  declarexfunction void,gx_geom_getparentclass,gx_tgeom,ptr_tgeom
  declarexfunction nothing,gx_geom_setparentclass,gx_tgeom,ptr_tgeom,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tgeom,gx_geom_new,gx_tscene,ptr_tscene,int,type
  declarexfunction gx_tgeom,gx_geom_load,string,filename
  declarexfunction gx_tgeom,gx_geom_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_geom_save,gx_tgeom,ptr_tgeom,string,filename
  declarexfunction int,gx_geom_savechunk,gx_tgeom,ptr_tgeom,int,filenum
  declarexfunction nothing,gx_geom_free,gx_tgeom,ptr_tgeom
  declarexfunction nothing,gx_geom_addref,gx_tgeom,ptr_tgeom
  declarexfunction int,gx_geom_getref,gx_tgeom,ptr_tgeom
  declarexfunction int,gx_geom_updatescene,gx_tgeom,ptr_tgeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_geom_clearpointer,gx_tgeom,ptr_tgeom
  declarexfunction nothing,gx_geom_freevertex,gx_tgeom,ptr_tgeom
  declarexfunction gx_tscene,gx_geom_getscene,gx_tgeom,ptr_tgeom
  declarexfunction int,gx_geom_getnbface,gx_tgeom,ptr_tgeom
  declarexfunction int,gx_geom_getnbtriangle,gx_tgeom,ptr_tgeom
  declarexfunction int,gx_geom_getnbgeommesh,gx_tgeom,ptr_tgeom
  declarexfunction gx_tgeommesh,gx_geom_getindexedgeommesh,gx_tgeom,ptr_tgeom,int,index
  declarexfunction nothing,gx_geom_geommeshfreevertex,gx_tgeommesh,ptr_tgeommesh
  declarexfunction int,gx_geom_geommeshgettype,gx_tgeommesh,ptr_tgeommesh
  declarexfunction void,gx_geom_geommeshgetstaticpointer,gx_tgeommesh,ptr_tgeommesh
  declarexfunction nothing,gx_geom_geommeshsetstaticpointer,gx_tgeommesh,ptr_tgeommesh,void,pointer
  declarexfunction void,gx_geom_geommeshgetdynamicpointer,gx_tgeommesh,ptr_tgeommesh
  declarexfunction nothing,gx_geom_geommeshsetdynamicpointer,gx_tgeommesh,ptr_tgeommesh,void,pointer
  declarexfunction int,gx_geom_geommeshgetnummesh,gx_tgeommesh,ptr_tgeommesh
  declarexfunction gx_tmesh,gx_geom_geommeshgetmesh,gx_tgeommesh,ptr_tgeommesh
  declarexfunction int,gx_geom_geommeshgetnbface,gx_tgeommesh,ptr_tgeommesh
  declarexfunction int,gx_geom_geommeshgetnbtriangle,gx_tgeommesh,ptr_tgeommesh
  declarexfunction int,gx_geom_geommeshgetnbfacelist,gx_tgeommesh,ptr_tgeommesh
  declarexfunction gx_tgeomfacelist,gx_geom_geommeshgetindexedfacelist,gx_tgeommesh,ptr_tgeommesh,int,index
  declarexfunction gx_tgeomfacelist,gx_geom_getnextfacelist,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction int,gx_geom_facelistgetrender,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction int,gx_geom_facelistgetnummaterial,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction gx_tmaterial,gx_geom_facelistgetmaterial,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction int,gx_geom_facelistgetnbtriangle,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction gx_tgeomvertex,gx_geom_facelistgetindexedtriangle,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgetnbfan,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction gx_tgeomvertex,gx_geom_facelistgetindexedfan,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgetnbstrip,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction gx_tgeomvertex,gx_geom_facelistgetindexedstrip,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgettriangleprimitivecount,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgetfanprimitivecount,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgetstripprimitivecount,gx_tgeomfacelist,ptr_tgeomfacelist,int,index
  declarexfunction int,gx_geom_facelistgettriangleid,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsettriangleid,gx_tgeomfacelist,ptr_tgeomfacelist,int,id
  declarexfunction int,gx_geom_facelistgetfanid,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsetfanid,gx_tgeomfacelist,ptr_tgeomfacelist,int,id
  declarexfunction int,gx_geom_facelistgetstripid,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsetstripid,gx_tgeomfacelist,ptr_tgeomfacelist,int,id
  declarexfunction void,gx_geom_facelistgettrianglepointer,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsettrianglepointer,gx_tgeomfacelist,ptr_tgeomfacelist,void,pointer
  declarexfunction void,gx_geom_facelistgetfanpointer,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsetfanpointer,gx_tgeomfacelist,ptr_tgeomfacelist,void,pointer
  declarexfunction void,gx_geom_facelistgetstrippointer,gx_tgeomfacelist,ptr_tgeomfacelist
  declarexfunction nothing,gx_geom_facelistsetstrippointer,gx_tgeomfacelist,ptr_tgeomfacelist,void,pointer
  declarexfunction nothing,gx_geom_facelistshader,gx_tgeomfacelist,ptr_tgeomfacelist,int,mode
  declarexfunction int,gx_geom_vertexgetflag,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction int,gx_geom_vertexgetfaceindex,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction int,gx_geom_vertexgetpointfaceindex,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction int,gx_geom_vertexgetpointindex,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction int,gx_geom_vertexgetbufferindex,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction int,gx_geom_vertexgetchannel,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction nothing,gx_geom_vertexgetpos,gx_tgeomvertex,ptr_tgeomvertex,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_geom_vertexgetcolor,gx_tgeomvertex,ptr_tgeomvertex,rfloat,a,rfloat,r,rfloat,g,rfloat,b
  declarexfunction nothing,gx_geom_vertexsetcolor,gx_tgeomvertex,ptr_tgeomvertex,float,a,float,r,float,g,float,b
  declarexfunction nothing,gx_geom_vertexgetfacecolor,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex,rfloat,a,rfloat,r,rfloat,g,rfloat,b
  declarexfunction nothing,gx_geom_vertexgetpointcolor,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex,rfloat,a,rfloat,r,rfloat,g,rfloat,b
  declarexfunction nothing,gx_geom_vertexgettexmap,gx_tgeomvertex,ptr_tgeomvertex,rfloat,u,rfloat,v
  declarexfunction nothing,gx_geom_vertexsettexmap,gx_tgeomvertex,ptr_tgeomvertex,float,u,float,v
  declarexfunction nothing,gx_geom_vertexgetnormal,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex,rfloat,x,rfloat,y,rfloat,z
  declarexfunction void,gx_geom_vertexgetpospointer,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction void,gx_geom_vertexgetfacecolorpointer,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction void,gx_geom_vertexgetcolorpointer,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction void,gx_geom_vertexgettexmappointer,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex
  declarexfunction void,gx_geom_vertexgetnormalpointer,gx_tgeommesh,ptr_tgeommesh,gx_tgeomvertex,ptr_tgeomvertex
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tcomponent
  typedef gx_twbtexteditor
  typedef gx_tbitmap
  typedef gx_tpath
  typedef gx_tsequencer
  typedef gx_tgrapheditorref
  typedef gx_tgrapheditornode
  typedef gx_tgrapheditorlink
  typedef gx_tgrapheditorevent
  typedef gx_tbase
endgroup

/* -------------- */
/* gx_grapheditor */
/* -------------- */
group gx_grapheditor
  typedef  gx_tgrapheditor
  classtype gx_grapheditor,gx_tgrapheditor

  enum 0
    dim gx_grapheditorlink_poscenter,1
    dim gx_grapheditorlink_postop,1
    dim gx_grapheditorlink_posbottom,1
    dim gx_grapheditorlink_posleft,1
    dim gx_grapheditorlink_posright,1
    dim gx_grapheditorlink_posnumber,1
  endenum

  declarexfunction int,gx_grapheditor_ginstall,nothing
  declarexfunction void,gx_grapheditor_getparentclass,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_setparentclass,gx_tgrapheditor,ptr_tgrapheditor,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tgrapheditor,gx_grapheditor_new,nothing
  declarexfunction gx_tgrapheditor,gx_grapheditor_load,string,filename
  declarexfunction gx_tgrapheditor,gx_grapheditor_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_grapheditor_save,gx_tgrapheditor,ptr_tgrapheditor,string,filename
  declarexfunction int,gx_grapheditor_savechunk,gx_tgrapheditor,ptr_tgrapheditor,int,filenum
  declarexfunction gx_tgrapheditor,gx_grapheditor_loadgxml,string,filename
  declarexfunction gx_tgrapheditor,gx_grapheditor_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_grapheditor_savegxml,gx_tgrapheditor,ptr_tgrapheditor,string,filename
  declarexfunction int,gx_grapheditor_savegxmlchunk,gx_tgrapheditor,ptr_tgrapheditor,int,filenum
  declarexfunction gx_tgrapheditor,gx_grapheditor_loadall,string,filename
  declarexfunction nothing,gx_grapheditor_saveall,gx_tgrapheditor,ptr_tgrapheditor,string,filename
  declarexfunction nothing,gx_grapheditor_savehtm,gx_tgrapheditor,ptr_tgrapheditor,string,filename
  declarexfunction nothing,gx_grapheditor_savegel,gx_tgrapheditor,ptr_tgrapheditor,string,filename
  declarexfunction nothing,gx_grapheditor_free,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_addref,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction int,gx_grapheditor_getref,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tgrapheditor,gx_grapheditor_copy,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_merge,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditor,src_tgrapheditor
  declarexfunction int,gx_grapheditor_isempty,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction string,gx_grapheditor_getname,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_setname,gx_tgrapheditor,ptr_tgrapheditor,string,name
  declarexfunction gx_tcomponent,gx_grapheditor_getcomponent,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_setcomponent,gx_tgrapheditor,ptr_tgrapheditor,gx_tcomponent,ptr_tcomponent
  declarexfunction gx_tgrapheditor,gx_grapheditor_nodegetsubgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesetsubgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tgrapheditor,gx_grapheditor_launch,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tgrapheditor,gx_grapheditor_getcurrentgrapheditor,nothing
  declarexfunction gx_tgrapheditor,gx_grapheditor_editorload,nothing
  declarexfunction nothing,gx_grapheditor_editorsave,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_editorsaveas,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_editorsaveascompressed,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_libraryload,string,filename
  declarexfunction nothing,gx_grapheditor_libraryclose,nothing
  declarexfunction nothing,gx_grapheditor_libraryimport,int,posx,int,posy
  declarexfunction nothing,gx_grapheditor_getbackgroundcolor,gx_tgrapheditor,ptr_tgrapheditor,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_grapheditor_setbackgroundcolor,gx_tgrapheditor,ptr_tgrapheditor,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_grapheditor_getbackgroundbitmap,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_setbackgroundbitmap,gx_tgrapheditor,ptr_tgrapheditor,int,bitmap
  declarexfunction gx_tbase,gx_grapheditor_getbase,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_setbase,gx_tgrapheditor,ptr_tgrapheditor,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_grapheditor_insertnode,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_deletenode,gx_tgrapheditor,ptr_tgrapheditor,int,numnode
  declarexfunction nothing,gx_grapheditor_freenode,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_nodeproperty,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction int,gx_grapheditor_getnbnode,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tgrapheditornode,gx_grapheditor_getindexednode,gx_tgrapheditor,ptr_tgrapheditor,int,numnode
  declarexfunction gx_tgrapheditornode,gx_grapheditor_getnamednode,gx_tgrapheditor,ptr_tgrapheditor,string,nodename
  declarexfunction int,gx_grapheditor_getnodeindex,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction string,gx_grapheditor_nodegetname,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesetname,gx_tgrapheditornode,ptr_tgrapheditornode,string,name
  declarexfunction string,gx_grapheditor_nodegettype,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesettype,gx_tgrapheditornode,ptr_tgrapheditornode,string,type
  declarexfunction string,gx_grapheditor_nodegetvalue,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesetvalue,gx_tgrapheditornode,ptr_tgrapheditornode,string,value
  declarexfunction nothing,gx_grapheditor_nodegetpos,gx_tgrapheditornode,ptr_tgrapheditornode,rint,posx,rint,posy
  declarexfunction nothing,gx_grapheditor_nodesetpos,gx_tgrapheditornode,ptr_tgrapheditornode,int,posx,int,posy
  declarexfunction nothing,gx_grapheditor_nodegetcolor,gx_tgrapheditornode,ptr_tgrapheditornode,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_grapheditor_nodesetcolor,gx_tgrapheditornode,ptr_tgrapheditornode,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_grapheditor_nodegetbitmap,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesetbitmap,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,int,bitmap
  declarexfunction gx_twbtexteditor,gx_grapheditor_nodegettexteditor,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesettexteditoreditor,gx_tgrapheditornode,ptr_tgrapheditornode,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_tcomponent,gx_grapheditor_nodegetcomponent,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction nothing,gx_grapheditor_nodesetcomponent,gx_tgrapheditornode,ptr_tgrapheditornode,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_grapheditor_nodeinsertlink,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,int,nodetarget
  declarexfunction nothing,gx_grapheditor_nodedeletelink,gx_tgrapheditornode,ptr_tgrapheditornode,int,numlink
  declarexfunction nothing,gx_grapheditor_nodefreelink,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction int,gx_grapheditor_nodegetnblink,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction gx_tgrapheditorlink,gx_grapheditor_nodegetindexedlink,gx_tgrapheditornode,ptr_tgrapheditornode,int,numlink
  declarexfunction gx_tgrapheditorlink,gx_grapheditor_nodegetnamedlink,gx_tgrapheditornode,ptr_tgrapheditornode,string,linkname
  declarexfunction int,gx_grapheditor_nodegetlinkindex,gx_tgrapheditornode,ptr_tgrapheditornode,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction int,gx_grapheditor_nodeisparent,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,gx_tgrapheditornode,child_tgrapheditornode
  declarexfunction int,gx_grapheditor_nodeisdirectparent,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,gx_tgrapheditornode,child_tgrapheditornode
  declarexfunction int,gx_grapheditor_nodegetnbparent,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction gx_tgrapheditornode,gx_grapheditor_nodegetindexedparent,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,int,index
  declarexfunction gx_tgrapheditorlink,gx_grapheditor_nodegetindexedparentlink,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditornode,ptr_tgrapheditornode,int,index
  declarexfunction int,gx_grapheditor_nodegetnbinput,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction int,gx_grapheditor_nodegetnboutput,gx_tgrapheditornode,ptr_tgrapheditornode
  declarexfunction int,gx_grapheditor_nodegetinputindex,gx_tgrapheditornode,ptr_tgrapheditornode,int,pos
  declarexfunction int,gx_grapheditor_nodegetoutputindex,gx_tgrapheditornode,ptr_tgrapheditornode,int,pos
  declarexfunction string,gx_grapheditor_linkgetname,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksetname,gx_tgrapheditorlink,ptr_tgrapheditorlink,string,name
  declarexfunction string,gx_grapheditor_linkgettype,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksettype,gx_tgrapheditorlink,ptr_tgrapheditorlink,string,type
  declarexfunction nothing,gx_grapheditor_linkgetcolor,gx_tgrapheditorlink,ptr_tgrapheditorlink,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_grapheditor_linksetcolor,gx_tgrapheditorlink,ptr_tgrapheditorlink,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_grapheditor_linkgetsrcpos,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksetsrcpos,gx_tgrapheditorlink,ptr_tgrapheditorlink,int,pos
  declarexfunction int,gx_grapheditor_linkgetdstpos,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksetdstpos,gx_tgrapheditorlink,ptr_tgrapheditorlink,int,pos
  declarexfunction gx_tcomponent,gx_grapheditor_linkgetcomponent,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksetcomponent,gx_tgrapheditorlink,ptr_tgrapheditorlink,gx_tcomponent,component
  declarexfunction int,gx_grapheditor_linkgettargetnode,gx_tgrapheditorlink,ptr_tgrapheditorlink
  declarexfunction nothing,gx_grapheditor_linksettargetnode,gx_tgrapheditorlink,ptr_tgrapheditorlink,int,targetnode
  declarexfunction nothing,gx_grapheditor_insertbitmap,gx_tgrapheditor,ptr_tgrapheditor,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_grapheditor_deletebitmap,gx_tgrapheditor,ptr_tgrapheditor,int,numbitmap
  declarexfunction nothing,gx_grapheditor_freebitmap,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction int,gx_grapheditor_getnbbitmap,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tbitmap,gx_grapheditor_getindexedbitmap,gx_tgrapheditor,ptr_tgrapheditor,int,numbitmap
  declarexfunction gx_tbitmap,gx_grapheditor_getnamedbitmap,gx_tgrapheditor,ptr_tgrapheditor,string,bitmapname
  declarexfunction int,gx_grapheditor_getbitmapindex,gx_tgrapheditor,ptr_tgrapheditor,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_grapheditor_insertevent,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_deleteevent,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction nothing,gx_grapheditor_freeevent,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction nothing,gx_grapheditor_eventproperty,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction int,gx_grapheditor_getnbevent,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tgrapheditorevent,gx_grapheditor_getindexedevent,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction gx_tgrapheditorevent,gx_grapheditor_getnamedevent,gx_tgrapheditor,ptr_tgrapheditor,string,name
  declarexfunction int,gx_grapheditor_geteventindex,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditorevent,ptr_tgrapheditorevent
  declarexfunction nothing,gx_grapheditor_eventmovetopos,gx_tgrapheditor,ptr_tgrapheditor,int,index,int,targetindex
  declarexfunction string,gx_grapheditor_eventgetname,gx_tgrapheditorevent,ptr_tgrapheditorevent
  declarexfunction nothing,gx_grapheditor_eventsetname,gx_tgrapheditorevent,ptr_tgrapheditorevent,string,name
  declarexfunction nothing,gx_grapheditor_eventgetpos,gx_tgrapheditorevent,ptr_tgrapheditorevent,rint,posx,rint,posy
  declarexfunction nothing,gx_grapheditor_eventsetpos,gx_tgrapheditorevent,ptr_tgrapheditorevent,int,posx,int,posy
  declarexfunction nothing,gx_grapheditor_eventgetsize,gx_tgrapheditorevent,ptr_tgrapheditorevent,rint,sizex,rint,sizey
  declarexfunction nothing,gx_grapheditor_eventsetsize,gx_tgrapheditorevent,ptr_tgrapheditorevent,int,sizex,int,sizey
  declarexfunction nothing,gx_grapheditor_eventgetcolor,gx_tgrapheditorevent,ptr_tgrapheditorevent,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_grapheditor_eventsetcolor,gx_tgrapheditorevent,ptr_tgrapheditorevent,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_grapheditor_eventgetbitmap,gx_tgrapheditorevent,ptr_tgrapheditorevent
  declarexfunction nothing,gx_grapheditor_eventsetbitmap,gx_tgrapheditor,ptr_tgrapheditor,gx_tgrapheditorevent,ptr_tgrapheditorevent,int,bitmap
  declarexfunction gx_tcomponent,gx_grapheditor_eventgetcomponent,gx_tgrapheditorevent,ptr_tgrapheditorevent
  declarexfunction nothing,gx_grapheditor_eventsetcomponent,gx_tgrapheditorevent,ptr_tgrapheditorevent,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_grapheditor_insertpath,gx_tgrapheditor,ptr_tgrapheditor,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_grapheditor_deletepath,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction int,gx_grapheditor_getnbpath,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tpath,gx_grapheditor_getindexedpath,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction gx_tpath,gx_grapheditor_getnamedpath,gx_tgrapheditor,ptr_tgrapheditor,string,name
  declarexfunction int,gx_grapheditor_getpathindex,gx_tgrapheditor,ptr_tgrapheditor,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_grapheditor_insertsequencer,gx_tgrapheditor,ptr_tgrapheditor,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_grapheditor_deletesequencer,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction int,gx_grapheditor_getnbsequencer,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction gx_tsequencer,gx_grapheditor_getindexedsequencer,gx_tgrapheditor,ptr_tgrapheditor,int,index
  declarexfunction nothing,gx_grapheditor_setindexedsequencer,gx_tgrapheditor,ptr_tgrapheditor,int,index,gx_tsequencer,ptr_tsequencer
  declarexfunction gx_tsequencer,gx_grapheditor_getnamedsequencer,gx_tgrapheditor,ptr_tgrapheditor,string,name
  declarexfunction int,gx_grapheditor_getsequencerindex,gx_tgrapheditor,ptr_tgrapheditor,gx_tsequencer,ptr_tsequencer
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tbitmap
endgroup

/* ------------------ */
/* gx_groundgenerator */
/* ------------------ */
group gx_groundgenerator
  typedef gx_tgroundgenerator
  classtype gx_groundgenerator,gx_tgroundgenerator

  define gx_groundgeneratormodel_flagadaptangle,0x1
  define gx_groundgeneratormodel_flagnooverlapping,0x2

  declarexfunction int,gx_groundgenerator_ginstall,nothing
  declarexfunction nothing,gx_groundgenerator_install,nothing
  declarexfunction nothing,gx_groundgenerator_uninstall,nothing
  declarexfunction nothing,gx_groundgenerator_load,string,filename
  declarexfunction nothing,gx_groundgenerator_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_groundgenerator_save,string,filename
  declarexfunction int,gx_groundgenerator_savechunk,int,filenum
  declarexfunction nothing,gx_groundgenerator_launch,nothing
  declarexfunction gx_tscene,gx_groundgenerator_generatescene,nothing
  declarexfunction nothing,gx_groundgenerator_free,nothing
  declarexfunction gx_tbitmap,gx_groundgenerator_getbitmapheight,nothing
  declarexfunction nothing,gx_groundgenerator_setbitmapheight,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_groundgenerator_getbitmapground,nothing
  declarexfunction nothing,gx_groundgenerator_setbitmapground,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_groundgenerator_getbitmapheightceiling,nothing
  declarexfunction nothing,gx_groundgenerator_setbitmapheightceiling,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_groundgenerator_getbitmapgroundceiling,nothing
  declarexfunction nothing,gx_groundgenerator_setbitmapgroundceiling,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_groundgenerator_getnbmodel,nothing
  declarexfunction nothing,gx_groundgenerator_insertmodel,nothing
  declarexfunction nothing,gx_groundgenerator_deletemodel,int,index
  declarexfunction nothing,gx_groundgenerator_editmodel,int,index
  declarexfunction gx_tscene,gx_groundgenerator_getmodelscene,int,index
  declarexfunction nothing,gx_groundgenerator_setmodelscene,int,index,gx_tscene,ptr_tscene
  declarexfunction int,gx_groundgenerator_getnbmodelinstance,int,index
  declarexfunction nothing,gx_groundgenerator_setnbmodelinstance,int,index,int,nbinstance
  declarexfunction int,gx_groundgenerator_getmodelflag,int,index
  declarexfunction nothing,gx_groundgenerator_setmodelflag,int,index,int,flag
endgroup

resetlinecounter 0

/* ======================================================================== */
/* Antiryad Gx headers - Copyright (c) Arkham Development - Antoine Guillon */
/* ======================================================================== */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.       */
/* The contents of this file may not be disclosed to third parties,         */
/* copied or duplicated in any form, in whole or in part,                   */
/* without the prior written permission of Arkham Development.              */
/* ======================================================================== */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_twbtexteditor
  typedef gx_tgrapheditor
  typedef gx_tgrapheditornode
  typedef gx_tvcpu
endgroup

/* ---------- */
/* gx_gscript */
/* ---------- */
group gx_gscript
  typedef gx_tgscript
  classtype gx_gscript,gx_tgscript

  enum 0
    dim gx_gscript_languagenone,1
    dim gx_gscript_languagegel,1
    dim gx_gscript_languagecgx,1
    dim gx_gscript_languagecppgx,1
    dim gx_gscript_languagec,1
    dim gx_gscript_languagecpp,1
    dim gx_gscript_languagejava,1
    dim gx_gscript_languagejavascript,1
    dim gx_gscript_languagecsharp,1
    dim gx_gscript_languagepython,1
    dim gx_gscript_languagebasic,1
    dim gx_gscript_languageintermediate,1
  endenum

  declarexfunction int,gx_gscript_ginstall,nothing
  declarexfunction nothing,gx_gscript_templatecompiler,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_gscript_compile,gx_twbtexteditor,ptr_twbtexteditor,int,type,int,flag
  declarexfunction nothing,gx_gscript_invertcompile,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_gscript_grapheditorcompile,gx_tgrapheditor,ptr_tgrapheditor,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_gscript_grapheditorinvertcompile,gx_tgrapheditor,ptr_tgrapheditor,gx_twbtexteditor,ptr_twbtexteditor
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------- */
/* gx_help */
/* ------- */
group gx_help
  typedef gx_thelp
  classtype gx_help,gx_thelp

  declarexfunction int,gx_help_ginstall,nothing
  declarexfunction nothing,gx_help_setflagcreateindex,nothing
  declarexfunction nothing,gx_help_resetflagcreateindex,nothing
  declarexfunction nothing,gx_help_setbackgroundcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setprintcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setprinthtmltag,string,pre,string,post
  declarexfunction nothing,gx_help_settitl0color,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_settitl0htmltag,string,pre,string,post
  declarexfunction nothing,gx_help_settitl1color,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_settitl1htmltag,string,pre,string,post
  declarexfunction nothing,gx_help_settitl2color,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_settitl2htmltag,string,pre,string,post
  declarexfunction nothing,gx_help_settitl3color,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_settitl3htmltag,string,pre,string,post
  declarexfunction nothing,gx_help_setindexcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setindexhtmltag,string,pre,string,post
  declarexfunction nothing,gx_help_setcomntcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setcomnthtmltag,string,pre,string,post
  declarexfunction nothing,gx_help_setcodescolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setcodeshtmltag,string,pre,string,post
  declarexfunction nothing,gx_help_setwarngcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setwarnghtmltag,string,pre,string,post
  declarexfunction nothing,gx_help_sethlinecolor,string,picturename,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_setetxtcrunch,int,crunch
  declarexfunction nothing,gx_help_setetxtbitmapdir,string,dir
  declarexfunction nothing,gx_help_textopen,string,filename
  declarexfunction nothing,gx_help_textclose,nothing
  declarexfunction nothing,gx_help_etxtopen,string,filename
  declarexfunction nothing,gx_help_etxtclose,nothing
  declarexfunction nothing,gx_help_htmlsetcontent,string,name
  declarexfunction nothing,gx_help_htmlopen,string,filename,string,documentname
  declarexfunction nothing,gx_help_htmlclose,nothing
  declarexfunction nothing,gx_help_titl0,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_titl1,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_titl2,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_titl3,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_pictr,string,filename
  declarexfunction nothing,gx_help_print,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_comnt,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_codes,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_warng,string,text,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_hline,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_ifile,string,filename,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_help_phtml,string,text
  declarexfunction nothing,gx_help_browse,string,filename
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tbitmap
endgroup

/* ----------- */
/* gx_importer */
/* ----------- */
group gx_importer
  typedef gx_timporter
  classtype gx_importer,gx_timporter

  declarexfunction int,gx_importer_ginstall,nothing
  declarexfunction void,gx_importer_getparentclass,gx_timporter,ptr_timporter
  declarexfunction nothing,gx_importer_setparentclass,gx_timporter,ptr_timporter,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_timporter,gx_importer_new,nothing
  declarexfunction nothing,gx_importer_free,gx_timporter,ptr_timporter
  declarexfunction nothing,gx_importer_addref,gx_timporter,ptr_timporter
  declarexfunction int,gx_importer_getref,gx_timporter,ptr_timporter
  declarexfunction gx_tscene,gx_importer_convert,gx_timporter,ptr_timporter
  declarexfunction nothing,gx_importer_scenesetname,gx_timporter,ptr_timporter,string,name,string,filename
  declarexfunction nothing,gx_importer_scenesettargetfile,gx_timporter,ptr_timporter,string,filename
  declarexfunction nothing,gx_importer_scenesettargetworldfile,gx_timporter,ptr_timporter,string,filename
  declarexfunction nothing,gx_importer_scenesetoptimizationlevel,gx_timporter,ptr_timporter,int,level
  declarexfunction nothing,gx_importer_scenesetsnap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetwelding,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetngonify,gx_timporter,ptr_timporter,int,fulloptimization
  declarexfunction nothing,gx_importer_scenesetoctree,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetweldingsize,gx_timporter,ptr_timporter,int,size
  declarexfunction nothing,gx_importer_scenesetxyzcenter,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetycenter,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetpivotcenter,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetlightraytracing,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetlightradiosity,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetfastradiosity,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetradiosityiteration,gx_timporter,ptr_timporter,int,iteration
  declarexfunction nothing,gx_importer_scenesetradiosityradius,gx_timporter,ptr_timporter,int,radius
  declarexfunction nothing,gx_importer_scenesetradiosityattenuation,gx_timporter,ptr_timporter,int,attenuation
  declarexfunction nothing,gx_importer_scenesetlightmap,gx_timporter,ptr_timporter,int,mode,int,value
  declarexfunction nothing,gx_importer_scenesettesselate,gx_timporter,ptr_timporter,int,radius
  declarexfunction nothing,gx_importer_scenesetlighttesselate,gx_timporter,ptr_timporter,int,size
  declarexfunction nothing,gx_importer_scenesetscale,gx_timporter,ptr_timporter,int,factor
  declarexfunction nothing,gx_importer_scenesetcameraspeed,gx_timporter,ptr_timporter,int,speed
  declarexfunction nothing,gx_importer_scenesetquaternspeed,gx_timporter,ptr_timporter,int,speed
  declarexfunction nothing,gx_importer_scenesetmorphspeed,gx_timporter,ptr_timporter,int,speed
  declarexfunction nothing,gx_importer_scenesetambientlight,gx_timporter,ptr_timporter,int,red,int,green,int,blue
  declarexfunction nothing,gx_importer_scenesetreleaselight,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetforcenormal,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetreleasefirstframe,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenesetcrunch,gx_timporter,ptr_timporter,int,crunch
  declarexfunction nothing,gx_importer_sceneinsertanimsegment,gx_timporter,ptr_timporter,string,name,int,start,int,send
  declarexfunction nothing,gx_importer_scenesethierarchisedanimation,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_scenemergescene,gx_timporter,ptr_timporter,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_importer_sceneinsertcameraangle,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,int,frame
  declarexfunction nothing,gx_importer_sceneinsertcameratarget,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,float,targetposx,float,targetposy,float,targetposz,int,angz,int,frame
  declarexfunction nothing,gx_importer_sceneinsertcameraquatern,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,float,angx,float,angy,float,angz,float,angw,int,frame
  declarexfunction nothing,gx_importer_materialinsert,gx_timporter,ptr_timporter,string,name
  declarexfunction nothing,gx_importer_materialinsertchannel,gx_timporter,ptr_timporter,gx_tbitmap,ptr_tbitmap,string,mapname,string,render,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_importer_materialsetmipmap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_materialsetfiltering,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_materialsetcompression,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_materialsetdynamic,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_materialsetanimblock,gx_timporter,ptr_timporter,int,animspeed,int,sizex,int,sizey
  declarexfunction nothing,gx_importer_materialsetanimscroll,gx_timporter,ptr_timporter,int,animspeed,int,sizex,int,sizey
  declarexfunction nothing,gx_importer_materialsetanimwave,gx_timporter,ptr_timporter,int,animspeed,int,sizex,int,sizey
  declarexfunction nothing,gx_importer_materialsetanimtexture,gx_timporter,ptr_timporter,int,animspeed,int,sizex,int,sizey
  declarexfunction nothing,gx_importer_meshinsert,gx_timporter,ptr_timporter,string,name,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_importer_meshinsertchannel,gx_timporter,ptr_timporter,string,mapname,string,render,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_importer_meshsetparent,gx_timporter,ptr_timporter,string,parentname
  declarexfunction nothing,gx_importer_meshsetcollisionid,gx_timporter,ptr_timporter,int,id
  declarexfunction nothing,gx_importer_meshsetempty,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsethidden,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetlod,gx_timporter,ptr_timporter,int,lod
  declarexfunction nothing,gx_importer_meshsetdynamic,gx_timporter,ptr_timporter,int,dynamic
  declarexfunction nothing,gx_importer_meshsetzlimitmin,gx_timporter,ptr_timporter,int,limit
  declarexfunction nothing,gx_importer_meshsetzlimitmax,gx_timporter,ptr_timporter,int,limit
  declarexfunction nothing,gx_importer_meshsetexplode,gx_timporter,ptr_timporter,int,explode
  declarexfunction nothing,gx_importer_meshsettwosided,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshseteffectmask,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetsimplelight,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetsprite,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetsmoothinggroup,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetflatlight,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetfacemap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetcubemap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetspheremap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetforcenormal,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetenvlight,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetenvmap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetrefmap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetabsmap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetstaticshadow,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetgenmirror,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetembossbumpmap,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetpreserveemptymesh,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshsetpreserveisolatedpoint,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_meshinsertanimquatern,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,float,angx,float,angy,float,angz,float,angw,int,frame
  declarexfunction nothing,gx_importer_meshinsertanimmatrix,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,float,ma,float,mb,float,mc,float,md,float,mee,float,mf,float,mg,float,mh,float,mi,int,frame
  declarexfunction nothing,gx_importer_meshinsertanimangle,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,int,frame
  declarexfunction nothing,gx_importer_vertexinsert,gx_timporter,ptr_timporter,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_importer_vertexweight,gx_timporter,ptr_timporter,int,weight,string,meshname
  declarexfunction nothing,gx_importer_faceinsert,gx_timporter,ptr_timporter,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2,string,material
  declarexfunction nothing,gx_importer_faceinsertindexed,gx_timporter,ptr_timporter,int,index0,int,index1,int,index2,string,material
  declarexfunction nothing,gx_importer_faceweight,gx_timporter,ptr_timporter,int,weight0,string,meshname0,int,weight1,string,meshname1,int,weight2,string,meshname2
  declarexfunction nothing,gx_importer_facesetcolor,gx_timporter,ptr_timporter,int,alpha0,int,red0,int,green0,int,blue0,int,alpha1,int,red1,int,green1,int,blue1,int,alpha2,int,red2,int,green2,int,blue2
  declarexfunction nothing,gx_importer_faceinsertchannel,gx_timporter,ptr_timporter,int,u0,int,v0,int,u1,int,v1,int,u2,int,v2,int,alpha,int,red,int,green,int,blue,string,mapname,string,render
  declarexfunction nothing,gx_importer_facesettwosided,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_faceseteffectmask,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_facesetsmoothinggroup,gx_timporter,ptr_timporter,int,flag
  declarexfunction nothing,gx_importer_lightinsert,gx_timporter,ptr_timporter,string,name,float,posx,float,posy,float,posz,float,radius,int,red,int,green,int,blue
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* -------- */
/* gx_input */
/* -------- */
group gx_input
  typedef gx_tinput
  classtype gx_input,gx_tinput

  enum 0
    dim gx_input_typecontinuous,1
    dim gx_input_typepulse,1
    dim gx_input_typepulseinvert,1
    dim gx_input_typeswitch,1
  endenum

  enum 0
    dim gx_input_buttonstateunpressed,1
    dim gx_input_buttonstatetriggered,1
    dim gx_input_buttonstatepressed,1
    dim gx_input_buttonstatereleased,1
  endenum

  enum 0
    dim gx_input_keyup,1
    dim gx_input_keydown,1
    dim gx_input_keyleft,1
    dim gx_input_keyright,1
    dim gx_input_keyviewup,1
    dim gx_input_keyviewdown,1
    dim gx_input_keystrafleft,1
    dim gx_input_keystrafright,1
    dim gx_input_keycamera,1
    dim gx_input_keyrun,1
    dim gx_input_keyjump,1
    dim gx_input_keyfire,1
    dim gx_input_keyaction,1
    dim gx_input_keymenu,1
    dim gx_input_keyinventory,1
    dim gx_input_keyweaponlast,1
    dim gx_input_keyweaponnext,1
    dim gx_input_keyflashlight,1
    dim gx_input_keyup0,1
    dim gx_input_keyup1,1
    dim gx_input_keyup2,1
    dim gx_input_keyup3,1
    dim gx_input_keyup4,1
    dim gx_input_keyup5,1
    dim gx_input_keyup6,1
    dim gx_input_keyup7,1
    dim gx_input_keyup8,1
    dim gx_input_keyup9,1
    dim gx_input_keyup10,1
    dim gx_input_keyup11,1
    dim gx_input_keyup12,1
    dim gx_input_keyup13,1
    dim gx_input_keyup14,1
    dim gx_input_keyup15,1
    dim gx_input_keydown0,1
    dim gx_input_keydown1,1
    dim gx_input_keydown2,1
    dim gx_input_keydown3,1
    dim gx_input_keydown4,1
    dim gx_input_keydown5,1
    dim gx_input_keydown6,1
    dim gx_input_keydown7,1
    dim gx_input_keydown8,1
    dim gx_input_keydown9,1
    dim gx_input_keydown10,1
    dim gx_input_keydown11,1
    dim gx_input_keydown12,1
    dim gx_input_keydown13,1
    dim gx_input_keydown14,1
    dim gx_input_keydown15,1
    dim gx_input_keyleft0,1
    dim gx_input_keyleft1,1
    dim gx_input_keyleft2,1
    dim gx_input_keyleft3,1
    dim gx_input_keyleft4,1
    dim gx_input_keyleft5,1
    dim gx_input_keyleft6,1
    dim gx_input_keyleft7,1
    dim gx_input_keyleft8,1
    dim gx_input_keyleft9,1
    dim gx_input_keyleft10,1
    dim gx_input_keyleft11,1
    dim gx_input_keyleft12,1
    dim gx_input_keyleft13,1
    dim gx_input_keyleft14,1
    dim gx_input_keyleft15,1
    dim gx_input_keyright0,1
    dim gx_input_keyright1,1
    dim gx_input_keyright2,1
    dim gx_input_keyright3,1
    dim gx_input_keyright4,1
    dim gx_input_keyright5,1
    dim gx_input_keyright6,1
    dim gx_input_keyright7,1
    dim gx_input_keyright8,1
    dim gx_input_keyright9,1
    dim gx_input_keyright10,1
    dim gx_input_keyright11,1
    dim gx_input_keyright12,1
    dim gx_input_keyright13,1
    dim gx_input_keyright14,1
    dim gx_input_keyright15,1
    dim gx_input_keyviewup0,1
    dim gx_input_keyviewup1,1
    dim gx_input_keyviewup2,1
    dim gx_input_keyviewup3,1
    dim gx_input_keyviewup4,1
    dim gx_input_keyviewup5,1
    dim gx_input_keyviewup6,1
    dim gx_input_keyviewup7,1
    dim gx_input_keyviewup8,1
    dim gx_input_keyviewup9,1
    dim gx_input_keyviewup10,1
    dim gx_input_keyviewup11,1
    dim gx_input_keyviewup12,1
    dim gx_input_keyviewup13,1
    dim gx_input_keyviewup14,1
    dim gx_input_keyviewup15,1
    dim gx_input_keyviewdown0,1
    dim gx_input_keyviewdown1,1
    dim gx_input_keyviewdown2,1
    dim gx_input_keyviewdown3,1
    dim gx_input_keyviewdown4,1
    dim gx_input_keyviewdown5,1
    dim gx_input_keyviewdown6,1
    dim gx_input_keyviewdown7,1
    dim gx_input_keyviewdown8,1
    dim gx_input_keyviewdown9,1
    dim gx_input_keyviewdown10,1
    dim gx_input_keyviewdown11,1
    dim gx_input_keyviewdown12,1
    dim gx_input_keyviewdown13,1
    dim gx_input_keyviewdown14,1
    dim gx_input_keyviewdown15,1
    dim gx_input_keystrafleft0,1
    dim gx_input_keystrafleft1,1
    dim gx_input_keystrafleft2,1
    dim gx_input_keystrafleft3,1
    dim gx_input_keystrafleft4,1
    dim gx_input_keystrafleft5,1
    dim gx_input_keystrafleft6,1
    dim gx_input_keystrafleft7,1
    dim gx_input_keystrafleft8,1
    dim gx_input_keystrafleft9,1
    dim gx_input_keystrafleft10,1
    dim gx_input_keystrafleft11,1
    dim gx_input_keystrafleft12,1
    dim gx_input_keystrafleft13,1
    dim gx_input_keystrafleft14,1
    dim gx_input_keystrafleft15,1
    dim gx_input_keystrafright0,1
    dim gx_input_keystrafright1,1
    dim gx_input_keystrafright2,1
    dim gx_input_keystrafright3,1
    dim gx_input_keystrafright4,1
    dim gx_input_keystrafright5,1
    dim gx_input_keystrafright6,1
    dim gx_input_keystrafright7,1
    dim gx_input_keystrafright8,1
    dim gx_input_keystrafright9,1
    dim gx_input_keystrafright10,1
    dim gx_input_keystrafright11,1
    dim gx_input_keystrafright12,1
    dim gx_input_keystrafright13,1
    dim gx_input_keystrafright14,1
    dim gx_input_keystrafright15,1
    dim gx_input_keyaction0,1
    dim gx_input_keyaction1,1
    dim gx_input_keyaction2,1
    dim gx_input_keyaction3,1
    dim gx_input_keyaction4,1
    dim gx_input_keyaction5,1
    dim gx_input_keyaction6,1
    dim gx_input_keyaction7,1
    dim gx_input_keyaction8,1
    dim gx_input_keyaction9,1
    dim gx_input_keyaction10,1
    dim gx_input_keyaction11,1
    dim gx_input_keyaction12,1
    dim gx_input_keyaction13,1
    dim gx_input_keyaction14,1
    dim gx_input_keyaction15,1
    dim gx_input_keybutton0,1
    dim gx_input_keybutton1,1
    dim gx_input_keybutton2,1
    dim gx_input_keybutton3,1
    dim gx_input_keybutton4,1
    dim gx_input_keybutton5,1
    dim gx_input_keybutton6,1
    dim gx_input_keybutton7,1
    dim gx_input_keybutton8,1
    dim gx_input_keybutton9,1
    dim gx_input_keybutton10,1
    dim gx_input_keybutton11,1
    dim gx_input_keybutton12,1
    dim gx_input_keybutton13,1
    dim gx_input_keybutton14,1
    dim gx_input_keybutton15,1
    dim gx_input_keyswitch0,1
    dim gx_input_keyswitch1,1
    dim gx_input_keyswitch2,1
    dim gx_input_keyswitch3,1
    dim gx_input_keyswitch4,1
    dim gx_input_keyswitch5,1
    dim gx_input_keyswitch6,1
    dim gx_input_keyswitch7,1
    dim gx_input_keyswitch8,1
    dim gx_input_keyswitch9,1
    dim gx_input_keyswitch10,1
    dim gx_input_keyswitch11,1
    dim gx_input_keyswitch12,1
    dim gx_input_keyswitch13,1
    dim gx_input_keyswitch14,1
    dim gx_input_keyswitch15,1
    dim gx_input_keylast0,1
    dim gx_input_keylast1,1
    dim gx_input_keylast2,1
    dim gx_input_keylast3,1
    dim gx_input_keylast4,1
    dim gx_input_keylast5,1
    dim gx_input_keylast6,1
    dim gx_input_keylast7,1
    dim gx_input_keylast8,1
    dim gx_input_keylast9,1
    dim gx_input_keylast10,1
    dim gx_input_keylast11,1
    dim gx_input_keylast12,1
    dim gx_input_keylast13,1
    dim gx_input_keylast14,1
    dim gx_input_keylast15,1
    dim gx_input_keynext0,1
    dim gx_input_keynext1,1
    dim gx_input_keynext2,1
    dim gx_input_keynext3,1
    dim gx_input_keynext4,1
    dim gx_input_keynext5,1
    dim gx_input_keynext6,1
    dim gx_input_keynext7,1
    dim gx_input_keynext8,1
    dim gx_input_keynext9,1
    dim gx_input_keynext10,1
    dim gx_input_keynext11,1
    dim gx_input_keynext12,1
    dim gx_input_keynext13,1
    dim gx_input_keynext14,1
    dim gx_input_keynext15,1
    dim gx_input_nbkey,1
  endenum

  declarexfunction int,gx_input_ginstall,nothing
  declarexfunction nothing,gx_input_install,nothing
  declarexfunction nothing,gx_input_manage,nothing
  declarexfunction nothing,gx_input_uninstall,nothing
  declarexfunction int,gx_input_getkeytype,int,index
  declarexfunction int,gx_input_getkeykeyboard,int,index
  declarexfunction int,gx_input_getkeygamepad,int,index
  declarexfunction int,gx_input_getkeymouse,int,index
  declarexfunction nothing,gx_input_configkey,int,index,int,keyboard,int,gamepad,int,mouse,int,type
  declarexfunction int,gx_input_getkeyvalue,int,index
  declarexfunction int,gx_input_getkeystate,int,index
  declarexfunction int,gx_input_getkeyswitch,int,index
  declarexfunction nothing,gx_input_setkeyvalue,int,index,int,value
  declarexfunction nothing,gx_input_setkeystate,int,index,int,value,int,state,int,keyswitch
  declarexfunction nothing,gx_input_usekey,int,index
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tgrapheditor
  typedef gx_tbase
endgroup

/* ------------ */
/* gx_interface */
/* ------------ */
group gx_interface
  typedef gx_tinterface
  classtype gx_interface,gx_tinterface

  enum 0
    dim gx_interfacewidgettype_picture,1
    dim gx_interfacewidgettype_label,1
    dim gx_interfacewidgettype_button,1
    dim gx_interfacewidgettype_invisiblebutton,1
  endenum

  enum 0
    dim gx_interface_inputmodeup,1
    dim gx_interface_inputmodedown,1
    dim gx_interface_inputmodecontinuous,1
  endenum

  declarexfunction int,gx_interface_ginstall,nothing
  declarexfunction void,gx_interface_getparentclass,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setparentclass,gx_tinterface,ptr_tinterface,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tinterface,gx_interface_new,nothing
  declarexfunction nothing,gx_interface_free,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_addref,gx_tinterface,ptr_tinterface
  declarexfunction int,gx_interface_getref,gx_tinterface,ptr_tinterface
  declarexfunction string,gx_interface_getname,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setname,gx_tinterface,ptr_tinterface,string,name
  declarexfunction gx_tgrapheditor,gx_interface_getgrapheditor,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setgrapheditor,gx_tinterface,ptr_tinterface,gx_tgrapheditor,ptr_tgrapheditor
  declarexfunction int,gx_interface_getinputmode,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setinputmode,gx_tinterface,ptr_tinterface,int,mode
  declarexfunction nothing,gx_interface_setbackground,gx_tinterface,ptr_tinterface,int,materialindex,int,render,int,alpha,int,red,int,green,int,blue,float,depth
  declarexfunction nothing,gx_interface_setanim,gx_tinterface,ptr_tinterface,float,offset,int,render,int,alpha,int,red,int,green,int,blue,float,depth
  declarexfunction int,gx_interface_getselectedwidget,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setselectedwidget,gx_tinterface,ptr_tinterface,int,index
  declarexfunction int,gx_interface_getactivatedwidget,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_setactivatedwidget,gx_tinterface,ptr_tinterface,int,index
  declarexfunction nothing,gx_interface_preinstall,gx_tinterface,ptr_tinterface,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_interface_postuninstall,gx_tinterface,ptr_tinterface,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_interface_install,gx_tinterface,ptr_tinterface,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_interface_uninstall,gx_tinterface,ptr_tinterface,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_interface_manage,gx_tinterface,ptr_tinterface
  declarexfunction nothing,gx_interface_display,gx_tinterface,ptr_tinterface
  declarexfunction int,gx_interface_getnbwidget,gx_tinterface,ptr_tinterface
  declarexfunction int,gx_interface_getnamedwidget,gx_tinterface,ptr_tinterface,string,name
  declarexfunction nothing,gx_interface_widgetgetattribute,gx_tinterface,ptr_tinterface,int,index,rfloat,posx,rfloat,posy,rfloat,sizex,rfloat,sizey
  declarexfunction nothing,gx_interface_widgetsetattribute,gx_tinterface,ptr_tinterface,int,index,float,posx,float,posy,float,sizex,float,sizey
  declarexfunction nothing,gx_interface_widgetgetcolor,gx_tinterface,ptr_tinterface,int,index,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_interface_widgetsetcolor,gx_tinterface,ptr_tinterface,int,index,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_interface_widgetenable,gx_tinterface,ptr_tinterface,int,index,int,flag
  declarexfunction int,gx_interface_widgetisenabled,gx_tinterface,ptr_tinterface,int,index
  declarexfunction nothing,gx_interface_widgethide,gx_tinterface,ptr_tinterface,int,index,int,flag
  declarexfunction int,gx_interface_widgetishidden,gx_tinterface,ptr_tinterface,int,index
  declarexfunction string,gx_interface_widgetgetname,gx_tinterface,ptr_tinterface,int,index
  declarexfunction int,gx_interface_widgetgettype,gx_tinterface,ptr_tinterface,int,index
  declarexfunction void,gx_interface_widgetgetunicodetext,gx_tinterface,ptr_tinterface,int,index
  declarexfunction nothing,gx_interface_widgetsetunicodetext,gx_tinterface,ptr_tinterface,int,index,void,text
  declarexfunction nothing,gx_interface_widgetgettext,gx_tinterface,ptr_tinterface,int,index,string,text
  declarexfunction nothing,gx_interface_widgetsettext,gx_tinterface,ptr_tinterface,int,index,string,text
  declarexfunction int,gx_interface_widgetgetvalue,gx_tinterface,ptr_tinterface,int,index
  declarexfunction nothing,gx_interface_widgetsetvalue,gx_tinterface,ptr_tinterface,int,index,int,value
  declarexfunction int,gx_interface_widgetgetmaterial,gx_tinterface,ptr_tinterface,int,index
  declarexfunction nothing,gx_interface_widgetsetmaterial,gx_tinterface,ptr_tinterface,int,index,int,materialindex
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tscene
  typedef gx_tmaterial
  typedef gx_texternplugin
endgroup

/* --------- */
/* gx_kernel */
/* --------- */
group gx_kernel
  typedef gx_tkernel
  classtype gx_kernel,gx_tkernel

  define gx_kernel_version,0x70

  enum 0
    dim gx_kernelmachinetype_x86_dos,1
    dim gx_kernelmachinetype_x86_linux,1
    dim gx_kernelmachinetype_arm32_linux,1
    dim gx_kernelmachinetype_arm64_linux,1
    dim gx_kernelmachinetype_mips32_linux,1
    dim gx_kernelmachinetype_ppc32_linux,1
    dim gx_kernelmachinetype_cell_linux,1
    dim gx_kernelmachinetype_x64_linux,1
    dim gx_kernelmachinetype_x86_openbsd,1
    dim gx_kernelmachinetype_x64_openbsd,1
    dim gx_kernelmachinetype_x86_freebsd,1
    dim gx_kernelmachinetype_x64_freebsd,1
    dim gx_kernelmachinetype_x86_windows,1
    dim gx_kernelmachinetype_x64_windows,1
    dim gx_kernelmachinetype_68k_macos,1
    dim gx_kernelmachinetype_ppc32_macos,1
    dim gx_kernelmachinetype_x86_macos,1
    dim gx_kernelmachinetype_x64_macos,1
    dim gx_kernelmachinetype_arm32_ios,1
    dim gx_kernelmachinetype_arm64_ios,1
    dim gx_kernelmachinetype_x86_ios,1
    dim gx_kernelmachinetype_arm32_android,1
    dim gx_kernelmachinetype_arm32_nds,1
    dim gx_kernelmachinetype_ppc32_gamecube,1
    dim gx_kernelmachinetype_ppc32_wii,1
    dim gx_kernelmachinetype_arm32_switch,1
    dim gx_kernelmachinetype_ee_ps2,1
    dim gx_kernelmachinetype_mips32_psp,1
    dim gx_kernelmachinetype_cell_ps3,1
    dim gx_kernelmachinetype_x64_ps4,1
    dim gx_kernelmachinetype_x86_xbox,1
    dim gx_kernelmachinetype_ppc32_xbox360,1
    dim gx_kernelmachinetype_68k_amigaos,1
    dim gx_kernelmachinetype_arm32_aros,1
    dim gx_kernelmachinetype_ppc32_aros,1
    dim gx_kernelmachinetype_x86_aros,1
    dim gx_kernelmachinetype_x64_aros,1
    dim gx_kernelmachinetype_ppc32_morphos,1
    dim gx_kernelmachinetype_68k_atari,1
    dim gx_kernelmachinetype_nacl_chrome,1
    dim gx_kernelmachinetype_number,1
  endenum

  enum 0
    dim gx_kernel_r3dcull_none,1
    dim gx_kernel_r3dcull_front,1
    dim gx_kernel_r3dcull_back,1
  endenum

  enum 0
    dim gx_kernel_r3dcmp_never,1
    dim gx_kernel_r3dcmp_less,1
    dim gx_kernel_r3dcmp_lequal,1
    dim gx_kernel_r3dcmp_greater,1
    dim gx_kernel_r3dcmp_gequal,1
    dim gx_kernel_r3dcmp_equal,1
    dim gx_kernel_r3dcmp_notequal,1
    dim gx_kernel_r3dcmp_always,1
  endenum

  define gx_kernel_r3dtextureformat_4bit,0x1
  define gx_kernel_r3dtextureformat_4bitalpha,0x2
  define gx_kernel_r3dtextureformat_8bit,0x4
  define gx_kernel_r3dtextureformat_8bitalpha,0x8
  define gx_kernel_r3dtextureformat_16bit,0x10
  define gx_kernel_r3dtextureformat_12bit,0x20
  define gx_kernel_r3dtextureformat_15bit,0x40
  define gx_kernel_r3dtextureformat_24bit,0x80
  define gx_kernel_r3dtextureformat_32bit,0x100
  define gx_kernel_r3dtextureformat_s3t1,0x200
  define gx_kernel_r3dtextureformat_s3t1cutout,0x400
  define gx_kernel_r3dtextureformat_s3t3,0x800
  define gx_kernel_r3dtextureformat_s3t5,0x1000
  define gx_kernel_r3dtextureformat_rgtc1,0x2000
  define gx_kernel_r3dtextureformat_rgtc2,0x4000
  define gx_kernel_r3dtextureformat_etc1,0x8000
  define gx_kernel_r3dtextureformat_etc1alpha,0x10000
  define gx_kernel_r3dtextureformat_etc2,0x20000
  define gx_kernel_r3dtextureformat_etc2alpha,0x40000
  define gx_kernel_r3dtextureformat_fxt1,0x80000
  define gx_kernel_r3dtextureformat_fxt1alpha,0x100000

  define gx_kernel_r3dtexturewrapmode_repeat,0
  define gx_kernel_r3dtexturewrapmode_clamp,1

  define gx_kernel_r3dtexturefilter_nearest,0
  define gx_kernel_r3dtexturefilter_linear,1

  define gx_kernel_r3dtriangle_list,0
  define gx_kernel_r3dtriangle_fan,1
  define gx_kernel_r3dtriangle_strip,2

  define gx_kernel_r3dbufferflag_none,0x0
  define gx_kernel_r3dbufferflag_dynamic,0x1
  define gx_kernel_r3dbufferflag_indexed,0x2

  define gx_kernel_r3dbeginbufferflag_none,0x0
  define gx_kernel_r3dbeginbufferflag_indexstart,0x1

  enum 0
    dim gx_kernel_extnone,1
    dim gx_kernel_extishardwarerender,1
    dim gx_kernel_extishardwaretransform,1
    dim gx_kernel_extishardwarestaticgeom,1
    dim gx_kernel_extishardwareanimatedgeom,1
    dim gx_kernel_extishardwaredynamicgeom,1
    dim gx_kernel_extgethardwarenblight,1
    dim gx_kernel_extishardwarescreencapture,1
    dim gx_kernel_extishardwaredynamictexture,1
    dim gx_kernel_extishardwarerendertotexture,1
    dim gx_kernel_extishardwaretrifansupport,1
    dim gx_kernel_extishardwaretristripsupport,1
    dim gx_kernel_extishardwaretridegeneratedstripsupport,1
    dim gx_kernel_extsetflushfilewrite,1
    dim gx_kernel_extsetwindowname,1
    dim gx_kernel_extopenurl,1
    dim gx_kernel_extopenfile,1
    dim gx_kernel_extopendirectory,1
    dim gx_kernel_extgetosname,1
    dim gx_kernel_extgetcpuname,1
    dim gx_kernel_extgetgpuname,1
    dim gx_kernel_extsetflush2dfilter,1
    dim gx_kernel_extgetenvironmentvar,1
    dim gx_kernel_extsetenvironmentvarbuffer,1
    dim gx_kernel_extgetnbenvironmentvar,1
    dim gx_kernel_extgetindexedenvironmentvar,1
    dim gx_kernel_extdossetsounddevice,1
    dim gx_kernel_extamigasetchunkytoplanar,1
    dim gx_kernel_extamigaloadpalette,1
    dim gx_kernel_extamigasavepalette,1
    dim gx_kernel_extlinuxsetgamepadprofile,1
    dim gx_kernel_extwindowsopenconsolewindow,1
    dim gx_kernel_extwindowscloseconsolewindow,1
    dim gx_kernel_extwindowssetcurrentregkey,1
    dim gx_kernel_extwindowssetcurrentreglocation,1
    dim gx_kernel_extwindowssetcurrentregkeyname,1
    dim gx_kernel_extwindowssetcurrentregkeytargetbuffer,1
    dim gx_kernel_extwindowscurrentregkeytargetint,1
    dim gx_kernel_extwindowsreadreg,1
    dim gx_kernel_extwindowswritereg,1
    dim gx_kernel_extwindowsreadregint,1
    dim gx_kernel_extwindowswriteregint,1
    dim gx_kernel_extwindowsdeletereg,1
    dim gx_kernel_extwindowssetlinksourcefile,1
    dim gx_kernel_extwindowssetlinksourceicon,1
    dim gx_kernel_extwindowssetlinktargetdir,1
    dim gx_kernel_extwindowssetlinktargetfile,1
    dim gx_kernel_extwindowswritestartmenulink,1
    dim gx_kernel_extwindowsdeletestartmenulink,1
    dim gx_kernel_extwindowswritedesktoplink,1
    dim gx_kernel_extwindowsdeletedesktoplink,1
    dim gx_kernel_extwiigetpad,1
    dim gx_kernel_extwiistartpadrumble,1
    dim gx_kernel_extwiistoppadrumble,1
    dim gx_kernel_extwiigetmemheap1,1
    dim gx_kernel_extwiigetmemheap2,1
    dim gx_kernel_extwiisetclearerrorcallback,1
    dim gx_kernel_extwiisetdvderrorcallback,1
    dim gx_kernel_extwiienablepad,1
    dim gx_kernel_extwiienablepaderror,1
    dim gx_kernel_extwiiblockunmanagedpad,1
    dim gx_kernel_extwiisetrequirenunchukpad,1
    dim gx_kernel_extwiisetpadreadcallback,1
    dim gx_kernel_extwiisetpaderrorcallback,1
    dim gx_kernel_extwiigetmemorycarderror,1
    dim gx_kernel_extwiigetmemorycardextendederror,1
    dim gx_kernel_extwiisetmemorycarderrorcallback,1
    dim gx_kernel_extwiisetmemorycardinode,1
    dim gx_kernel_extwiicheckmemorycardsize,1
    dim gx_kernel_extwiisetmemorycardbannertext0,1
    dim gx_kernel_extwiisetmemorycardbannertext1,1
    dim gx_kernel_extwiisetmemorycardbannernbicon,1
    dim gx_kernel_extwiimemorycardsavebanner,1
    dim gx_kernel_extwiimemorycardchecksavebanner,1
    dim gx_kernel_extwiideletesave,1
    dim gx_kernel_extwiireturntodatamgr,1
    dim gx_kernel_extwiigetlanguage,1
    dim gx_kernel_extwiienableresetshutdown,1
    dim gx_kernel_extwiienablehomemenu,1
    dim gx_kernel_extwiisethomemenusavemessage,1
    dim gx_kernel_extwiipreloadhomemenu,1
    dim gx_kernel_extwiienableremotepointer,1
    dim gx_kernel_extwiidisplaysplash,1
    dim gx_kernel_extwiiwidescreen,1
    dim gx_kernel_extwiivsync,1
    dim gx_kernel_extwiimotionplusvideo,1
    dim gx_kernel_extwiigetmotionplusstate,1
    dim gx_kernel_extwiienablemotionplus,1
    dim gx_kernel_extwiicalibratemotionplus,1
    dim gx_kernel_extwiisetdebugmode,1
    dim gx_kernel_extiosgetaccelerometerx,1
    dim gx_kernel_extiosgetaccelerometery,1
    dim gx_kernel_extiosgetaccelerometerz,1
    dim gx_kernel_extiosorientation,1
    dim gx_kernel_extiosgetdevicemodel,1
    dim gx_kernel_extandroiddownloadopen,1
    dim gx_kernel_extandroiddownloadprocess,1
    dim gx_kernel_extandroiddownloadclose,1
    dim gx_kernel_extandroiddownloader,1
    dim gx_kernel_extandroidgetjnienvobject,1
    dim gx_kernel_extps3setfilesystem,1
    dim gx_kernel_extps4setfilesystem,1
    dim gx_kernel_extnacldownloader,1
    dim gx_kernel_extnaclsethandlemessageplugin,1
    dim gx_kernel_extnaclhidemousecursor,1
    dim gx_kernel_extnumber,1
  endenum

  enum 0
    dim gx_kernel_screentypeconsole,1
    dim gx_kernel_screentypex11,1
    dim gx_kernel_screentypemsi,1
    dim gx_kernel_screentypeglide,1
    dim gx_kernel_screentypewarp3d,1
    dim gx_kernel_screentypeopengl1,1
    dim gx_kernel_screentypeopengl2,1
    dim gx_kernel_screentypeopengl4,1
    dim gx_kernel_screentypeopengles1,1
    dim gx_kernel_screentypeopengles2,1
    dim gx_kernel_screentypeopengles3,1
    dim gx_kernel_screentypevulkan,1
    dim gx_kernel_screentyper3d,1
    dim gx_kernel_screentypegdi,1
    dim gx_kernel_screentyped3d5,1
    dim gx_kernel_screentyped3d8,1
    dim gx_kernel_screentyped3d9,1
    dim gx_kernel_screentypeworkbench,1
    dim gx_kernel_screentypeocs,1
    dim gx_kernel_screentypeaga,1
    dim gx_kernel_screentypertg,1
    dim gx_kernel_screentypertgfullscreen,1
    dim gx_kernel_screentypecga,1
    dim gx_kernel_screentypepc1512,1
    dim gx_kernel_screentypeega,1
    dim gx_kernel_screentypevga,1
    dim gx_kernel_screentypexvga,1
    dim gx_kernel_screentypesvga,1
  endenum

  enum 0
    dim gx_kernel_specialdirhome,1
    dim gx_kernel_specialdirtmp,1
  endenum

  define gx_kernel_nbchannel,4

  typedef gx_tkernelpoint3d
  typedef gx_tkernelxmatrix3d
  typedef gx_tkernelmatrix3d
  typedef gx_tkernelmatrix4d
  typedef gx_tkerneltransform

  declarexfunction int,gx_kernel_ginstall,nothing
  declarexfunction gx_texternplugin,gx_kernel_start,string,cmdline,long,maxmem,void,memalloc,void,memdealloc,void,memrealloc,string,executablefilename
  declarexfunction int,gx_kernel_stop,gx_texternplugin,ptr_texternplugin
  declarexfunction nothing,gx_kernel_updatecallback,nothing
  declarexfunction gx_texternplugin,gx_kernel_getexternplugin,nothing
  declarexfunction nothing,gx_kernel_setexternplugin,gx_texternplugin,ptr_texternplugin
  declarexfunction int,gx_kernel_getmachinetype,nothing
  declarexfunction string,gx_kernel_getmachinename,nothing
  declarexfunction nothing,gx_kernel_gethardwareserial,string,serial
  declarexfunction nothing,gx_kernel_getdate,rint,date,rint,time
  declarexfunction int,gx_kernel_isconsolemode,nothing
  declarexfunction float,gx_kernel_getznearlimit,nothing
  declarexfunction float,gx_kernel_getzfarlimit,nothing
  declarexfunction nothing,gx_kernel_screensetmode,int,nummode
  declarexfunction nothing,gx_kernel_screensetdefaultmode,nothing
  declarexfunction nothing,gx_kernel_applypalette,nothing
  declarexfunction nothing,gx_kernel_fastapplypalette,nothing
  declarexfunction int,gx_kernel_screengetsizex,nothing
  declarexfunction int,gx_kernel_screengetsizey,nothing
  declarexfunction int,gx_kernel_windowgetsizex,nothing
  declarexfunction int,gx_kernel_windowgetsizey,nothing
  declarexfunction nothing,gx_kernel_windowsetsize,int,sizex,int,sizey
  declarexfunction nothing,gx_kernel_readinput,nothing
  declarexfunction nothing,gx_kernel_screenflush2d,nothing
  declarexfunction nothing,gx_kernel_screenflush3d,nothing
  declarexfunction nothing,gx_kernel_getexecutablefilename,void,filename
  declarexfunction nothing,gx_kernel_setexecutablefilename,void,filename
  declarexfunction nothing,gx_kernel_print,string,text
  declarexfunction nothing,gx_kernel_printint,string,text,int,value
  declarexfunction nothing,gx_kernel_printhex,string,text,int,value
  declarexfunction nothing,gx_kernel_printfloat,string,text,float,value
  declarexfunction nothing,gx_kernel_printlong,string,text,long,value
  declarexfunction nothing,gx_kernel_printlonghex,string,text,long,value
  declarexfunction nothing,gx_kernel_printstr,string,text,string,value
  declarexfunction nothing,gx_kernel_input,string,message,void,text
  declarexfunction nothing,gx_kernel_messagebox,string,text
  declarexfunction int,gx_kernel_inkey,nothing
  declarexfunction nothing,gx_kernel_installkeyboard,nothing
  declarexfunction nothing,gx_kernel_uninstallkeyboard,nothing
  declarexfunction int,gx_kernel_getfasttimer,nothing
  declarexfunction int,gx_kernel_gettimer,nothing
  declarexfunction int,gx_kernel_gettimercount,nothing
  declarexfunction nothing,gx_kernel_sleep,int,time
  declarexfunction float,gx_kernel_cosf,float,value
  declarexfunction float,gx_kernel_sinf,float,value
  declarexfunction float,gx_kernel_tanf,float,value
  declarexfunction float,gx_kernel_acosf,float,value
  declarexfunction float,gx_kernel_asinf,float,value
  declarexfunction float,gx_kernel_atanf,float,value
  declarexfunction float,gx_kernel_powf,float,value,float,exponent
  declarexfunction float,gx_kernel_sqrtf,float,value
  declarexfunction float,gx_kernel_cbrtf,float,value
  declarexfunction void,gx_kernel_memalloc,long,size
  declarexfunction nothing,gx_kernel_memdealloc,void,pointer
  declarexfunction void,gx_kernel_memrealloc,void,pointer,long,size
  declarexfunction nothing,gx_kernel_convertnametofilesystem,string,name
  declarexfunction nothing,gx_kernel_convertnamefromfilesystem,string,name
  declarexfunction void,gx_kernel_fileopen,string,filename,int,filemode
  declarexfunction long,gx_kernel_fileread,void,handle,void,buffer,long,size
  declarexfunction int,gx_kernel_fileisasyncready,nothing
  declarexfunction nothing,gx_kernel_filereadasync,void,handle,void,buffer,long,size
  declarexfunction nothing,gx_kernel_fileasyncstop,nothing
  declarexfunction long,gx_kernel_filewrite,void,handle,void,buffer,long,size
  declarexfunction long,gx_kernel_fileseek,void,handle,long,offset,int,origin
  declarexfunction long,gx_kernel_filetell,void,handle
  declarexfunction nothing,gx_kernel_fileclose,void,handle
  declarexfunction int,gx_kernel_filekill,string,filename
  declarexfunction int,gx_kernel_fileexists,string,filename
  declarexfunction int,gx_kernel_fileisdir,string,filename
  declarexfunction int,gx_kernel_fileisreadonly,string,filename
  declarexfunction nothing,gx_kernel_filegetdate,string,filename,rint,date,rint,time
  declarexfunction nothing,gx_kernel_getfirstfile,void,name
  declarexfunction nothing,gx_kernel_getnextfile,void,name
  declarexfunction nothing,gx_kernel_closegetfile,nothing
  declarexfunction nothing,gx_kernel_getfirstdirectory,void,name
  declarexfunction nothing,gx_kernel_getnextdirectory,void,name
  declarexfunction nothing,gx_kernel_closegetdirectory,nothing
  declarexfunction nothing,gx_kernel_getfirstvolume,void,name
  declarexfunction nothing,gx_kernel_getnextvolume,void,name
  declarexfunction nothing,gx_kernel_closegetvolume,nothing
  declarexfunction nothing,gx_kernel_getcurrentdirectory,void,dirname
  declarexfunction int,gx_kernel_setcurrentdirectory,string,dirname
  declarexfunction nothing,gx_kernel_setrootdirectory,nothing
  declarexfunction nothing,gx_kernel_setparentdirectory,nothing
  declarexfunction nothing,gx_kernel_createdirectory,string,dirname
  declarexfunction nothing,gx_kernel_deletedirectory,string,dirname
  declarexfunction nothing,gx_kernel_setstartupdirectory,nothing
  declarexfunction nothing,gx_kernel_getcurrentvolume,string,volname
  declarexfunction int,gx_kernel_setcurrentvolume,string,volname
  declarexfunction nothing,gx_kernel_getspecialdirectory,string,name,int,type
  declarexfunction int,gx_kernel_memorycardload,string,name,rvoid,buffer,rint,size
  declarexfunction int,gx_kernel_memorycardsave,string,name,void,buffer,int,size
  declarexfunction void,gx_kernel_openlibrary,string,filename
  declarexfunction void,gx_kernel_getlibrary,void,handle,string,functionname
  declarexfunction nothing,gx_kernel_closelibrary,void,handle
  declarexfunction int,gx_kernel_execute,string,filename,string,argument
  declarexfunction int,gx_kernel_run,string,filename,string,argument
  declarexfunction nothing,gx_kernel_exception,nothing
  declarexfunction nothing,gx_kernel_exit,nothing
  declarexfunction int,gx_kernel_issoundenabled,nothing
  declarexfunction int,gx_kernel_soundinit,nothing
  declarexfunction nothing,gx_kernel_soundreset,nothing
  declarexfunction int,gx_kernel_soundplay,void,ptr_tsound,int,volume,int,pitch,int,panning,int,flag
  declarexfunction nothing,gx_kernel_soundstop,int,voice
  declarexfunction nothing,gx_kernel_soundupdate,int,voice,int,volume,int,pitch,int,panning
  declarexfunction nothing,gx_kernel_soundpause,int,voice
  declarexfunction nothing,gx_kernel_soundresume,int,voice
  declarexfunction nothing,gx_kernel_soundmixer,nothing
  declarexfunction int,gx_kernel_soundgetstate,int,voice
  declarexfunction int,gx_kernel_soundgetpos,int,voice
  declarexfunction int,gx_kernel_soundgetvolume,int,voice
  declarexfunction int,gx_kernel_soundgetpitch,int,voice
  declarexfunction int,gx_kernel_soundgetpanning,int,voice
  declarexfunction int,gx_kernel_soundinitdoublebuffer,void,buffer,int,freq,int,stereo,int,size,int,volume,int,panning
  declarexfunction int,gx_kernel_soundwritedoublebuffer,void,buffer,int,volume,int,panning
  declarexfunction nothing,gx_kernel_soundresetdoublebuffer,nothing
  declarexfunction int,gx_kernel_threadgetnbcore,nothing
  declarexfunction void,gx_kernel_threadcreate,void,function,void,value
  declarexfunction nothing,gx_kernel_threadrelease,void,handle
  declarexfunction nothing,gx_kernel_threadpause,void,handle
  declarexfunction nothing,gx_kernel_threadresume,void,handle
  declarexfunction int,gx_kernel_threadgetstate,void,handle
  declarexfunction nothing,gx_kernel_threadswitch,nothing
  declarexfunction nothing,gx_kernel_threadlock,nothing
  declarexfunction nothing,gx_kernel_threadunlock,nothing
  declarexfunction nothing,gx_kernel_networkinstall,nothing
  declarexfunction nothing,gx_kernel_networkuninstall,nothing
  declarexfunction int,gx_kernel_networkisenabled,nothing
  declarexfunction void,gx_kernel_networkserverconnect,string,address
  declarexfunction void,gx_kernel_networkclientconnect,string,address
  declarexfunction nothing,gx_kernel_networkdisconnect,void,handle
  declarexfunction nothing,gx_kernel_networkgetaddress,void,handle,string,address
  declarexfunction nothing,gx_kernel_networkgetaddressbyname,string,name,string,address
  declarexfunction int,gx_kernel_networkread,void,handle,void,buffer,int,size
  declarexfunction int,gx_kernel_networkwrite,void,handle,void,buffer,int,size
  declarexfunction int,gx_kernel_networkgetstatus,void,handle
  declarexfunction int,gx_kernel_dspfill32,void,dst,int,value,int,size
  declarexfunction int,gx_kernel_dspfill64,void,dst,int,value,int,size
  declarexfunction int,gx_kernel_dspfill128,void,dst,int,value,int,size
  declarexfunction int,gx_kernel_dspmove8,void,src,void,dst,int,size
  declarexfunction int,gx_kernel_dspmove16,void,src,void,dst,int,size
  declarexfunction int,gx_kernel_dspmove32,void,src,void,dst,int,size
  declarexfunction int,gx_kernel_dspmove64,void,src,void,dst,int,size
  declarexfunction int,gx_kernel_dspmove128,void,src,void,dst,int,size
  declarexfunction int,gx_kernel_rotatepts2d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotateblendpts2d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotatepts2dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotateblendpts2dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotatepts3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotatepts3dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotateblendpts3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotateblendpts3dfix,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotatenorm3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_rotateblendnorm3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction int,gx_kernel_morph3d,gx_tkerneltransform,ptr_tkerneltransform
  declarexfunction nothing,gx_kernel_r3dinstall,nothing
  declarexfunction nothing,gx_kernel_r3duninstall,nothing
  declarexfunction nothing,gx_kernel_r3dcamera,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,int,fov
  declarexfunction nothing,gx_kernel_r3dclip,int,xmin,int,xmax,int,ymin,int,ymax,int,zmin,int,zmax
  declarexfunction nothing,gx_kernel_r3dstart,nothing
  declarexfunction nothing,gx_kernel_r3dstop,nothing
  declarexfunction nothing,gx_kernel_r3dswap,int,mode
  declarexfunction nothing,gx_kernel_r3dcameraorthographic,nothing
  declarexfunction nothing,gx_kernel_r3dcameraperspective,nothing
  declarexfunction nothing,gx_kernel_r3dmatrixidentity,nothing
  declarexfunction nothing,gx_kernel_r3dmatrix,float,posx,float,posy,float,posz,gx_tkernelmatrix3d,ptr_tkernelmatrix3d
  declarexfunction nothing,gx_kernel_r3dfinish,nothing
  declarexfunction nothing,gx_kernel_r3dclearcolor,int,r,int,g,int,b
  declarexfunction nothing,gx_kernel_r3dcleardepth,int,value
  declarexfunction nothing,gx_kernel_r3dclearstencil,int,value
  declarexfunction nothing,gx_kernel_r3dclearall,int,r,int,g,int,b,int,depthvalue,int,stencilvalue
  declarexfunction nothing,gx_kernel_r3dcull,int,mode
  declarexfunction nothing,gx_kernel_r3ddepth,int,cmpmode,int,writeflag
  declarexfunction nothing,gx_kernel_r3dshader,int,render
  declarexfunction int,gx_kernel_r3dgetvramsize,nothing
  declarexfunction int,gx_kernel_r3dgetmaxtexturesize,nothing
  declarexfunction int,gx_kernel_r3dchecktextureformat,int,textureformat
  declarexfunction void,gx_kernel_r3dcreatetexture,int,sizex,int,sizey,int,textureformat,int,mipmap
  declarexfunction nothing,gx_kernel_r3ddeletetexture,void,handle
  declarexfunction nothing,gx_kernel_r3dbindtexture,void,handle
  declarexfunction nothing,gx_kernel_r3duploadtexture,void,palette,void,buffer,int,mipindex
  declarexfunction nothing,gx_kernel_r3dtexturewrap,int,mode
  declarexfunction nothing,gx_kernel_r3dtexturefilter,int,filter
  declarexfunction nothing,gx_kernel_r3dbegin,int,nbvertex
  declarexfunction nothing,gx_kernel_r3dvertex,float,x,float,y,float,z,float,a,float,r,float,g,float,b,float,u,float,v
  declarexfunction nothing,gx_kernel_r3dend,nothing
  declarexfunction void,gx_kernel_r3dcreatevertexbuffer,int,count,int,trianglemode,int,flag
  declarexfunction nothing,gx_kernel_r3ddeletevertexbuffer,void,handle
  declarexfunction nothing,gx_kernel_r3dlockvertexbuffer,void,handle
  declarexfunction nothing,gx_kernel_r3dunlockvertexbuffer,nothing
  declarexfunction nothing,gx_kernel_r3dbeginvertexbuffer,int,flag
  declarexfunction nothing,gx_kernel_r3dendvertexbuffer,nothing
  declarexfunction nothing,gx_kernel_r3dvertexbufferpos,float,x,float,y,float,z
  declarexfunction nothing,gx_kernel_r3dvertexbuffercolor,int,a,int,r,int,g,int,b
  declarexfunction nothing,gx_kernel_r3dvertexbuffertexmap,float,u,float,v
  declarexfunction nothing,gx_kernel_r3ddrawvertexbuffer,void,handle
  declarexfunction void,gx_kernel_r3dcreateindexbuffer,int,count,int,trianglemode,int,flag
  declarexfunction nothing,gx_kernel_r3ddeleteindexbuffer,void,handle
  declarexfunction nothing,gx_kernel_r3dindexbufferattachvertex,void,handle,void,vertexhandle
  declarexfunction nothing,gx_kernel_r3dlockindexbuffer,void,handle
  declarexfunction nothing,gx_kernel_r3dunlockindexbuffer,nothing
  declarexfunction nothing,gx_kernel_r3dbeginindexbuffer,int,flag
  declarexfunction nothing,gx_kernel_r3dendindexbuffer,nothing
  declarexfunction nothing,gx_kernel_r3dindexbuffervalue,int,index
  declarexfunction nothing,gx_kernel_r3ddrawindexbuffer,void,handle
  declarexfunction nothing,gx_kernel_r3dscreencapture,void,buffer,int,sizex,int,sizey
  declarexfunction nothing,gx_kernel_r3dscreentotexture,nothing
  declarexfunction void,gx_kernel_baseload,string,name
  declarexfunction nothing,gx_kernel_basefree,void,handle
  declarexfunction nothing,gx_kernel_basepreinstall,void,handle
  declarexfunction nothing,gx_kernel_basepostuninstall,void,handle
  declarexfunction int,gx_kernel_baseinstall,void,handle,int,sequence
  declarexfunction nothing,gx_kernel_baseuninstall,void,handle
  declarexfunction int,gx_kernel_basemanage,void,handle
  declarexfunction nothing,gx_kernel_basedisplay2d,void,handle,int,sequence
  declarexfunction nothing,gx_kernel_basedisplay3dbegin,void,handle,int,sequence
  declarexfunction nothing,gx_kernel_basedisplay3dend,void,handle,int,sequence
  declarexfunction int,gx_kernel_basetestcol3dcylinder,void,handle,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_kernel_basetestcol3dsphere,void,handle,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction void,gx_kernel_actorload,string,name,string,skinname
  declarexfunction nothing,gx_kernel_actorfree,void,handle
  declarexfunction nothing,gx_kernel_actorbind,void,handle
  declarexfunction nothing,gx_kernel_actorsetpos,void,handle,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_kernel_actorsetang,void,handle,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_kernel_actordisplay,void,handle,int,sequence
  declarexfunction void,gx_kernel_skinload,string,name
  declarexfunction nothing,gx_kernel_skinfree,void,handle
  declarexfunction int,gx_kernel_skininitanim,void,handle,int,numanim
  declarexfunction int,gx_kernel_skinupdateanim,void,handle,int,numanim,int,lastpostrack,rint,newpostrack
  declarexfunction int,gx_kernel_skingetnbanim,void,handle
  declarexfunction string,gx_kernel_skingetanimname,void,handle,int,index
  declarexfunction nothing,gx_kernel_extrun,int,type
  declarexfunction int,gx_kernel_extgetint,int,type
  declarexfunction float,gx_kernel_extgetfloat,int,type
  declarexfunction long,gx_kernel_extgetlong,int,type
  declarexfunction void,gx_kernel_extgetvoid,int,type
  declarexfunction nothing,gx_kernel_extsetint,int,type,int,value
  declarexfunction nothing,gx_kernel_extsetfloat,int,type,float,value
  declarexfunction nothing,gx_kernel_extsetlong,int,type,long,value
  declarexfunction nothing,gx_kernel_extsetvoid,int,type,void,value
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ----------- */
/* gx_keyboard */
/* ----------- */
group gx_keyboard
  typedef gx_tkeyboard
  classtype gx_keyboard,gx_tkeyboard

  define gx_keyboard_keyesc,0x1b
  define gx_keyboard_keyenter,0xd
  define gx_keyboard_keytab,0x9
  define gx_keyboard_keyspace,0x20
  define gx_keyboard_keybackspace,0x8
  define gx_keyboard_keyinsert,0x1
  define gx_keyboard_keydelete,0x4
  define gx_keyboard_keyarrowup,0x11
  define gx_keyboard_keyarrowdown,0x12
  define gx_keyboard_keyarrowleft,0x13
  define gx_keyboard_keyarrowright,0x14
  define gx_keyboard_keypageup,0x16
  define gx_keyboard_keypagedown,0x17
  define gx_keyboard_keyhome,0x2
  define gx_keyboard_keyend,0x3
  define gx_keyboard_keyf1,0x80
  define gx_keyboard_keyf2,0x81
  define gx_keyboard_keyf3,0x82
  define gx_keyboard_keyf4,0x83
  define gx_keyboard_keyf5,0x84
  define gx_keyboard_keyf6,0x85
  define gx_keyboard_keyf7,0x86
  define gx_keyboard_keyf8,0x87
  define gx_keyboard_keyf9,0x88
  define gx_keyboard_keyf10,0x89
  define gx_keyboard_keyf11,0x8a
  define gx_keyboard_keyf12,0x8b
  define gx_keyboard_keyexclamation,0x21
  define gx_keyboard_keydoublequote,0x22
  define gx_keyboard_keynumbersign,0x23
  define gx_keyboard_keydollar,0x24
  define gx_keyboard_keypercent,0x25
  define gx_keyboard_keyampersand,0x26
  define gx_keyboard_keyquote,0x27
  define gx_keyboard_keyleftparenthese,0x28
  define gx_keyboard_keyrightparenthese,0x29
  define gx_keyboard_keymul,0x2a
  define gx_keyboard_keyadd,0x2b
  define gx_keyboard_keycomma,0x2c
  define gx_keyboard_keysub,0x2d
  define gx_keyboard_keypoint,0x2e
  define gx_keyboard_keydiv,0x2f
  define gx_keyboard_key0,0x30
  define gx_keyboard_key1,0x31
  define gx_keyboard_key2,0x32
  define gx_keyboard_key3,0x33
  define gx_keyboard_key4,0x34
  define gx_keyboard_key5,0x35
  define gx_keyboard_key6,0x36
  define gx_keyboard_key7,0x37
  define gx_keyboard_key8,0x38
  define gx_keyboard_key9,0x39
  define gx_keyboard_keycolon,0x3a
  define gx_keyboard_keysemicolon,0x3b
  define gx_keyboard_keyless,0x3c
  define gx_keyboard_keyequal,0x3d
  define gx_keyboard_keygreater,0x3e
  define gx_keyboard_keyquestionmark,0x3f
  define gx_keyboard_keyatsign,0x40
  define gx_keyboard_keyuppera,0x41
  define gx_keyboard_keyupperb,0x42
  define gx_keyboard_keyupperc,0x43
  define gx_keyboard_keyupperd,0x44
  define gx_keyboard_keyuppere,0x45
  define gx_keyboard_keyupperf,0x46
  define gx_keyboard_keyupperg,0x47
  define gx_keyboard_keyupperh,0x48
  define gx_keyboard_keyupperi,0x49
  define gx_keyboard_keyupperj,0x4a
  define gx_keyboard_keyupperk,0x4b
  define gx_keyboard_keyupperl,0x4c
  define gx_keyboard_keyupperm,0x4d
  define gx_keyboard_keyuppern,0x4e
  define gx_keyboard_keyuppero,0x4f
  define gx_keyboard_keyupperp,0x50
  define gx_keyboard_keyupperq,0x51
  define gx_keyboard_keyupperr,0x52
  define gx_keyboard_keyuppers,0x53
  define gx_keyboard_keyuppert,0x54
  define gx_keyboard_keyupperu,0x55
  define gx_keyboard_keyupperv,0x56
  define gx_keyboard_keyupperw,0x57
  define gx_keyboard_keyupperx,0x58
  define gx_keyboard_keyuppery,0x59
  define gx_keyboard_keyupperz,0x5a
  define gx_keyboard_keyleftbracket,0x5b
  define gx_keyboard_keybackslash,0x5c
  define gx_keyboard_keyrightbracket,0x5d
  define gx_keyboard_keycircumflex,0x5e
  define gx_keyboard_keyunderscore,0x5f
  define gx_keyboard_keygraveaccent,0x60
  define gx_keyboard_keya,0x61
  define gx_keyboard_keyb,0x62
  define gx_keyboard_keyc,0x63
  define gx_keyboard_keyd,0x64
  define gx_keyboard_keye,0x65
  define gx_keyboard_keyf,0x66
  define gx_keyboard_keyg,0x67
  define gx_keyboard_keyh,0x68
  define gx_keyboard_keyi,0x69
  define gx_keyboard_keyj,0x6a
  define gx_keyboard_keyk,0x6b
  define gx_keyboard_keyl,0x6c
  define gx_keyboard_keym,0x6d
  define gx_keyboard_keyn,0x6e
  define gx_keyboard_keyo,0x6f
  define gx_keyboard_keyp,0x70
  define gx_keyboard_keyq,0x71
  define gx_keyboard_keyr,0x72
  define gx_keyboard_keys,0x73
  define gx_keyboard_keyt,0x74
  define gx_keyboard_keyu,0x75
  define gx_keyboard_keyv,0x76
  define gx_keyboard_keyw,0x77
  define gx_keyboard_keyx,0x78
  define gx_keyboard_keyy,0x79
  define gx_keyboard_keyz,0x7a
  define gx_keyboard_keyleftbrace,0x7b
  define gx_keyboard_keyverticalbar,0x7c
  define gx_keyboard_keyrightbrace,0x7d
  define gx_keyboard_keytilde,0x7e
  define gx_keyboard_keyfinaldel,0x7f

  enum 0
    dim gx_keyboard_virtualkeyesc,1
    dim gx_keyboard_virtualkeyenter,1
    dim gx_keyboard_virtualkeypadenter,1
    dim gx_keyboard_virtualkeytab,1
    dim gx_keyboard_virtualkeyspace,1
    dim gx_keyboard_virtualkeybackspace,1
    dim gx_keyboard_virtualkeyinsert,1
    dim gx_keyboard_virtualkeydelete,1
    dim gx_keyboard_virtualkeyarrowup,1
    dim gx_keyboard_virtualkeyarrowright,1
    dim gx_keyboard_virtualkeyarrowdown,1
    dim gx_keyboard_virtualkeyarrowleft,1
    dim gx_keyboard_virtualkeypageup,1
    dim gx_keyboard_virtualkeypagedown,1
    dim gx_keyboard_virtualkeyhome,1
    dim gx_keyboard_virtualkeyend,1
    dim gx_keyboard_virtualkeysub,1
    dim gx_keyboard_virtualkeyequal,1
    dim gx_keyboard_virtualkeybackslash,1
    dim gx_keyboard_virtualkeyleftbracket,1
    dim gx_keyboard_virtualkeyrightbracket,1
    dim gx_keyboard_virtualkeysemicolon,1
    dim gx_keyboard_virtualkeyquote,1
    dim gx_keyboard_virtualkeycomma,1
    dim gx_keyboard_virtualkeypoint,1
    dim gx_keyboard_virtualkeydiv,1
    dim gx_keyboard_virtualkeytilde,1
    dim gx_keyboard_virtualkeyleftshift,1
    dim gx_keyboard_virtualkeyrightshift,1
    dim gx_keyboard_virtualkeyleftalt,1
    dim gx_keyboard_virtualkeyrightalt,1
    dim gx_keyboard_virtualkeyleftctrl,1
    dim gx_keyboard_virtualkeyrightctrl,1
    dim gx_keyboard_virtualkeyleftamiga,1
    dim gx_keyboard_virtualkeyrightamiga,1
    dim gx_keyboard_virtualkeyf1,1
    dim gx_keyboard_virtualkeyf2,1
    dim gx_keyboard_virtualkeyf3,1
    dim gx_keyboard_virtualkeyf4,1
    dim gx_keyboard_virtualkeyf5,1
    dim gx_keyboard_virtualkeyf6,1
    dim gx_keyboard_virtualkeyf7,1
    dim gx_keyboard_virtualkeyf8,1
    dim gx_keyboard_virtualkeyf9,1
    dim gx_keyboard_virtualkeyf10,1
    dim gx_keyboard_virtualkeyf11,1
    dim gx_keyboard_virtualkeyf12,1
    dim gx_keyboard_virtualkey0,1
    dim gx_keyboard_virtualkey1,1
    dim gx_keyboard_virtualkey2,1
    dim gx_keyboard_virtualkey3,1
    dim gx_keyboard_virtualkey4,1
    dim gx_keyboard_virtualkey5,1
    dim gx_keyboard_virtualkey6,1
    dim gx_keyboard_virtualkey7,1
    dim gx_keyboard_virtualkey8,1
    dim gx_keyboard_virtualkey9,1
    dim gx_keyboard_virtualkeypad0,1
    dim gx_keyboard_virtualkeypad1,1
    dim gx_keyboard_virtualkeypad2,1
    dim gx_keyboard_virtualkeypad3,1
    dim gx_keyboard_virtualkeypad4,1
    dim gx_keyboard_virtualkeypad5,1
    dim gx_keyboard_virtualkeypad6,1
    dim gx_keyboard_virtualkeypad7,1
    dim gx_keyboard_virtualkeypad8,1
    dim gx_keyboard_virtualkeypad9,1
    dim gx_keyboard_virtualkeypaddiv,1
    dim gx_keyboard_virtualkeypadmul,1
    dim gx_keyboard_virtualkeypadsub,1
    dim gx_keyboard_virtualkeypadadd,1
    dim gx_keyboard_virtualkeypadpoint,1
    dim gx_keyboard_virtualkeyq,1
    dim gx_keyboard_virtualkeyw,1
    dim gx_keyboard_virtualkeye,1
    dim gx_keyboard_virtualkeyr,1
    dim gx_keyboard_virtualkeyt,1
    dim gx_keyboard_virtualkeyy,1
    dim gx_keyboard_virtualkeyu,1
    dim gx_keyboard_virtualkeyi,1
    dim gx_keyboard_virtualkeyo,1
    dim gx_keyboard_virtualkeyp,1
    dim gx_keyboard_virtualkeya,1
    dim gx_keyboard_virtualkeys,1
    dim gx_keyboard_virtualkeyd,1
    dim gx_keyboard_virtualkeyf,1
    dim gx_keyboard_virtualkeyg,1
    dim gx_keyboard_virtualkeyh,1
    dim gx_keyboard_virtualkeyj,1
    dim gx_keyboard_virtualkeyk,1
    dim gx_keyboard_virtualkeyl,1
    dim gx_keyboard_virtualkeyz,1
    dim gx_keyboard_virtualkeyx,1
    dim gx_keyboard_virtualkeyc,1
    dim gx_keyboard_virtualkeyv,1
    dim gx_keyboard_virtualkeyb,1
    dim gx_keyboard_virtualkeyn,1
    dim gx_keyboard_virtualkeym,1
    dim gx_keyboard_virtualkeynumber,1
  endenum

  declarexfunction int,gx_keyboard_ginstall,nothing
  declarexfunction nothing,gx_keyboard_install,nothing
  declarexfunction nothing,gx_keyboard_uninstall,nothing
  declarexfunction int,gx_keyboard_isinstalled,nothing
  declarexfunction void,gx_keyboard_gettable,nothing
  declarexfunction nothing,gx_keyboard_cleartable,nothing
  declarexfunction int,gx_keyboard_gettablevalue,int,index
  declarexfunction nothing,gx_keyboard_settablevalue,int,index,int,value
  declarexfunction int,gx_keyboard_gettranslation,int,index
  declarexfunction int,gx_keyboard_getinverttranslation,int,value
  declarexfunction nothing,gx_keyboard_settranslation,int,index,int,value
  declarexfunction int,gx_keyboard_virtualkeytokey,int,value,int,defaultkey,int,flag
  declarexfunction int,gx_keyboard_getkey,int,key
  declarexfunction nothing,gx_keyboard_setkey,int,key,int,value
  declarexfunction int,gx_keyboard_inkey,nothing
  declarexfunction nothing,gx_keyboard_outkey,int,key
  declarexfunction int,gx_keyboard_getlastkey,nothing
  declarexfunction nothing,gx_keyboard_setlastkey,int,lastkey
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ---------- */
/* gx_library */
/* ---------- */
group gx_library
  typedef gx_tlibrary
  classtype gx_library,gx_tlibrary

  declarexfunction int,gx_library_ginstall,nothing
  declarexfunction void,gx_library_getparentclass,gx_tlibrary,ptr_tlibrary
  declarexfunction nothing,gx_library_setparentclass,gx_tlibrary,ptr_tlibrary,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tlibrary,gx_library_new,nothing
  declarexfunction nothing,gx_library_free,gx_tlibrary,ptr_tlibrary
  declarexfunction nothing,gx_library_freeall,nothing
  declarexfunction nothing,gx_library_addref,gx_tlibrary,ptr_tlibrary
  declarexfunction int,gx_library_getref,gx_tlibrary,ptr_tlibrary
  declarexfunction void,gx_library_load,string,filename
  declarexfunction int,gx_library_getnblibrary,nothing
  declarexfunction gx_tlibrary,gx_library_getindexedlibrary,int,index
  declarexfunction gx_tlibrary,gx_library_getnamedlibrary,string,name
  declarexfunction string,gx_library_getname,gx_tlibrary,ptr_tlibrary
  declarexfunction nothing,gx_library_setname,gx_tlibrary,ptr_tlibrary,string,name
  declarexfunction void,gx_library_gethandle,gx_tlibrary,ptr_tlibrary
  declarexfunction nothing,gx_library_sethandle,gx_tlibrary,ptr_tlibrary,void,handle
  declarexfunction nothing,gx_library_insertcallback,gx_tlibrary,ptr_tlibrary,string,name,void,callback
  declarexfunction int,gx_library_getnbcallback,gx_tlibrary,ptr_tlibrary
  declarexfunction void,gx_library_getindexedcallback,gx_tlibrary,ptr_tlibrary,int,index
  declarexfunction string,gx_library_getindexedcallbackname,gx_tlibrary,ptr_tlibrary,int,index
  declarexfunction void,gx_library_getnamedcallback,gx_tlibrary,ptr_tlibrary,string,name
  declarexfunction int,gx_library_getnamedcallbackindex,gx_tlibrary,ptr_tlibrary,string,name
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tcomponent
endgroup

/* -------- */
/* gx_light */
/* -------- */
group gx_light
  typedef gx_tlight
  classtype gx_light,gx_tlight

  enum 0
    dim gx_light_animnone,1
    dim gx_light_animrandom,1
    dim gx_light_animfire,1
    dim gx_light_animpulse,1
  endenum

  declarexfunction int,gx_light_ginstall,nothing
  declarexfunction void,gx_light_getparentclass,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setparentclass,gx_tlight,ptr_tlight,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tlight,gx_light_new,nothing
  declarexfunction gx_tlight,gx_light_load,string,filename
  declarexfunction gx_tlight,gx_light_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_light_save,gx_tlight,ptr_tlight,string,filename
  declarexfunction int,gx_light_savechunk,gx_tlight,ptr_tlight,int,filenum
  declarexfunction gx_tlight,gx_light_loadgxml,string,filename
  declarexfunction gx_tlight,gx_light_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_light_savegxml,gx_tlight,ptr_tlight,string,filename
  declarexfunction int,gx_light_savegxmlchunk,gx_tlight,ptr_tlight,int,filenum
  declarexfunction gx_tlight,gx_light_loadall,string,filename
  declarexfunction nothing,gx_light_saveall,gx_tlight,ptr_tlight,string,filename
  declarexfunction nothing,gx_light_free,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_addref,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_getref,gx_tlight,ptr_tlight
  declarexfunction gx_tlight,gx_light_copy,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_merge,gx_tlight,ptr_tlight,gx_tlight,src_tlight
  declarexfunction string,gx_light_getname,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setname,gx_tlight,ptr_tlight,string,name
  declarexfunction gx_tcomponent,gx_light_getcomponent,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setcomponent,gx_tlight,ptr_tlight,gx_tcomponent,ptr_tcomponent
  declarexfunction int,gx_light_getcurrentsector,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_enable,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_disable,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_isenabled,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setworld,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_unsetworld,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_isworld,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setactor,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_unsetactor,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_isactor,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setshadow,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_unsetshadow,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_isshadow,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setambient,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_unsetambient,gx_tlight,ptr_tlight
  declarexfunction int,gx_light_isambient,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_getfirstpos,gx_tlight,ptr_tlight,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_light_setfirstpos,gx_tlight,ptr_tlight,float,x,float,y,float,z
  declarexfunction nothing,gx_light_getpos,gx_tlight,ptr_tlight,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_light_setpos,gx_tlight,ptr_tlight,float,x,float,y,float,z
  declarexfunction float,gx_light_getradius,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setradius,gx_tlight,ptr_tlight,float,radius
  declarexfunction nothing,gx_light_getcolor,gx_tlight,ptr_tlight,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_light_setcolor,gx_tlight,ptr_tlight,int,red,int,green,int,blue
  declarexfunction int,gx_light_getanimtype,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setanimtype,gx_tlight,ptr_tlight,int,type
  declarexfunction nothing,gx_light_getanimlowcolor,gx_tlight,ptr_tlight,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_light_setanimlowcolor,gx_tlight,ptr_tlight,int,red,int,green,int,blue
  declarexfunction nothing,gx_light_getanimhighcolor,gx_tlight,ptr_tlight,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_light_setanimhighcolor,gx_tlight,ptr_tlight,int,red,int,green,int,blue
  declarexfunction int,gx_light_getanimfrequency,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setanimfrequency,gx_tlight,ptr_tlight,int,frequency
  declarexfunction string,gx_light_gethalomaterialname,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_sethalomaterialname,gx_tlight,ptr_tlight,string,name
  declarexfunction int,gx_light_gethalomaterial,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_sethalomaterial,gx_tlight,ptr_tlight,int,materialindex
  declarexfunction float,gx_light_gethaloradius,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_sethaloradius,gx_tlight,ptr_tlight,float,radius
  declarexfunction float,gx_light_gethalodistance,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_sethalodistance,gx_tlight,ptr_tlight,float,distance
  declarexfunction string,gx_light_getlensflarematerialname,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setlensflarematerialname,gx_tlight,ptr_tlight,string,name
  declarexfunction int,gx_light_getlensflarematerial,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setlensflarematerial,gx_tlight,ptr_tlight,int,materialindex
  declarexfunction float,gx_light_getlensflareradius,gx_tlight,ptr_tlight
  declarexfunction nothing,gx_light_setlensflareradius,gx_tlight,ptr_tlight,float,radius
  declarexfunction nothing,gx_light_getlensflareangle,gx_tlight,ptr_tlight,rint,angx,rint,angy
  declarexfunction nothing,gx_light_setlensflareangle,gx_tlight,ptr_tlight,int,angx,int,angy
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ------------ */
/* gx_lightning */
/* ------------ */
group gx_lightning
  typedef gx_tlightning
  classtype gx_lightning,gx_tlightning

  declarexfunction int,gx_lightning_ginstall,nothing
  declarexfunction void,gx_lightning_getparentclass,gx_tlightning,ptr_tlightning
  declarexfunction nothing,gx_lightning_setparentclass,gx_tlightning,ptr_tlightning,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tlightning,gx_lightning_new,nothing
  declarexfunction nothing,gx_lightning_free,gx_tlightning,ptr_tlightning
  declarexfunction nothing,gx_lightning_addref,gx_tlightning,ptr_tlightning
  declarexfunction int,gx_lightning_getref,gx_tlightning,ptr_tlightning
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbase
endgroup

/* --------- */
/* gx_liquid */
/* --------- */
group gx_liquid
  typedef gx_tliquid
  classtype gx_liquid,gx_tliquid

  declarexfunction int,gx_liquid_ginstall,nothing
  declarexfunction void,gx_liquid_getparentclass,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_setparentclass,gx_tliquid,ptr_tliquid,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tliquid,gx_liquid_new,nothing
  declarexfunction nothing,gx_liquid_free,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_addref,gx_tliquid,ptr_tliquid
  declarexfunction int,gx_liquid_getref,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_manage,gx_tliquid,ptr_tliquid,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_liquid_display,gx_tliquid,ptr_tliquid,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_liquid_getpos,gx_tliquid,ptr_tliquid,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_liquid_setpos,gx_tliquid,ptr_tliquid,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_liquid_getsize,gx_tliquid,ptr_tliquid,rfloat,sizex,rfloat,sizez
  declarexfunction nothing,gx_liquid_setsize,gx_tliquid,ptr_tliquid,float,sizex,float,sizez
  declarexfunction nothing,gx_liquid_getsubdiv,gx_tliquid,ptr_tliquid,rint,subdivx,rint,subdivz
  declarexfunction nothing,gx_liquid_setsubdiv,gx_tliquid,ptr_tliquid,int,subdivx,int,subdivz
  declarexfunction nothing,gx_liquid_getdiffusecolor,gx_tliquid,ptr_tliquid,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_liquid_setdiffusecolor,gx_tliquid,ptr_tliquid,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_liquid_getdiffusematerial,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_setdiffusematerial,gx_tliquid,ptr_tliquid,int,material
  declarexfunction nothing,gx_liquid_getspecularcolor,gx_tliquid,ptr_tliquid,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_liquid_setspecularcolor,gx_tliquid,ptr_tliquid,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_liquid_getspecularmaterial,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_setspecularmaterial,gx_tliquid,ptr_tliquid,int,material
  declarexfunction float,gx_liquid_getwavesize,gx_tliquid,ptr_tliquid
  declarexfunction nothing,gx_liquid_setwavesize,gx_tliquid,ptr_tliquid,float,size
  declarexfunction nothing,gx_liquid_getscroll,gx_tliquid,ptr_tliquid,rint,scrollx,rint,scrollz
  declarexfunction nothing,gx_liquid_setscroll,gx_tliquid,ptr_tliquid,int,scrollx,int,scrollz
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------- */
/* gx_list */
/* ------- */
group gx_list
  typedef gx_tlist
  classtype gx_list,gx_tlist

  declarexfunction int,gx_list_ginstall,nothing
  declarexfunction nothing,gx_list_init,gx_tlist,origin_tlist
  declarexfunction nothing,gx_list_setpointer,gx_tlist,ptr_tlist,void,pointer
  declarexfunction void,gx_list_getpointer,gx_tlist,ptr_tlist
  declarexfunction nothing,gx_list_add,gx_tlist,origin_tlist,gx_tlist,ptr_tlist
  declarexfunction nothing,gx_list_addlast,gx_tlist,origin_tlist,gx_tlist,ptr_tlist,gx_tlist,new_tlist
  declarexfunction nothing,gx_list_addnext,gx_tlist,ptr_tlist,gx_tlist,new_tlist
  declarexfunction nothing,gx_list_delete,gx_tlist,origin_tlist,gx_tlist,ptr_tlist
  declarexfunction gx_tlist,gx_list_getlast,gx_tlist,ptr_tlist
  declarexfunction gx_tlist,gx_list_getnext,gx_tlist,ptr_tlist
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tfont
  typedef gx_tactor
  typedef gx_tsequencer
endgroup

/* ------------ */
/* gx_localizer */
/* ------------ */
group gx_localizer
  typedef gx_tlocalizer
  classtype gx_localizer,gx_tlocalizer

  declarexfunction int,gx_localizer_ginstall,nothing
  declarexfunction nothing,gx_localizer_install,nothing
  declarexfunction nothing,gx_localizer_uninstall,nothing
  declarexfunction int,gx_localizer_isinstalled,nothing
  declarexfunction string,gx_localizer_getprefix,nothing
  declarexfunction nothing,gx_localizer_setprefix,string,name
  declarexfunction nothing,gx_localizer_load,string,filename
  declarexfunction nothing,gx_localizer_free,nothing
  declarexfunction int,gx_localizer_isloaded,nothing
  declarexfunction int,gx_localizer_getflag,nothing
  declarexfunction nothing,gx_localizer_setflag,int,flag
  declarexfunction int,gx_localizer_getnbid,nothing
  declarexfunction string,gx_localizer_getidname,int,id
  declarexfunction nothing,gx_localizer_setidname,int,id,string,idname
  declarexfunction int,gx_localizer_getnamedid,string,idname
  declarexfunction string,gx_localizer_getsound,int,id
  declarexfunction nothing,gx_localizer_setsound,int,id,string,name
  declarexfunction void,gx_localizer_getunicode,int,id
  declarexfunction nothing,gx_localizer_setunicode,int,id,void,text
  declarexfunction int,gx_localizer_gettime,int,id
  declarexfunction nothing,gx_localizer_settime,int,id,int,time
  declarexfunction nothing,gx_localizer_displaysubtitle,nothing
  declarexfunction gx_tfont,gx_localizer_getsubtitlefont,nothing
  declarexfunction nothing,gx_localizer_setsubtitlefont,gx_tfont,ptr_tfont
  declarexfunction nothing,gx_localizer_getsubtitlepos,rfloat,posx,rfloat,posy
  declarexfunction nothing,gx_localizer_setsubtitlepos,float,posx,float,posy
  declarexfunction nothing,gx_localizer_getsubtitlecolor,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_localizer_setsubtitlecolor,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_localizer_getsubtitlealign,nothing
  declarexfunction nothing,gx_localizer_setsubtitlealign,int,align
  declarexfunction int,gx_localizer_getsubtitlemaxsize,nothing
  declarexfunction nothing,gx_localizer_setsubtitlemaxsize,int,maxpixel
  declarexfunction gx_tsequencer,gx_localizer_getsequencer,nothing
  declarexfunction nothing,gx_localizer_setsequencer,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_localizer_linksequencer,nothing
  declarexfunction int,gx_localizer_getsequenceractivetrack,nothing
  declarexfunction nothing,gx_localizer_setsequenceractivetrack,int,index
  declarexfunction nothing,gx_localizer_newsubtitle,gx_tactor,ptr_tactor,int,id,int,time
  declarexfunction nothing,gx_localizer_newunicodesubtitle,void,text,int,time
  declarexfunction int,gx_localizer_getcurrentsubtitle,nothing
  declarexfunction void,gx_localizer_getcurrentunicodesubtitle,nothing
  declarexfunction nothing,gx_localizer_deletecurrentsubtitle,nothing
  declarexfunction nothing,gx_localizer_deleteallactivesubtitle,nothing
  declarexfunction nothing,gx_localizer_converter,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_lowmem */
/* --------- */
group gx_lowmem
  typedef gx_tlowmem
  classtype gx_lowmem,gx_tlowmem

  enum 0
    dim gx_lowmem_blockinfosimple,1
    dim gx_lowmem_blockinfosource,1
    dim gx_lowmem_blockinfosourceline,1
  endenum

  declarexfunction int,gx_lowmem_ginstall,nothing
  declarexfunction nothing,gx_lowmem_init,long,heapsize
  declarexfunction nothing,gx_lowmem_reset,nothing
  declarexfunction nothing,gx_lowmem_addcustomheap,void,address,int,size
  declarexfunction void,gx_lowmem_getprimaryheap,nothing
  declarexfunction nothing,gx_lowmem_setprimaryheap,void,heap
  declarexfunction nothing,gx_lowmem_checkall,nothing
  declarexfunction void,gx_lowmem_alloc,long,size
  declarexfunction void,gx_lowmem_allocdebug,long,size,string,file,int,line
  declarexfunction void,gx_lowmem_allocalign,long,size,int,align
  declarexfunction void,gx_lowmem_allocaligndebug,long,size,int,align,string,file,int,line
  declarexfunction nothing,gx_lowmem_dealloc,void,pointer
  declarexfunction nothing,gx_lowmem_deallocdebug,void,pointer,string,file,int,line
  declarexfunction nothing,gx_lowmem_deallocalign,void,pointer
  declarexfunction nothing,gx_lowmem_deallocaligndebug,void,pointer,string,file,int,line
  declarexfunction void,gx_lowmem_clearalloc,long,size
  declarexfunction void,gx_lowmem_clearallocdebug,long,size,string,file,int,line
  declarexfunction void,gx_lowmem_clearallocalign,long,size,int,align
  declarexfunction void,gx_lowmem_clearallocaligndebug,long,size,int,align,string,file,int,line
  declarexfunction void,gx_lowmem_realloc,void,pointer,long,size
  declarexfunction void,gx_lowmem_reallocdebug,void,pointer,long,size,string,file,int,line
  declarexfunction void,gx_lowmem_reallocalign,void,pointer,long,size,int,align
  declarexfunction void,gx_lowmem_reallocaligndebug,void,pointer,long,size,int,align,string,file,int,line
  declarexfunction void,gx_lowmem_copyalloc,void,pointer,long,size
  declarexfunction void,gx_lowmem_copyallocdebug,void,pointer,long,size,string,file,int,line
  declarexfunction void,gx_lowmem_copyallocalign,void,pointer,long,size,int,align
  declarexfunction void,gx_lowmem_copyallocaligndebug,void,pointer,long,size,int,align,string,file,int,line
  declarexfunction long,gx_lowmem_getsize,void,pointer
  declarexfunction long,gx_lowmem_getsizealign,void,pointer
  declarexfunction long,gx_lowmem_getnbheap,nothing
  declarexfunction nothing,gx_lowmem_getheap,long,index,rvoid,pointer,rlong,size
  declarexfunction long,gx_lowmem_gettotal,nothing
  declarexfunction long,gx_lowmem_gettotalmax,nothing
  declarexfunction long,gx_lowmem_getmaxused,nothing
  declarexfunction long,gx_lowmem_getfree,nothing
  declarexfunction long,gx_lowmem_getlargest,nothing
  declarexfunction long,gx_lowmem_getused,nothing
  declarexfunction long,gx_lowmem_getnbusedblock,nothing
  declarexfunction long,gx_lowmem_getnbfreeblock,nothing
  declarexfunction void,gx_lowmem_getblock,long,index
  declarexfunction long,gx_lowmem_getblocksize,long,index
  declarexfunction long,gx_lowmem_getblockid,long,index
  declarexfunction string,gx_lowmem_getblockfile,long,index
  declarexfunction int,gx_lowmem_getblockline,long,index
  declarexfunction nothing,gx_lowmem_getblockinfo,void,pointer,void,file,rint,line
  declarexfunction nothing,gx_lowmem_setblockinfo,void,pointer,void,file,int,line
  declarexfunction nothing,gx_lowmem_getalignblockinfo,void,pointer,void,file,rint,line
  declarexfunction nothing,gx_lowmem_setalignblockinfo,void,pointer,void,file,int,line
  declarexfunction nothing,gx_lowmem_printblock,long,sizemin,int,blocktype
  declarexfunction long,gx_lowmem_getheapmaxused,long,index
  declarexfunction long,gx_lowmem_getheapfree,long,index
  declarexfunction long,gx_lowmem_getheaplargest,long,index
  declarexfunction long,gx_lowmem_getheapused,long,index
  declarexfunction long,gx_lowmem_getheapnbusedblock,long,index
  declarexfunction long,gx_lowmem_getheapnbfreeblock,long,index
  declarexfunction nothing,gx_lowmem_setidcallback,void,callback,long,numid
  declarexfunction nothing,gx_lowmem_idcallback,void,address
  declarexfunction nothing,gx_lowmem_setcrccallback,void,callback
  declarexfunction int,gx_lowmem_getfile,string,file,long,numblock
  declarexfunction int,gx_lowmem_getline,long,numblock
  declarexfunction nothing,gx_lowmem_printstatus,nothing
  declarexfunction nothing,gx_lowmem_getvalidaddress,void,pointer,rlong,start,rlong,size
  declarexfunction nothing,gx_lowmem_drawheap,nothing
  declarexfunction nothing,gx_lowmem_initstackaddress,void,address
  declarexfunction long,gx_lowmem_getcurrentstacksize,nothing
  declarexfunction nothing,gx_lowmem_reservestack,long,size
  declarexfunction long,gx_lowmem_checkstacksize,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbitmap
endgroup

/* ----------- */
/* gx_material */
/* ----------- */
group gx_material
  typedef gx_tmaterial
  classtype gx_material,gx_tmaterial

  enum 0
    dim gx_material_texturetypepaletted4,1
    dim gx_material_texturetypepaletted8,1
    dim gx_material_texturetypes3t1,1
    dim gx_material_texturetypes3t1cutout,1
    dim gx_material_texturetypes3t3,1
    dim gx_material_texturetypes3t5,1
    dim gx_material_texturetypergtc1,1
    dim gx_material_texturetypergtc2,1
    dim gx_material_texturetype16bit,1
    dim gx_material_texturetype12bit,1
    dim gx_material_texturetype15bit,1
    dim gx_material_texturetype24bit,1
    dim gx_material_texturetype32bit,1
    dim gx_material_texturetypeetc1,1
    dim gx_material_texturetypeetc1alpha,1
    dim gx_material_texturetypepvrtc1,1
    dim gx_material_texturetypepvrtc1alpha,1
    dim gx_material_texturetypefxt1,1
    dim gx_material_texturetypefxt1alpha,1
    dim gx_material_texturetypeetc2,1
    dim gx_material_texturetypeetc2alpha,1
    dim gx_material_nbtexturetype,1
  endenum
  define gx_material_texturequalitymax,8

  declarexfunction int,gx_material_ginstall,nothing
  declarexfunction void,gx_material_getparentclass,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setparentclass,gx_tmaterial,ptr_tmaterial,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tmaterial,gx_material_new,nothing
  declarexfunction gx_tmaterial,gx_material_create,string,filename
  declarexfunction gx_tmaterial,gx_material_load,string,filename
  declarexfunction gx_tmaterial,gx_material_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_material_save,gx_tmaterial,ptr_tmaterial,string,filename
  declarexfunction int,gx_material_savechunk,gx_tmaterial,ptr_tmaterial,int,filenum
  declarexfunction gx_tmaterial,gx_material_loadgxml,string,filename
  declarexfunction gx_tmaterial,gx_material_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_material_savegxml,gx_tmaterial,ptr_tmaterial,string,filename
  declarexfunction int,gx_material_savegxmlchunk,gx_tmaterial,ptr_tmaterial,int,filenum
  declarexfunction gx_tmaterial,gx_material_loadall,string,filename
  declarexfunction nothing,gx_material_saveall,gx_tmaterial,ptr_tmaterial,string,filename
  declarexfunction nothing,gx_material_free,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_addref,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_getref,gx_tmaterial,ptr_tmaterial
  declarexfunction gx_tmaterial,gx_material_copy,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_merge,gx_tmaterial,ptr_tmaterial,gx_tmaterial,src_tmaterial
  declarexfunction nothing,gx_material_check,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_checkbitmap,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_material_getbitmap,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setbitmap,gx_tmaterial,ptr_tmaterial,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_material_getgputextureindex,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setgputextureindex,gx_tmaterial,ptr_tmaterial,int,index
  declarexfunction void,gx_material_getgputexturehandle,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setgputexturehandle,gx_tmaterial,ptr_tmaterial,void,handle
  declarexfunction int,gx_material_getgputexturetype,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setgputexturetype,gx_tmaterial,ptr_tmaterial,int,type
  declarexfunction int,gx_material_getgputexturesizex,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_getgputexturesizey,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setgputexturesize,gx_tmaterial,ptr_tmaterial,int,sizex,int,sizey
  declarexfunction int,gx_material_getgputexturemipmap,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setgputexturemipmap,gx_tmaterial,ptr_tmaterial,int,flag
  declarexfunction nothing,gx_material_loadgputexture,int,nb_tmaterial,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_unloadgputexture,int,nb_tmaterial,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_updategputexture,gx_tmaterial,ptr_tmaterial,void,buffer,int,sizex,int,sizey
  declarexfunction gx_tbitmap,gx_material_generatetexture,gx_tmaterial,ptr_tmaterial,gx_tbitmap,ptr_tbitmap,int,type,int,sizex,int,sizey
  declarexfunction gx_tbitmap,gx_material_degeneratetexture,gx_tmaterial,ptr_tmaterial,gx_tbitmap,ptr_tbitmap,int,type,int,sizex,int,sizey
  declarexfunction nothing,gx_material_getcachedtextureinfo,gx_tmaterial,ptr_tmaterial,rint,alpha,rint,sizex,rint,sizey
  declarexfunction void,gx_material_opencachedtexturequality,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_readtexturequality,void,handle,int,index
  declarexfunction nothing,gx_material_closetexturequality,void,handle
  declarexfunction gx_tbitmap,gx_material_getcachedtexture,gx_tmaterial,ptr_tmaterial,int,type,int,sizex,int,sizey
  declarexfunction string,gx_material_getcachedtexturedirectory,nothing
  declarexfunction nothing,gx_material_setcachedtexturedirectory,string,dirname
  declarexfunction int,gx_material_getcachedtexturedirectorymipmap,nothing
  declarexfunction nothing,gx_material_setcachedtexturedirectorymipmap,int,flag
  declarexfunction int,gx_material_getcachedtexturedirectorymask,int,type
  declarexfunction nothing,gx_material_setcachedtexturedirectorymask,int,type,int,flag
  declarexfunction int,gx_material_iscachedtexturememory,nothing
  declarexfunction nothing,gx_material_setcachedtexturememory,int,flag
  declarexfunction int,gx_material_getinfotxc,string,filename,rint,alpha,rint,sizex,rint,sizey
  declarexfunction void,gx_material_openqualitytxc,string,filename
  declarexfunction gx_tbitmap,gx_material_loadtxc,string,filename,int,type,int,sizex,int,sizey
  declarexfunction nothing,gx_material_generatetxc,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_material_disableanimation,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_isanimationenabled,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setanimationtypeblock,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_isanimationtypeblock,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setanimationtypescroll,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_isanimationtypescroll,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setanimationtypewave,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_isanimationtypewave,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setanimationtypetexture,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_isanimationtypetexture,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_material_getanimationspeed,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setanimationspeed,gx_tmaterial,ptr_tmaterial,int,speed
  declarexfunction nothing,gx_material_getanimationsize,gx_tmaterial,ptr_tmaterial,rint,sizex,rint,sizey
  declarexfunction nothing,gx_material_setanimationsize,gx_tmaterial,ptr_tmaterial,int,sizex,int,sizey
  declarexfunction int,gx_material_getmipmap,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setmipmap,gx_tmaterial,ptr_tmaterial,int,flag
  declarexfunction int,gx_material_getfiltering,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setfiltering,gx_tmaterial,ptr_tmaterial,int,flag
  declarexfunction int,gx_material_getcompression,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setcompression,gx_tmaterial,ptr_tmaterial,int,flag
  declarexfunction int,gx_material_isdynamic,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setdynamic,gx_tmaterial,ptr_tmaterial,int,flag
  declarexfunction nothing,gx_material_getaveragecolor,gx_tmaterial,ptr_tmaterial,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_material_setaveragecolor,gx_tmaterial,ptr_tmaterial,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_material_getspecular,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_material_setspecular,gx_tmaterial,ptr_tmaterial,int,value
  declarexfunction nothing,gx_material_edit,gx_tmaterial,ptr_tmaterial
  declarexfunction gx_tmaterial,gx_material_arraygetmaterial,int,nb_tmaterial,gx_tmaterial,ptr_tmaterial,int,nummaterial
  declarexfunction int,gx_material_arraygetmaterialindex,int,nb_tmaterial,gx_tmaterial,ptr_tmaterial,gx_tmaterial,child_tmaterial
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_txmatrix
  typedef gx_tmatrix
  typedef gx_txquatern
  typedef gx_tquatern
  typedef gx_tmatrix4
endgroup

/* ------- */
/* gx_math */
/* ------- */
group gx_math
  typedef gx_tmath
  classtype gx_math,gx_tmath

  declarexfunction int,gx_math_ginstall,nothing
  declarexfunction int,gx_math_rorbyte,int,value,int,shift
  declarexfunction int,gx_math_rolbyte,int,value,int,shift
  declarexfunction int,gx_math_rorshort,int,value,int,shift
  declarexfunction int,gx_math_rolshort,int,value,int,shift
  declarexfunction int,gx_math_rorint,int,value,int,shift
  declarexfunction int,gx_math_rolint,int,value,int,shift
  declarexfunction long,gx_math_rorlong,long,value,int,shift
  declarexfunction long,gx_math_rollong,long,value,int,shift
  declarexfunction int,gx_math_floattobin,float,value
  declarexfunction float,gx_math_bintofloat,int,value
  declarexfunction nothing,gx_math_multiadd,void,result,void,value0,void,value1,int,size
  declarexfunction nothing,gx_math_multisub,void,result,void,value0,void,value1,int,size
  declarexfunction nothing,gx_math_multimul,void,result,void,value0,void,value1,int,size
  declarexfunction nothing,gx_math_multiumul,void,result,void,value0,void,value1,int,size
  declarexfunction nothing,gx_math_multidiv,void,result,void,remainder,void,value0,void,value1,int,size0,int,size1
  declarexfunction nothing,gx_math_multiudiv,void,result,void,remainder,void,value0,void,value1,int,size0,int,size1
  declarexfunction nothing,gx_math_int64add,void,result,void,value0,void,value1
  declarexfunction nothing,gx_math_int64sub,void,result,void,value0,void,value1
  declarexfunction nothing,gx_math_int64mul,void,result,void,value0,void,value1
  declarexfunction nothing,gx_math_int64umul,void,result,void,value0,void,value1
  declarexfunction nothing,gx_math_int64div,void,result,void,remainder,void,value0,void,value1
  declarexfunction nothing,gx_math_int64udiv,void,result,void,remainder,void,value0,void,value1
  declarexfunction int,gx_math_fixed16tofixed,int,value
  declarexfunction int,gx_math_fixedtofixed16,int,value
  declarexfunction int,gx_math_floattofixed16,float,value
  declarexfunction float,gx_math_fixed16tofloat,int,fixed
  declarexfunction int,gx_math_inttofixed16,int,value
  declarexfunction int,gx_math_fixed16toint,int,fixed
  declarexfunction int,gx_math_fixed16add,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixed16sub,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixed16mul,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixed16div,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_floattofixed,float,value
  declarexfunction float,gx_math_fixedtofloat,int,fixed
  declarexfunction int,gx_math_inttofixed,int,value
  declarexfunction int,gx_math_fixedtoint,int,fixed
  declarexfunction int,gx_math_fixedadd,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixedsub,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixedmul,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_fixeddiv,int,fixedvalue1,int,fixedvalue2
  declarexfunction int,gx_math_floattofloat16,float,value
  declarexfunction float,gx_math_float16tofloat,int,value
  declarexfunction int,gx_math_normalcompress16,float,x,float,y,float,z
  declarexfunction nothing,gx_math_normaldecompress16,int,value,rfloat,x,rfloat,y,rfloat,z
  declarexfunction int,gx_math_normalcompress24,float,x,float,y,float,z
  declarexfunction nothing,gx_math_normaldecompress24,int,value,rfloat,x,rfloat,y,rfloat,z
  declarexfunction int,gx_math_getxarctan,int,delta
  declarexfunction int,gx_math_getarctan,float,delta
  declarexfunction int,gx_math_getxarctan2,int,y,int,x
  declarexfunction int,gx_math_getarctan2,float,y,float,x
  declarexfunction int,gx_math_getxcos,int,ang
  declarexfunction float,gx_math_getfcos,int,ang
  declarexfunction int,gx_math_getxsin,int,ang
  declarexfunction float,gx_math_getfsin,int,ang
  declarexfunction int,gx_math_getxtan,int,angle
  declarexfunction float,gx_math_getftan,int,angle
  declarexfunction int,gx_math_getxarccos,int,value
  declarexfunction int,gx_math_getarccos,float,value
  declarexfunction int,gx_math_getxarcsin,int,value
  declarexfunction int,gx_math_getarcsin,float,value
  declarexfunction float,gx_math_fastmodulo,float,value,float,modulo
  declarexfunction int,gx_math_iabsmodulo,int,value,int,modulo
  declarexfunction float,gx_math_fastsqrt,float,value
  declarexfunction float,gx_math_fastinvsqrt,float,value
  declarexfunction float,gx_math_sqrt,float,value
  declarexfunction int,gx_math_isqrt,int,value
  declarexfunction long,gx_math_lsqrt,long,value
  declarexfunction int,gx_math_xsqrt,int,value
  declarexfunction float,gx_math_fastcbrt,float,value
  declarexfunction float,gx_math_cbrt,float,value
  declarexfunction int,gx_math_icbrt,int,value
  declarexfunction int,gx_math_xcbrt,int,value
  declarexfunction float,gx_math_fabsolute,float,val
  declarexfunction int,gx_math_iabsolute,int,val
  declarexfunction int,gx_math_xround,int,value
  declarexfunction int,gx_math_round,float,value
  declarexfunction int,gx_math_min,int,value0,int,value1
  declarexfunction float,gx_math_fmin,float,value0,float,value1
  declarexfunction int,gx_math_max,int,value0,int,value1
  declarexfunction float,gx_math_fmax,float,value0,float,value1
  declarexfunction int,gx_math_clamp,int,value,int,min,int,max
  declarexfunction float,gx_math_fclamp,float,value,float,min,float,max
  declarexfunction int,gx_math_xangtodeg,int,ang
  declarexfunction float,gx_math_angtodeg,int,ang
  declarexfunction int,gx_math_xdegtoang,int,deg
  declarexfunction int,gx_math_degtoang,float,deg
  declarexfunction int,gx_math_xangtorad,int,ang
  declarexfunction float,gx_math_angtorad,int,ang
  declarexfunction int,gx_math_xradtoang,int,rad
  declarexfunction int,gx_math_radtoang,float,rad
  declarexfunction int,gx_math_xdegtorad,int,deg
  declarexfunction float,gx_math_degtorad,float,deg
  declarexfunction int,gx_math_xradtodeg,int,rad
  declarexfunction float,gx_math_radtodeg,float,rad
  declarexfunction int,gx_math_convertanimationtofps,int,speed
  declarexfunction int,gx_math_convertfpstoanimation,int,fps
  declarexfunction nothing,gx_math_xfitpos,int,posx,int,posy,int,posz,int,angx,int,angy,int,angz,int,radius,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_fitpos,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,float,radius,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_prepinterpolang,rint,ang_1,rint,ang_2
  declarexfunction nothing,gx_math_xconvert2d,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_convert2d,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_xinvertconvert2d,rint,x,rint,y,int,z
  declarexfunction nothing,gx_math_invertconvert2d,rfloat,x,rfloat,y,float,z
  declarexfunction nothing,gx_math_xinvertcamera2d,int,posx,int,posy,int,posz,int,angx,int,angy,int,angz,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_invertcamera2d,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,rfloat,x,rfloat,y,rfloat,z
  declarexfunction int,gx_math_powermod,int,value,int,power,int,modulus
  declarexfunction gx_txmatrix,gx_math_xmatrixnew,nothing
  declarexfunction nothing,gx_math_xmatrixsetidentity,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixfree,gx_txmatrix,ptr_txmatrix
  declarexfunction int,gx_math_xmatrixgetcell,gx_txmatrix,ptr_txmatrix,int,index
  declarexfunction nothing,gx_math_xmatrixsetcell,gx_txmatrix,ptr_txmatrix,int,index,int,value
  declarexfunction nothing,gx_math_xmatrixcopy,gx_txmatrix,ptr_txmatrixsrc,gx_txmatrix,ptr_txmatrixdst
  declarexfunction nothing,gx_math_xmatrixtomatrix,gx_txmatrix,ptr_txmatrix,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixtoxmatrix,gx_tmatrix,ptr_tmatrix,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixrotatex,gx_txmatrix,ptr_txmatrix,gx_txmatrix,dst_txmatrix,int,ang
  declarexfunction nothing,gx_math_xmatrixrotatey,gx_txmatrix,ptr_txmatrix,gx_txmatrix,dst_txmatrix,int,ang
  declarexfunction nothing,gx_math_xmatrixrotatez,gx_txmatrix,ptr_txmatrix,gx_txmatrix,dst_txmatrix,int,ang
  declarexfunction nothing,gx_math_angletoxmatrixxzy,gx_txmatrix,ptr_txmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletoxmatrixyzx,gx_txmatrix,ptr_txmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletoxmatrixzxy,gx_txmatrix,ptr_txmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_xmatrixtoanglexzy,gx_txmatrix,ptr_txmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_xmatrixtoangleyzx,gx_txmatrix,ptr_txmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_xmatrixtoanglezxy,gx_txmatrix,ptr_txmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_xmatrixsetscale,gx_txmatrix,ptr_txmatrix,int,scalex,int,scaley,int,scalez
  declarexfunction nothing,gx_math_xmatrixmul,gx_txmatrix,ptr_txmatrix1,gx_txmatrix,ptr_txmatrix2,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixtranspos,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixinvert,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixnormalize,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixinterpol,gx_txmatrix,ptr_txmatrix1,gx_txmatrix,ptr_txmatrix2,gx_txmatrix,ptr_txmatrix,int,factor
  declarexfunction nothing,gx_math_xmatrixtransform2d,gx_txmatrix,ptr_txmatrix,int,sx,int,sy,int,sz,rint,x,rint,y,rint,z,rint,w
  declarexfunction nothing,gx_math_xmatrixtransform3d,gx_txmatrix,ptr_txmatrix,int,sx,int,sy,int,sz,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_xnormaltomatrix,gx_txmatrix,ptr_txmatrix,int,nx,int,ny,int,nz,int,tx,int,ty,int,tz,int,bx,int,by,int,bz
  declarexfunction gx_tmatrix,gx_math_matrixnew,nothing
  declarexfunction nothing,gx_math_matrixsetidentity,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixfree,gx_tmatrix,ptr_tmatrix
  declarexfunction float,gx_math_matrixgetcell,gx_tmatrix,ptr_tmatrix,int,index
  declarexfunction nothing,gx_math_matrixsetcell,gx_tmatrix,ptr_tmatrix,int,index,float,value
  declarexfunction nothing,gx_math_matrixcopy,gx_tmatrix,ptr_tmatrixsrc,gx_tmatrix,ptr_tmatrixdst
  declarexfunction nothing,gx_math_matrixrotatex,gx_tmatrix,ptr_tmatrix,gx_tmatrix,dst_tmatrix,int,ang
  declarexfunction nothing,gx_math_matrixrotatey,gx_tmatrix,ptr_tmatrix,gx_tmatrix,dst_tmatrix,int,ang
  declarexfunction nothing,gx_math_matrixrotatez,gx_tmatrix,ptr_tmatrix,gx_tmatrix,dst_tmatrix,int,ang
  declarexfunction nothing,gx_math_angletomatrixxzy,gx_tmatrix,ptr_tmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletomatrixyzx,gx_tmatrix,ptr_tmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletomatrixzxy,gx_tmatrix,ptr_tmatrix,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_matrixtoanglexzy,gx_tmatrix,ptr_tmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrixtoangleyzx,gx_tmatrix,ptr_tmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrixtoanglezxy,gx_tmatrix,ptr_tmatrix,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrixsetscale,gx_tmatrix,ptr_tmatrix,float,scalex,float,scaley,float,scalez
  declarexfunction nothing,gx_math_matrixmul,gx_tmatrix,ptr_tmatrix1,gx_tmatrix,ptr_tmatrix2,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixtranspos,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixinvert,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixnormalize,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixinterpol,gx_tmatrix,ptr_tmatrix1,gx_tmatrix,ptr_tmatrix2,gx_tmatrix,ptr_tmatrix,float,factor
  declarexfunction nothing,gx_math_matrixtransform2d,gx_tmatrix,ptr_tmatrix,float,sx,float,sy,float,sz,rfloat,x,rfloat,y,rfloat,z,rfloat,w
  declarexfunction nothing,gx_math_matrixtransform3d,gx_tmatrix,ptr_tmatrix,float,sx,float,sy,float,sz,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_normaltomatrix,gx_tmatrix,ptr_tmatrix,float,nx,float,ny,float,nz,float,tx,float,ty,float,tz,float,bx,float,by,float,bz
  declarexfunction nothing,gx_math_xconvert3dtoscreen2d,int,posx,int,posy,int,posz,gx_txmatrix,ptr_txmatrix,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_convert3dtoscreen2d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,rfloat,x,rfloat,y,rfloat,z
  declarexfunction gx_txquatern,gx_math_xquaternnew,nothing
  declarexfunction nothing,gx_math_xquaternfree,gx_txquatern,ptr_txquatern
  declarexfunction nothing,gx_math_xquaterncopy,gx_txquatern,src_txquatern,gx_txquatern,dst_txquatern
  declarexfunction nothing,gx_math_xquaterngetpos,gx_txquatern,ptr_txquatern,rint,posx,rint,posy,rint,posz
  declarexfunction nothing,gx_math_xquaternsetpos,gx_txquatern,ptr_txquatern,int,posx,int,posy,int,posz
  declarexfunction nothing,gx_math_xquaterngetang,gx_txquatern,ptr_txquatern,rint,angx,rint,angy,rint,angz,rint,angw
  declarexfunction nothing,gx_math_xquaternsetang,gx_txquatern,ptr_txquatern,int,angx,int,angy,int,angz,int,angw
  declarexfunction nothing,gx_math_xquaternmul,gx_txquatern,ptr_txquatern1,gx_txquatern,ptr_txquatern2,gx_txquatern,ptr_txquatern
  declarexfunction nothing,gx_math_xquaterninvert,gx_txquatern,ptr_txquatern
  declarexfunction nothing,gx_math_xquaterninterpol,gx_txquatern,ptr_txquatern_1,gx_txquatern,ptr_txquatern_2,gx_txquatern,ptr_txquatern,int,interpol
  declarexfunction nothing,gx_math_xquaterninterpolposang,gx_txquatern,ptr_txquatern_1,gx_txquatern,ptr_txquatern_2,gx_txquatern,ptr_txquatern,int,interpol
  declarexfunction nothing,gx_math_xquaternnormalize,gx_txquatern,ptr_txquatern
  declarexfunction nothing,gx_math_xquaterntomatrix,gx_txquatern,ptr_txquatern,gx_txmatrix,ptr_txmatrix
  declarexfunction nothing,gx_math_xmatrixtoquatern,gx_txmatrix,ptr_txmatrix,gx_txquatern,ptr_txquatern
  declarexfunction nothing,gx_math_xangletoquatern,gx_txquatern,ptr_txquatern,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_xquaterntoangle,gx_txquatern,ptr_txquatern,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_xvectortoquatern,gx_txquatern,ptr_txquatern,int,vectx,int,vecty,int,vectz,int,angw
  declarexfunction nothing,gx_math_xquaterntovector,gx_txquatern,ptr_txquatern,rint,vectx,rint,vecty,rint,vectz,rint,angw
  declarexfunction gx_tquatern,gx_math_quaternnew,nothing
  declarexfunction nothing,gx_math_quaternfree,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_quaterncopy,gx_tquatern,src_tquatern,gx_tquatern,dst_tquatern
  declarexfunction nothing,gx_math_quaterngetpos,gx_tquatern,ptr_tquatern,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_math_quaternsetpos,gx_tquatern,ptr_tquatern,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_math_quaterngetang,gx_tquatern,ptr_tquatern,rfloat,angx,rfloat,angy,rfloat,angz,rfloat,angw
  declarexfunction nothing,gx_math_quaternsetang,gx_tquatern,ptr_tquatern,float,angx,float,angy,float,angz,float,angw
  declarexfunction nothing,gx_math_quaternmul,gx_tquatern,ptr_tquatern1,gx_tquatern,ptr_tquatern2,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_quaterninvert,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_quaterninterpol,gx_tquatern,ptr_tquatern_1,gx_tquatern,ptr_tquatern_2,gx_tquatern,ptr_tquatern,float,interpol
  declarexfunction nothing,gx_math_quaterninterpolposang,gx_tquatern,ptr_tquatern_1,gx_tquatern,ptr_tquatern_2,gx_tquatern,ptr_tquatern,float,interpol
  declarexfunction nothing,gx_math_quaternnormalize,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_quaterntomatrix,gx_tquatern,ptr_tquatern,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixtoquatern,gx_tmatrix,ptr_tmatrix,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_angletoquatern,gx_tquatern,ptr_tquatern,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_quaterntoangle,gx_tquatern,ptr_tquatern,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_vectortoquatern,gx_tquatern,ptr_tquatern,float,vectx,float,vecty,float,vectz,int,angw
  declarexfunction nothing,gx_math_quaterntovector,gx_tquatern,ptr_tquatern,rfloat,vectx,rfloat,vecty,rfloat,vectz,rint,angw
  declarexfunction gx_tmatrix4,gx_math_matrix4new,nothing
  declarexfunction nothing,gx_math_matrix4setidentity,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4free,gx_tmatrix4,ptr_tmatrix4
  declarexfunction float,gx_math_matrix4getcell,gx_tmatrix4,ptr_tmatrix4,int,index
  declarexfunction nothing,gx_math_matrix4setcell,gx_tmatrix4,ptr_tmatrix4,int,index,float,value
  declarexfunction nothing,gx_math_matrix4copy,gx_tmatrix4,ptr_tmatrix4src,gx_tmatrix4,ptr_tmatrix4dst
  declarexfunction nothing,gx_math_matrix4rotatex,gx_tmatrix4,ptr_tmatrix4,gx_tmatrix4,dst_tmatrix4,int,ang
  declarexfunction nothing,gx_math_matrix4rotatey,gx_tmatrix4,ptr_tmatrix4,gx_tmatrix4,dst_tmatrix4,int,ang
  declarexfunction nothing,gx_math_matrix4rotatez,gx_tmatrix4,ptr_tmatrix4,gx_tmatrix4,dst_tmatrix4,int,ang
  declarexfunction nothing,gx_math_translatematrix4,gx_tmatrix4,ptr_tmatrix4,gx_tmatrix4,dst_tmatrix4,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_math_setmatrix4pos,gx_tmatrix4,ptr_tmatrix4,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_math_getmatrix4pos,gx_tmatrix4,ptr_tmatrix4,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_math_angletomatrix4xzy,gx_tmatrix4,ptr_tmatrix4,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletomatrix4yzx,gx_tmatrix4,ptr_tmatrix4,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_angletomatrix4zxy,gx_tmatrix4,ptr_tmatrix4,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_math_matrix4toanglexzy,gx_tmatrix4,ptr_tmatrix4,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrix4toangleyzx,gx_tmatrix4,ptr_tmatrix4,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrix4toanglezxy,gx_tmatrix4,ptr_tmatrix4,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_math_matrix4setscale,gx_tmatrix4,ptr_tmatrix4,float,scalex,float,scaley,float,scalez
  declarexfunction nothing,gx_math_matrix4mul,gx_tmatrix4,ptr_tmatrix4_1,gx_tmatrix4,ptr_tmatrix4_2,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4transpos,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4invert,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4normalize,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4interpol,gx_tmatrix4,ptr_tmatrix4_1,gx_tmatrix4,ptr_tmatrix4_2,gx_tmatrix4,ptr_tmatrix4,float,factor
  declarexfunction nothing,gx_math_matrix4transform2d,gx_tmatrix4,ptr_tmatrix4,float,sx,float,sy,float,sz,rfloat,x,rfloat,y,rfloat,z,rfloat,w
  declarexfunction nothing,gx_math_matrix4transform3d,gx_tmatrix4,ptr_tmatrix4,float,sx,float,sy,float,sz,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_quaterntomatrix4,gx_tquatern,ptr_tquatern,gx_tmatrix4,ptr_tmatrix4
  declarexfunction nothing,gx_math_matrix4toquatern,gx_tmatrix4,ptr_tmatrix4,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_math_matrix4tomatrix,gx_tmatrix4,ptr_tmatrix4,rfloat,posx,rfloat,posy,rfloat,posz,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_math_matrixtomatrix4,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,gx_tmatrix4,ptr_tmatrix4
  declarexfunction int,gx_math_getxargument,int,dx,int,dy
  declarexfunction int,gx_math_getargument,float,dx,float,dy
  declarexfunction nothing,gx_math_getxangdelta,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1,rint,angx,rint,angy
  declarexfunction nothing,gx_math_getangdelta,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,rint,angx,rint,angy
  declarexfunction nothing,gx_math_xvectortoangle,int,camera_posx,int,camera_posy,int,camera_posz,int,target_posx,int,target_posy,int,target_posz,rint,angx,rint,angy
  declarexfunction nothing,gx_math_vectortoangle,float,camera_posx,float,camera_posy,float,camera_posz,float,target_posx,float,target_posy,float,target_posz,rint,angx,rint,angy
  declarexfunction nothing,gx_math_xnormaltoangle,int,normx,int,normy,int,normz,rint,angx,int,angy,rint,angz
  declarexfunction nothing,gx_math_normaltoangle,float,normx,float,normy,float,normz,rint,angx,int,angy,rint,angz
  declarexfunction nothing,gx_math_getxangletovector,int,angx,int,angy,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_getangletovector,int,angx,int,angy,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_xnormalizevector,rint,vectx,rint,vecty,rint,vectz
  declarexfunction nothing,gx_math_normalizevector,rfloat,vectx,rfloat,vecty,rfloat,vectz
  declarexfunction int,gx_math_getxvectorsquaresize,int,x,int,y,int,z
  declarexfunction float,gx_math_getvectorsquaresize,float,x,float,y,float,z
  declarexfunction int,gx_math_getxvectorsize,int,x,int,y,int,z
  declarexfunction float,gx_math_getvectorsize,float,x,float,y,float,z
  declarexfunction nothing,gx_math_xrotatepoint3d,int,xsrc,int,ysrc,int,zsrc,int,angx,int,angy,int,angz,rint,xdst,rint,ydst,rint,zdst
  declarexfunction nothing,gx_math_rotatepoint3d,float,xsrc,float,ysrc,float,zsrc,int,angx,int,angy,int,angz,rfloat,xdst,rfloat,ydst,rfloat,zdst
  declarexfunction nothing,gx_math_getxspline,int,nbkey,rint,listkey,rint,listkeyval,int,nbframe,rint,splinedest
  declarexfunction nothing,gx_math_getspline,int,nbkey,rint,listkey,rfloat,listkeyval,int,nbframe,rfloat,splinedest
  declarexfunction int,gx_math_getxgravity,int,startposition,int,startspeed,rint,count,int,gravity,int,timer
  declarexfunction float,gx_math_getgravity,float,startposition,float,startspeed,rint,count,float,gravity,int,timer
  declarexfunction nothing,gx_math_getxrebound,rint,vectorx,rint,vectory,rint,vectorz,int,planex,int,planey,int,planez
  declarexfunction nothing,gx_math_getrebound,rfloat,vectorx,rfloat,vectory,rfloat,vectorz,float,planex,float,planey,float,planez
  declarexfunction nothing,gx_math_xfacerefmap,int,posx,int,posy,int,posz,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2,rint,coordx0,rint,coordy0,rint,coordx1,rint,coordy1,rint,coordx2,rint,coordy2
  declarexfunction nothing,gx_math_facerefmap,float,posx,float,posy,float,posz,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2,rfloat,coordx0,rfloat,coordy0,rfloat,coordx1,rfloat,coordy1,rfloat,coordx2,rfloat,coordy2
  declarexfunction int,gx_math_getxdistpoint,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_getdistpoint,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxdistpointline,int,x,int,y,int,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_getdistpointline,float,x,float,y,float,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxdistpointsegment,int,x,int,y,int,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_getdistpointsegment,float,x,float,y,float,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxdistpointplane,int,x,int,y,int,z,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_getdistpointplane,float,x,float,y,float,z,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction int,gx_math_getxdistline,int,srcx0,int,srcy0,int,srcz0,int,srcx1,int,srcy1,int,srcz1,int,dstx0,int,dsty0,int,dstz0,int,dstx1,int,dsty1,int,dstz1
  declarexfunction float,gx_math_getdistline,float,srcx0,float,srcy0,float,srcz0,float,srcx1,float,srcy1,float,srcz1,float,dstx0,float,dsty0,float,dstz0,float,dstx1,float,dsty1,float,dstz1
  declarexfunction int,gx_math_getxdistsegment,int,srcx0,int,srcy0,int,srcz0,int,srcx1,int,srcy1,int,srcz1,int,dstx0,int,dsty0,int,dstz0,int,dstx1,int,dsty1,int,dstz1
  declarexfunction float,gx_math_getdistsegment,float,srcx0,float,srcy0,float,srcz0,float,srcx1,float,srcy1,float,srcz1,float,dstx0,float,dsty0,float,dstz0,float,dstx1,float,dsty1,float,dstz1
  declarexfunction int,gx_math_getxdistsegmentplane,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_getdistsegmentplane,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction float,gx_math_getsquareddistpoint,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxsquareddistpointline,int,x,int,y,int,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_getsquareddistpointline,float,x,float,y,float,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxsquareddistpointsegment,int,x,int,y,int,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_getsquareddistpointsegment,float,x,float,y,float,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_getxsquareddistpointplane,int,x,int,y,int,z,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_getsquareddistpointplane,float,x,float,y,float,z,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction int,gx_math_getxsquareddistline,int,srcx0,int,srcy0,int,srcz0,int,srcx1,int,srcy1,int,srcz1,int,dstx0,int,dsty0,int,dstz0,int,dstx1,int,dsty1,int,dstz1
  declarexfunction float,gx_math_getsquareddistline,float,srcx0,float,srcy0,float,srcz0,float,srcx1,float,srcy1,float,srcz1,float,dstx0,float,dsty0,float,dstz0,float,dstx1,float,dsty1,float,dstz1
  declarexfunction int,gx_math_getxsquareddistsegment,int,srcx0,int,srcy0,int,srcz0,int,srcx1,int,srcy1,int,srcz1,int,dstx0,int,dsty0,int,dstz0,int,dstx1,int,dsty1,int,dstz1
  declarexfunction float,gx_math_getsquareddistsegment,float,srcx0,float,srcy0,float,srcz0,float,srcx1,float,srcy1,float,srcz1,float,dstx0,float,dsty0,float,dstz0,float,dstx1,float,dsty1,float,dstz1
  declarexfunction int,gx_math_getxsquareddistsegmentplane,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_getsquareddistsegmentplane,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction nothing,gx_math_xprojectpointtocamera3d,int,posx,int,posy,int,posz,gx_txmatrix,ptr_txmatrix,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_projectpointtocamera3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_xprojectpointtocamera2d,int,posx,int,posy,int,posz,gx_txmatrix,ptr_txmatrix,rint,x,rint,y,rint,z
  declarexfunction nothing,gx_math_projectpointtocamera2d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,rfloat,x,rfloat,y,rfloat,z
  declarexfunction int,gx_math_xprojectpointtoline,rint,x,rint,y,rint,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_projectpointtoline,rfloat,x,rfloat,y,rfloat,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction int,gx_math_xprojectpointtosegment,rint,x,rint,y,rint,z,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2
  declarexfunction float,gx_math_projectpointtosegment,rfloat,x,rfloat,y,rfloat,z,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
  declarexfunction nothing,gx_math_xprojectpointtoplane,rint,x,rint,y,rint,z,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction nothing,gx_math_projectpointtoplane,rfloat,x,rfloat,y,rfloat,z,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction int,gx_math_getxsidepointplane,int,x,int,y,int,z,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_getsidepointplane,float,x,float,y,float,z,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction int,gx_math_xprojectlinetoline,int,srcx0,int,srcy0,int,srcz0,rint,srcx1,rint,srcy1,rint,srcz1,int,dstx0,int,dsty0,int,dstz0,rint,dstx1,rint,dsty1,rint,dstz1
  declarexfunction float,gx_math_projectlinetoline,float,srcx0,float,srcy0,float,srcz0,rfloat,srcx1,rfloat,srcy1,rfloat,srcz1,float,dstx0,float,dsty0,float,dstz0,rfloat,dstx1,rfloat,dsty1,rfloat,dstz1
  declarexfunction int,gx_math_xprojectsegmenttosegment,int,srcx0,int,srcy0,int,srcz0,rint,srcx1,rint,srcy1,rint,srcz1,int,dstx0,int,dsty0,int,dstz0,rint,dstx1,rint,dsty1,rint,dstz1
  declarexfunction float,gx_math_projectsegmenttosegment,float,srcx0,float,srcy0,float,srcz0,rfloat,srcx1,rfloat,srcy1,rfloat,srcz1,float,dstx0,float,dsty0,float,dstz0,rfloat,dstx1,rfloat,dsty1,rfloat,dstz1
  declarexfunction int,gx_math_xprojectlinetoplane,int,x1,int,y1,int,z1,rint,x2,rint,y2,rint,z2,int,planeposx,int,planeposy,int,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_projectlinetoplane,float,x1,float,y1,float,z1,rfloat,x2,rfloat,y2,rfloat,z2,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction int,gx_math_xprojectsegmenttoplane,int,x0,int,y0,int,z0,rint,x1,rint,y1,rint,z1,rint,planeposx,rint,planeposy,rint,planeposz,int,planenormx,int,planenormy,int,planenormz
  declarexfunction float,gx_math_projectsegmenttoplane,float,x0,float,y0,float,z0,rfloat,x1,rfloat,y1,rfloat,z1,rfloat,planeposx,rfloat,planeposy,rfloat,planeposz,float,planenormx,float,planenormy,float,planenormz
  declarexfunction nothing,gx_math_getxcrossproduct,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2,rint,nx,rint,ny,rint,nz
  declarexfunction nothing,gx_math_getcrossproduct,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2,rfloat,nx,rfloat,ny,rfloat,nz
  declarexfunction int,gx_math_getxscalarproduct,int,x0,int,y0,int,z0,int,x1,int,y1,int,z1
  declarexfunction float,gx_math_getscalarproduct,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1
  declarexfunction nothing,gx_math_xnormaltotangent,int,nx,int,ny,int,nz,rint,tx,rint,ty,rint,tz
  declarexfunction nothing,gx_math_normaltotangent,float,nx,float,ny,float,nz,rfloat,tx,rfloat,ty,rfloat,tz
  declarexfunction nothing,gx_math_xnormaltobitangent,int,nx,int,ny,int,nz,rint,tx,rint,ty,rint,tz,rint,bx,rint,by,rint,bz
  declarexfunction nothing,gx_math_normaltobitangent,float,nx,float,ny,float,nz,rfloat,tx,rfloat,ty,rfloat,tz,rfloat,bx,rfloat,by,rfloat,bz
  declarexfunction nothing,gx_math_xnormalangtotangent,int,nx,int,ny,int,nz,int,angw,rint,tx,rint,ty,rint,tz
  declarexfunction nothing,gx_math_normalangtotangent,float,nx,float,ny,float,nz,int,angw,rfloat,tx,rfloat,ty,rfloat,tz
  declarexfunction nothing,gx_math_getposfromtexmap,float,x0,float,y0,float,z0,float,u0,float,v0,float,x1,float,y1,float,z1,float,u1,float,v1,float,x2,float,y2,float,z2,float,u2,float,v2,float,u,float,v,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_math_spheremaptovector,int,x,int,y,int,size,rfloat,vx,rfloat,vy,rfloat,vz
  declarexfunction nothing,gx_math_vectortospheremap,float,vx,float,vy,float,vz,int,size,rint,x,rint,y
  declarexfunction nothing,gx_math_cubemaptovector,int,index,int,x,int,y,int,size,rfloat,vx,rfloat,vy,rfloat,vz
  declarexfunction nothing,gx_math_vectortocubemap,float,vx,float,vy,float,vz,int,size,rint,index,rint,x,rint,y
  declarexfunction int,gx_math_ispointinsidetriangle,float,x,float,y,float,z,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbitmap
endgroup

/* -------- */
/* gx_mdraw */
/* -------- */
group gx_mdraw
  typedef gx_tmdraw
  classtype gx_mdraw,gx_tmdraw

  declarexfunction int,gx_mdraw_ginstall,nothing
  declarexfunction gx_tbitmap,gx_mdraw_main,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_mdraw_displaywindow,nothing
  declarexfunction nothing,gx_mdraw_display,nothing
  declarexfunction nothing,gx_mdraw_recordundo,nothing
  declarexfunction nothing,gx_mdraw_undo,nothing
  declarexfunction int,gx_mdraw_getmousex,nothing
  declarexfunction int,gx_mdraw_getmousey,nothing
  declarexfunction gx_tbitmap,gx_mdraw_getbitmap,nothing
  declarexfunction nothing,gx_mdraw_setbitmap,gx_tbitmap,ptr_tbitmap
  declarexfunction gx_tbitmap,gx_mdraw_getbrush,nothing
  declarexfunction nothing,gx_mdraw_setbrush,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_mdraw_getbrushcolor,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_mdraw_setbrushcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_mdraw_getprecision,nothing
  declarexfunction int,gx_mdraw_getoldpalette,nothing
  declarexfunction int,gx_mdraw_getlastpalette,nothing
  declarexfunction int,gx_mdraw_getcurrentpalette,nothing
  declarexfunction nothing,gx_mdraw_newpicture,nothing
  declarexfunction nothing,gx_mdraw_setsize,nothing
  declarexfunction nothing,gx_mdraw_changesize,nothing
  declarexfunction gx_tbitmap,gx_mdraw_load,nothing
  declarexfunction nothing,gx_mdraw_save,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_mdraw_saveas,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_mdraw_shiftview,nothing
  declarexfunction nothing,gx_mdraw_shiftpicture,nothing
  declarexfunction nothing,gx_mdraw_viewpict,nothing
  declarexfunction nothing,gx_mdraw_drawpoint,nothing
  declarexfunction nothing,gx_mdraw_drawline,nothing
  declarexfunction nothing,gx_mdraw_drawsquare,nothing
  declarexfunction nothing,gx_mdraw_drawbox,nothing
  declarexfunction nothing,gx_mdraw_drawcurve,nothing
  declarexfunction nothing,gx_mdraw_drawcircle,nothing
  declarexfunction nothing,gx_mdraw_drawelipse,nothing
  declarexfunction nothing,gx_mdraw_drawfill,nothing
  declarexfunction nothing,gx_mdraw_drawfillh,nothing
  declarexfunction nothing,gx_mdraw_drawfillv,nothing
  declarexfunction nothing,gx_mdraw_brushgetpoint,nothing
  declarexfunction nothing,gx_mdraw_brushgetcolor,nothing
  declarexfunction nothing,gx_mdraw_brushcreate,nothing
  declarexfunction nothing,gx_mdraw_brushcreatesmooth,nothing
  declarexfunction nothing,gx_mdraw_brushmove,nothing
  declarexfunction nothing,gx_mdraw_brushcopy,nothing
  declarexfunction nothing,gx_mdraw_brushmirrorh,nothing
  declarexfunction nothing,gx_mdraw_brushmirrorv,nothing
  declarexfunction nothing,gx_mdraw_brushrotate,nothing
  declarexfunction nothing,gx_mdraw_brushsetsize,nothing
  declarexfunction nothing,gx_mdraw_brushchangesize,nothing
  declarexfunction nothing,gx_mdraw_brushsetsmalltext,nothing
  declarexfunction nothing,gx_mdraw_brushsettext,nothing
  declarexfunction nothing,gx_mdraw_colorsimport,nothing
  declarexfunction nothing,gx_mdraw_colorsdefault,nothing
  declarexfunction nothing,gx_mdraw_colorscopy,nothing
  declarexfunction nothing,gx_mdraw_colorsgradient,nothing
  declarexfunction nothing,gx_mdraw_colorsscan,nothing
  declarexfunction nothing,gx_mdraw_colorsmonochrome,nothing
  declarexfunction nothing,gx_mdraw_colorsadjust,nothing
  declarexfunction nothing,gx_mdraw_colorscopyblock,nothing
  declarexfunction nothing,gx_mdraw_colorsreduce,nothing
  declarexfunction nothing,gx_mdraw_colorsorganize,nothing
  declarexfunction nothing,gx_mdraw_filtersmooth,nothing
  declarexfunction nothing,gx_mdraw_filtermonochrome,nothing
  declarexfunction nothing,gx_mdraw_filteraddcolor,nothing
  declarexfunction nothing,gx_mdraw_filterreplacecolor,nothing
  declarexfunction nothing,gx_mdraw_filterrgbtoalpha,nothing
  declarexfunction nothing,gx_mdraw_filteralphatorgb,nothing
  declarexfunction nothing,gx_mdraw_filterblackalpha,nothing
  declarexfunction nothing,gx_mdraw_bitmapconverter,nothing
  declarexfunction nothing,gx_mdraw_createvideo,nothing
  declarexfunction nothing,gx_mdraw_printvideoinfo,nothing
endgroup

resetlinecounter 0

/* ============================================================================== */
/* Megalib object - Copyright (c) Arkham Development - Antoine Guillon (Pyro/Akm) */
/* ============================================================================== */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.             */
/* The contents of this file may not be disclosed to third parties,               */
/* copied or duplicated in any form, in whole or in part,                         */
/* without the prior written permission of Arkham Development.                    */
/* ============================================================================== */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbitmap
  typedef gx_tsound
endgroup

/* ---------- */
/* gx_megalib */
/* ---------- */
group gx_megalib
  typedef gx_tmegalib
  classtype gx_megalib,gx_tmegalib

  declarexfunction nothing,gx_megalib_install,nothing
  declarexfunction nothing,gx_megalib_uninstall,nothing
  declarexfunction nothing,gx_megalib_jpeginstall,nothing
  declarexfunction nothing,gx_megalib_jpeguninstall,nothing
  declarexfunction gx_tbitmap,gx_megalib_jpegloadbitmap,string,filename
  declarexfunction gx_tbitmap,gx_megalib_jpegloadchunkbitmap,int,filenum
  declarexfunction nothing,gx_megalib_jpegsavebitmap,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_megalib_jpegsavechunkbitmap,gx_tbitmap,ptr_tbitmap,int,filenum
  declarexfunction nothing,gx_megalib_pnginstall,nothing
  declarexfunction nothing,gx_megalib_pnguninstall,nothing
  declarexfunction gx_tbitmap,gx_megalib_pngloadbitmap,string,filename
  declarexfunction gx_tbitmap,gx_megalib_pngloadchunkbitmap,int,filenum
  declarexfunction nothing,gx_megalib_pngsavebitmap,gx_tbitmap,ptr_tbitmap,string,filename
  declarexfunction nothing,gx_megalib_pngsavechunkbitmap,gx_tbitmap,ptr_tbitmap,int,filenum
  declarexfunction nothing,gx_megalib_zlibinstall,nothing
  declarexfunction nothing,gx_megalib_zlibuninstall,nothing
  declarexfunction nothing,gx_megalib_zlibpack,void,buffersrc,void,bufferdst,rint,size
  declarexfunction nothing,gx_megalib_zlibunpack,rvoid,buffersrc,rvoid,bufferdst,int,size
  declarexfunction nothing,gx_megalib_ogginstall,nothing
  declarexfunction nothing,gx_megalib_ogguninstall,nothing
  declarexfunction gx_tsound,gx_megalib_oggloadsound,string,filename
  declarexfunction gx_tsound,gx_megalib_oggloadchunksound,int,filenum
  declarexfunction nothing,gx_megalib_oggsavesound,gx_tsound,ptr_tsound,string,filename
  declarexfunction nothing,gx_megalib_oggsavechunksound,gx_tsound,ptr_tsound,int,filenum
  declarexfunction nothing,gx_megalib_mp2install,nothing
  declarexfunction nothing,gx_megalib_mp2uninstall,nothing
  declarexfunction gx_tsound,gx_megalib_mp1loadsound,string,filename
  declarexfunction gx_tsound,gx_megalib_mp2loadsound,string,filename
  declarexfunction nothing,gx_megalib_mp3install,nothing
  declarexfunction nothing,gx_megalib_mp3uninstall,nothing
  declarexfunction gx_tsound,gx_megalib_mp3loadsound,string,filename
  declarexfunction nothing,gx_megalib_theorainstall,nothing
  declarexfunction nothing,gx_megalib_theorauninstall,nothing
  declarexfunction nothing,gx_megalib_tokamakinstall,nothing
  declarexfunction nothing,gx_megalib_tokamakuninstall,nothing
  declarexfunction nothing,gx_megalib_smjpeginstall,nothing
  declarexfunction nothing,gx_megalib_smjpeguninstall,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------ */
/* gx_mem */
/* ------ */
group gx_mem
  typedef gx_tmem
  classtype gx_mem,gx_tmem

  declarexfunction int,gx_mem_ginstall,nothing
  declarexfunction nothing,gx_mem_install,nothing
  declarexfunction nothing,gx_mem_uninstall,nothing
  declarexfunction nothing,gx_mem_usekernelmem,int,flag
  declarexfunction nothing,gx_mem_usefreelist,int,flag
  declarexfunction int,gx_mem_isfreelistused,nothing
  declarexfunction nothing,gx_mem_usescratchbuffer,int,flag
  declarexfunction int,gx_mem_isscratchbufferused,nothing
  declarexfunction int,gx_mem_getscratchbuffermaxsize,nothing
  declarexfunction nothing,gx_mem_setscratchbuffermaxsize,int,size
  declarexfunction int,gx_mem_isreallocresizeenabled,nothing
  declarexfunction nothing,gx_mem_enablereallocresize,int,flag
  declarexfunction void,gx_mem_alloc,int,size
  declarexfunction void,gx_mem_allocdebug,int,size,string,file,int,line
  declarexfunction void,gx_mem_allocalign,int,size,int,align
  declarexfunction void,gx_mem_allocaligndebug,int,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_longalloc,long,size
  declarexfunction void,gx_mem_longallocdebug,long,size,string,file,int,line
  declarexfunction void,gx_mem_longallocalign,long,size,int,align
  declarexfunction void,gx_mem_longallocaligndebug,long,size,int,align,string,file,int,line
  declarexfunction nothing,gx_mem_dealloc,void,pointer
  declarexfunction nothing,gx_mem_deallocdebug,void,pointer,string,file,int,line
  declarexfunction nothing,gx_mem_deallocalign,void,pointer
  declarexfunction nothing,gx_mem_deallocaligndebug,void,pointer,string,file,int,line
  declarexfunction void,gx_mem_clearalloc,int,size
  declarexfunction void,gx_mem_clearallocdebug,int,size,string,file,int,line
  declarexfunction void,gx_mem_clearallocalign,int,size,int,align
  declarexfunction void,gx_mem_clearallocaligndebug,int,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_longclearalloc,long,size
  declarexfunction void,gx_mem_longclearallocdebug,long,size,string,file,int,line
  declarexfunction void,gx_mem_longclearallocalign,long,size,int,align
  declarexfunction void,gx_mem_longclearallocaligndebug,long,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_realloc,void,pointer,int,size
  declarexfunction void,gx_mem_reallocdebug,void,pointer,int,size,string,file,int,line
  declarexfunction void,gx_mem_reallocalign,void,pointer,int,size,int,align
  declarexfunction void,gx_mem_reallocaligndebug,void,pointer,int,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_longrealloc,void,pointer,long,size
  declarexfunction void,gx_mem_longreallocdebug,void,pointer,long,size,string,file,int,line
  declarexfunction void,gx_mem_longreallocalign,void,pointer,long,size,int,align
  declarexfunction void,gx_mem_longreallocaligndebug,void,pointer,long,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_copyalloc,void,pointer,int,size
  declarexfunction void,gx_mem_copyallocdebug,void,pointer,int,size,string,file,int,line
  declarexfunction void,gx_mem_copyallocalign,void,pointer,int,size,int,align
  declarexfunction void,gx_mem_copyallocaligndebug,void,pointer,int,size,int,align,string,file,int,line
  declarexfunction void,gx_mem_longcopyalloc,void,pointer,long,size
  declarexfunction void,gx_mem_longcopyallocdebug,void,pointer,long,size,string,file,int,line
  declarexfunction void,gx_mem_longcopyallocalign,void,pointer,long,size,int,align
  declarexfunction void,gx_mem_longcopyallocaligndebug,void,pointer,long,size,int,align,string,file,int,line
  declarexfunction int,gx_mem_getsize,void,pointer
  declarexfunction int,gx_mem_getsizealign,void,pointer
  declarexfunction long,gx_mem_longgetsize,void,pointer
  declarexfunction long,gx_mem_longgetsizealign,void,pointer
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* ----------- */
/* gx_memarray */
/* ----------- */
group gx_memarray
  typedef gx_tmemarray
  classtype gx_memarray,gx_tmemarray

  declarexfunction int,gx_memarray_ginstall,nothing
  declarexfunction gx_tmemarray,gx_memarray_new,int,cellsize,int,nbcell
  declarexfunction void,gx_memarray_getparentclass,gx_tmemarray,ptr_tmemarray
  declarexfunction nothing,gx_memarray_setparentclass,gx_tmemarray,ptr_tmemarray,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction nothing,gx_memarray_reinit,gx_tmemarray,ptr_tmemarray
  declarexfunction nothing,gx_memarray_free,gx_tmemarray,ptr_tmemarray
  declarexfunction void,gx_memarray_alloc,gx_tmemarray,ptr_tmemarray
  declarexfunction void,gx_memarray_clearalloc,gx_tmemarray,ptr_tmemarray
  declarexfunction nothing,gx_memarray_dealloc,gx_tmemarray,ptr_tmemarray,void,buffer
  declarexfunction int,gx_memarray_getnbcell,gx_tmemarray,ptr_tmemarray
  declarexfunction int,gx_memarray_getnbusedcell,gx_tmemarray,ptr_tmemarray
  declarexfunction int,gx_memarray_getnbfreecell,gx_tmemarray,ptr_tmemarray
  declarexfunction void,gx_memarray_getcell,gx_tmemarray,ptr_tmemarray,int,index
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------------ */
/* gx_memsecure */
/* ------------ */
group gx_memsecure
  typedef gx_tmemsecure
  classtype gx_memsecure,gx_tmemsecure

  declarexfunction int,gx_memsecure_ginstall,nothing
  declarexfunction int,gx_memsecure_insertpool,nothing
  declarexfunction nothing,gx_memsecure_deletepool,nothing
  declarexfunction int,gx_memsecure_getnbpool,nothing
  declarexfunction int,gx_memsecure_getcurrentpool,nothing
  declarexfunction nothing,gx_memsecure_setcurrentpool,int,index
  declarexfunction void,gx_memsecure_alloc,int,size
  declarexfunction void,gx_memsecure_longalloc,long,size
  declarexfunction nothing,gx_memsecure_dealloc,void,pointer
  declarexfunction void,gx_memsecure_clearalloc,int,size
  declarexfunction void,gx_memsecure_longclearalloc,long,size
  declarexfunction void,gx_memsecure_realloc,void,pointer,int,size
  declarexfunction void,gx_memsecure_longrealloc,void,pointer,long,size
  declarexfunction void,gx_memsecure_copyalloc,void,pointer,int,size
  declarexfunction void,gx_memsecure_longcopyalloc,void,pointer,long,size
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tfont
endgroup

/* ------- */
/* gx_menu */
/* ------- */
group gx_menu
  typedef gx_tmenu
  classtype gx_menu,gx_tmenu

  enum 0
    dim gx_menu_entrytypeempty,1
    dim gx_menu_entrytypeboolean,1
    dim gx_menu_entrytypespinner,1
    dim gx_menu_entrytypelist,1
    dim gx_menu_entrytypesubmenu,1
  endenum

  enum 0
    dim gx_menu_inputmodeup,1
    dim gx_menu_inputmodedown,1
    dim gx_menu_inputmodecontinuous,1
  endenum

  declarexfunction int,gx_menu_ginstall,nothing
  declarexfunction nothing,gx_menu_install,nothing
  declarexfunction nothing,gx_menu_uninstall,nothing
  declarexfunction void,gx_menu_getparentclass,gx_tmenu,ptr_tmenu
  declarexfunction nothing,gx_menu_setparentclass,gx_tmenu,ptr_tmenu,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tmenu,gx_menu_new,nothing
  declarexfunction nothing,gx_menu_free,gx_tmenu,ptr_tmenu
  declarexfunction nothing,gx_menu_addref,gx_tmenu,ptr_tmenu
  declarexfunction int,gx_menu_getref,gx_tmenu,ptr_tmenu
  declarexfunction nothing,gx_menu_manage,nothing
  declarexfunction nothing,gx_menu_display,nothing
  declarexfunction int,gx_menu_getinputmode,nothing
  declarexfunction nothing,gx_menu_setinputmode,int,mode
  declarexfunction gx_tmenu,gx_menu_getcurrentmenu,nothing
  declarexfunction nothing,gx_menu_setcurrentmenu,gx_tmenu,ptr_tmenu
  declarexfunction nothing,gx_menu_setname,gx_tmenu,ptr_tmenu,int,localeid
  declarexfunction nothing,gx_menu_setfont,gx_tmenu,ptr_tmenu,gx_tfont,tiny_tfont,gx_tfont,medium_tfont,gx_tfont,big_tfont,int,cursor
  declarexfunction nothing,gx_menu_setinput,gx_tmenu,ptr_tmenu,int,keyup,int,keydown,int,keyleft,int,keyright,int,keyactivate,int,keyreturn
  declarexfunction nothing,gx_menu_setcursor,gx_tmenu,ptr_tmenu,float,offsety,float,sizex,float,sizey
  declarexfunction nothing,gx_menu_setsound,gx_tmenu,ptr_tmenu,string,soundok,string,soundcancel
  declarexfunction nothing,gx_menu_setbackground,gx_tmenu,ptr_tmenu,int,materialindex,int,render,int,alpha,int,red,int,green,int,blue,float,depth
  declarexfunction nothing,gx_menu_setanim,gx_tmenu,ptr_tmenu,float,offset,int,render,int,alpha,int,red,int,green,int,blue,float,depth
  declarexfunction nothing,gx_menu_setnameformat,gx_tmenu,ptr_tmenu,float,posx,float,posy,int,align,int,nbmaxchar
  declarexfunction nothing,gx_menu_setentryformat,gx_tmenu,ptr_tmenu,float,posx,float,posy,int,align,int,nbmaxchar,float,linespacing,int,nbscrollline
  declarexfunction nothing,gx_menu_setentrylistformat,gx_tmenu,ptr_tmenu,float,posx,int,align
  declarexfunction int,gx_menu_insertentry,gx_tmenu,ptr_tmenu
  declarexfunction nothing,gx_menu_deleteentry,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction int,gx_menu_getcurrententry,gx_tmenu,ptr_tmenu
  declarexfunction int,gx_menu_getactivatedentry,gx_tmenu,ptr_tmenu
  declarexfunction void,gx_menu_getentryname,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction nothing,gx_menu_setentryname,gx_tmenu,ptr_tmenu,int,entryindex,void,name
  declarexfunction nothing,gx_menu_enableentry,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction nothing,gx_menu_disableentry,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction int,gx_menu_isentryenabled,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction int,gx_menu_getentrytype,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction nothing,gx_menu_setentrytype,gx_tmenu,ptr_tmenu,int,entryindex,int,type
  declarexfunction int,gx_menu_getentryvalue,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction nothing,gx_menu_setentryvalue,gx_tmenu,ptr_tmenu,int,entryindex,int,value
  declarexfunction gx_tmenu,gx_menu_getentrysubmenu,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction nothing,gx_menu_setentrysubmenu,gx_tmenu,ptr_tmenu,int,entryindex,gx_tmenu,sub_tmenu
  declarexfunction int,gx_menu_insertentrylist,gx_tmenu,ptr_tmenu,int,entryindex,int,localeid
  declarexfunction nothing,gx_menu_deleteentrylist,gx_tmenu,ptr_tmenu,int,entryindex,int,listindex
  declarexfunction nothing,gx_menu_deleteallentrylist,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction int,gx_menu_getnbentrylist,gx_tmenu,ptr_tmenu,int,entryindex
  declarexfunction int,gx_menu_getentrylist,gx_tmenu,ptr_tmenu,int,entryindex,int,listindex
  declarexfunction nothing,gx_menu_setentrylist,gx_tmenu,ptr_tmenu,int,entryindex,int,listindex,int,localeid
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tquatern
  typedef gx_tfield
  typedef gx_tmatrix
endgroup

/* ------- */
/* gx_mesh */
/* ------- */
group gx_mesh
  typedef gx_tmesh
  classtype gx_mesh,gx_tmesh

  define gx_meshface_flagtwosided,0x1
  define gx_meshface_flagtrans,0x2

  declarexfunction int,gx_mesh_ginstall,nothing
  declarexfunction void,gx_mesh_getparentclass,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setparentclass,gx_tmesh,ptr_tmesh,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction nothing,gx_mesh_updateboundingbox,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_update,gx_tmesh,ptr_tmesh,gx_tscene,parent_tscene
  declarexfunction nothing,gx_mesh_weld,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_snapmesh,gx_tmesh,ptr_tmesh,gx_tmesh,ptr_tmesh2
  declarexfunction nothing,gx_mesh_scale,gx_tmesh,ptr_tmesh,float,sx,float,sy,float,sz
  declarexfunction nothing,gx_mesh_changepivot,gx_tmesh,ptr_tmesh,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_mesh_centerpivot,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_centerpivoty,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_rotate,gx_tmesh,ptr_tmesh,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_mesh_insertanim,gx_tmesh,ptr_tmesh,int,numframe,gx_tmesh,ptr_tmesh2
  declarexfunction nothing,gx_mesh_deleteanim,gx_tmesh,ptr_tmesh,int,numframe,int,nbframe
  declarexfunction nothing,gx_mesh_freeanim,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_insertquaternanim,gx_tmesh,ptr_tmesh,int,numframe,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_mesh_deletequaternanim,gx_tmesh,ptr_tmesh,int,numframe
  declarexfunction nothing,gx_mesh_freequaternanim,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getnbquaternanim,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_getindexedquaternanim,gx_tmesh,ptr_tmesh,int,index,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_mesh_setindexedquaternanim,gx_tmesh,ptr_tmesh,int,index,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_mesh_insertmorphanim,gx_tmesh,ptr_tmesh,int,numframe
  declarexfunction int,gx_mesh_insertmorphanimmesh,gx_tmesh,ptr_tmesh,int,numframe,gx_tmesh,ptr_tmesh2
  declarexfunction nothing,gx_mesh_deletemorphanim,gx_tmesh,ptr_tmesh,int,numframe,int,nbframe
  declarexfunction nothing,gx_mesh_freemorphanim,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getnbmorphanim,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_getindexedmorphanim,gx_tmesh,ptr_tmesh,int,index,int,vertex,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setindexedmorphanim,gx_tmesh,ptr_tmesh,int,index,int,vertex,float,x,float,y,float,z
  declarexfunction nothing,gx_mesh_setsmoothinggroup,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction nothing,gx_mesh_flatlight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_facemap,gx_tmesh,ptr_tmesh,int,channel
  declarexfunction nothing,gx_mesh_cubemap,gx_tmesh,ptr_tmesh,int,channel
  declarexfunction nothing,gx_mesh_spheremap,gx_tmesh,ptr_tmesh,int,channel
  declarexfunction nothing,gx_mesh_sortface,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_smoothlight,gx_tscene,ptr_tscene,gx_tmesh,ptr_tmesh
  declarexfunction string,gx_mesh_getname,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setname,gx_tmesh,ptr_tmesh,string,name
  declarexfunction nothing,gx_mesh_getpos,gx_tmesh,ptr_tmesh,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_mesh_setpos,gx_tmesh,ptr_tmesh,float,posx,float,posy,float,posz
  declarexfunction float,gx_mesh_getsphere,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_getspherepos,gx_tmesh,ptr_tmesh,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_mesh_getsize,gx_tmesh,ptr_tmesh,rfloat,sizex,rfloat,sizey,rfloat,sizez
  declarexfunction nothing,gx_mesh_getposdst,gx_tmesh,ptr_tmesh,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_getsphereposdst,gx_tmesh,ptr_tmesh,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction gx_tmatrix,gx_mesh_getmatrix,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_getabspos,gx_tmesh,ptr_tmesh,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction gx_tmatrix,gx_mesh_getabsmatrix,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_insertcustommatrix,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_deletecustommatrix,gx_tmesh,ptr_tmesh
  declarexfunction gx_tmatrix,gx_mesh_getcustommatrix,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_isdisplay,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_hide,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unhide,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_ishidden,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setsprite,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_resetsprite,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_issprite,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_isstaticgeom,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setstaticgeom,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_isdynamicgeom,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setdynamicgeom,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_isfastgeom,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setfastgeom,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_isgeomnolightning,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setgeomnolightning,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_isgeomnotexmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setgeomnotexmap,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_isdynamiclightset,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_isresetdynamiclightset,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_isdynamicuvset,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getforcenormal,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setforcenormal,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_getenvlight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setenvlight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetenvlight,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getenvmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setenvmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetenvmap,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getrefmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setrefmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetrefmap,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getabsmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setabsmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetabsmap,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getembossbumpmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setembossbumpmap,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetembossbumpmap,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getsimplelight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setsimplelight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_unsetsimplelight,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setmarker,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_resetmarker,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_ismarker,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getcollisionid,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setcollisionid,gx_tmesh,ptr_tmesh,int,collisionid
  declarexfunction int,gx_mesh_getlod,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setlod,gx_tmesh,ptr_tmesh,int,lod
  declarexfunction int,gx_mesh_getdynamic,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setdynamic,gx_tmesh,ptr_tmesh,int,dynamic
  declarexfunction int,gx_mesh_ispreserveemptymesh,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setpreserveemptymesh,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_ispreserveisolatedpoint,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setpreserveisolatedpoint,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_islamp,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setlamp,gx_tmesh,ptr_tmesh,int,flag
  declarexfunction int,gx_mesh_getzlimitmin,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setzlimitmin,gx_tmesh,ptr_tmesh,int,limit
  declarexfunction int,gx_mesh_getzlimitmax,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_setzlimitmax,gx_tmesh,ptr_tmesh,int,limit
  declarexfunction int,gx_mesh_hasflatshader,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_calculatebox,gx_tmesh,ptr_tmesh,rfloat,xmin,rfloat,xmax,rfloat,ymin,rfloat,ymax,rfloat,zmin,rfloat,zmax
  declarexfunction nothing,gx_mesh_insertpoint,gx_tmesh,ptr_tmesh,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_mesh_deletepoint,gx_tmesh,ptr_tmesh,int,numpoint
  declarexfunction int,gx_mesh_getnbpoint,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_getpointsrc3d,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setpointsrc3d,gx_tmesh,ptr_tmesh,int,index,float,x,float,y,float,z
  declarexfunction nothing,gx_mesh_getpointdst3d,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setpointdst3d,gx_tmesh,ptr_tmesh,int,index,float,x,float,y,float,z
  declarexfunction nothing,gx_mesh_getpointdst2d,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setpointdst2d,gx_tmesh,ptr_tmesh,int,index,float,x,float,y,float,z
  declarexfunction nothing,gx_mesh_getnormalsrc,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setnormalsrc,gx_tmesh,ptr_tmesh,int,index,float,x,float,y,float,z
  declarexfunction nothing,gx_mesh_getnormaldst,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_setnormaldst,gx_tmesh,ptr_tmesh,int,index,float,x,float,y,float,z
  declarexfunction int,gx_mesh_getnbtriangle,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_insertface,gx_tmesh,ptr_tmesh,int,index0,int,index1,int,index2
  declarexfunction nothing,gx_mesh_deleteface,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction int,gx_mesh_getnbface,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_mesh_getfacerender,gx_tmesh,ptr_tmesh,int,numface,int,channel
  declarexfunction nothing,gx_mesh_setfacerender,gx_tmesh,ptr_tmesh,int,numface,int,channel,int,render
  declarexfunction int,gx_mesh_getfacenbchannel,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction nothing,gx_mesh_setfacenbchannel,gx_tmesh,ptr_tmesh,int,numface,int,nbchannel
  declarexfunction int,gx_mesh_getfaceeffectmask,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction nothing,gx_mesh_setfaceeffectmask,gx_tmesh,ptr_tmesh,int,numface,int,effectmask
  declarexfunction int,gx_mesh_getfacesmoothinggroup,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction nothing,gx_mesh_setfacesmoothinggroup,gx_tmesh,ptr_tmesh,int,numface,int,smoothinggroup
  declarexfunction nothing,gx_mesh_getfacecolor,gx_tmesh,ptr_tmesh,int,numface,int,channel,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_mesh_setfacecolor,gx_tmesh,ptr_tmesh,int,numface,int,channel,int,alpha,int,red,int,green,int,blue
  declarexfunction int,gx_mesh_getfacematerial,gx_tmesh,ptr_tmesh,int,numface,int,channel
  declarexfunction nothing,gx_mesh_setfacematerial,gx_tmesh,ptr_tmesh,int,numface,int,channel,int,material
  declarexfunction int,gx_mesh_getfaceflag,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction nothing,gx_mesh_setfaceflag,gx_tmesh,ptr_tmesh,int,numface,int,flag
  declarexfunction nothing,gx_mesh_getfacecenter,gx_tmesh,ptr_tmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_mesh_deletefacepoint,gx_tmesh,ptr_tmesh,int,numface,int,numpoint
  declarexfunction int,gx_mesh_getnbpointface,gx_tmesh,ptr_tmesh,int,numface
  declarexfunction nothing,gx_mesh_getpointface,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_mesh_setpointface,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_mesh_getnormalface,gx_tmesh,ptr_tmesh,int,numface,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_mesh_getpointfaceindex,gx_tmesh,ptr_tmesh,int,numface,int,numpoint
  declarexfunction nothing,gx_mesh_setpointfaceindex,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,int,index
  declarexfunction nothing,gx_mesh_getpointfacetexmap,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,int,channel,rfloat,coordx,rfloat,coordy
  declarexfunction nothing,gx_mesh_setpointfacetexmap,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,int,channel,float,coordx,float,coordy
  declarexfunction nothing,gx_mesh_getpointfacecolor,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_mesh_setpointfacecolor,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_mesh_getfacepointnormal,gx_tmesh,ptr_tmesh,int,numface,int,numpoint,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction nothing,gx_mesh_getedge,gx_tmesh,ptr_tmesh,int,numface,int,edge,int,index,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_mesh_setedge,gx_tmesh,ptr_tmesh,int,numface,int,edge,int,index,float,posx,float,posy,float,posz
  declarexfunction int,gx_mesh_getedgeindex,gx_tmesh,ptr_tmesh,int,numface,int,edge,int,index
  declarexfunction nothing,gx_mesh_setedgeindex,gx_tmesh,ptr_tmesh,int,numface,int,edge,int,index,int,vertexindex
  declarexfunction int,gx_mesh_getedgelinkedface,gx_tmesh,ptr_tmesh,int,numface,int,edge
  declarexfunction int,gx_mesh_facetesselate,gx_tscene,ptr_tscene,gx_tmesh,ptr_tmesh,int,numface,int,edgeindex
  declarexfunction int,gx_mesh_hasnormal,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_rebuildnormal,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_invertnormal,gx_tmesh,ptr_tmesh
  declarexfunction nothing,gx_mesh_faceinvertnormal,gx_tmesh,ptr_tmesh,int,index
  declarexfunction nothing,gx_mesh_tesselate,gx_tscene,ptr_tscene,gx_tmesh,ptr_tmesh,float,radius
  declarexfunction int,gx_mesh_testcol3dinsidesrc,gx_tmesh,ptr_tmesh,float,x,float,y,float,z
  declarexfunction int,gx_mesh_testcol3dinsidedst,gx_tmesh,ptr_tmesh,float,x,float,y,float,z
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbase
  typedef gx_tworld
  typedef gx_tcomponent
  typedef gx_tscene
  typedef gx_tskin
endgroup

/* -------- */
/* gx_model */
/* -------- */
group gx_model
  typedef gx_tmodel
  classtype gx_model,gx_tmodel

  enum 0
    dim gx_modeldynamiclighttype_none,1
    dim gx_modeldynamiclighttype_envlight,1
    dim gx_modeldynamiclighttype_mullight,1
    dim gx_modeldynamiclighttype_parallellight,1
    dim gx_modeldynamiclighttype_fulllight,1
  endenum

  declarexfunction int,gx_model_ginstall,nothing
  declarexfunction void,gx_model_getparentclass,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setparentclass,gx_tmodel,ptr_tmodel,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tmodel,gx_model_new,nothing
  declarexfunction gx_tmodel,gx_model_load,gx_tbase,ptr_tbase,string,filename
  declarexfunction gx_tmodel,gx_model_loadchunk,gx_tbase,ptr_tbase,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_model_save,gx_tmodel,ptr_tmodel,string,filename
  declarexfunction int,gx_model_savechunk,gx_tmodel,ptr_tmodel,int,filenum
  declarexfunction gx_tmodel,gx_model_loadgxml,gx_tbase,ptr_tbase,string,filename
  declarexfunction gx_tmodel,gx_model_loadgxmlchunk,gx_tbase,ptr_tbase,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_model_savegxml,gx_tmodel,ptr_tmodel,string,filename
  declarexfunction int,gx_model_savegxmlchunk,gx_tmodel,ptr_tmodel,int,filenum
  declarexfunction gx_tmodel,gx_model_loadall,gx_tbase,ptr_tbase,string,filename
  declarexfunction nothing,gx_model_saveall,gx_tmodel,ptr_tmodel,string,filename
  declarexfunction nothing,gx_model_free,gx_tmodel,ptr_tmodel,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_model_addref,gx_tmodel,ptr_tmodel
  declarexfunction int,gx_model_getref,gx_tmodel,ptr_tmodel
  declarexfunction gx_tcomponent,gx_model_getcomponent,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setcomponent,gx_tmodel,ptr_tmodel,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_model_insertskin,gx_tbase,ptr_tbase,gx_tmodel,ptr_tmodel,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_model_insertskinlod,gx_tbase,ptr_tbase,gx_tmodel,ptr_tmodel,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_model_deleteskin,gx_tbase,ptr_tbase,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_insertanim,gx_tmodel,ptr_tmodel,gx_tscene,ptr_tscene,string,name
  declarexfunction nothing,gx_model_cloneanim,gx_tmodel,ptr_tmodel,gx_tmodel,target_tmodel
  declarexfunction nothing,gx_model_uncloneanim,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_replaceanim,gx_tmodel,ptr_tmodel,gx_tscene,ptr_tscene,int,numanim,string,name
  declarexfunction nothing,gx_model_deleteanim,gx_tmodel,ptr_tmodel,int,numanim
  declarexfunction nothing,gx_model_insertweld,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_deleteweld,gx_tmodel,ptr_tmodel
  declarexfunction int,gx_model_getdynamiclighttype,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setdynamiclighttype,gx_tmodel,ptr_tmodel,int,type
  declarexfunction nothing,gx_model_setflagmirrorcolcylinder,gx_tmodel,ptr_tmodel,int,flag
  declarexfunction int,gx_model_getflagmirrorcolcylinder,gx_tmodel,ptr_tmodel
  declarexfunction int,gx_model_getflagdynamiccolcylinder,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setflagdynamiccolcylinder,gx_tmodel,ptr_tmodel,int,flag
  declarexfunction int,gx_model_getflagdynamiccollision,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setflagdynamiccollision,gx_tmodel,ptr_tmodel,int,flag
  declarexfunction int,gx_model_getflagnostaticgeom,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setflagnostaticgeom,gx_tmodel,ptr_tmodel,int,flag
  declarexfunction int,gx_model_getflagdynamicgeom,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setflagdynamicgeom,gx_tmodel,ptr_tmodel,int,flag
  declarexfunction int,gx_model_getmass,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setmass,gx_tmodel,ptr_tmodel,int,mass
  declarexfunction string,gx_model_getname,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_setname,gx_tmodel,ptr_tmodel,string,name
  declarexfunction gx_tskin,gx_model_getskin,gx_tmodel,ptr_tmodel
  declarexfunction nothing,gx_model_autocol3dcylinder,gx_tmodel,ptr_tmodel,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_model_getcolcylinder,gx_tmodel,ptr_tmodel,rfloat,size,rfloat,radius
  declarexfunction nothing,gx_model_setcolcylinder,gx_tmodel,ptr_tmodel,float,size,float,radius
  declarexfunction nothing,gx_model_insertgroupanim,gx_tmodel,ptr_tmodel,string,group,int,numanim
  declarexfunction nothing,gx_model_deletegroupanim,gx_tmodel,ptr_tmodel,string,group,int,numanim
  declarexfunction nothing,gx_model_freegroupanim,gx_tmodel,ptr_tmodel
  declarexfunction int,gx_model_getnbgroupanim,gx_tmodel,ptr_tmodel
  declarexfunction string,gx_model_getindexedgroupanim,gx_tmodel,ptr_tmodel,int,numgroupanim
  declarexfunction int,gx_model_getnamedgroupanim,gx_tmodel,ptr_tmodel,string,group
  declarexfunction int,gx_model_getgroupanimindex,gx_tmodel,ptr_tmodel,string,group
  declarexfunction string,gx_model_getgroupanimname,gx_tmodel,ptr_tmodel,int,index
  declarexfunction int,gx_model_getgroupanimnbanim,gx_tmodel,ptr_tmodel,int,numgroup
  declarexfunction int,gx_model_getgroupanimindexanim,gx_tmodel,ptr_tmodel,int,numgroup,int,index
  declarexfunction int,gx_model_getrandomgroupanim,gx_tmodel,ptr_tmodel,int,numgroup
  declarexfunction nothing,gx_model_checkgroupanim,gx_tmodel,ptr_tmodel
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* -------- */
/* gx_mouse */
/* -------- */
group gx_mouse
  typedef gx_tmouse
  classtype gx_mouse,gx_tmouse

  define gx_mouse_nbdevice,4

  enum 0
    dim gx_mouse_buttondeltaup,1
    dim gx_mouse_buttondeltadown,1
    dim gx_mouse_buttondeltaleft,1
    dim gx_mouse_buttondeltaright,1
    dim gx_mouse_buttondeltatop,1
    dim gx_mouse_buttondeltabottom,1
    dim gx_mouse_buttonleft,1
    dim gx_mouse_buttonmiddle,1
    dim gx_mouse_buttonright,1
    dim gx_mouse_nbbutton,1
  endenum

  declarexfunction int,gx_mouse_ginstall,nothing
  declarexfunction nothing,gx_mouse_install,nothing
  declarexfunction nothing,gx_mouse_uninstall,nothing
  declarexfunction nothing,gx_mouse_setclipping,int,xmin,int,xmax,int,ymin,int,ymax,int,zmin,int,zmax
  declarexfunction nothing,gx_mouse_resetclipping,nothing
  declarexfunction int,gx_mouse_getclippingxmin,nothing
  declarexfunction int,gx_mouse_getclippingxmax,nothing
  declarexfunction int,gx_mouse_getclippingymin,nothing
  declarexfunction int,gx_mouse_getclippingymax,nothing
  declarexfunction int,gx_mouse_getclippingzmin,nothing
  declarexfunction int,gx_mouse_getclippingzmax,nothing
  declarexfunction int,gx_mouse_getposx,int,index
  declarexfunction nothing,gx_mouse_setposx,int,index,int,posx
  declarexfunction int,gx_mouse_getposy,int,index
  declarexfunction nothing,gx_mouse_setposy,int,index,int,posy
  declarexfunction int,gx_mouse_getposz,int,index
  declarexfunction nothing,gx_mouse_setposz,int,index,int,posz
  declarexfunction int,gx_mouse_getdeltax,int,index
  declarexfunction nothing,gx_mouse_setdeltax,int,index,int,deltax
  declarexfunction int,gx_mouse_getdeltay,int,index
  declarexfunction nothing,gx_mouse_setdeltay,int,index,int,deltay
  declarexfunction int,gx_mouse_getdeltaz,int,index
  declarexfunction nothing,gx_mouse_setdeltaz,int,index,int,deltaz
  declarexfunction int,gx_mouse_getleftbutton,int,index
  declarexfunction nothing,gx_mouse_setleftbutton,int,index,int,state
  declarexfunction int,gx_mouse_getmiddlebutton,int,index
  declarexfunction nothing,gx_mouse_setmiddlebutton,int,index,int,state
  declarexfunction int,gx_mouse_getrightbutton,int,index
  declarexfunction nothing,gx_mouse_setrightbutton,int,index,int,state
  declarexfunction int,gx_mouse_getbutton,int,index,int,key
  declarexfunction nothing,gx_mouse_setbutton,int,index,int,key,int,value
  declarexfunction nothing,gx_mouse_display,nothing
  declarexfunction nothing,gx_mouse_displaydynamic,nothing
  declarexfunction nothing,gx_mouse_resetpower,nothing
  declarexfunction nothing,gx_mouse_setcursorbitmap,void,ptr_tbitmap,int,drawtype
  declarexfunction void,gx_mouse_getcursorbitmap,nothing
  declarexfunction int,gx_mouse_getcursordrawtype,nothing
  declarexfunction nothing,gx_mouse_getcursoroffset,rint,x,rint,y
  declarexfunction nothing,gx_mouse_setcursoroffset,int,x,int,y
  declarexfunction nothing,gx_mouse_deviceemulation,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tmesh
  typedef gx_tworld
  typedef gx_tpathfind
  typedef gx_tmatrix
endgroup

/* ---------- */
/* gx_navmesh */
/* ---------- */
group gx_navmesh
  typedef gx_tnavmesh
  classtype gx_navmesh,gx_tnavmesh

  declarexfunction int,gx_navmesh_ginstall,nothing
  declarexfunction void,gx_navmesh_getparentclass,gx_tnavmesh,ptr_tnavmesh
  declarexfunction nothing,gx_navmesh_setparentclass,gx_tnavmesh,ptr_tnavmesh,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tnavmesh,gx_navmesh_new,nothing
  declarexfunction gx_tnavmesh,gx_navmesh_load,string,filename
  declarexfunction gx_tnavmesh,gx_navmesh_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_navmesh_save,gx_tnavmesh,ptr_tnavmesh,string,filename
  declarexfunction int,gx_navmesh_savechunk,gx_tnavmesh,ptr_tnavmesh,int,filenum
  declarexfunction nothing,gx_navmesh_free,gx_tnavmesh,ptr_tnavmesh
  declarexfunction nothing,gx_navmesh_addref,gx_tnavmesh,ptr_tnavmesh
  declarexfunction int,gx_navmesh_getref,gx_tnavmesh,ptr_tnavmesh
  declarexfunction gx_tnavmesh,gx_navmesh_copy,gx_tnavmesh,ptr_tnavmesh
  declarexfunction nothing,gx_navmesh_insertmesh,gx_tnavmesh,ptr_tnavmesh,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_navmesh_insertpoint,gx_tnavmesh,ptr_tnavmesh,float,x,float,y,float,z
  declarexfunction int,gx_navmesh_getnbpoint,gx_tnavmesh,ptr_tnavmesh
  declarexfunction nothing,gx_navmesh_getpoint,gx_tnavmesh,ptr_tnavmesh,int,index,rfloat,x,rfloat,y,rfloat,z
  declarexfunction nothing,gx_navmesh_setpoint,gx_tnavmesh,ptr_tnavmesh,int,index,float,x,float,y,float,z
  declarexfunction int,gx_navmesh_insertface,gx_tnavmesh,ptr_tnavmesh,int,point0,int,point1,int,point2
  declarexfunction int,gx_navmesh_getnbface,gx_tnavmesh,ptr_tnavmesh
  declarexfunction nothing,gx_navmesh_getfacepoint,gx_tnavmesh,ptr_tnavmesh,int,index,rint,point0,rint,point1,rint,point2
  declarexfunction nothing,gx_navmesh_setfacepoint,gx_tnavmesh,ptr_tnavmesh,int,index,int,point0,int,point1,int,point2
  declarexfunction nothing,gx_navmesh_build,gx_tnavmesh,ptr_tnavmesh
  declarexfunction int,gx_navmesh_testface,gx_tnavmesh,ptr_tnavmesh,int,numface,float,x,float,z
  declarexfunction float,gx_navmesh_projectpointtoface,gx_tnavmesh,ptr_tnavmesh,int,numface,float,x,float,z
  declarexfunction nothing,gx_navmesh_resettest,rint,lastface
  declarexfunction int,gx_navmesh_test,gx_tnavmesh,ptr_tnavmesh,rint,lastface,float,startx,float,starty,float,startz,rfloat,endx,rfloat,endy,rfloat,endz
  declarexfunction nothing,gx_navmesh_getfacepos,gx_tnavmesh,ptr_tnavmesh,int,numface,rfloat,x0,rfloat,y0,rfloat,z0,rfloat,x1,rfloat,y1,rfloat,z1,rfloat,x2,rfloat,y2,rfloat,z2
  declarexfunction nothing,gx_navmesh_getfacenorm,gx_tnavmesh,ptr_tnavmesh,int,numface,rfloat,x,rfloat,y,rfloat,z
  declarexfunction int,gx_navmesh_isfacelocked,gx_tnavmesh,ptr_tnavmesh,int,numface,int,numedge
  declarexfunction nothing,gx_navmesh_lockface,gx_tnavmesh,ptr_tnavmesh,int,numface,int,numedge,int,flag
  declarexfunction nothing,gx_navmesh_buildsector,gx_tnavmesh,ptr_tnavmesh,gx_tworld,ptr_tworld
  declarexfunction int,gx_navmesh_getfacesector,gx_tnavmesh,ptr_tnavmesh,int,numface
  declarexfunction nothing,gx_navmesh_setfacesector,gx_tnavmesh,ptr_tnavmesh,int,numface,int,sector
  declarexfunction int,gx_navmesh_getfaceuserid,gx_tnavmesh,ptr_tnavmesh,int,numface
  declarexfunction nothing,gx_navmesh_setfaceuserid,gx_tnavmesh,ptr_tnavmesh,int,numface,int,id
  declarexfunction void,gx_navmesh_getfaceuserpointer,gx_tnavmesh,ptr_tnavmesh,int,numface
  declarexfunction nothing,gx_navmesh_setfaceuserpointer,gx_tnavmesh,ptr_tnavmesh,int,numface,void,pointer
  declarexfunction gx_tpathfind,gx_navmesh_generatepathfind,gx_tnavmesh,ptr_tnavmesh,gx_tworld,ptr_tworld,int,collisionid
  declarexfunction nothing,gx_navmesh_display,gx_tnavmesh,ptr_tnavmesh,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tstream
  typedef gx_tnetworktransfert
  typedef gx_tnetworkhttp
endgroup

/* ---------- */
/* gx_network */
/* ---------- */
group gx_network
  typedef gx_tnetwork
  classtype gx_network,gx_tnetwork

  enum 0
    dim gx_networktransfertstate_ready,1
    dim gx_networktransfertstate_transfering,1
    dim gx_networktransfertstate_disconnected,1
  endenum

  enum 0
    dim gx_networktransfercrypt_none,1
    dim gx_networktransfercrypt_crc,1
    dim gx_networktransfercrypt_publickey,1
    dim gx_networktransfercrypt_privatekey,1
    dim gx_networktransfercrypt_fullprivatekey,1
  endenum

  enum 0
    dim gx_networktransfertmode_optimal,1
    dim gx_networktransfertmode_debug,1
    dim gx_networktransfertmode_fulldebug,1
  endenum

  declarexfunction int,gx_network_ginstall,nothing
  declarexfunction nothing,gx_network_install,nothing
  declarexfunction nothing,gx_network_uninstall,nothing
  declarexfunction int,gx_network_isenabled,nothing
  declarexfunction int,gx_network_getnberrorretry,nothing
  declarexfunction nothing,gx_network_setnberrorretry,int,nbretry
  declarexfunction int,gx_network_getstalled,nothing
  declarexfunction nothing,gx_network_setstalled,int,value
  declarexfunction int,gx_network_getdebugmode,nothing
  declarexfunction nothing,gx_network_setdebugmode,int,flag
  declarexfunction void,gx_network_serverconnect,string,address
  declarexfunction void,gx_network_clientconnect,string,address
  declarexfunction int,gx_network_getstatus,void,handle
  declarexfunction nothing,gx_network_disconnect,void,handle
  declarexfunction nothing,gx_network_getaddress,void,handle,string,address
  declarexfunction nothing,gx_network_getaddressbyname,string,name,string,address
  declarexfunction int,gx_network_read,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_write,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_lread,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_lwrite,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_bread,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_bwrite,void,handle,void,buffer,int,size
  declarexfunction int,gx_network_asyncread,void,handle,rvoid,buffer,rint,size
  declarexfunction int,gx_network_asyncwrite,void,handle,rvoid,buffer,rint,size
  declarexfunction int,gx_network_readdata,void,handle,int,size,void,pointer,int,pack
  declarexfunction int,gx_network_writedata,void,handle,int,size,void,pointer,int,pack
  declarexfunction int,gx_network_readbyte,void,handle
  declarexfunction int,gx_network_writebyte,void,handle,int,value
  declarexfunction int,gx_network_readubyte,void,handle
  declarexfunction int,gx_network_readshort,void,handle
  declarexfunction int,gx_network_breadshort,void,handle
  declarexfunction int,gx_network_writeshort,void,handle,int,value
  declarexfunction int,gx_network_bwriteshort,void,handle,int,value
  declarexfunction int,gx_network_readushort,void,handle
  declarexfunction int,gx_network_breadushort,void,handle
  declarexfunction int,gx_network_readint,void,handle
  declarexfunction int,gx_network_breadint,void,handle
  declarexfunction int,gx_network_writeint,void,handle,int,value
  declarexfunction int,gx_network_bwriteint,void,handle,int,value
  declarexfunction float,gx_network_readfloat,void,handle
  declarexfunction float,gx_network_breadfloat,void,handle
  declarexfunction int,gx_network_writefloat,void,handle,float,value
  declarexfunction int,gx_network_bwritefloat,void,handle,float,value
  declarexfunction long,gx_network_readlong,void,handle
  declarexfunction long,gx_network_breadlong,void,handle
  declarexfunction int,gx_network_writelong,void,handle,long,value
  declarexfunction int,gx_network_bwritelong,void,handle,long,value
  declarexfunction int,gx_network_readstring,void,handle,string,value
  declarexfunction int,gx_network_writestring,void,handle,string,value
  declarexfunction int,gx_network_readunicode,void,handle,void,value
  declarexfunction int,gx_network_writeunicode,void,handle,void,value
  declarexfunction gx_tnetworktransfert,gx_network_inserttransfert,int,nbcommand
  declarexfunction nothing,gx_network_deletetransfert,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction int,gx_network_getnbtransfert,nothing
  declarexfunction gx_tnetworktransfert,gx_network_getindexedtransfert,int,index
  declarexfunction int,gx_network_gettransfertindex,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction void,gx_network_transfertgethandle,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertsethandle,gx_tnetworktransfert,ptr_tnetworktransfert,void,handle
  declarexfunction gx_tstream,gx_network_transfertallocstream,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertdeallocstream,gx_tnetworktransfert,ptr_tnetworktransfert,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_network_transfertpurge,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertpurgeall,nothing
  declarexfunction void,gx_network_transfertgetuserpointer,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertsetuserpointer,gx_tnetworktransfert,ptr_tnetworktransfert,void,pointer
  declarexfunction int,gx_network_transfertgetstate,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertmanage,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction int,gx_network_transfertread,gx_tnetworktransfert,ptr_tnetworktransfert,void,buffer,int,size
  declarexfunction int,gx_network_transfertwrite,gx_tnetworktransfert,ptr_tnetworktransfert,void,buffer,int,size
  declarexfunction nothing,gx_network_transfertsetstreamsyncmode,gx_tnetworktransfert,ptr_tnetworktransfert,int,mode
  declarexfunction nothing,gx_network_transfertsetcrunch,gx_tnetworktransfert,ptr_tnetworktransfert,int,crunch
  declarexfunction nothing,gx_network_transfertsetencryption,gx_tnetworktransfert,ptr_tnetworktransfert,int,mode,void,readpassword,int,readpasswordsize,void,writepassword,int,writepasswordsize
  declarexfunction int,gx_network_transfertgetreadcryptseed,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertsetreadcryptseed,gx_tnetworktransfert,ptr_tnetworktransfert,int,seed
  declarexfunction int,gx_network_transfertgetwritecryptseed,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertsetwritecryptseed,gx_tnetworktransfert,ptr_tnetworktransfert,int,seed
  declarexfunction gx_tstream,gx_network_transfertreadstream,gx_tnetworktransfert,ptr_tnetworktransfert,rint,type,rint,id
  declarexfunction int,gx_network_transfertwritestream,gx_tnetworktransfert,ptr_tnetworktransfert,int,type,int,id,gx_tstream,ptr_tstream
  declarexfunction gx_tstream,gx_network_transfertinsertstream,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertmanagestream,gx_tnetworktransfert,ptr_tnetworktransfert
  declarexfunction nothing,gx_network_transfertcrunchstream,gx_tnetworktransfert,ptr_tnetworktransfert,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_network_transfertdecrunchstream,gx_tnetworktransfert,ptr_tnetworktransfert,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_network_transfertcryptstream,gx_tnetworktransfert,ptr_tnetworktransfert,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_network_transfertdecryptstream,gx_tnetworktransfert,ptr_tnetworktransfert,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_network_transfertchangecryptseed,gx_tnetworktransfert,ptr_tnetworktransfert,int,seed
  declarexfunction gx_tnetworkhttp,gx_network_httpdownloadopen,string,address,string,filename,void,buffer,int,size
  declarexfunction int,gx_network_httpdownloadprocess,gx_tnetworkhttp,ptr_tnetworkhttp
  declarexfunction int,gx_network_httpdownloadclose,gx_tnetworkhttp,ptr_tnetworkhttp
  declarexfunction gx_tnetworkhttp,gx_network_httpuploadopen,string,address,string,filename,void,buffer,int,size
  declarexfunction int,gx_network_httpuploadprocess,gx_tnetworkhttp,ptr_tnetworkhttp
  declarexfunction int,gx_network_httpuploadclose,gx_tnetworkhttp,ptr_tnetworkhttp
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* --------- */
/* gx_octree */
/* --------- */
group gx_octree
  typedef gx_toctree
  classtype gx_octree,gx_toctree

  enum 0
    dim gx_octree_callbackparamnode,1
    dim gx_octree_callbackparamposition,1
    dim gx_octree_callbackparamsize,1
  endenum

  declarexfunction int,gx_octree_ginstall,nothing
  declarexfunction void,gx_octree_getparentclass,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_setparentclass,gx_toctree,ptr_toctree,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_toctree,gx_octree_new,float,posx,float,posy,float,posz,float,sizex,float,sizey,float,sizez,float,sizemin,void,callback,void,user
  declarexfunction gx_toctree,gx_octree_load,string,filename
  declarexfunction gx_toctree,gx_octree_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_octree_save,gx_toctree,ptr_toctree,string,filename
  declarexfunction int,gx_octree_savechunk,gx_toctree,ptr_toctree,int,filenum
  declarexfunction nothing,gx_octree_free,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_addref,gx_toctree,ptr_toctree
  declarexfunction int,gx_octree_getref,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_deleteall,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_optimize,gx_toctree,ptr_toctree
  declarexfunction gx_toctree,gx_octree_copy,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_updatepointer,gx_toctree,ptr_toctree,void,callback,void,user
  declarexfunction nothing,gx_octree_test,gx_toctree,ptr_toctree,int,callback,void,user
  declarexfunction int,gx_octree_getnblevel,gx_toctree,ptr_toctree
  declarexfunction int,gx_octree_getnbnode,gx_toctree,ptr_toctree
  declarexfunction int,gx_octree_nodegetlevel,gx_toctree,ptr_toctree,int,numnode
  declarexfunction nothing,gx_octree_nodegetpos,gx_toctree,ptr_toctree,int,numnode,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_octree_nodegetsize,gx_toctree,ptr_toctree,int,numnode,rfloat,sizex,rfloat,sizey,rfloat,sizez
  declarexfunction float,gx_octree_nodegetsphere,gx_toctree,ptr_toctree,int,numnode
  declarexfunction int,gx_octree_getnbexclude,gx_toctree,ptr_toctree
  declarexfunction nothing,gx_octree_insertexclude,gx_toctree,ptr_toctree,int,numexclude
  declarexfunction nothing,gx_octree_deleteexclude,gx_toctree,ptr_toctree,int,numexclude
  declarexfunction nothing,gx_octree_getexclude,gx_toctree,ptr_toctree,int,numexclude,rint,index,rvoid,pointer
  declarexfunction nothing,gx_octree_setexclude,gx_toctree,ptr_toctree,int,numexclude,int,index,void,pointer
  declarexfunction int,gx_octree_nodegetnbinclude,gx_toctree,ptr_toctree,int,numnode
  declarexfunction nothing,gx_octree_nodeinsertinclude,gx_toctree,ptr_toctree,int,numnode,int,numinclude
  declarexfunction nothing,gx_octree_nodedeleteinclude,gx_toctree,ptr_toctree,int,numnode,int,numinclude
  declarexfunction nothing,gx_octree_nodegetinclude,gx_toctree,ptr_toctree,int,numnode,int,numinclude,rint,index,rvoid,pointer
  declarexfunction nothing,gx_octree_nodesetinclude,gx_toctree,ptr_toctree,int,numnode,int,numinclude,int,index,void,pointer
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ----------- */
/* gx_packfile */
/* ----------- */
group gx_packfile
  typedef gx_tpackfile
  classtype gx_packfile,gx_tpackfile

  declarexfunction int,gx_packfile_ginstall,nothing
  declarexfunction nothing,gx_packfile_getinfo,string,filesrc,void,filename,rint,crunch,rint,crypttype,rint,size
  declarexfunction nothing,gx_packfile_load,string,filesrc,string,filename,rvoid,bufferdst,rint,size,void,password,int,passwordsize
  declarexfunction nothing,gx_packfile_save,string,filetarget,string,filename,void,buffersrc,int,pack,int,size,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_packfile_crunchfile,string,filedst,string,filesrc,int,pack,void,password,int,passwordsize,int,crypttype
  declarexfunction nothing,gx_packfile_decrunchfile,string,filedst,string,filesrc,void,password,int,passwordsize
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tmodel
  typedef gx_tbitmap
  typedef gx_tbase
  typedef gx_tactor
  typedef gx_tlist
  typedef gx_tparticleemitter
  typedef gx_txarray
endgroup

/* ----------- */
/* gx_particle */
/* ----------- */
group gx_particle
  typedef gx_tparticle
  classtype gx_particle,gx_tparticle

  define gx_particle_flagcollision,0x1
  define gx_particle_flaggravity,0x2
  define gx_particle_flagrandomdirection,0x4
  define gx_particle_flagrandomang,0x8
  define gx_particle_flagrandomscale,0x10
  define gx_particle_flagrandomvector,0x20
  define gx_particle_flagrandomrotation,0x40
  define gx_particle_flaglockangx,0x80
  define gx_particle_flaglockangy,0x100
  define gx_particle_flaglockangz,0x200
  define gx_particle_flaglocktocamera,0x400

  declarexfunction int,gx_particle_ginstall,nothing
  declarexfunction nothing,gx_particle_install,nothing
  declarexfunction nothing,gx_particle_uninstall,nothing
  declarexfunction nothing,gx_particle_setdefaultparam,nothing
  declarexfunction nothing,gx_particle_setflag,int,flag,int,lifecount,float,maxspeed
  declarexfunction nothing,gx_particle_setinstance,gx_tmodel,ptr_tmodel,int,num_tmaterial,gx_tbitmap,ptr_tbitmap,int,render,float,coordx,float,coordy,float,sizemap,float,size
  declarexfunction nothing,gx_particle_setpos,float,posx,float,posy,float,posz,int,sector
  declarexfunction nothing,gx_particle_setang,float,angx,float,angy,float,angz
  declarexfunction nothing,gx_particle_setemittersize,float,sizex,float,sizey,float,sizez
  declarexfunction nothing,gx_particle_setvector,float,vectx,float,vecty,float,vectz
  declarexfunction nothing,gx_particle_setrotation,float,rotx,float,roty,float,rotz
  declarexfunction nothing,gx_particle_setglobalcolor,int,red,int,green,int,blue
  declarexfunction nothing,gx_particle_setstartcolor,int,alphatime,int,colortime
  declarexfunction nothing,gx_particle_setcolor,float,startalpha,float,startred,float,startgreen,float,startblue,float,endalpha,float,endred,float,endgreen,float,endblue
  declarexfunction nothing,gx_particle_setscale,float,startscale,float,endscale
  declarexfunction nothing,gx_particle_setgravity,float,speed,float,gravity,float,ground
  declarexfunction int,gx_particle_launch,gx_tbase,ptr_tbase,int,nbparticle
  declarexfunction nothing,gx_particle_delete,gx_tparticle,ptr_tparticle
  declarexfunction nothing,gx_particle_deleteall,nothing
  declarexfunction nothing,gx_particle_getzlimit,rfloat,zmin,rfloat,zmax
  declarexfunction nothing,gx_particle_setzlimit,float,zmin,float,zmax
  declarexfunction nothing,gx_particle_manage,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_particle_display,gx_tbase,ptr_tbase
  declarexfunction gx_txarray,gx_particle_getxarray,gx_tbase,ptr_tbase
  declarexfunction int,gx_particle_getflag,gx_tparticle,ptr_tparticle
  declarexfunction gx_tmodel,gx_particle_getmodel,gx_tparticle,ptr_tparticle
  declarexfunction int,gx_particle_getmaterial,gx_tparticle,ptr_tparticle
  declarexfunction int,gx_particle_getrender,gx_tparticle,ptr_tparticle
  declarexfunction nothing,gx_particle_gettexmap,gx_tparticle,ptr_tparticle,rfloat,coordx,rfloat,coordy,rfloat,coordsize
  declarexfunction nothing,gx_particle_getpos,gx_tparticle,ptr_tparticle,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_particle_getang,gx_tparticle,ptr_tparticle,rfloat,angx,rfloat,angy,rfloat,angz
  declarexfunction nothing,gx_particle_getglobalcolor,gx_tparticle,ptr_tparticle,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_particle_getcolor,gx_tparticle,ptr_tparticle,rfloat,alpha,rfloat,red,rfloat,green,rfloat,blue,rfloat,deltaalpha,rfloat,deltared,rfloat,deltagreen,rfloat,deltablue
  declarexfunction nothing,gx_particle_getscale,gx_tparticle,ptr_tparticle,rfloat,scale,rfloat,scalerandom,rfloat,deltascale
  declarexfunction nothing,gx_particle_getvector,gx_tparticle,ptr_tparticle,rfloat,vectx,rfloat,vecty,rfloat,vectz
  declarexfunction nothing,gx_particle_getrotation,gx_tparticle,ptr_tparticle,rfloat,rotx,rfloat,roty,rfloat,rotz,rfloat,rotxrandom,rfloat,rotyrandom,rfloat,rotzrandom
  declarexfunction float,gx_particle_getground,gx_tparticle,ptr_tparticle
  declarexfunction int,gx_particle_getlifecount,gx_tparticle,ptr_tparticle
  declarexfunction float,gx_particle_getmaxspeed,gx_tparticle,ptr_tparticle
  declarexfunction float,gx_particle_getstarty,gx_tparticle,ptr_tparticle
  declarexfunction nothing,gx_particle_getgravity,gx_tparticle,ptr_tparticle,rfloat,speedgravity,rfloat,gravity,rint,gravitycount
  declarexfunction int,gx_particle_getcount,gx_tparticle,ptr_tparticle
  declarexfunction nothing,gx_particle_changepos,gx_tparticle,ptr_tparticle,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_particle_changeang,gx_tparticle,ptr_tparticle,float,angx,float,angy,float,angz
  declarexfunction nothing,gx_particle_changescale,gx_tparticle,ptr_tparticle,float,scale
  declarexfunction void,gx_particle_getuserpointer,gx_tparticle,ptr_tparticle
  declarexfunction nothing,gx_particle_setuserpointer,gx_tparticle,ptr_tparticle,void,pointer
  declarexfunction gx_tparticleemitter,gx_particle_emitternew,nothing
  declarexfunction nothing,gx_particle_emitterfree,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction gx_tparticleemitter,gx_particle_emitterload,string,filename
  declarexfunction gx_tparticleemitter,gx_particle_emitterloadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_particle_emittersave,gx_tparticleemitter,ptr_tparticleemitter,string,filename
  declarexfunction int,gx_particle_emittersavechunk,gx_tparticleemitter,ptr_tparticleemitter,int,filenum
  declarexfunction gx_tparticleemitter,gx_particle_emittercopy,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittermanage,gx_tparticleemitter,ptr_tparticleemitter,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_particle_emitterrestart,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emitterstop,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction int,gx_particle_emitterisrunning,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction int,gx_particle_emittergetuserid,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetuserid,gx_tparticleemitter,ptr_tparticleemitter,int,id
  declarexfunction void,gx_particle_emittergetuserpointer,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetuserpointer,gx_tparticleemitter,ptr_tparticleemitter,void,pointer
  declarexfunction nothing,gx_particle_emittergetpos,gx_tparticleemitter,ptr_tparticleemitter,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_particle_emittersetpos,gx_tparticleemitter,ptr_tparticleemitter,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_particle_emittergetang,gx_tparticleemitter,ptr_tparticleemitter,rfloat,angx,rfloat,angy,rfloat,angz
  declarexfunction nothing,gx_particle_emittersetang,gx_tparticleemitter,ptr_tparticleemitter,float,angx,float,angy,float,angz
  declarexfunction int,gx_particle_emittergetlocktocamera,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlocktocamera,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction float,gx_particle_emittergetcameraheight,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetcameraheight,gx_tparticleemitter,ptr_tparticleemitter,float,cameraheight
  declarexfunction int,gx_particle_emittergetcollision,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetcollision,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetgravity,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetgravity,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetrandomdirection,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrandomdirection,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetrandomang,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrandomang,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetrandomscale,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrandomscale,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetrandomvector,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrandomvector,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetrandomrotation,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrandomrotation,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetlockangx,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlockangx,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetlockangy,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlockangy,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetlockangz,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlockangz,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction int,gx_particle_emittergetlifecount,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlifecount,gx_tparticleemitter,ptr_tparticleemitter,int,lifecount
  declarexfunction float,gx_particle_emittergetmaxspeed,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetmaxspeed,gx_tparticleemitter,ptr_tparticleemitter,float,maxspeed
  declarexfunction string,gx_particle_emittergetactorname,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetactorname,gx_tparticleemitter,ptr_tparticleemitter,string,name
  declarexfunction gx_tactor,gx_particle_emittergetactor,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetactor,gx_tparticleemitter,ptr_tparticleemitter,gx_tactor,ptr_tactor
  declarexfunction string,gx_particle_emittergetmodelname,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetmodelname,gx_tparticleemitter,ptr_tparticleemitter,string,name
  declarexfunction gx_tmodel,gx_particle_emittergetmodel,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetmodel,gx_tparticleemitter,ptr_tparticleemitter,gx_tmodel,ptr_tmodel
  declarexfunction string,gx_particle_emittergetmaterialname,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetmaterialname,gx_tparticleemitter,ptr_tparticleemitter,string,name
  declarexfunction int,gx_particle_emittergetmaterial,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetmaterial,gx_tparticleemitter,ptr_tparticleemitter,int,nummaterial
  declarexfunction gx_tbitmap,gx_particle_emittergetbitmap,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetbitmap,gx_tparticleemitter,ptr_tparticleemitter,gx_tbitmap,ptr_tbitmap
  declarexfunction int,gx_particle_emittergetrender,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetrender,gx_tparticleemitter,ptr_tparticleemitter,int,render
  declarexfunction nothing,gx_particle_emittergettexmap,gx_tparticleemitter,ptr_tparticleemitter,rfloat,mapx,rfloat,mapy
  declarexfunction nothing,gx_particle_emittersettexmap,gx_tparticleemitter,ptr_tparticleemitter,float,mapx,float,mapy
  declarexfunction float,gx_particle_emittergetsizemap,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetsizemap,gx_tparticleemitter,ptr_tparticleemitter,float,sizemap
  declarexfunction float,gx_particle_emittergetsize,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetsize,gx_tparticleemitter,ptr_tparticleemitter,float,size
  declarexfunction int,gx_particle_emittergetperiod,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetperiod,gx_tparticleemitter,ptr_tparticleemitter,int,period
  declarexfunction nothing,gx_particle_emittergetboxsize,gx_tparticleemitter,ptr_tparticleemitter,rfloat,sizex,rfloat,sizey,rfloat,sizez
  declarexfunction nothing,gx_particle_emittersetboxsize,gx_tparticleemitter,ptr_tparticleemitter,float,sizex,float,sizey,float,sizez
  declarexfunction int,gx_particle_emittergetlife,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetlife,gx_tparticleemitter,ptr_tparticleemitter,int,life
  declarexfunction int,gx_particle_emittergetpause,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetpause,gx_tparticleemitter,ptr_tparticleemitter,int,life
  declarexfunction nothing,gx_particle_emittergetvector,gx_tparticleemitter,ptr_tparticleemitter,rfloat,vectorx,rfloat,vectory,rfloat,vectorz
  declarexfunction nothing,gx_particle_emittersetvector,gx_tparticleemitter,ptr_tparticleemitter,float,vectorx,float,vectory,float,vectorz
  declarexfunction nothing,gx_particle_emittergetrotation,gx_tparticleemitter,ptr_tparticleemitter,rfloat,rotationx,rfloat,rotationy,rfloat,rotationz
  declarexfunction nothing,gx_particle_emittersetrotation,gx_tparticleemitter,ptr_tparticleemitter,float,rotationx,float,rotationy,float,rotationz
  declarexfunction nothing,gx_particle_emittergetglobalcolor,gx_tparticleemitter,ptr_tparticleemitter,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_particle_emittersetglobalcolor,gx_tparticleemitter,ptr_tparticleemitter,int,red,int,green,int,blue
  declarexfunction nothing,gx_particle_emittergetstartcolortime,gx_tparticleemitter,ptr_tparticleemitter,rint,alphatime,rint,colortime
  declarexfunction nothing,gx_particle_emittersetstartcolortime,gx_tparticleemitter,ptr_tparticleemitter,int,alphatime,int,colortime
  declarexfunction nothing,gx_particle_emittergetstartcolor,gx_tparticleemitter,ptr_tparticleemitter,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_particle_emittersetstartcolor,gx_tparticleemitter,ptr_tparticleemitter,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_particle_emittergetendcolor,gx_tparticleemitter,ptr_tparticleemitter,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_particle_emittersetendcolor,gx_tparticleemitter,ptr_tparticleemitter,int,alpha,int,red,int,green,int,blue
  declarexfunction float,gx_particle_emittergetstartscale,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetstartscale,gx_tparticleemitter,ptr_tparticleemitter,float,scale
  declarexfunction float,gx_particle_emittergetendscale,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetendscale,gx_tparticleemitter,ptr_tparticleemitter,float,scale
  declarexfunction float,gx_particle_emittergetgravityspeed,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetgravityspeed,gx_tparticleemitter,ptr_tparticleemitter,float,gravityspeed
  declarexfunction float,gx_particle_emittergetgravityfactor,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetgravityfactor,gx_tparticleemitter,ptr_tparticleemitter,float,gravityfactor
  declarexfunction float,gx_particle_emittergetgravityground,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetgravityground,gx_tparticleemitter,ptr_tparticleemitter,float,gravityground
  declarexfunction int,gx_particle_emittergetnbparticle,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetnbparticle,gx_tparticleemitter,ptr_tparticleemitter,int,nbparticle
  declarexfunction float,gx_particle_emittergetdistancemax,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emittersetdistancemax,gx_tparticleemitter,ptr_tparticleemitter,float,distancemax
  declarexfunction int,gx_particle_emitterisenabled,gx_tparticleemitter,ptr_tparticleemitter
  declarexfunction nothing,gx_particle_emitterenable,gx_tparticleemitter,ptr_tparticleemitter,int,flag
  declarexfunction nothing,gx_particle_managerinstall,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_particle_manageruninstall,nothing
  declarexfunction gx_tparticleemitter,gx_particle_managerlaunchfromemitter,gx_tparticleemitter,ptr_tparticleemitter,int,id
  declarexfunction gx_tparticleemitter,gx_particle_managerlaunchfrombundle,int,index
  declarexfunction gx_tparticleemitter,gx_particle_managerlaunchfromfile,string,filename,int,id
  declarexfunction int,gx_particle_managerinsertemitter,gx_tparticleemitter,ptr_tparticleemitter,int,id
  declarexfunction int,gx_particle_managergetnbemitter,nothing
  declarexfunction gx_tparticleemitter,gx_particle_managergetindexedemitter,int,index
  declarexfunction nothing,gx_particle_managermanage,nothing
  declarexfunction nothing,gx_particle_managerdisplay,nothing
  declarexfunction gx_tparticleemitter,gx_particle_editor,gx_tparticleemitter,ptr_tparticleemitter
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tworld
endgroup

/* ------- */
/* gx_path */
/* ------- */
group gx_path
  typedef gx_tpath
  classtype gx_path,gx_tpath

  declarexfunction int,gx_path_ginstall,nothing
  declarexfunction void,gx_path_getparentclass,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setparentclass,gx_tpath,ptr_tpath,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tpath,gx_path_new,nothing
  declarexfunction gx_tpath,gx_path_load,string,filename
  declarexfunction gx_tpath,gx_path_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_path_save,gx_tpath,ptr_tpath,string,filename
  declarexfunction int,gx_path_savechunk,gx_tpath,ptr_tpath,int,filenum
  declarexfunction gx_tpath,gx_path_loadgxml,string,filename
  declarexfunction gx_tpath,gx_path_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_path_savegxml,gx_tpath,ptr_tpath,string,filename
  declarexfunction int,gx_path_savegxmlchunk,gx_tpath,ptr_tpath,int,filenum
  declarexfunction gx_tpath,gx_path_loadall,string,filename
  declarexfunction nothing,gx_path_saveall,gx_tpath,ptr_tpath,string,filename
  declarexfunction nothing,gx_path_free,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_addref,gx_tpath,ptr_tpath
  declarexfunction int,gx_path_getref,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_deleteall,gx_tpath,ptr_tpath
  declarexfunction gx_tpath,gx_path_copy,gx_tpath,ptr_tpath
  declarexfunction string,gx_path_getname,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setname,gx_tpath,ptr_tpath,string,name
  declarexfunction nothing,gx_path_importscene,gx_tpath,ptr_tpath,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_path_move,gx_tpath,ptr_tpath,float,deltax,float,deltay,float,deltaz
  declarexfunction int,gx_path_getnbkey,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_insertkey,gx_tpath,ptr_tpath,int,numkey
  declarexfunction nothing,gx_path_deletekey,gx_tpath,ptr_tpath,int,numkey
  declarexfunction int,gx_path_getanimationspeed,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setanimationspeed,gx_tpath,ptr_tpath,int,animationspeed
  declarexfunction float,gx_path_getmaxcount,gx_tpath,ptr_tpath,int,flagloop
  declarexfunction float,gx_path_getcount,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setcount,gx_tpath,ptr_tpath,float,count
  declarexfunction nothing,gx_path_getkey,gx_tpath,ptr_tpath,int,numkey,rfloat,posx,rfloat,posy,rfloat,posz,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_path_setkey,gx_tpath,ptr_tpath,int,numkey,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_path_getcurrentkey,gx_tpath,ptr_tpath,rfloat,posx,rfloat,posy,rfloat,posz,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_path_tessellate,gx_tpath,ptr_tpath,float,distancemax
  declarexfunction nothing,gx_path_recaletofloor,gx_tpath,ptr_tpath,gx_tworld,ptr_tworld,float,radius,int,collisionid
  declarexfunction float,gx_path_getdistancefrompoint,gx_tpath,ptr_tpath,rfloat,posx,rfloat,posy,rfloat,posz,rint,keysegment
  declarexfunction int,gx_path_getcollisionid,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setcollisionid,gx_tpath,ptr_tpath,int,collisionid
  declarexfunction int,gx_path_getsector,gx_tpath,ptr_tpath
  declarexfunction nothing,gx_path_setsector,gx_tpath,ptr_tpath,int,sector
  declarexfunction int,gx_path_testcol3dcylinder,gx_tpath,ptr_tpath,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_path_testcol3dsphere,gx_tpath,ptr_tpath,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction nothing,gx_path_property,gx_tpath,ptr_tpath
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tworld
endgroup

/* ----------- */
/* gx_pathfind */
/* ----------- */
group gx_pathfind
  typedef gx_tpathfind
  classtype gx_pathfind,gx_tpathfind

  declarexfunction int,gx_pathfind_ginstall,nothing
  declarexfunction void,gx_pathfind_getparentclass,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_setparentclass,gx_tpathfind,ptr_tpathfind,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tpathfind,gx_pathfind_new,nothing
  declarexfunction gx_tpathfind,gx_pathfind_load,string,filename
  declarexfunction gx_tpathfind,gx_pathfind_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_pathfind_save,gx_tpathfind,ptr_tpathfind,string,filename
  declarexfunction int,gx_pathfind_savechunk,gx_tpathfind,ptr_tpathfind,int,filenum
  declarexfunction gx_tpathfind,gx_pathfind_loadgxml,string,filename
  declarexfunction gx_tpathfind,gx_pathfind_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_pathfind_savegxml,gx_tpathfind,ptr_tpathfind,string,filename
  declarexfunction int,gx_pathfind_savegxmlchunk,gx_tpathfind,ptr_tpathfind,int,filenum
  declarexfunction gx_tpathfind,gx_pathfind_loadall,string,filename
  declarexfunction nothing,gx_pathfind_saveall,gx_tpathfind,ptr_tpathfind,string,filename
  declarexfunction nothing,gx_pathfind_free,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_addref,gx_tpathfind,ptr_tpathfind
  declarexfunction int,gx_pathfind_getref,gx_tpathfind,ptr_tpathfind
  declarexfunction gx_tpathfind,gx_pathfind_copy,gx_tpathfind,ptr_tpathfind
  declarexfunction string,gx_pathfind_getname,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_setname,gx_tpathfind,ptr_tpathfind,string,name
  declarexfunction int,gx_pathfind_getnbnode,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_insertnode,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_deletenode,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction int,gx_pathfind_getnamednode,gx_tpathfind,ptr_tpathfind,string,nodename
  declarexfunction string,gx_pathfind_getnodename,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction nothing,gx_pathfind_setnodename,gx_tpathfind,ptr_tpathfind,int,numnode,string,name
  declarexfunction int,gx_pathfind_getnodeid,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction nothing,gx_pathfind_setnodeid,gx_tpathfind,ptr_tpathfind,int,numnode,int,id
  declarexfunction nothing,gx_pathfind_getnodepos,gx_tpathfind,ptr_tpathfind,int,numnode,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_pathfind_setnodepos,gx_tpathfind,ptr_tpathfind,int,numnode,float,posx,float,posy,float,posz
  declarexfunction float,gx_pathfind_getnoderadius,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction nothing,gx_pathfind_setnoderadius,gx_tpathfind,ptr_tpathfind,int,numnode,float,radius
  declarexfunction int,gx_pathfind_getnodesector,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction nothing,gx_pathfind_setnodesector,gx_tpathfind,ptr_tpathfind,int,numnode,int,sector
  declarexfunction nothing,gx_pathfind_linknode,gx_tpathfind,ptr_tpathfind,int,numnode,int,numtargetnode,float,radius
  declarexfunction nothing,gx_pathfind_unlinknode,gx_tpathfind,ptr_tpathfind,int,numnode,int,numtargetnode
  declarexfunction nothing,gx_pathfind_unlinkall,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_autolink,gx_tpathfind,ptr_tpathfind,gx_tworld,ptr_tworld,float,radius,int,collisionid
  declarexfunction int,gx_pathfind_getnodenblink,gx_tpathfind,ptr_tpathfind,int,numnode
  declarexfunction int,gx_pathfind_getnodelink,gx_tpathfind,ptr_tpathfind,int,numnode,int,numlink
  declarexfunction float,gx_pathfind_getnodelinkradius,gx_tpathfind,ptr_tpathfind,int,numnode,int,numlink
  declarexfunction int,gx_pathfind_isnodelinked,gx_tpathfind,ptr_tpathfind,int,numnode,int,numtargetnode
  declarexfunction nothing,gx_pathfind_tessellate,gx_tpathfind,ptr_tpathfind,gx_tworld,ptr_tworld,int,collisionid
  declarexfunction nothing,gx_pathfind_move,gx_tpathfind,ptr_tpathfind,float,deltax,float,deltay,float,deltaz
  declarexfunction nothing,gx_pathfind_recaletofloor,gx_tpathfind,ptr_tpathfind,gx_tworld,ptr_tworld,float,radius,int,collisionid
  declarexfunction nothing,gx_pathfind_cleanup,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_buildway,gx_tpathfind,ptr_tpathfind
  declarexfunction nothing,gx_pathfind_deleteway,gx_tpathfind,ptr_tpathfind
  declarexfunction int,gx_pathfind_getwaypresent,gx_tpathfind,ptr_tpathfind
  declarexfunction int,gx_pathfind_getnodeway,gx_tpathfind,ptr_tpathfind,int,numsrcnode,int,numdstnode,rint,nextnode,rfloat,radius,rfloat,distance
  declarexfunction int,gx_pathfind_findnode3d,gx_tpathfind,ptr_tpathfind,gx_tworld,ptr_tworld,float,posx,float,posy,float,posz,int,id,rfloat,radius,rfloat,distance
  declarexfunction int,gx_pathfind_findnode2d,gx_tpathfind,ptr_tpathfind,gx_tworld,ptr_tworld,float,posx,float,posy,float,posz,int,id,rfloat,radius,rfloat,distance
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbase
  typedef gx_tactor
endgroup

/* --------- */
/* gx_physic */
/* --------- */
group gx_physic
  typedef gx_tphysic
  classtype gx_physic,gx_tphysic

  enum 0
    dim gx_physic_typerigidbodysphere,1
    dim gx_physic_typerigidbodycylinder,1
    dim gx_physic_typerigidbodybox,1
    dim gx_physic_typerigidbodyfull,1
  endenum

  declarexfunction int,gx_physic_ginstall,nothing
  declarexfunction void,gx_physic_getparentclass,gx_tphysic,ptr_tphysic
  declarexfunction nothing,gx_physic_setparentclass,gx_tphysic,ptr_tphysic,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction nothing,gx_physic_install,gx_tbase,ptr_tbase
  declarexfunction nothing,gx_physic_uninstall,nothing
  declarexfunction gx_tphysic,gx_physic_new,nothing
  declarexfunction nothing,gx_physic_free,gx_tphysic,ptr_tphysic
  declarexfunction nothing,gx_physic_addref,gx_tphysic,ptr_tphysic
  declarexfunction int,gx_physic_getref,gx_tphysic,ptr_tphysic
  declarexfunction gx_tactor,gx_physic_getactor,gx_tphysic,ptr_tphysic
  declarexfunction nothing,gx_physic_setactor,gx_tphysic,ptr_tphysic,gx_tactor,ptr_tactor
  declarexfunction int,gx_physic_gettype,gx_tphysic,ptr_tphysic
  declarexfunction nothing,gx_physic_settype,gx_tphysic,ptr_tphysic,int,type
  declarexfunction float,gx_physic_getgravity,gx_tphysic,ptr_tphysic
  declarexfunction nothing,gx_physic_setgravity,gx_tphysic,ptr_tphysic,float,gravity
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tactor
endgroup

/* --------- */
/* gx_player */
/* --------- */
group gx_player
  typedef gx_tplayer
  classtype gx_player,gx_tplayer

  enum 0
    dim gx_player_statestandard,1
    dim gx_player_statejumpstart,1
    dim gx_player_statejump,1
    dim gx_player_statejumpend,1
    dim gx_player_statefight,1
    dim gx_player_statehit,1
    dim gx_player_statedeath,1
    dim gx_player_statedead,1
    dim gx_player_numstate,1
  endenum

  define gx_player_flagmove,0x1
  define gx_player_flagrun,0x2
  define gx_player_flagjump,0x4

  declarexfunction int,gx_player_ginstall,nothing
  declarexfunction void,gx_player_getparentclass,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setparentclass,gx_tplayer,ptr_tplayer,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tplayer,gx_player_new,nothing
  declarexfunction nothing,gx_player_free,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_addref,gx_tplayer,ptr_tplayer
  declarexfunction int,gx_player_getref,gx_tplayer,ptr_tplayer
  declarexfunction gx_tactor,gx_player_getactor,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setactor,gx_tplayer,ptr_tplayer,gx_tactor,ptr_tactor
  declarexfunction int,gx_player_getflag,gx_tplayer,ptr_tplayer
  declarexfunction int,gx_player_getstate,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setstate,gx_tplayer,ptr_tplayer,int,state
  declarexfunction nothing,gx_player_enable,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_disable,gx_tplayer,ptr_tplayer
  declarexfunction int,gx_player_isenabled,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setheadangxlimit,gx_tplayer,ptr_tplayer,int,min,int,max
  declarexfunction int,gx_player_getkeyup,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyup,gx_tplayer,ptr_tplayer,int,keyup
  declarexfunction int,gx_player_getkeydown,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeydown,gx_tplayer,ptr_tplayer,int,keydown
  declarexfunction int,gx_player_getkeyleft,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyleft,gx_tplayer,ptr_tplayer,int,keyleft
  declarexfunction int,gx_player_getkeyright,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyright,gx_tplayer,ptr_tplayer,int,keyright
  declarexfunction int,gx_player_getkeyturnx,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyturnx,gx_tplayer,ptr_tplayer,int,keyturnx
  declarexfunction int,gx_player_getkeyturny,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyturny,gx_tplayer,ptr_tplayer,int,keyturny
  declarexfunction int,gx_player_getkeyrun,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyrun,gx_tplayer,ptr_tplayer,int,keyrun
  declarexfunction int,gx_player_getkeyjump,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyjump,gx_tplayer,ptr_tplayer,int,keyjump
  declarexfunction int,gx_player_getkeyfire,gx_tplayer,ptr_tplayer
  declarexfunction nothing,gx_player_setkeyfire,gx_tplayer,ptr_tplayer,int,keyfire
  declarexfunction nothing,gx_player_ressurect,gx_tplayer,ptr_tplayer,float,life
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tlibrary
  typedef gx_texternplugin
endgroup

/* --------- */
/* gx_plugin */
/* --------- */
group gx_plugin
  typedef gx_tplugin
  classtype gx_plugin,gx_tplugin

  declarexfunction int,gx_plugin_ginstall,nothing
  declarexfunction nothing,gx_plugin_install,nothing
  declarexfunction nothing,gx_plugin_uninstall,nothing
  declarexfunction int,gx_plugin_callbackgetintparameter,int,index
  declarexfunction nothing,gx_plugin_callbacksetintparameter,int,index,int,value
  declarexfunction float,gx_plugin_callbackgetfloatparameter,int,index
  declarexfunction nothing,gx_plugin_callbacksetfloatparameter,int,index,float,value
  declarexfunction long,gx_plugin_callbackgetlongparameter,int,index
  declarexfunction nothing,gx_plugin_callbacksetlongparameter,int,index,long,value
  declarexfunction void,gx_plugin_callbackgetvoidparameter,int,index
  declarexfunction nothing,gx_plugin_callbacksetvoidparameter,int,index,void,value
  declarexfunction void,gx_plugin_callbackinsert,string,name,void,callback,int,flagmultiple
  declarexfunction nothing,gx_plugin_callbackdelete,void,handle
  declarexfunction int,gx_plugin_callbackdeletefunction,string,name,void,callback
  declarexfunction nothing,gx_plugin_callbackremovename,void,handle
  declarexfunction nothing,gx_plugin_callbackfree,nothing
  declarexfunction int,gx_plugin_callbackgetnbfunction,nothing
  declarexfunction void,gx_plugin_callbackgetindexedfunction,int,index,string,name,rvoid,callback
  declarexfunction void,gx_plugin_callbackgetlastfunction,void,handle,string,name,rvoid,callback
  declarexfunction void,gx_plugin_callbackgetnextfunction,void,handle,string,name,rvoid,callback
  declarexfunction void,gx_plugin_callbackgetnamedfunction,string,name
  declarexfunction string,gx_plugin_callbackgetname,void,handle
  declarexfunction int,gx_plugin_callbackgetindex,void,handle
  declarexfunction int,gx_plugin_callbackrunintfunction,void,handle
  declarexfunction float,gx_plugin_callbackrunfloatfunction,void,handle
  declarexfunction long,gx_plugin_callbackrunlongfunction,void,handle
  declarexfunction void,gx_plugin_callbackrunvoidfunction,void,handle
  declarexfunction int,gx_plugin_registerclass,string,name
  declarexfunction nothing,gx_plugin_initexternplugin,gx_texternplugin,ptr_texternplugin
  declarexfunction gx_tlibrary,gx_plugin_installlibrary,string,filename
  declarexfunction nothing,gx_plugin_uninstalllibrary,gx_tlibrary,ptr_tlibrary
  declarexfunction int,gx_plugin_getnblibrary,nothing
  declarexfunction gx_tlibrary,gx_plugin_getindexedlibrary,int,index
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ---------- */
/* gx_profile */
/* ---------- */
group gx_profile
  typedef gx_tprofile
  classtype gx_profile,gx_tprofile

  enum 0
    dim gx_profileelementtype_value,1
    dim gx_profileelementtype_time,1
    dim gx_profileelementtype_string,1
  endenum

  enum 0
    dim gx_profileelementid_fasttimer,1
    dim gx_profileelementid_timer,1
    dim gx_profileelementid_timercount,1
    dim gx_profileelementid_fps,1
    dim gx_profileelementid_nbfacefan,1
    dim gx_profileelementid_nbface,1
    dim gx_profileelementid_gputransfert,1
    dim gx_profileelementid_light,1
    dim gx_profileelementid_render,1
    dim gx_profileelementid_base,1
    dim gx_profileelementid_flush,1
    dim gx_profileelementid_profile,1
    dim gx_profileelementid_nbcollision,1
    dim gx_profileelementid_nbcolprimitive,1
    dim gx_profileelementid_collision,1
    dim gx_profileelementid_shadow,1
    dim gx_profileelementid_shadowprimitive,1
    dim gx_profileelementid_other,1
    dim gx_profileelementid_sector,1
    dim gx_profileelementid_gelbase,1
    dim gx_profileelementid_gelinstruction,1
    dim gx_profileelementid_soundvoice,1
    dim gx_profileelementid_memory,1
    dim gx_profileelementid_vram,1
    dim gx_profileelementid_memdetail,1
    dim gx_profileelementid_camerapos,1
    dim gx_profileelementid_network,1
  endenum

  declarexfunction int,gx_profile_ginstall,nothing
  declarexfunction nothing,gx_profile_install,nothing
  declarexfunction nothing,gx_profile_uninstall,nothing
  declarexfunction nothing,gx_profile_clear,nothing
  declarexfunction int,gx_profile_getnbelement,nothing
  declarexfunction nothing,gx_profile_insertelement,string,name,int,type
  declarexfunction string,gx_profile_getelementname,int,index
  declarexfunction int,gx_profile_getnamedelement,string,name
  declarexfunction int,gx_profile_getelementtype,int,index
  declarexfunction int,gx_profile_getelementvalue,int,index
  declarexfunction nothing,gx_profile_beginelementtime,int,index
  declarexfunction nothing,gx_profile_endelementtime,int,index
  declarexfunction nothing,gx_profile_addelementcount,int,index,int,value
  declarexfunction nothing,gx_profile_setelementcount,int,index,int,value
  declarexfunction nothing,gx_profile_setelementstring,int,index,string,text
  declarexfunction nothing,gx_profile_generatedisplaystring,int,index,string,text
  declarexfunction nothing,gx_profile_displayconsole,nothing
  declarexfunction nothing,gx_profile_display2d,nothing
  declarexfunction nothing,gx_profile_fastdisplay3d,nothing
  declarexfunction nothing,gx_profile_display3d,nothing
  declarexfunction nothing,gx_profile_enable,nothing
  declarexfunction nothing,gx_profile_disable,nothing
  declarexfunction int,gx_profile_isenabled,nothing
  declarexfunction nothing,gx_profile_lock,nothing
  declarexfunction nothing,gx_profile_unlock,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tvcpu
  typedef gx_tactor
  typedef gx_tweapon
endgroup

/* ------------- */
/* gx_projectile */
/* ------------- */
group gx_projectile
  typedef gx_tprojectile
  classtype gx_projectile,gx_tprojectile

  declarexfunction int,gx_projectile_ginstall,nothing
  declarexfunction gx_tprojectile,gx_projectile_create,int,nummodel,gx_tweapon,ptr_tweapon,gx_tvcpu,ptr_tvcpu,int,labelinstall,int,labeluninstall,int,labelmanage,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_projectile_delete,gx_tprojectile,ptr_tprojectile
  declarexfunction gx_tactor,gx_projectile_getactor,gx_tprojectile,ptr_tprojectile
  declarexfunction gx_tweapon,gx_projectile_getweapon,gx_tprojectile,ptr_tprojectile
  declarexfunction nothing,gx_projectile_manage,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_txarray
  typedef gx_tmatrix
endgroup

/* ----------- */
/* gx_quadtree */
/* ----------- */
group gx_quadtree
  typedef gx_tquadtree
  classtype gx_quadtree,gx_tquadtree

  declarexfunction int,gx_quadtree_ginstall,nothing
  declarexfunction void,gx_quadtree_getparentclass,gx_tquadtree,ptr_tquadtree
  declarexfunction nothing,gx_quadtree_setparentclass,gx_tquadtree,ptr_tquadtree,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tquadtree,gx_quadtree_new,float,posx,float,posy,float,sizex,float,sizey,float,cellsizex,float,cellsizey
  declarexfunction nothing,gx_quadtree_free,gx_tquadtree,ptr_tquadtree
  declarexfunction nothing,gx_quadtree_addref,gx_tquadtree,ptr_tquadtree
  declarexfunction int,gx_quadtree_getref,gx_tquadtree,ptr_tquadtree
  declarexfunction gx_tquadtree,gx_quadtree_copy,gx_tquadtree,ptr_tquadtree
  declarexfunction int,gx_quadtree_getnbcellline,gx_tquadtree,ptr_tquadtree
  declarexfunction nothing,gx_quadtree_getpos,gx_tquadtree,ptr_tquadtree,rfloat,posx,rfloat,posy
  declarexfunction nothing,gx_quadtree_setpos,gx_tquadtree,ptr_tquadtree,float,posx,float,posy
  declarexfunction nothing,gx_quadtree_getoriginalsize,gx_tquadtree,ptr_tquadtree,rfloat,sizex,rfloat,sizey
  declarexfunction nothing,gx_quadtree_getsize,gx_tquadtree,ptr_tquadtree,rfloat,sizex,rfloat,sizey
  declarexfunction nothing,gx_quadtree_getcellsize,gx_tquadtree,ptr_tquadtree,rfloat,sizex,rfloat,sizey
  declarexfunction nothing,gx_quadtree_getcellpos,gx_tquadtree,ptr_tquadtree,int,x,int,y,rfloat,posx,rfloat,posy
  declarexfunction nothing,gx_quadtree_findcell,gx_tquadtree,ptr_tquadtree,float,posx,float,posy,rint,x,rint,y
  declarexfunction gx_txarray,gx_quadtree_getcellxarray,gx_tquadtree,ptr_tquadtree,int,x,int,y
  declarexfunction nothing,gx_quadtree_setcellxarray,gx_tquadtree,ptr_tquadtree,int,x,int,y,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_quadtree_display,gx_tquadtree,ptr_tquadtree,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tmatrix
  typedef gx_txmatrix
  typedef gx_tmaterial
  typedef gx_tscene
endgroup

/* --------- */
/* gx_render */
/* --------- */
group gx_render
  typedef gx_trender
  classtype gx_render,gx_trender

  define gx_render_transformflagperspective,0x1
  define gx_render_maxtexturesize,4096

  enum 0
    dim gx_render_polygon2d,1
    dim gx_render_polygon3d,1
    dim gx_render_twosided3d,1
    dim gx_render_sprite3d,1
  endenum
  
  enum 0
    dim gx_render_shadermodedirect,1
    dim gx_render_shadermodedynamic,1
    dim gx_render_shadermodestatic,1
  endenum

  declarexfunction int,gx_render_ginstall,nothing
  declarexfunction nothing,gx_render_install,nothing
  declarexfunction nothing,gx_render_uninstall,nothing
  declarexfunction int,gx_render_getvramusage,nothing
  declarexfunction nothing,gx_render_setvramusage,int,size
  declarexfunction gx_tmaterial,gx_render_getgpulastmaterial,nothing
  declarexfunction nothing,gx_render_setgpulastmaterial,gx_tmaterial,ptr_tmaterial
  declarexfunction void,gx_render_getgpudrivermaterial,nothing
  declarexfunction nothing,gx_render_setgpudrivermaterial,void,handle
  declarexfunction int,gx_render_getgpulastrender,nothing
  declarexfunction nothing,gx_render_setgpulastrender,int,render
  declarexfunction int,gx_render_getgpulastprogram,nothing
  declarexfunction nothing,gx_render_setgpulastprogram,int,program
  declarexfunction void,gx_render_loadgpustaticgeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_render_unloadgpustaticgeom,void,handle
  declarexfunction nothing,gx_render_drawgpustaticgeom,void,handle
  declarexfunction void,gx_render_loadgpudynamicgeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_render_unloadgpudynamicgeom,void,handle
  declarexfunction nothing,gx_render_drawgpudynamicgeom,void,handle
  declarexfunction nothing,gx_render_xfastpoint2d,int,x,int,y,int,color
  declarexfunction nothing,gx_render_fastpoint2d,float,x,float,y,int,color
  declarexfunction nothing,gx_render_xfastpoint3d,int,posx,int,posy,int,posz,gx_txmatrix,ptr_txmatrix,int,x,int,y,int,z,int,color
  declarexfunction nothing,gx_render_fastpoint3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,x,float,y,float,z,int,color
  declarexfunction nothing,gx_render_xfastline2d,int,x1,int,y1,int,x2,int,y2,int,color
  declarexfunction nothing,gx_render_fastline2d,float,x1,float,y1,float,x2,float,y2,int,color
  declarexfunction nothing,gx_render_xfastline3d,int,posx,int,posy,int,posz,gx_tmatrix,ptr_tmatrix,int,x1,int,y1,int,z1,int,x2,int,y2,int,z2,int,color
  declarexfunction nothing,gx_render_fastline3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,x1,float,y1,float,z1,float,x2,float,y2,float,z2,int,color
  declarexfunction nothing,gx_render_fastsphere2d,float,x,float,y,float,radius,int,color
  declarexfunction nothing,gx_render_fastsphere3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,x,float,y,float,z,float,radius,int,color
  declarexfunction nothing,gx_render_fastbox2d,float,x,float,y,float,sizex,float,sizey,int,color
  declarexfunction nothing,gx_render_fastbox3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,x,float,y,float,z,float,sizex,float,sizey,float,sizez,int,color
  declarexfunction nothing,gx_render_fastprint,string,string,int,color
  declarexfunction nothing,gx_render_fastprint2d,float,x,float,y,string,string,int,color
  declarexfunction nothing,gx_render_fastprint3d,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,float,x,float,y,float,z,string,string,int,color
  declarexfunction nothing,gx_render_camera,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix
  declarexfunction nothing,gx_render_shader,int,numchannel,int,nummaterial,int,alpha,int,red,int,green,int,blue,int,render
  declarexfunction nothing,gx_render_getusertransform,rfloat,posx,rfloat,posy,rfloat,posz,gx_tmatrix,ptr_tmatrix,rint,flag
  declarexfunction nothing,gx_render_setusertransform,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,flag
  declarexfunction nothing,gx_render_begin,int,type
  declarexfunction nothing,gx_render_vertex,float,x,float,y,float,z,float,alpha,float,red,float,green,float,blue
  declarexfunction nothing,gx_render_mapchannel,float,u,float,v
  declarexfunction nothing,gx_render_end,nothing
  declarexfunction int,gx_render_getmaxlight,nothing
  declarexfunction nothing,gx_render_setmaxlight,int,value
  declarexfunction nothing,gx_render_beginlight,nothing
  declarexfunction nothing,gx_render_ambientlight,int,red,int,green,int,blue
  declarexfunction nothing,gx_render_omnilight,float,posx,float,posy,float,posz,float,radius,int,red,int,green,int,blue
  declarexfunction nothing,gx_render_endlight,nothing
  declarexfunction nothing,gx_render_getambientlight,rint,red,rint,green,rint,blue
  declarexfunction int,gx_render_getnbomnilight,nothing
  declarexfunction nothing,gx_render_getomnilight,int,index,rfloat,posx,rfloat,posy,rfloat,posz,rfloat,radius,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_render_point,float,x,float,y,float,z
  declarexfunction nothing,gx_render_line2d,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1
  declarexfunction nothing,gx_render_line3d,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1
  declarexfunction nothing,gx_render_sprite,float,x,float,y,float,z,float,sizex,float,sizey
  declarexfunction nothing,gx_render_spriterotozoom,float,x,float,y,float,z,float,sizex,float,sizey,float,zoom,int,angle
  declarexfunction nothing,gx_render_spriteblock,float,x,float,y,float,z,float,sx,float,sy,float,u,float,v,float,su,float,sv,int,angle
  declarexfunction nothing,gx_render_circle,float,x,float,y,float,z,float,sx,float,sy,float,u,float,v,float,su,float,sv,int,angle
  declarexfunction nothing,gx_render_sphere,float,x,float,y,float,z,float,radius,int,nbsegment
  declarexfunction nothing,gx_render_box,float,x,float,y,float,z,float,sizex,float,sizey,float,sizez
  declarexfunction nothing,gx_render_tube,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,radius,int,nbsegment
  declarexfunction nothing,gx_render_cylinder,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,radius,int,nbsegment
  declarexfunction nothing,gx_render_lightning,float,x0,float,y0,float,z0,float,x1,float,y1,float,z1,float,radius,int,nbsegment
  declarexfunction nothing,gx_render_bloom,int,materialindex,int,render,int,blendfactor,int,zoomfactor
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tmesh
  typedef gx_toctree
  typedef gx_tmatrix
  typedef gx_tquatern
  typedef gx_tbitmap
  typedef gx_tmaterial
  typedef gx_tfield
  typedef gx_tgeom
  typedef gx_tstream
endgroup

/* -------- */
/* gx_scene */
/* -------- */
group gx_scene
  typedef gx_tscene
  classtype gx_scene,gx_tscene

  define gx_scene_flagnone,0x0
  define gx_scene_flagmatrixmul,0x2
  define gx_scene_flagnoloadmat,0x4
  define gx_scene_flagnoloadstaticgeom,0x8
  define gx_scene_flagnoloaddynamicgeom,0x10
  define gx_scene_flagcustommatrixreplace,0x20
  define gx_scene_flagcustommatrixmultiply,0x40

  enum 0
    dim gx_scene_lightmaptype_simpleadditive,0
    dim gx_scene_lightmaptype_simplemultiplivative,0
    dim gx_scene_lightmaptype_complex,0
    dim gx_scene_lightmaptype_complexfastocclusion,0
    dim gx_scene_lightmaptype_complexambientocclusion,0
  endenum

  enum 0
    dim gx_scene_updatematrixcamera,1
    dim gx_scene_updatematrixcamerablend,1
    dim gx_scene_updatematrixblendnone,1
    dim gx_scene_updatematrixblendquatern,1
    dim gx_scene_updatematrixblendmorph,1
  endenum

  declarexfunction int,gx_scene_ginstall,nothing
  declarexfunction void,gx_scene_getparentclass,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setparentclass,gx_tscene,ptr_tscene,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction nothing,gx_scene_checkgeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_install,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_uninstall,gx_tscene,ptr_tscene
  declarexfunction gx_tscene,gx_scene_new,nothing
  declarexfunction gx_tscene,gx_scene_load,string,filename
  declarexfunction gx_tscene,gx_scene_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_scene_save,gx_tscene,ptr_tscene,string,filename
  declarexfunction int,gx_scene_savechunk,gx_tscene,ptr_tscene,int,filenum
  declarexfunction nothing,gx_scene_free,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_addref,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getref,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_display,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_updatematrix,gx_tscene,ptr_tscene,int,oldcount,float,factor,int,mode
  declarexfunction nothing,gx_scene_transform2d,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_blend2d,gx_tscene,ptr_tscene,int,oldcount,float,factor,int,mode
  declarexfunction nothing,gx_scene_transform3d,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_blend3d,gx_tscene,ptr_tscene,int,oldcount,float,factor,int,mode
  declarexfunction nothing,gx_scene_displaytransform,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_rebuildnormal,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_check,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_cleanupfacematerial,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_insertoctree,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_deleteoctree,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_trianglify,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_scene_ngonify,gx_tscene,ptr_tscene,int,index,int,fulloptimization
  declarexfunction int,gx_scene_isngonifyed,gx_tscene,ptr_tscene,int,index
  declarexfunction nothing,gx_scene_sortmesh,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_deletelamps,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_optimize,gx_tscene,ptr_tscene,int,sizeratio,int,explodesize,int,minimumface,int,maximumsize,int,hideonly
  declarexfunction int,gx_scene_getnbparentmesh,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getindexedparentmesh,gx_tscene,ptr_tscene,int,index
  declarexfunction int,gx_scene_getnbmesh,gx_tscene,ptr_tscene
  declarexfunction gx_tmesh,gx_scene_getindexedmesh,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction gx_tmesh,gx_scene_getnamedmesh,gx_tscene,ptr_tscene,string,meshname
  declarexfunction int,gx_scene_getmeshindex,gx_tscene,ptr_tscene,gx_tmesh,ptr_tmesh
  declarexfunction int,gx_scene_getmeshparent,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction int,gx_scene_getmeshnbchild,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction int,gx_scene_getmeshchild,gx_tscene,ptr_tscene,int,nummesh,int,index
  declarexfunction int,gx_scene_isparentmesh,gx_tscene,ptr_tscene,int,numchildmesh,int,numparentmesh
  declarexfunction nothing,gx_scene_linkmesh,gx_tscene,ptr_tscene,int,numchildmesh,int,numparentmesh
  declarexfunction nothing,gx_scene_unlinkmesh,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction nothing,gx_scene_hierarchyanim,gx_tscene,ptr_tscene,int,flag
  declarexfunction nothing,gx_scene_forcehierarchyanim,gx_tscene,ptr_tscene,int,flag
  declarexfunction int,gx_scene_isanimhierarchised,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_hierarchyquatern,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_unhierarchyquatern,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setcustommatrixtype,gx_tscene,ptr_tscene,int,type
  declarexfunction nothing,gx_scene_mergescene,gx_tscene,ptr_tscene,gx_tscene,new_tscene
  declarexfunction nothing,gx_scene_copymesh,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction nothing,gx_scene_mergemesh,gx_tscene,ptr_tscene,int,target,int,source
  declarexfunction nothing,gx_scene_explodemesh,gx_tscene,ptr_tscene,int,index,float,radius,int,optimize
  declarexfunction nothing,gx_scene_facemap,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_cubemap,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_spheremap,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_getenvlightcolor,gx_tscene,ptr_tscene,rfloat,red,rfloat,green,rfloat,blue
  declarexfunction nothing,gx_scene_setenvlightcolor,gx_tscene,ptr_tscene,float,red,float,green,float,blue
  declarexfunction nothing,gx_scene_clearlight,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_addambient,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue
  declarexfunction nothing,gx_scene_addambientdst,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue
  declarexfunction nothing,gx_scene_addambientstatic,gx_tscene,ptr_tscene,gx_toctree,ptr_toctree,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_mulambient,gx_tscene,ptr_tscene,float,lightred,float,lightgreen,float,lightblue
  declarexfunction nothing,gx_scene_mulambientdst,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue
  declarexfunction nothing,gx_scene_addomni,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_addomnistatic,gx_tscene,ptr_tscene,gx_toctree,ptr_toctree,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_addomnidst,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_addparallelomnidst,gx_tscene,ptr_tscene,float,pos,float,posy,float,posz,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_addomniraytrace,gx_tscene,ptr_tscene,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_scene_addradiosity,gx_tscene,ptr_tscene,int,numiteration,float,radius,float,attenuation,int,flagraytrace
  declarexfunction nothing,gx_scene_addlightmap,gx_tscene,ptr_tscene,int,mode,int,value,int,ambientred,int,ambientgreen,int,ambientblue
  declarexfunction nothing,gx_scene_generatestaticshadow,gx_tscene,ptr_tscene,int,nummesh,int,mode
  declarexfunction nothing,gx_scene_generatemirror,gx_tscene,ptr_tscene,int,nummesh
  declarexfunction nothing,gx_scene_tesselate,gx_tscene,ptr_tscene,float,radius
  declarexfunction nothing,gx_scene_lighttesselate,gx_tscene,ptr_tscene,int,size
  declarexfunction nothing,gx_scene_smoothlight,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_updatenbmaxanim,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_exportanim,gx_tscene,ptr_tscene,string,filename
  declarexfunction int,gx_scene_optimizeanim,gx_tscene,ptr_tscene
  declarexfunction gx_tscene,gx_scene_copy,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_snap,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_weld,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_iswelded,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_scale,gx_tscene,ptr_tscene,float,sx,float,sy,float,sz
  declarexfunction nothing,gx_scene_optimizeface,gx_tscene,ptr_tscene,int,index,int,nbface,float,sizemin
  declarexfunction nothing,gx_scene_optimizemeshface,gx_tscene,ptr_tscene,int,index,int,nbface,float,sizemin
  declarexfunction nothing,gx_scene_insertanim,gx_tscene,ptr_tscene,int,numframe,gx_tscene,new_tscene
  declarexfunction nothing,gx_scene_deleteanim,gx_tscene,ptr_tscene,int,numframe,int,nbframe
  declarexfunction nothing,gx_scene_freeanim,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getnbcameraanim,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_insertcameraanimarray,gx_tscene,ptr_tscene,int,numframe,int,nb_tquatern,gx_tquatern,ptr_tquatern
  declarexfunction nothing,gx_scene_insertcameraanim,gx_tscene,ptr_tscene,int,numframe,gx_tscene,new_tscene
  declarexfunction nothing,gx_scene_insertcameraanimangle,gx_tscene,ptr_tscene,int,numframe,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_scene_getcameraanimangle,gx_tscene,ptr_tscene,int,numframe,rfloat,posx,rfloat,posy,rfloat,posz,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_scene_deletecameraanim,gx_tscene,ptr_tscene,int,numframe,int,nbframe
  declarexfunction nothing,gx_scene_freecameraanim,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_insertmaterial,gx_tscene,ptr_tscene,gx_tbitmap,ptr_tbitmap,int,destructivecrunch
  declarexfunction nothing,gx_scene_deletematerial,gx_tscene,ptr_tscene,int,nummaterial,int,targetmaterial
  declarexfunction nothing,gx_scene_replacematerial,gx_tscene,ptr_tscene,gx_tbitmap,ptr_tbitmap,int,nummaterial
  declarexfunction nothing,gx_scene_purgematerial,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getnbmaterial,gx_tscene,ptr_tscene
  declarexfunction gx_tmaterial,gx_scene_getindexedmaterial,gx_tscene,ptr_tscene,int,nummaterial
  declarexfunction gx_tmaterial,gx_scene_getnamedmaterial,gx_tscene,ptr_tscene,string,materialname
  declarexfunction int,gx_scene_getmaterialindex,gx_tscene,ptr_tscene,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_scene_insertmesh,gx_tscene,ptr_tscene,string,name,float,posx,float,posy,float,posz
  declarexfunction nothing,gx_scene_deletemesh,gx_tscene,ptr_tscene,int,numobj
  declarexfunction gx_tstream,gx_scene_startinsertmeshsimpleface,gx_tscene,ptr_tscene,int,nbpoint
  declarexfunction nothing,gx_scene_insertmeshsimplepoint,gx_tscene,ptr_tscene,gx_tstream,ptr_tstream,float,x,float,y,float,z,int,a,int,r,int,g,int,b,float,u,float,v
  declarexfunction nothing,gx_scene_insertmeshsimpleface,gx_tscene,ptr_tscene,gx_tstream,ptr_tstream,int,nummesh,int,effectmask,int,smoothinggroup,int,nummat,int,alpha,int,red,int,green,int,blue,int,render,int,twoside
  declarexfunction nothing,gx_scene_insertmeshface,gx_tscene,ptr_tscene,int,nummesh,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_scene_calculatesphere,gx_tscene,ptr_tscene,rfloat,posx,rfloat,posy,rfloat,posz,rfloat,radius
  declarexfunction nothing,gx_scene_calculatebox,gx_tscene,ptr_tscene,rfloat,xmin,rfloat,xmax,rfloat,ymin,rfloat,ymax,rfloat,zmin,rfloat,zmax
  declarexfunction nothing,gx_scene_createbox,gx_tscene,ptr_tscene,string,name,float,posx,float,posy,float,posz,float,sizex,float,sizey,float,sizez,int,mat,int,render,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_scene_createsphere,gx_tscene,ptr_tscene,string,name,float,posx,float,posy,float,posz,float,radius,int,nbsegment,int,mat,int,render,int,alpha,int,red,int,green,int,blue
  declarexfunction string,gx_scene_getname,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setname,gx_tscene,ptr_tscene,string,name
  declarexfunction int,gx_scene_getflag,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setflag,gx_tscene,ptr_tscene,int,flag
  declarexfunction gx_tmatrix,gx_scene_getmatrix1,gx_tscene,ptr_tscene
  declarexfunction gx_tmatrix,gx_scene_getmatrix2,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getcameraspeed,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setcameraspeed,gx_tscene,ptr_tscene,int,cameraspeed
  declarexfunction int,gx_scene_getquaternspeed,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setquaternspeed,gx_tscene,ptr_tscene,int,quaternspeed
  declarexfunction int,gx_scene_getmorphspeed,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setmorphspeed,gx_tscene,ptr_tscene,int,morphspeed
  declarexfunction int,gx_scene_getnbmaxanim,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getcount,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setcount,gx_tscene,ptr_tscene,int,numframe
  declarexfunction nothing,gx_scene_addcount,gx_tscene,ptr_tscene,int,numframe
  declarexfunction int,gx_scene_getcameracount,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setcameracount,gx_tscene,ptr_tscene,int,numframe
  declarexfunction int,gx_scene_getquaterncount,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setquaterncount,gx_tscene,ptr_tscene,int,numframe
  declarexfunction int,gx_scene_getmorphcount,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setmorphcount,gx_tscene,ptr_tscene,int,numframe
  declarexfunction nothing,gx_scene_getcamera,gx_tscene,ptr_tscene,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_scene_setcamera,gx_tscene,ptr_tscene,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction gx_tgeom,gx_scene_getgeom,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setgeom,gx_tscene,ptr_tscene,gx_tgeom,ptr_tgeom
  declarexfunction void,gx_scene_getstaticgeomhandle,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setstaticgeomhandle,gx_tscene,ptr_tscene,void,handle
  declarexfunction void,gx_scene_getdynamicgeomhandle,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_setdynamicgeomhandle,gx_tscene,ptr_tscene,void,handle
  declarexfunction int,gx_scene_getnbpoint,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getnbface,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_getnbtriangle,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_scene_printstatus,gx_tscene,ptr_tscene
  declarexfunction int,gx_scene_testcol3dcylindersrc,gx_tscene,ptr_tscene,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rint,nummesh,rint,numface,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_scene_testcol3dcylinderdst,gx_tscene,ptr_tscene,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rint,nummesh,rint,numface,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_scene_testcol3dspheresrc,gx_tscene,ptr_tscene,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rint,nummesh,rint,numface,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_scene_testcol3dspheredst,gx_tscene,ptr_tscene,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rint,nummesh,rint,numface,rfloat,normx,rfloat,normy,rfloat,normz
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ---------------- */
/* gx_scratchbuffer */
/* ---------------- */
group gx_scratchbuffer
  typedef gx_tscratchbuffer
  classtype gx_scratchbuffer,gx_tscratchbuffer

  declarexfunction int,gx_scratchbuffer_ginstall,nothing
  declarexfunction nothing,gx_scratchbuffer_install,nothing
  declarexfunction nothing,gx_scratchbuffer_uninstall,nothing
  declarexfunction void,gx_scratchbuffer_lock,int,size
  declarexfunction void,gx_scratchbuffer_longlock,long,size
  declarexfunction void,gx_scratchbuffer_clearlock,int,size
  declarexfunction void,gx_scratchbuffer_longclearlock,long,size
  declarexfunction nothing,gx_scratchbuffer_unlock,int,nbbuffer
  declarexfunction void,gx_scratchbuffer_alloc,int,size
  declarexfunction void,gx_scratchbuffer_longalloc,long,size
  declarexfunction void,gx_scratchbuffer_clearalloc,int,size
  declarexfunction void,gx_scratchbuffer_longclearalloc,long,size
  declarexfunction void,gx_scratchbuffer_realloc,void,buffer,int,size
  declarexfunction void,gx_scratchbuffer_longrealloc,void,buffer,long,size
  declarexfunction nothing,gx_scratchbuffer_dealloc,void,buffer
  declarexfunction int,gx_scratchbuffer_calculatelevel,int,size
  declarexfunction int,gx_scratchbuffer_longcalculatelevel,long,size
  declarexfunction int,gx_scratchbuffer_getlevel,void,buffer
  declarexfunction int,gx_scratchbuffer_getsize,void,buffer
  declarexfunction long,gx_scratchbuffer_longgetsize,void,buffer
  declarexfunction nothing,gx_scratchbuffer_purge,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbitmap
endgroup

/* --------- */
/* gx_screen */
/* --------- */
group gx_screen
  typedef gx_tscreen
  classtype gx_screen,gx_tscreen

  enum 0
    dim gx_screen_palettemodedefault,1
    dim gx_screen_palettemodecpc,1
    dim gx_screen_palettemodecga0,1
    dim gx_screen_palettemodecga1,1
    dim gx_screen_palettemodecga2,1
    dim gx_screen_palettemodecga3,1
    dim gx_screen_palettemodecga4,1
    dim gx_screen_palettemodecga5,1
    dim gx_screen_palettemodepc1512,1
    dim gx_screen_palettemodeega,1
    dim gx_screen_palettemodevga,1
    dim gx_screen_palettemodeatarist,1
    dim gx_screen_palettemodeecs,1
    dim gx_screen_palettemodehalfbrite,1
    dim gx_screen_palettemodeham,1
    dim gx_screen_palettenb,1
  endenum

  enum 0
    dim gx_screen_emulmodenone,1
    dim gx_screen_emulmodepaletted,1
    dim gx_screen_emulmodecrt,1
    dim gx_screen_emulmodeinterlace,1
    dim gx_screen_emulnb,1
  endenum

  declarexfunction int,gx_screen_ginstall,nothing
  declarexfunction nothing,gx_screen_setmode,int,sizex,int,sizey,int,bitpixel,int,fullscreen,int,nummode,string,drivername
  declarexfunction nothing,gx_screen_unsetmode,nothing
  declarexfunction int,gx_screen_getcurrentmode,nothing
  declarexfunction int,gx_screen_findmode,int,sizex,int,sizey,int,bitpixel,int,fullscreen,string,drivername
  declarexfunction int,gx_screen_forcemode,int,sizex,int,sizey,int,bitpixel,int,fullscreen,int,nummode,string,drivername,int,driverid,int,flag
  declarexfunction nothing,gx_screen_flush,nothing
  declarexfunction nothing,gx_screen_clear,nothing
  declarexfunction nothing,gx_screen_insertmode,int,sizex,int,sizey,int,bitpixel,int,fullscreen,int,driverid,string,drivername,long,hardwareid
  declarexfunction nothing,gx_screen_insertstandardmode,int,maxsizex,int,maxsizey,int,bitpixel,int,fullscreen,int,driverid,string,drivername
  declarexfunction nothing,gx_screen_freemode,nothing
  declarexfunction int,gx_screen_getnbmode,nothing
  declarexfunction int,gx_screen_getmodesizex,int,nummode
  declarexfunction int,gx_screen_getmodesizey,int,nummode
  declarexfunction int,gx_screen_getmodesize,int,nummode
  declarexfunction int,gx_screen_getmodebitpixel,int,nummode
  declarexfunction int,gx_screen_getmodefullscreen,int,nummode
  declarexfunction int,gx_screen_getmodedriverid,int,nummode
  declarexfunction string,gx_screen_getmodedrivername,int,nummode
  declarexfunction long,gx_screen_getmodehardwareid,int,nummode
  declarexfunction void,gx_screen_getbuffer1,nothing
  declarexfunction nothing,gx_screen_setbuffer1,void,buffer
  declarexfunction void,gx_screen_getbuffer2,nothing
  declarexfunction nothing,gx_screen_setbuffer2,void,buffer
  declarexfunction void,gx_screen_getbuffer,nothing
  declarexfunction nothing,gx_screen_setbuffer,void,buffer
  declarexfunction nothing,gx_screen_allocbuffer,nothing
  declarexfunction nothing,gx_screen_deallocbuffer,nothing
  declarexfunction int,gx_screen_getsizex,nothing
  declarexfunction int,gx_screen_getsizey,nothing
  declarexfunction int,gx_screen_getsize,nothing
  declarexfunction int,gx_screen_getbitpixel,nothing
  declarexfunction int,gx_screen_getfullscreen,nothing
  declarexfunction int,gx_screen_getolddriverid,nothing
  declarexfunction nothing,gx_screen_setolddriverid,int,id
  declarexfunction int,gx_screen_getdriverid,nothing
  declarexfunction string,gx_screen_getdrivername,nothing
  declarexfunction long,gx_screen_gethardwareid,nothing
  declarexfunction int,gx_screen_getemulation,nothing
  declarexfunction nothing,gx_screen_setemulation,int,mode
  declarexfunction nothing,gx_screen_getpalette,int,index,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_screen_setpalette,int,index,int,red,int,green,int,blue
  declarexfunction nothing,gx_screen_setdefaultpalette,nothing
  declarexfunction nothing,gx_screen_limitpalette,int,nbcolor
  declarexfunction nothing,gx_screen_sortpalette,int,nbcolor
  declarexfunction nothing,gx_screen_applypalette,int,mode
  declarexfunction nothing,gx_screen_capturepalette,nothing
  declarexfunction nothing,gx_screen_capturebitmap,int,startx,int,starty,void,ptr_tbitmap
  declarexfunction nothing,gx_screen_getpixel,int,x,int,y,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_screen_setpixel,int,x,int,y,int,red,int,green,int,blue
  declarexfunction int,gx_screen_getpixel16,int,x,int,y
  declarexfunction nothing,gx_screen_setpixel16,int,x,int,y,int,color
  declarexfunction nothing,gx_screen_drawpixel,int,x,int,y,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawline,int,x1,int,y1,int,x2,int,y2,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawsquare,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawbox,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawbitmap,int,startx,int,starty,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawbitmapblock,int,startx,int,starty,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawbitmapzoom,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_drawbitmaprotozoom,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,int,angle,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_screen_fade,gx_tbitmap,ptr_tbitmap,int,color,int,time
  declarexfunction nothing,gx_screen_fadein,gx_tbitmap,ptr_tbitmap,int,color,int,time
  declarexfunction nothing,gx_screen_fadeout,gx_tbitmap,ptr_tbitmap,int,color,int,time
  declarexfunction nothing,gx_screen_fadebitmap,gx_tbitmap,ptr_tbitmap,gx_tbitmap,background_tbitmap,int,time
  declarexfunction nothing,gx_screen_bloom,int,type
  declarexfunction nothing,gx_screen_crteffect,void,srcbuffer,void,dstbuffer,int,flag
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tfont
endgroup

/* ------------- */
/* gx_scrolltext */
/* ------------- */
group gx_scrolltext
  typedef gx_tscrolltext
  classtype gx_scrolltext,gx_tscrolltext

  enum 0
    dim gx_scrolltext_typehorizontal,1
    dim gx_scrolltext_typevertical,1
  endenum

  declarexfunction int,gx_scrolltext_ginstall,nothing
  declarexfunction nothing,gx_scrolltext_install,nothing
  declarexfunction nothing,gx_scrolltext_uninstall,nothing
  declarexfunction nothing,gx_scrolltext_settype,int,type
  declarexfunction nothing,gx_scrolltext_setfont,gx_tfont,title_tfont,gx_tfont,text_tfont
  declarexfunction nothing,gx_scrolltext_setviewport,float,posx,float,posy,float,sizex,float,sizey
  declarexfunction nothing,gx_scrolltext_inserttitlelocaleid,int,localeid
  declarexfunction nothing,gx_scrolltext_inserttitlestr,string,text
  declarexfunction nothing,gx_scrolltext_inserttitleunicode,void,text
  declarexfunction nothing,gx_scrolltext_inserttextlocaleid,int,localeid
  declarexfunction nothing,gx_scrolltext_inserttextstr,string,text
  declarexfunction nothing,gx_scrolltext_inserttextunicode,void,text
  declarexfunction nothing,gx_scrolltext_enable,nothing
  declarexfunction nothing,gx_scrolltext_disable,nothing
  declarexfunction int,gx_scrolltext_isenabled,nothing
  declarexfunction nothing,gx_scrolltext_restart,nothing
  declarexfunction int,gx_scrolltext_haslooped,nothing
  declarexfunction nothing,gx_scrolltext_display,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tfield
  typedef gx_tcomponent
endgroup

/* ------------ */
/* gx_sequencer */
/* ------------ */
group gx_sequencer
  typedef gx_tsequencer
  typedef gx_twbwindow
  classtype gx_sequencer,gx_tsequencer

  declarexfunction int,gx_sequencer_ginstall,nothing
  declarexfunction void,gx_sequencer_getparentclass,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setparentclass,gx_tsequencer,ptr_tsequencer,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tsequencer,gx_sequencer_new,nothing
  declarexfunction gx_tsequencer,gx_sequencer_load,string,filename
  declarexfunction gx_tsequencer,gx_sequencer_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_sequencer_save,gx_tsequencer,ptr_tsequencer,string,filename
  declarexfunction int,gx_sequencer_savechunk,gx_tsequencer,ptr_tsequencer,int,filenum
  declarexfunction gx_tsequencer,gx_sequencer_loadgxml,string,filename
  declarexfunction gx_tsequencer,gx_sequencer_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_sequencer_savegxml,gx_tsequencer,ptr_tsequencer,string,filename
  declarexfunction int,gx_sequencer_savegxmlchunk,gx_tsequencer,ptr_tsequencer,int,filenum
  declarexfunction gx_tsequencer,gx_sequencer_loadsrt,string,filename
  declarexfunction nothing,gx_sequencer_savesrt,gx_tsequencer,ptr_tsequencer,string,filename
  declarexfunction gx_tsequencer,gx_sequencer_loadall,string,filename
  declarexfunction nothing,gx_sequencer_saveall,gx_tsequencer,ptr_tsequencer,string,filename
  declarexfunction nothing,gx_sequencer_free,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_addref,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_getref,gx_tsequencer,ptr_tsequencer
  declarexfunction gx_tsequencer,gx_sequencer_copy,gx_tsequencer,ptr_tsequencer
  declarexfunction string,gx_sequencer_getname,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setname,gx_tsequencer,ptr_tsequencer,string,name
  declarexfunction gx_tcomponent,gx_sequencer_getcomponent,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setcomponent,gx_tsequencer,ptr_tsequencer,gx_tcomponent,ptr_tcomponent
  declarexfunction nothing,gx_sequencer_property,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_gettotalframe,gx_tsequencer,ptr_tsequencer,int,flag
  declarexfunction nothing,gx_sequencer_validate,gx_tsequencer,ptr_tsequencer
  declarexfunction string,gx_sequencer_trackgetname,gx_tsequencer,ptr_tsequencer,int,index
  declarexfunction nothing,gx_sequencer_tracksetname,gx_tsequencer,ptr_tsequencer,int,index,string,name
  declarexfunction gx_tfield,gx_sequencer_trackgetfield,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction nothing,gx_sequencer_tracksetfield,gx_tsequencer,ptr_tsequencer,int,track,gx_tfield,ptr_tfield
  declarexfunction nothing,gx_sequencer_trackproperty,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction int,gx_sequencer_getnbtrack,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_inserttrack,gx_tsequencer,ptr_tsequencer,int,index
  declarexfunction nothing,gx_sequencer_deletetrack,gx_tsequencer,ptr_tsequencer,int,index
  declarexfunction int,gx_sequencer_trackgetnbkey,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction nothing,gx_sequencer_trackinsertkey,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_trackdeletekey,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_trackenable,gx_tsequencer,ptr_tsequencer,int,track,int,flag
  declarexfunction int,gx_sequencer_trackisenabled,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction string,gx_sequencer_keygetname,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetname,gx_tsequencer,ptr_tsequencer,int,track,int,index,string,name
  declarexfunction int,gx_sequencer_keygetframe,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction int,gx_sequencer_keygetsize,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetframe,gx_tsequencer,ptr_tsequencer,int,track,int,index,int,frame,int,size
  declarexfunction nothing,gx_sequencer_keygetcolor,gx_tsequencer,ptr_tsequencer,int,track,int,index,rint,r,rint,g,rint,b
  declarexfunction nothing,gx_sequencer_keysetcolor,gx_tsequencer,ptr_tsequencer,int,track,int,index,int,r,int,g,int,b
  declarexfunction int,gx_sequencer_keygetuservalue,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetuservalue,gx_tsequencer,ptr_tsequencer,int,track,int,index,int,value
  declarexfunction float,gx_sequencer_keygetsegmentstart,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction float,gx_sequencer_keygetsegmentstop,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetsegment,gx_tsequencer,ptr_tsequencer,int,track,int,index,float,startvalue,float,stopvalue
  declarexfunction gx_tfield,gx_sequencer_keygetfield,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetfield,gx_tsequencer,ptr_tsequencer,int,track,int,index,gx_tfield,ptr_tfield
  declarexfunction void,gx_sequencer_keygetuserbuffer,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_keysetuserbuffer,gx_tsequencer,ptr_tsequencer,int,track,int,index,void,buffer
  declarexfunction nothing,gx_sequencer_keyproperty,gx_tsequencer,ptr_tsequencer,int,track,int,index
  declarexfunction nothing,gx_sequencer_display,gx_tsequencer,ptr_tsequencer,gx_twbwindow,ptr_twbwindow,int,posx,int,posy
  declarexfunction gx_tsequencer,gx_sequencer_edit,gx_tsequencer,ptr_tsequencer,int,posx,int,posy,int,sizex,int,sizey
  declarexfunction int,gx_sequencer_getperiod,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setperiod,gx_tsequencer,ptr_tsequencer,int,value
  declarexfunction int,gx_sequencer_getfrequency,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setfrequency,gx_tsequencer,ptr_tsequencer,int,value
  declarexfunction nothing,gx_sequencer_start,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_reset,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_update,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_manage,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_isfinished,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_istrackfinished,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction nothing,gx_sequencer_stop,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_getlastcounter,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_getcurrentcounter,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setcurrentcounter,gx_tsequencer,ptr_tsequencer,int,value
  declarexfunction int,gx_sequencer_getlastframe,gx_tsequencer,ptr_tsequencer
  declarexfunction int,gx_sequencer_getcurrentframe,gx_tsequencer,ptr_tsequencer
  declarexfunction nothing,gx_sequencer_setcurrentframe,gx_tsequencer,ptr_tsequencer,int,frame
  declarexfunction int,gx_sequencer_getlastkey,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction int,gx_sequencer_getcurrentkey,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction float,gx_sequencer_getlastkeyprogress,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction float,gx_sequencer_getcurrentkeyprogress,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction float,gx_sequencer_getlastkeysegmentprogress,gx_tsequencer,ptr_tsequencer,int,track
  declarexfunction float,gx_sequencer_getcurrentkeysegmentprogress,gx_tsequencer,ptr_tsequencer,int,track
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tmatrix
  typedef gx_tscene
endgroup

/* --------- */
/* gx_shadow */
/* --------- */
group gx_shadow
  typedef gx_tshadow
  classtype gx_shadow,gx_tshadow

  declarexfunction int,gx_shadow_ginstall,nothing
  declarexfunction int,gx_shadow_getprecision,nothing
  declarexfunction nothing,gx_shadow_setprecision,float,precision
  declarexfunction int,gx_shadow_getcollisionid,nothing
  declarexfunction nothing,gx_shadow_setcollisionid,int,collisionid
  declarexfunction int,gx_shadow_getmaterial,nothing
  declarexfunction nothing,gx_shadow_setmaterial,int,material
  declarexfunction int,gx_shadow_getrender,nothing
  declarexfunction nothing,gx_shadow_setrender,int,render
  declarexfunction nothing,gx_shadow_getcolor,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_shadow_setcolor,int,alpha,int,red,int,green,int,blue
  declarexfunction nothing,gx_shadow_softprojectsrc,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,nummesh,gx_tscene,src_tscene,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_softprojectdst,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,gx_tscene,ptr_tscene,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_staticsoftproject,gx_tscene,ptr_tscene,int,nummesh,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_projectsrc,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,nummesh,gx_tscene,src_tscene,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_projectdst,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,gx_tscene,ptr_tscene,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_staticproject,gx_tscene,ptr_tscene,int,nummesh,float,planeposx,float,planeposy,float,planeposz,float,planenormx,float,planenormy,float,planenormz,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_complexprojectsrc,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,int,nummesh,gx_tscene,target_tscene,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_complexprojectdst,float,posx,float,posy,float,posz,gx_tmatrix,ptr_tmatrix,gx_tscene,ptr_tscene,gx_tscene,target_tscene,float,lightx,float,lighty,float,lightz,float,lightradius
  declarexfunction nothing,gx_shadow_staticcomplexproject,gx_tscene,ptr_tscene,int,nummesh,float,lightx,float,lighty,float,lightz,float,lightradius
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tworld
  typedef gx_tbase
  typedef gx_tmatrix
  typedef gx_tmesh
  typedef gx_tscene
endgroup

/* ------- */
/* gx_skin */
/* ------- */
group gx_skin
  typedef gx_tskin
  classtype gx_skin,gx_tskin

  define gx_skin_nblod,3

  enum 0
    dim gx_skinanim_blendtypefull,1
    dim gx_skinanim_blendtypehalf,1
    dim gx_skinanim_blendtypequarter,1
    dim gx_skinanim_blendtypenone,1
  endenum

  define gx_skinanim_flagstart,0x1
  define gx_skinanim_flagevent,0x2
  define gx_skinanim_flagloop,0x4
  define gx_skinanim_flagend,0x8

  enum 0
    dim gx_skinprocessmode_transform3d,1
    dim gx_skinprocessmode_transform2d,1
    dim gx_skinprocessmode_display,1
    dim gx_skinprocessmode_displaydynamic,1
    dim gx_skinprocessmode_displaytransform,1
  endenum

  declarexfunction int,gx_skin_ginstall,nothing
  declarexfunction void,gx_skin_getparentclass,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_setparentclass,gx_tskin,ptr_tskin,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tskin,gx_skin_new,nothing
  declarexfunction gx_tskin,gx_skin_load,gx_tworld,ptr_tworld,string,filename
  declarexfunction gx_tskin,gx_skin_loadchunk,gx_tworld,ptr_tworld,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_skin_save,gx_tskin,ptr_tskin,string,filename
  declarexfunction int,gx_skin_savechunk,gx_tskin,ptr_tskin,int,filenum
  declarexfunction nothing,gx_skin_free,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_addref,gx_tskin,ptr_tskin
  declarexfunction int,gx_skin_getref,gx_tskin,ptr_tskin
  declarexfunction gx_tskin,gx_skin_copy,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_check,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_install,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_uninstall,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_process,gx_tskin,ptr_tskin,gx_tbase,ptr_tbase,int,level,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz,gx_tmatrix,ptr_tmatrix,int,posanim,int,blendanim,float,blendfactor,int,mode
  declarexfunction gx_tscene,gx_skin_getscene,gx_tskin,ptr_tskin,int,level
  declarexfunction nothing,gx_skin_setscene,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_skin_freescene,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_generatelod,gx_tskin,ptr_tskin,gx_tworld,ptr_tworld,gx_tscene,ptr_tscene
  declarexfunction int,gx_skin_getnblod,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_freelod,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin,int,level
  declarexfunction nothing,gx_skin_loadweld,gx_tskin,ptr_tskin,string,filename
  declarexfunction nothing,gx_skin_saveweld,gx_tskin,ptr_tskin,string,filename
  declarexfunction nothing,gx_skin_makeweld,gx_tskin,ptr_tskin,int,level,int,numobj,int,depth
  declarexfunction int,gx_skin_getnbweld,gx_tskin,ptr_tskin,int,level
  declarexfunction int,gx_skin_insertweld,gx_tskin,ptr_tskin,int,level,int,srcmesh,int,dstmesh
  declarexfunction nothing,gx_skin_deleteweld,gx_tskin,ptr_tskin,int,level,int,weld
  declarexfunction int,gx_skin_weldgetsrcmesh,gx_tskin,ptr_tskin,int,level,int,weld
  declarexfunction int,gx_skin_weldgetdstmesh,gx_tskin,ptr_tskin,int,level,int,weld
  declarexfunction int,gx_skin_weldgetnbvertexlink,gx_tskin,ptr_tskin,int,level,int,weld
  declarexfunction int,gx_skin_insertweldvertexlink,gx_tskin,ptr_tskin,int,level,int,weld,int,srcvertex,int,dstvertex
  declarexfunction nothing,gx_skin_deleteweldvertexlink,gx_tskin,ptr_tskin,int,level,int,weld,int,index
  declarexfunction int,gx_skin_weldgetsrcvertexlink,gx_tskin,ptr_tskin,int,level,int,weld,int,index
  declarexfunction int,gx_skin_weldgetdstvertexlink,gx_tskin,ptr_tskin,int,level,int,weld,int,index
  declarexfunction nothing,gx_skin_insertanim,gx_tskin,ptr_tskin,gx_tscene,ptr_tscene,string,name
  declarexfunction nothing,gx_skin_clonelodanim,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_cloneanim,gx_tskin,ptr_tskin,gx_tskin,target_tskin
  declarexfunction nothing,gx_skin_uncloneanim,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_replaceanim,gx_tskin,ptr_tskin,int,numanim,gx_tscene,ptr_tscene,string,name
  declarexfunction nothing,gx_skin_deleteanim,gx_tskin,ptr_tskin,int,numanim
  declarexfunction nothing,gx_skin_optimizeanim,gx_tskin,ptr_tskin,int,numanim
  declarexfunction nothing,gx_skin_fixoneframeanim,gx_tskin,ptr_tskin
  declarexfunction nothing,gx_skin_fixanimloop,gx_tskin,ptr_tskin,int,index
  declarexfunction int,gx_skin_initanim,gx_tskin,ptr_tskin,int,numanim
  declarexfunction int,gx_skin_updateanim,gx_tskin,ptr_tskin,int,numanim,int,lastpostrack,rint,newpostrack
  declarexfunction int,gx_skin_getnbanim,gx_tskin,ptr_tskin
  declarexfunction int,gx_skin_getnamedanim,gx_tskin,ptr_tskin,string,name
  declarexfunction string,gx_skin_getanimname,gx_tskin,ptr_tskin,int,index
  declarexfunction nothing,gx_skin_setanimname,gx_tskin,ptr_tskin,int,index,string,animname
  declarexfunction int,gx_skin_getanimstart,gx_tskin,ptr_tskin,int,index
  declarexfunction nothing,gx_skin_setanimstart,gx_tskin,ptr_tskin,int,index,int,value
  declarexfunction int,gx_skin_getanimsize,gx_tskin,ptr_tskin,int,index
  declarexfunction nothing,gx_skin_setanimsize,gx_tskin,ptr_tskin,int,index,int,value
  declarexfunction int,gx_skin_getanimevent,gx_tskin,ptr_tskin,int,index
  declarexfunction nothing,gx_skin_setanimevent,gx_tskin,ptr_tskin,int,index,int,event
  declarexfunction int,gx_skin_getanimblend,gx_tskin,ptr_tskin,int,index
  declarexfunction nothing,gx_skin_setanimblend,gx_tskin,ptr_tskin,int,index,int,type
  declarexfunction float,gx_skin_initanimblend,gx_tskin,ptr_tskin,int,lastanim,int,nextanim
  declarexfunction int,gx_skin_getanimblendanim,gx_tskin,ptr_tskin,int,anim
  declarexfunction nothing,gx_skin_setanimblendanim,gx_tskin,ptr_tskin,int,anim,int,blendanim
  declarexfunction int,gx_skin_initanimblendanim,gx_tskin,ptr_tskin,int,lastanim,int,nextanim
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* -------- */
/* gx_sound */
/* -------- */
group gx_sound
  typedef gx_tsound
  classtype gx_sound,gx_tsound

  define gx_sound_nbvoice,16

  enum 0
    dim gx_sound_crunchtypenone,1
    dim gx_sound_crunchtypedpcm16,1
    dim gx_sound_crunchtypedpcm12,1
    dim gx_sound_crunchtypedpcm8,1
    dim gx_sound_crunchtypelog8,1
    dim gx_sound_crunchtypelog4,1
    dim gx_sound_crunchtypelog3,1
    dim gx_sound_crunchtypelog2,1
    dim gx_sound_crunchtypeadpcm5,1
    dim gx_sound_crunchtypeadpcm4,1
    dim gx_sound_crunchtypeadpcm3,1
    dim gx_sound_crunchtypeadpcm2,1
    dim gx_sound_crunchtypemax,1
  endenum

  define gx_soundvoice_flagnone,0x0
  define gx_soundvoice_flaglocked,0x1
  define gx_soundvoice_flaglockvoice,0x2
  define gx_soundvoice_flagloop,0x4
  define gx_soundvoice_flaghighlevel,0x8
  define gx_soundvoice_flagpaused,0x10

  enum 0
    dim gx_soundstate_stopped,1
    dim gx_soundstate_playing,1
    dim gx_soundstate_paused,1
  endenum

  declarexfunction int,gx_sound_ginstall,nothing
  declarexfunction void,gx_sound_getparentclass,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_setparentclass,gx_tsound,ptr_tsound,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tsound,gx_sound_load,string,filename
  declarexfunction gx_tsound,gx_sound_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction gx_tsound,gx_sound_loadall,string,filename
  declarexfunction gx_tsound,gx_sound_loadwav,string,filename
  declarexfunction gx_tsound,gx_sound_loadsvx,string,filename
  declarexfunction gx_tsound,gx_sound_loadvoc,string,filename
  declarexfunction nothing,gx_sound_save,gx_tsound,ptr_tsound,string,filename
  declarexfunction int,gx_sound_savechunk,gx_tsound,ptr_tsound,int,filenum
  declarexfunction nothing,gx_sound_saveall,gx_tsound,ptr_tsound,string,filename
  declarexfunction nothing,gx_sound_savewav,gx_tsound,ptr_tsound,string,filename
  declarexfunction nothing,gx_sound_savesvx,gx_tsound,ptr_tsound,string,filename,int,format
  declarexfunction nothing,gx_sound_savevoc,gx_tsound,ptr_tsound,string,filename,int,format
  declarexfunction nothing,gx_sound_free,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_addref,gx_tsound,ptr_tsound
  declarexfunction int,gx_sound_getref,gx_tsound,ptr_tsound
  declarexfunction gx_tsound,gx_sound_create,string,name,int,freq,int,stereo,int,nbsample
  declarexfunction gx_tsound,gx_sound_copy,gx_tsound,ptr_tsound
  declarexfunction string,gx_sound_getname,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_setname,gx_tsound,ptr_tsound,string,name
  declarexfunction int,gx_sound_getsize,gx_tsound,ptr_tsound
  declarexfunction void,gx_sound_getbuffer,gx_tsound,ptr_tsound
  declarexfunction int,gx_sound_getfreq,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_setfreq,gx_tsound,ptr_tsound,int,freq
  declarexfunction int,gx_sound_getstereo,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_crunch,gx_tsound,ptr_tsound,int,level
  declarexfunction int,gx_sound_getcrunch,gx_tsound,ptr_tsound
  declarexfunction int,gx_sound_getcrunchsize,gx_tsound,ptr_tsound
  declarexfunction int,gx_sound_getadpcmconfig,int,indexleft,int,indexright,int,lastleft,int,lastright
  declarexfunction nothing,gx_sound_setadpcmconfig,int,mode,int,indexleft,int,indexright,int,lastleft,int,lastright
  declarexfunction nothing,gx_sound_convert,gx_tsound,ptr_tsound,int,freq,int,stereo,int,flag
  declarexfunction int,gx_sound_getnbsample,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_insertsample,gx_tsound,ptr_tsound,int,possample,int,nbsample
  declarexfunction nothing,gx_sound_deletesample,gx_tsound,ptr_tsound,int,possample,int,nbsample
  declarexfunction nothing,gx_sound_getsample,gx_tsound,ptr_tsound,int,possample,rint,left,rint,right
  declarexfunction nothing,gx_sound_setsample,gx_tsound,ptr_tsound,int,possample,int,left,int,right
  declarexfunction nothing,gx_sound_clear,gx_tsound,ptr_tsound
  declarexfunction int,gx_sound_checkmono,gx_tsound,ptr_tsound,int,threshold
  declarexfunction nothing,gx_sound_generatesinus,gx_tsound,ptr_tsound,int,freq,int,volume
  declarexfunction nothing,gx_sound_generatesquare,gx_tsound,ptr_tsound,int,freq,int,volume
  declarexfunction nothing,gx_sound_copysound,gx_tsound,ptr_tsound,gx_tsound,src_tsound,int,possample
  declarexfunction nothing,gx_sound_insertsound,gx_tsound,ptr_tsound,gx_tsound,src_tsound,int,possample
  declarexfunction nothing,gx_sound_changevolume,gx_tsound,ptr_tsound,float,factor
  declarexfunction nothing,gx_sound_mixsound,gx_tsound,ptr_tsound,gx_tsound,src_tsound
  declarexfunction nothing,gx_sound_normalize,gx_tsound,ptr_tsound,int,level
  declarexfunction nothing,gx_sound_smooth,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_smoothmore,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_removesilence,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_transformspectrum,gx_tsound,ptr_tsound,int,threshold
  declarexfunction nothing,gx_sound_transformmodulation,gx_tsound,ptr_tsound,int,threshold
  declarexfunction nothing,gx_sound_init,nothing
  declarexfunction nothing,gx_sound_reset,nothing
  declarexfunction int,gx_sound_getstreamblocksize,nothing
  declarexfunction nothing,gx_sound_setstreamblocksize,int,blocksize
  declarexfunction int,gx_sound_getglobalvolume,nothing
  declarexfunction nothing,gx_sound_setglobalvolume,int,volume
  declarexfunction int,gx_sound_play2d,string,filename,int,volume,int,pitch,int,panning,int,flag
  declarexfunction int,gx_sound_play3d,string,filename,float,x0,float,y0,float,z0,int,angx,int,angy,int,angz,float,x1,float,y1,float,z1,int,volume,int,pitch,float,distance,int,flag
  declarexfunction int,gx_sound_playvoice2d,gx_tsound,ptr_tsound,int,volume,int,pitch,int,panning,int,flag
  declarexfunction int,gx_sound_playvoice3d,gx_tsound,ptr_tsound,float,x0,float,y0,float,z0,int,angx,int,angy,int,angz,float,x1,float,y1,float,z1,int,volume,int,pitch,float,distance,int,flag
  declarexfunction nothing,gx_sound_pause,int,voice
  declarexfunction nothing,gx_sound_resume,int,voice
  declarexfunction nothing,gx_sound_pauseall,nothing
  declarexfunction nothing,gx_sound_resumeall,nothing
  declarexfunction int,gx_sound_getcachesize,nothing
  declarexfunction nothing,gx_sound_setcachesize,int,nbcache
  declarexfunction nothing,gx_sound_cache,string,filename
  declarexfunction nothing,gx_sound_uncache,string,filename
  declarexfunction nothing,gx_sound_uncacheall,nothing
  declarexfunction nothing,gx_sound_stop,int,voice
  declarexfunction nothing,gx_sound_stopall,nothing
  declarexfunction nothing,gx_sound_update2d,int,voice,int,volume,int,pitch,int,panning
  declarexfunction nothing,gx_sound_update3d,int,voice,float,x0,float,y0,float,z0,int,angx,int,angy,int,angz,float,x1,float,y1,float,z1,int,volume,int,pitch,float,distance
  declarexfunction nothing,gx_sound_mixer,nothing
  declarexfunction int,gx_sound_getstate,int,voice
  declarexfunction int,gx_sound_getpos,int,voice
  declarexfunction int,gx_sound_getvolume,int,voice
  declarexfunction int,gx_sound_getpitch,int,voice
  declarexfunction int,gx_sound_getpanning,int,voice
  declarexfunction nothing,gx_sound_initmusic,string,filename,int,volume,int,panning
  declarexfunction int,gx_sound_updatemusic,int,volume,int,panning
  declarexfunction nothing,gx_sound_resetmusic,nothing
  declarexfunction gx_tsound,gx_sound_editor,gx_tsound,ptr_tsound
  declarexfunction gx_tsound,gx_sound_editorload,nothing
  declarexfunction nothing,gx_sound_editorsave,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_editorsaveas,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_converter,nothing
  declarexfunction int,gx_sound_getfreevoice,nothing
  declarexfunction int,gx_sound_voicegetstatus,int,voice
  declarexfunction nothing,gx_sound_voicesetstatus,int,voice,int,status
  declarexfunction int,gx_sound_voicegetfrequency,int,voice
  declarexfunction nothing,gx_sound_voicesetfrequency,int,voice,int,frequency
  declarexfunction int,gx_sound_voicegetvolume,int,voice
  declarexfunction nothing,gx_sound_voicesetvolume,int,voice,int,volume
  declarexfunction int,gx_sound_voicegetpitch,int,voice
  declarexfunction nothing,gx_sound_voicesetpitch,int,voice,int,pitch
  declarexfunction int,gx_sound_voicegetpanning,int,voice
  declarexfunction nothing,gx_sound_voicesetpanning,int,voice,int,panning
  declarexfunction int,gx_sound_voicegetsize,int,voice
  declarexfunction nothing,gx_sound_voicesetsize,int,voice,int,size
  declarexfunction void,gx_sound_voicegetbuffer,int,voice
  declarexfunction nothing,gx_sound_voicesetbuffer,int,voice,void,buffer
  declarexfunction int,gx_sound_voicegetuservalue,int,voice
  declarexfunction nothing,gx_sound_voicesetuservalue,int,voice,int,value
  declarexfunction void,gx_sound_voicegetuserpointer,int,voice
  declarexfunction nothing,gx_sound_voicesetuserpointer,int,voice,void,userpointer
  declarexfunction nothing,gx_sound_randomsetfrequency,int,frequency
  declarexfunction nothing,gx_sound_randominsert,string,name,gx_tsound,ptr_tsound,int,volume,int,priority
  declarexfunction nothing,gx_sound_randommanage,nothing
  declarexfunction nothing,gx_sound_randomfree,nothing
  declarexfunction nothing,gx_sound_musicplay,string,filename,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_sound_musicstop,nothing
  declarexfunction nothing,gx_sound_musicmanage,nothing
  declarexfunction int,gx_sound_musicisplaying,nothing
  declarexfunction int,gx_sound_musicgetvoice,nothing
  declarexfunction int,gx_sound_musicgetvolume,nothing
  declarexfunction nothing,gx_sound_musicsetvolume,int,volume
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------------- */
/* gx_soundmixer */
/* ------------- */
group gx_soundmixer
  typedef gx_stoundmixer
  classtype gx_soundmixer,gx_tsoundmixer

  define gx_soundmixervoice_flagenabled,0x1
  define gx_soundmixervoice_flagplaying,0x2
  define gx_soundmixervoice_flagpaused,0x4
  define gx_soundmixervoice_flagloop,0x8
  define gx_soundmixervoice_flaglooped,0x10

  declarexfunction int,gx_soundmixer_ginstall,nothing
  declarexfunction nothing,gx_soundmixer_install,nothing
  declarexfunction nothing,gx_soundmixer_uninstall,nothing
  declarexfunction nothing,gx_soundmixer_init,int,nbsample,int,soundbufferfreq
  declarexfunction nothing,gx_soundmixer_reset,nothing
  declarexfunction nothing,gx_soundmixer_update,int,nbsample
  declarexfunction nothing,gx_soundmixer_updateestimation,nothing
  declarexfunction int,gx_soundmixer_getoutput,void,buffer,int,soundbit,int,stereo,int,sign
  declarexfunction void,gx_soundmixer_allocvoice,int,voice,int,stereo,int,size
  declarexfunction nothing,gx_soundmixer_freevoice,int,voice
  declarexfunction int,gx_soundmixer_findfreevoice,nothing
  declarexfunction nothing,gx_soundmixer_playvoice,int,voice,int,pos,int,freq,int,vol,int,pan,int,flag
  declarexfunction nothing,gx_soundmixer_stopvoice,int,voice
  declarexfunction nothing,gx_soundmixer_getvoicestate,int,voice,rint,pos,rint,estimatedpos,rint,freq,rint,vol,rint,pan,rint,flag
  declarexfunction nothing,gx_soundmixer_changevoicestate,int,voice,int,pos,int,estimatedpos,int,freq,int,vol,int,pan,int,flag
  declarexfunction nothing,gx_soundmixer_pausevoice,int,voice
  declarexfunction nothing,gx_soundmixer_resumevoice,int,voice
  declarexfunction int,gx_soundmixer_streamvoice,int,voice,void,buffer,int,size
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* -------- */
/* gx_stack */
/* -------- */
group gx_stack
  typedef gx_tstack
  classtype gx_stack,gx_tstack

  declarexfunction int,gx_stack_ginstall,nothing
  declarexfunction void,gx_stack_getparentclass,gx_tstack,ptr_tstack
  declarexfunction nothing,gx_stack_setparentclass,gx_tstack,ptr_tstack,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tstack,gx_stack_new,int,size
  declarexfunction nothing,gx_stack_free,gx_tstack,ptr_tstack
  declarexfunction nothing,gx_stack_addref,gx_tstack,ptr_tstack
  declarexfunction int,gx_stack_getref,gx_tstack,ptr_tstack
  declarexfunction int,gx_stack_getnbcell,gx_tstack,ptr_tstack
  declarexfunction void,gx_stack_push,gx_tstack,ptr_tstack
  declarexfunction nothing,gx_stack_pushint,gx_tstack,ptr_tstack,int,value
  declarexfunction nothing,gx_stack_pushfloat,gx_tstack,ptr_tstack,float,value
  declarexfunction nothing,gx_stack_pushlong,gx_tstack,ptr_tstack,long,value
  declarexfunction nothing,gx_stack_pushvoid,gx_tstack,ptr_tstack,void,value
  declarexfunction void,gx_stack_pushfront,gx_tstack,ptr_tstack
  declarexfunction nothing,gx_stack_pushfrontint,gx_tstack,ptr_tstack,int,value
  declarexfunction nothing,gx_stack_pushfrontfloat,gx_tstack,ptr_tstack,float,value
  declarexfunction nothing,gx_stack_pushfrontlong,gx_tstack,ptr_tstack,long,value
  declarexfunction nothing,gx_stack_pushfrontvoid,gx_tstack,ptr_tstack,void,value
  declarexfunction void,gx_stack_pop,gx_tstack,ptr_tstack
  declarexfunction int,gx_stack_popint,gx_tstack,ptr_tstack
  declarexfunction float,gx_stack_popfloat,gx_tstack,ptr_tstack
  declarexfunction long,gx_stack_poplong,gx_tstack,ptr_tstack
  declarexfunction void,gx_stack_popvoid,gx_tstack,ptr_tstack
  declarexfunction nothing,gx_stack_popfront,gx_tstack,ptr_tstack
  declarexfunction int,gx_stack_popfrontint,gx_tstack,ptr_tstack
  declarexfunction float,gx_stack_popfrontfloat,gx_tstack,ptr_tstack
  declarexfunction long,gx_stack_popfrontlong,gx_tstack,ptr_tstack
  declarexfunction void,gx_stack_popfrontvoid,gx_tstack,ptr_tstack
  declarexfunction void,gx_stack_get,gx_tstack,ptr_tstack,int,index
  declarexfunction int,gx_stack_getint,gx_tstack,ptr_tstack,int,index
  declarexfunction nothing,gx_stack_setint,gx_tstack,ptr_tstack,int,index,int,value
  declarexfunction float,gx_stack_getfloat,gx_tstack,ptr_tstack,int,index
  declarexfunction nothing,gx_stack_setfloat,gx_tstack,ptr_tstack,int,index,float,value
  declarexfunction long,gx_stack_getlong,gx_tstack,ptr_tstack,int,index
  declarexfunction nothing,gx_stack_setlong,gx_tstack,ptr_tstack,int,index,long,value
  declarexfunction void,gx_stack_getvoid,gx_tstack,ptr_tstack,int,index
  declarexfunction nothing,gx_stack_setvoid,gx_tstack,ptr_tstack,int,index,void,value
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  define gx_string_fieldpreservequote,0x80000000

  define gx_string_searchflag_none,0x0
  define gx_string_searchflag_case,0x1
  define gx_string_searchflag_wordonly,0x2
  define gx_string_searchflag_beginwordonly,0x4
  define gx_string_searchflag_endwordonly,0x8
  define gx_string_searchflag_nostring,0x10

  enum 0
    dim gx_string_blockmode_parenthese,1
    dim gx_string_blockmode_bracket,1
    dim gx_string_blockmode_brace,1
    dim gx_string_blockmode_chevron,1
  endenum

  enum 0
    dim gx_string_convertiso8859,1
    dim gx_string_convertfilename,1
    dim gx_string_convertdirname,1
    dim gx_string_convertfilenamestrict,1
    dim gx_string_convertdirnamestrict,1
    dim gx_string_converthtml,1
    dim gx_string_convertxml,1
  endenum

  enum 0
    dim gx_string_crypttypenone,1
    dim gx_string_crypttypesimple,1
    dim gx_string_crypttypesimplecrc,1
  endenum
endgroup

/* ------ */
/* gx_str */
/* ------ */
group gx_str
  typedef gx_tstr
  classtype gx_str,gx_tstr
  classtype gx_str,string
  typedef gx_tstring

  define gx_str_maxchar,512
  define gx_str_minichar,64

  declarexfunction int,gx_str_ginstall,nothing
  declarexfunction int,gx_str_getchar,string,src,int,index
  declarexfunction nothing,gx_str_setchar,string,src,int,index,int,value
  declarexfunction nothing,gx_str_clean,string,dst
  declarexfunction nothing,gx_str_clear,string,dst
  declarexfunction nothing,gx_str_fullclear,string,dst
  declarexfunction nothing,gx_str_copy,string,dst,string,src
  declarexfunction nothing,gx_str_copyunicode,string,dst,void,src
  declarexfunction int,gx_str_getsize,string,src
  declarexfunction nothing,gx_str_setsize,string,dst,int,size
  declarexfunction int,gx_str_getsimplecrc,string,text
  declarexfunction int,gx_str_getsimplecrccase,string,text
  declarexfunction int,gx_str_getcrc,string,text
  declarexfunction int,gx_str_getcrccase,string,text
  declarexfunction nothing,gx_str_append,string,dst,string,src
  declarexfunction nothing,gx_str_appendunicode,string,dst,void,src
  declarexfunction nothing,gx_str_appendcr,string,dst
  declarexfunction nothing,gx_str_appendtab,string,dst
  declarexfunction nothing,gx_str_appendchar,string,dst,int,value
  declarexfunction nothing,gx_str_appenddirseparator,string,dst
  declarexfunction int,gx_str_cmp,string,dst,string,src
  declarexfunction int,gx_str_cmpcase,string,dst,string,src
  declarexfunction int,gx_str_cmpunicode,string,dst,void,src
  declarexfunction int,gx_str_cmpcaseunicode,string,dst,void,src
  declarexfunction int,gx_str_find,string,dst,string,src,int,offset,int,flag
  declarexfunction int,gx_str_findunicode,string,dst,void,src,int,offset,int,flag
  declarexfunction int,gx_str_replace,string,target,string,source,string,replace,int,offset,int,flag
  declarexfunction int,gx_str_replaceunicode,string,dst,void,src,void,replace,int,offset,int,flag
  declarexfunction int,gx_str_middle,string,target,string,source,int,start,int,longu
  declarexfunction int,gx_str_middleunicode,string,dst,void,src,int,start,int,longu
  declarexfunction nothing,gx_str_ucase,string,source
  declarexfunction nothing,gx_str_lcase,string,source
  declarexfunction nothing,gx_str_ltrim,string,dst
  declarexfunction nothing,gx_str_rtrim,string,dst
  declarexfunction int,gx_str_dectoint,string,string
  declarexfunction long,gx_str_dectolong,string,string
  declarexfunction float,gx_str_dectofloat,string,string
  declarexfunction nothing,gx_str_inttodec,string,string,int,number
  declarexfunction nothing,gx_str_inttohex,string,string,int,number
  declarexfunction nothing,gx_str_inttobin,string,string,int,number
  declarexfunction nothing,gx_str_longtodec,string,string,long,number
  declarexfunction nothing,gx_str_longtohex,string,string,long,number
  declarexfunction nothing,gx_str_longtobin,string,string,long,number
  declarexfunction nothing,gx_str_floattodec,string,string,float,number
  declarexfunction nothing,gx_str_floattohex,string,target,float,number
  declarexfunction nothing,gx_str_appenddec,string,text,int,value
  declarexfunction nothing,gx_str_appendhex,string,text,int,value
  declarexfunction nothing,gx_str_appendbin,string,text,int,value
  declarexfunction nothing,gx_str_appendlong,string,text,long,value
  declarexfunction nothing,gx_str_appendlonghex,string,text,long,value
  declarexfunction nothing,gx_str_appendlongbin,string,text,long,value
  declarexfunction nothing,gx_str_appendfloat,string,text,float,value
  declarexfunction nothing,gx_str_appendfloathex,string,text,float,value
  declarexfunction nothing,gx_str_getfiledirectory,string,dst,string,src
  declarexfunction nothing,gx_str_getfiledirectoryandname,string,dst,string,src
  declarexfunction nothing,gx_str_getfilename,string,dst,string,src
  declarexfunction nothing,gx_str_getfileextension,string,dst,string,src
  declarexfunction nothing,gx_str_getfilenameandextension,string,dst,string,src
  declarexfunction nothing,gx_str_duplicatedoublequote,string,text
  declarexfunction nothing,gx_str_converttoascii,string,text,int,mode,int,flag
  declarexfunction nothing,gx_str_updateenvvar,string,text
  declarexfunction int,gx_str_getfield,string,dst,string,src,int,numfield
  declarexfunction int,gx_str_getfieldunicode,string,dst,void,src,int,numfield
  declarexfunction int,gx_str_getgenericfield,string,dst,string,src,string,separator,int,numfield,int,flag
  declarexfunction int,gx_str_getgenericfieldunicode,string,dst,void,src,void,separator,int,numfield,int,flag
  declarexfunction int,gx_str_isinstring,string,text,int,index,int,flag
  declarexfunction int,gx_str_getblock,string,dst,string,src,int,index,int,mode
  declarexfunction nothing,gx_str_encrypt,string,text,string,password,int,type
  declarexfunction nothing,gx_str_decrypt,string,text,string,password,int,type
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_txarray
endgroup

/* --------- */
/* gx_stream */
/* --------- */
group gx_stream
  typedef gx_tstream
  classtype gx_stream,gx_tstream

  declarexfunction int,gx_stream_ginstall,nothing
  declarexfunction nothing,gx_stream_install,nothing
  declarexfunction nothing,gx_stream_uninstall,nothing
  declarexfunction void,gx_stream_getparentclass,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_setparentclass,gx_tstream,ptr_tstream,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tstream,gx_stream_new,nothing
  declarexfunction gx_tstream,gx_stream_load,string,filename
  declarexfunction gx_tstream,gx_stream_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_stream_save,gx_tstream,ptr_tstream,string,filename
  declarexfunction int,gx_stream_savechunk,gx_tstream,ptr_tstream,int,filenum
  declarexfunction nothing,gx_stream_free,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_addref,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_getref,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_purge,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_purgeall,nothing
  declarexfunction gx_tstream,gx_stream_copy,gx_tstream,ptr_tstream
  declarexfunction string,gx_stream_getname,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_setname,gx_tstream,ptr_tstream,string,name
  declarexfunction gx_txarray,gx_stream_getxarray,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_setxarray,gx_tstream,ptr_tstream,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_stream_deleteall,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_appendstream,gx_tstream,ptr_tstream,gx_tstream,src_tstream
  declarexfunction void,gx_stream_getbuffer,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_getsize,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_setsize,gx_tstream,ptr_tstream,int,size
  declarexfunction nothing,gx_stream_start,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_stop,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_stopsecure,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_getpos,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_setpos,gx_tstream,ptr_tstream,int,pos
  declarexfunction nothing,gx_stream_startbitstream,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_stopbitstream,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_readchunk,gx_tstream,ptr_tstream,string,chunkname
  declarexfunction int,gx_stream_readbitstream,gx_tstream,ptr_tstream,int,nbbit
  declarexfunction int,gx_stream_readbyte,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_readubyte,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_readshort,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_breadshort,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_readushort,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_breadushort,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_readint,gx_tstream,ptr_tstream
  declarexfunction int,gx_stream_breadint,gx_tstream,ptr_tstream
  declarexfunction float,gx_stream_readfloat16,gx_tstream,ptr_tstream
  declarexfunction float,gx_stream_breadfloat16,gx_tstream,ptr_tstream
  declarexfunction float,gx_stream_readfloat,gx_tstream,ptr_tstream
  declarexfunction float,gx_stream_breadfloat,gx_tstream,ptr_tstream
  declarexfunction long,gx_stream_readlong,gx_tstream,ptr_tstream
  declarexfunction long,gx_stream_breadlong,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_readstring,gx_tstream,ptr_tstream,string,text
  declarexfunction nothing,gx_stream_readunicode,gx_tstream,ptr_tstream,void,text
  declarexfunction void,gx_stream_readbuffer,gx_tstream,ptr_tstream,int,size
  declarexfunction nothing,gx_stream_writebitstream,gx_tstream,ptr_tstream,int,nbbit,int,value
  declarexfunction nothing,gx_stream_writechunk,gx_tstream,ptr_tstream,string,chunkname
  declarexfunction nothing,gx_stream_writebyte,gx_tstream,ptr_tstream,int,value
  declarexfunction nothing,gx_stream_writeshort,gx_tstream,ptr_tstream,int,value
  declarexfunction nothing,gx_stream_bwriteshort,gx_tstream,ptr_tstream,int,value
  declarexfunction nothing,gx_stream_writeint,gx_tstream,ptr_tstream,int,value
  declarexfunction nothing,gx_stream_bwriteint,gx_tstream,ptr_tstream,int,value
  declarexfunction nothing,gx_stream_writefloat16,gx_tstream,ptr_tstream,float,value
  declarexfunction nothing,gx_stream_bwritefloat16,gx_tstream,ptr_tstream,float,value
  declarexfunction nothing,gx_stream_writefloat,gx_tstream,ptr_tstream,float,value
  declarexfunction nothing,gx_stream_bwritefloat,gx_tstream,ptr_tstream,float,value
  declarexfunction nothing,gx_stream_writelong,gx_tstream,ptr_tstream,long,value
  declarexfunction nothing,gx_stream_bwritelong,gx_tstream,ptr_tstream,long,value
  declarexfunction nothing,gx_stream_writestring,gx_tstream,ptr_tstream,string,text
  declarexfunction nothing,gx_stream_writeunicode,gx_tstream,ptr_tstream,void,text
  declarexfunction void,gx_stream_writebuffer,gx_tstream,ptr_tstream,int,size
  declarexfunction nothing,gx_stream_crunch,gx_tstream,ptr_tstream,int,pack
  declarexfunction nothing,gx_stream_decrunch,gx_tstream,ptr_tstream
  declarexfunction nothing,gx_stream_crypt,gx_tstream,ptr_tstream,int,type,void,password,int,passwordsize
  declarexfunction nothing,gx_stream_decrypt,gx_tstream,ptr_tstream,int,type,void,password,int,passwordsize
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* -------------- */
/* gx_stringarray */
/* -------------- */
group gx_stringarray
  typedef gx_tstringarray
  classtype gx_stringarray,gx_tstringarray

  declarexfunction int,gx_stringarray_ginstall,nothing
  declarexfunction void,gx_stringarray_getparentclass,gx_tstringarray,ptr_tstringarray
  declarexfunction nothing,gx_stringarray_setparentclass,gx_tstringarray,ptr_tstringarray,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tstringarray,gx_stringarray_new,nothing
  declarexfunction gx_tstringarray,gx_stringarray_load,string,filename
  declarexfunction gx_tstringarray,gx_stringarray_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_stringarray_save,gx_tstringarray,ptr_tstringarray,string,filename
  declarexfunction int,gx_stringarray_savechunk,gx_tstringarray,ptr_tstringarray,int,filenum
  declarexfunction nothing,gx_stringarray_free,gx_tstringarray,ptr_tstringarray
  declarexfunction nothing,gx_stringarray_addref,gx_tstringarray,ptr_tstringarray
  declarexfunction int,gx_stringarray_getref,gx_tstringarray,ptr_tstringarray
  declarexfunction gx_tstringarray,gx_stringarray_copy,gx_tstringarray,ptr_tstringarray
  declarexfunction nothing,gx_stringarray_usehashlist,gx_tstringarray,ptr_tstringarray,int,flag
  declarexfunction int,gx_stringarray_ishashlistused,gx_tstringarray,ptr_tstringarray
  declarexfunction string,gx_stringarray_getname,gx_tstringarray,ptr_tstringarray
  declarexfunction nothing,gx_stringarray_setname,gx_tstringarray,ptr_tstringarray,string,name
  declarexfunction int,gx_stringarray_insertstring,gx_tstringarray,ptr_tstringarray,string,text
  declarexfunction nothing,gx_stringarray_replacestring,gx_tstringarray,ptr_tstringarray,int,index,string,text
  declarexfunction nothing,gx_stringarray_deletestring,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_deleteall,gx_tstringarray,ptr_tstringarray
  declarexfunction nothing,gx_stringarray_purge,gx_tstringarray,ptr_tstringarray
  declarexfunction int,gx_stringarray_getnbstring,gx_tstringarray,ptr_tstringarray
  declarexfunction int,gx_stringarray_getstringindex,gx_tstringarray,ptr_tstringarray,string,text
  declarexfunction int,gx_stringarray_getstringindexcase,gx_tstringarray,ptr_tstringarray,string,text
  declarexfunction int,gx_stringarray_getnextstringindex,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction int,gx_stringarray_getnextstringindexcase,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction string,gx_stringarray_getstring,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction int,gx_stringarray_getuservalue,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_setuservalue,gx_tstringarray,ptr_tstringarray,int,index,int,value
  declarexfunction long,gx_stringarray_getuserlongvalue,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_setuserlongvalue,gx_tstringarray,ptr_tstringarray,int,index,long,value
  declarexfunction int,gx_stringarray_getuserid,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_setuserid,gx_tstringarray,ptr_tstringarray,int,index,int,id
  declarexfunction long,gx_stringarray_getuserlongid,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_setuserlongid,gx_tstringarray,ptr_tstringarray,int,index,long,id
  declarexfunction void,gx_stringarray_getuserpointer,gx_tstringarray,ptr_tstringarray,int,index
  declarexfunction nothing,gx_stringarray_setuserpointer,gx_tstringarray,ptr_tstringarray,int,index,void,pointer
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tvcpu
  typedef gx_tfield
  typedef gx_tcomponent
endgroup

/* --------- */
/* gx_system */
/* --------- */
group gx_system
  typedef gx_tsystem
  classtype gx_system,gx_tsystem

  define gx_false,0
  define gx_true,1
  define gx_null,0

  define gx_system_nbparameter,32

  enum 0
    dim gx_system_debugmodenone,1
    dim gx_system_debugmodestandard,1
    dim gx_system_debugmodefull,1
  endenum

  enum 0
    dim gx_system_fieldtype_core,1
    dim gx_system_fieldtype_gel,1
    dim gx_system_fieldtype_render,1
    dim gx_system_fieldtype_emulation,1
    dim gx_system_fieldtype_baseed,1
    dim gx_system_fieldtype_importer,1
    dim gx_system_fieldtype_license,1
    dim gx_system_fieldtype_envvar,1
    dim gx_system_fieldtype_number,1
  endenum

  enum 0
    dim gx_system_progressbarsequence_loadworld,1
    dim gx_system_progressbarsequence_loadmodel,1
    dim gx_system_progressbarsequence_loadbase,1
    dim gx_system_progressbarsequence_installgel,1
    dim gx_system_progressbarsequence_installworld,1
    dim gx_system_progressbarsequence_installmodel,1
    dim gx_system_progressbarsequence_installmaterial,1
    dim gx_system_progressbarsequence_installbase,1
    dim gx_system_progressbarsequence_basefinished,1
  endenum

  declarexfunction int,gx_system_ginstall,nothing
  declarexfunction nothing,gx_system_install,nothing
  declarexfunction nothing,gx_system_uninstall,nothing
  declarexfunction string,gx_system_getcommandline,nothing
  declarexfunction nothing,gx_system_setcommandline,string,command
  declarexfunction int,gx_system_getshutdownrequest,nothing
  declarexfunction nothing,gx_system_setshutdownrequest,int,value
  declarexfunction nothing,gx_system_swapdata,void,pointer1,void,pointer2,void,pointertmp,int,size
  declarexfunction nothing,gx_system_longswapdata,void,pointer1,void,pointer2,void,pointertmp,long,size
  declarexfunction nothing,gx_system_invertdata,void,pointer,int,size
  declarexfunction nothing,gx_system_longinvertdata,void,pointer,long,size
  declarexfunction int,gx_system_fourcctoint,string,name
  declarexfunction nothing,gx_system_inttofourcc,int,value,string,name
  declarexfunction int,gx_system_getrandomseed,nothing
  declarexfunction nothing,gx_system_setrandomseed,int,value
  declarexfunction int,gx_system_getrandom,nothing
  declarexfunction int,gx_system_getsegmentrandom,int,min,int,max
  declarexfunction int,gx_system_gettruerandom,nothing
  declarexfunction nothing,gx_system_forcetimer,int,timer
  declarexfunction int,gx_system_gettimer,nothing
  declarexfunction int,gx_system_getcrc8,int,lastcrc,int,value
  declarexfunction int,gx_system_getcrc16,int,lastcrc,int,value
  declarexfunction int,gx_system_getcrc,int,lastcrc,int,value
  declarexfunction nothing,gx_system_getcrc64,rint,lastcrc0,rint,lastcrc1,int,value
  declarexfunction nothing,gx_system_getcrc128,rint,lastcrc0,rint,lastcrc1,rint,lastcrc2,rint,lastcrc3,int,value
  declarexfunction nothing,gx_system_getcrc256,rint,lastcrc0,rint,lastcrc1,rint,lastcrc2,rint,lastcrc3,rint,lastcrc4,rint,lastcrc5,rint,lastcrc6,rint,lastcrc7,int,value
  declarexfunction long,gx_system_longgetcrc,long,lastcrc,int,value
  declarexfunction int,gx_system_getcpccrc,int,lastcrc,int,value
  declarexfunction nothing,gx_system_convertbuffertobase16,void,buffer,int,size,void,base16buffer
  declarexfunction nothing,gx_system_longconvertbuffertobase16,void,buffer,long,size,void,base16buffer
  declarexfunction nothing,gx_system_convertbufferfrombase16,void,base16buffer,void,buffer,int,size
  declarexfunction nothing,gx_system_longconvertbufferfrombase16,void,base16buffer,void,buffer,long,size
  declarexfunction int,gx_system_getbase64size,int,size
  declarexfunction long,gx_system_longgetbase64size,long,size
  declarexfunction nothing,gx_system_convertbuffertobase64,void,src,int,size,void,dst
  declarexfunction nothing,gx_system_longconvertbuffertobase64,void,src,long,size,void,dst
  declarexfunction nothing,gx_system_convertbufferfrombase64,void,src,void,dst,int,size
  declarexfunction nothing,gx_system_longconvertbufferfrombase64,void,src,void,dst,long,size
  declarexfunction nothing,gx_system_getfiletmp,string,filename
  declarexfunction nothing,gx_system_getnametmp,string,name
  declarexfunction string,gx_system_getlogfilename,nothing
  declarexfunction nothing,gx_system_setlogfilename,string,filename
  declarexfunction nothing,gx_system_enablelog,nothing
  declarexfunction nothing,gx_system_disablelog,nothing
  declarexfunction int,gx_system_islogenabled,nothing
  declarexfunction nothing,gx_system_clearlog,nothing
  declarexfunction int,gx_system_getlegacyfilemode,nothing
  declarexfunction nothing,gx_system_setlegacyfilemode,int,value
  declarexfunction int,gx_system_getlegacyfileversion,nothing
  declarexfunction nothing,gx_system_convertbintoc,string,source,string,target,string,name
  declarexfunction nothing,gx_system_convertbintogel,string,source,string,target,string,name
  declarexfunction int,gx_system_peekbyte,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokebyte,void,pointer,int,offset,int,value
  declarexfunction int,gx_system_peekubyte,void,pointer,int,offset
  declarexfunction int,gx_system_peekshort,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokeshort,void,pointer,int,offset,int,value
  declarexfunction int,gx_system_peekushort,void,pointer,int,offset
  declarexfunction int,gx_system_xpeekshort,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokeshort,void,pointer,int,index,int,value
  declarexfunction int,gx_system_xpeekushort,void,pointer,int,index
  declarexfunction int,gx_system_peekint,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokeint,void,pointer,int,offset,int,value
  declarexfunction int,gx_system_xpeekint,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokeint,void,pointer,int,index,int,value
  declarexfunction float,gx_system_peekfloat,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokefloat,void,pointer,int,offset,float,value
  declarexfunction float,gx_system_xpeekfloat,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokefloat,void,pointer,int,index,float,value
  declarexfunction long,gx_system_peeklong,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokelong,void,pointer,int,offset,long,value
  declarexfunction long,gx_system_xpeeklong,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokelong,void,pointer,int,index,long,value
  declarexfunction void,gx_system_peekvoid,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokevoid,void,pointer,int,offset,void,value
  declarexfunction void,gx_system_xpeekvoid,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokevoid,void,pointer,int,index,void,value
  declarexfunction int,gx_system_peekshortcpu,void,pointer,int,offset
  declarexfunction int,gx_system_peekushortcpu,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokeshortcpu,void,pointer,int,offset,int,value
  declarexfunction int,gx_system_xpeekshortcpu,void,pointer,int,index
  declarexfunction int,gx_system_xpeekushortcpu,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokeshortcpu,void,pointer,int,index,int,value
  declarexfunction int,gx_system_peekintcpu,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokeintcpu,void,pointer,int,offset,int,value
  declarexfunction int,gx_system_xpeekintcpu,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokeintcpu,void,pointer,int,index,int,value
  declarexfunction float,gx_system_peekfloatcpu,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokefloatcpu,void,pointer,int,offset,float,value
  declarexfunction float,gx_system_xpeekfloatcpu,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokefloatcpu,void,pointer,int,index,float,value
  declarexfunction long,gx_system_peeklongcpu,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokelongcpu,void,pointer,int,offset,long,value
  declarexfunction long,gx_system_xpeeklongcpu,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokelongcpu,void,pointer,int,index,long,value
  declarexfunction void,gx_system_peekvoidcpu,void,pointer,int,offset
  declarexfunction nothing,gx_system_pokevoidcpu,void,pointer,int,offset,void,value
  declarexfunction void,gx_system_xpeekvoidcpu,void,pointer,int,index
  declarexfunction nothing,gx_system_xpokevoidcpu,void,pointer,int,index,void,value
  declarexfunction nothing,gx_system_bitstreamstart,int,index,void,buffer
  declarexfunction int,gx_system_bitstreamread,int,index,int,nbbit
  declarexfunction int,gx_system_bitstreamreadinvert,int,index,int,nbbit
  declarexfunction nothing,gx_system_bitstreamwrite,int,index,int,nbbit,int,value
  declarexfunction nothing,gx_system_bitstreamwriteinvert,int,index,int,nbbit,int,value
  declarexfunction int,gx_system_bitstreamstop,int,index
  declarexfunction void,gx_system_getaddress,void,pointer,int,offset
  declarexfunction gx_tcomponent,gx_system_getcomponent,nothing
  declarexfunction nothing,gx_system_setcomponent,gx_tcomponent,ptr_tcomponent
  declarexfunction gx_tfield,gx_system_getfield,int,index
  declarexfunction nothing,gx_system_replaceenvironmentvariable,string,text
  declarexfunction int,gx_system_getpack,nothing
  declarexfunction nothing,gx_system_setpack,int,pack
  declarexfunction int,gx_system_getchunkformat,nothing
  declarexfunction nothing,gx_system_setchunkformat,int,value
  declarexfunction nothing,gx_system_purgeall,nothing
  declarexfunction int,gx_system_getdebugmode,nothing
  declarexfunction nothing,gx_system_setdebugmode,int,mode
  declarexfunction nothing,gx_system_interrupt,string,message,string,sourcefile,int,sourceline
  declarexfunction int,gx_system_getprogressbarsequence,nothing
  declarexfunction nothing,gx_system_setprogressbarsequence,int,sequence
  declarexfunction nothing,gx_system_setprogressbar,gx_tvcpu,ptr_tvcpu,int,address,void,callback
  declarexfunction nothing,gx_system_launchprogressbar,string,text
  declarexfunction int,gx_system_getnbvar,nothing
  declarexfunction int,gx_system_insertvar,string,name
  declarexfunction int,gx_system_insertvarint,string,name,int,value
  declarexfunction int,gx_system_insertvarfloat,string,name,float,value
  declarexfunction int,gx_system_insertvarlong,string,name,long,value
  declarexfunction int,gx_system_insertvarvoid,string,name,void,value
  declarexfunction nothing,gx_system_deletevar,int,index
  declarexfunction nothing,gx_system_deletenamedvar,string,name
  declarexfunction nothing,gx_system_deleteallvar,nothing
  declarexfunction string,gx_system_getvarname,int,index
  declarexfunction nothing,gx_system_setvarname,int,index,string,name
  declarexfunction int,gx_system_getvarindex,string,name
  declarexfunction int,gx_system_getvarint,int,index
  declarexfunction nothing,gx_system_setvarint,int,index,int,value
  declarexfunction int,gx_system_getnamedvarint,string,name
  declarexfunction nothing,gx_system_setnamedvarint,string,name,int,value
  declarexfunction float,gx_system_getvarfloat,int,index
  declarexfunction nothing,gx_system_setvarfloat,int,index,float,value
  declarexfunction float,gx_system_getnamedvarfloat,string,name
  declarexfunction nothing,gx_system_setnamedvarfloat,string,name,float,value
  declarexfunction long,gx_system_getvarlong,int,index
  declarexfunction nothing,gx_system_setvarlong,int,index,long,value
  declarexfunction long,gx_system_getnamedvarlong,string,name
  declarexfunction nothing,gx_system_setnamedvarlong,string,name,long,value
  declarexfunction void,gx_system_getvarvoid,int,index
  declarexfunction nothing,gx_system_setvarvoid,int,index,void,value
  declarexfunction void,gx_system_getnamedvarvoid,string,name
  declarexfunction nothing,gx_system_setnamedvarvoid,string,name,void,value
  declarexfunction int,gx_system_extgetvarint,int,index
  declarexfunction nothing,gx_system_extsetvarint,int,index,int,value
  declarexfunction float,gx_system_extgetvarfloat,int,index
  declarexfunction nothing,gx_system_extsetvarfloat,int,index,float,value
  declarexfunction long,gx_system_extgetvarlong,int,index
  declarexfunction nothing,gx_system_extsetvarlong,int,index,long,value
  declarexfunction void,gx_system_extgetvarvoid,int,index
  declarexfunction nothing,gx_system_extsetvarvoid,int,index,void,value
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ------- */
/* gx_tape */
/* ------- */
group gx_tape
  typedef gx_ttape
  classtype gx_tape,gx_ttape
  typedef gx_tsound

  enum 0
    dim gx_tape_modefm,1
    dim gx_tape_modeam,1
    dim gx_tape_modeamfm,1
    dim gx_tape_modeam4,1
    dim gx_tape_modeamfm5,1
  endenum

  declarexfunction int,gx_tape_ginstall,nothing
  declarexfunction int,gx_tape_getmode,nothing
  declarexfunction nothing,gx_tape_setmode,int,mode
  declarexfunction int,gx_tape_getpos,nothing
  declarexfunction nothing,gx_tape_setpos,gx_tsound,ptr_tsound,int,position
  declarexfunction int,gx_tape_isfinished,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readsilence,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readbit,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writebit,gx_tsound,ptr_tsound,int,value
  declarexfunction nothing,gx_tape_finishwritebit,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readbyte,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readubyte,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writebyte,gx_tsound,ptr_tsound,int,value
  declarexfunction int,gx_tape_readshort,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readushort,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writeshort,gx_tsound,ptr_tsound,int,value
  declarexfunction int,gx_tape_readshortinvert,gx_tsound,ptr_tsound
  declarexfunction int,gx_tape_readushortinvert,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writeshortinvert,gx_tsound,ptr_tsound,int,value
  declarexfunction int,gx_tape_readint,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writeint,gx_tsound,ptr_tsound,int,value
  declarexfunction int,gx_tape_readintinvert,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_tape_writeintinvert,gx_tsound,ptr_tsound,int,value
  declarexfunction nothing,gx_tape_readbuffer,gx_tsound,ptr_tsound,void,buffer,int,size
  declarexfunction nothing,gx_tape_writebuffer,gx_tsound,ptr_tsound,void,buffer,int,size
  declarexfunction int,gx_tape_convertcpctobuffer,gx_tsound,ptr_tsound,rvoid,buffer,string,filename,rint,type,rint,address,rint,location
  declarexfunction gx_tsound,gx_tape_convertbuffertocpc,void,buffer,int,size,string,filename,int,type,int,address,int,location,int,mode
  declarexfunction nothing,gx_tape_convertcpctofile,string,tapename,string,filename
  declarexfunction nothing,gx_tape_convertfiletocpc,string,filename,string,tapename,int,type,int,address,int,location,int,mode
  declarexfunction int,gx_tape_convertsignaltobuffer,gx_tsound,ptr_tsound,rvoid,buffer,string,filename
  declarexfunction gx_tsound,gx_tape_convertbuffertosignal,void,buffer,int,size,string,filename,int,mode
  declarexfunction nothing,gx_tape_convertsignaltofile,string,tapename,string,filename
  declarexfunction nothing,gx_tape_convertfiletosignal,string,filename,string,tapename,int,mode
endgroup

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_thread */
/* --------- */
group gx_thread
  typedef gx_tthread
  classtype gx_thread,gx_tthread

  declarexfunction int,gx_thread_ginstall,nothing
  declarexfunction nothing,gx_thread_install,int,nbthread
  declarexfunction nothing,gx_thread_uninstall,nothing
  declarexfunction int,gx_thread_getinstallcount,nothing
  declarexfunction int,gx_thread_getnbcore,nothing
  declarexfunction nothing,gx_thread_create,int,threadindex,void,function
  declarexfunction nothing,gx_thread_release,int,threadindex
  declarexfunction nothing,gx_thread_releaseall,nothing
  declarexfunction int,gx_thread_getwaiting,nothing
  declarexfunction int,gx_thread_getstate,int,threadindex
  declarexfunction nothing,gx_thread_switch,nothing
  declarexfunction nothing,gx_thread_lock,nothing
  declarexfunction nothing,gx_thread_unlock,nothing
  declarexfunction void,gx_thread_gethandle,int,threadindex
  declarexfunction nothing,gx_thread_sethandle,int,threadindex,void,handle
  declarexfunction int,gx_thread_getindex,void,handle
  declarexfunction int,gx_thread_getintreturn,int,threadindex
  declarexfunction nothing,gx_thread_setintreturn,int,threadindex,int,value
  declarexfunction float,gx_thread_getfloatreturn,int,threadindex
  declarexfunction nothing,gx_thread_setfloatreturn,int,threadindex,float,value
  declarexfunction void,gx_thread_getvoidreturn,int,threadindex
  declarexfunction nothing,gx_thread_setvoidreturn,int,threadindex,void,value
  declarexfunction int,gx_thread_getintparameter,int,threadindex,int,index
  declarexfunction nothing,gx_thread_setintparameter,int,threadindex,int,index,int,value
  declarexfunction float,gx_thread_getfloatparameter,int,threadindex,int,index
  declarexfunction nothing,gx_thread_setfloatparameter,int,threadindex,int,index,float,value
  declarexfunction long,gx_thread_getlongparameter,int,threadindex,int,index
  declarexfunction nothing,gx_thread_setlongparameter,int,threadindex,int,index,long,value
  declarexfunction void,gx_thread_getvoidparameter,int,threadindex,int,index
  declarexfunction nothing,gx_thread_setvoidparameter,int,threadindex,int,index,void,value
  declarexfunction void,gx_thread_newcallbackqueue,nothing
  declarexfunction nothing,gx_thread_freecallbackqueue,void,queue
  declarexfunction int,gx_thread_queuegetnbcallback,void,queue
  declarexfunction nothing,gx_thread_queueinsertcallback,void,queue,void,callback,void,value
  declarexfunction nothing,gx_thread_queueruncallback,void,queue
  declarexfunction nothing,gx_thread_queuewaitcallback,void,queue,int,millisecond
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* ---------- */
/* gx_unicode */
/* ---------- */
group gx_unicode
  typedef gx_tunicode
  classtype gx_unicode,gx_tunicode

  declarexfunction int,gx_unicode_ginstall,nothing
  declarexfunction int,gx_unicode_getchar,void,src,int,index
  declarexfunction nothing,gx_unicode_setchar,void,src,int,index,int,value
  declarexfunction nothing,gx_unicode_clean,void,dst
  declarexfunction nothing,gx_unicode_clear,void,dst
  declarexfunction nothing,gx_unicode_fullclear,void,dst
  declarexfunction nothing,gx_unicode_copy,void,dst,void,src
  declarexfunction nothing,gx_unicode_copystr,void,dst,string,src
  declarexfunction int,gx_unicode_getsize,void,src
  declarexfunction nothing,gx_unicode_setsize,void,dst,int,size
  declarexfunction int,gx_unicode_getsimplecrc,void,text
  declarexfunction int,gx_unicode_getsimplecrccase,void,text
  declarexfunction int,gx_unicode_getcrc,void,text
  declarexfunction int,gx_unicode_getcrccase,void,text
  declarexfunction nothing,gx_unicode_append,void,dst,void,src
  declarexfunction nothing,gx_unicode_appendstr,void,dst,string,src
  declarexfunction nothing,gx_unicode_appendcr,void,dst
  declarexfunction nothing,gx_unicode_appendtab,void,dst
  declarexfunction nothing,gx_unicode_appendchar,void,dst,int,value
  declarexfunction nothing,gx_unicode_appenddirseparator,void,dst
  declarexfunction int,gx_unicode_cmp,void,dst,void,src
  declarexfunction int,gx_unicode_cmpcase,void,dst,void,src
  declarexfunction int,gx_unicode_cmpstr,void,dst,string,src
  declarexfunction int,gx_unicode_cmpcasestr,void,dst,string,src
  declarexfunction int,gx_unicode_find,void,dst,void,src,int,offset,int,flag
  declarexfunction int,gx_unicode_findstr,void,dst,string,src,int,offset,int,flag
  declarexfunction int,gx_unicode_replace,void,target,void,source,void,replace,int,offset,int,flag
  declarexfunction int,gx_unicode_replacestr,void,dst,string,src,string,replace,int,offset,int,flag
  declarexfunction int,gx_unicode_middle,void,target,void,source,int,start,int,longu
  declarexfunction int,gx_unicode_middlestr,void,dst,string,src,int,start,int,longu
  declarexfunction nothing,gx_unicode_ucase,void,source
  declarexfunction nothing,gx_unicode_lcase,void,source
  declarexfunction nothing,gx_unicode_ltrim,void,dst
  declarexfunction nothing,gx_unicode_rtrim,void,dst
  declarexfunction int,gx_unicode_dectoint,void,string
  declarexfunction long,gx_unicode_dectolong,void,string
  declarexfunction float,gx_unicode_dectofloat,void,string
  declarexfunction nothing,gx_unicode_inttodec,void,string,int,number
  declarexfunction nothing,gx_unicode_inttohex,void,string,int,number
  declarexfunction nothing,gx_unicode_inttobin,void,string,int,number
  declarexfunction nothing,gx_unicode_longtodec,void,string,long,number
  declarexfunction nothing,gx_unicode_longtohex,void,string,long,number
  declarexfunction nothing,gx_unicode_longtobin,void,string,long,number
  declarexfunction nothing,gx_unicode_floattodec,void,string,float,number
  declarexfunction nothing,gx_unicode_floattohex,void,target,float,number
  declarexfunction nothing,gx_unicode_appenddec,void,text,int,value
  declarexfunction nothing,gx_unicode_appendhex,void,text,int,value
  declarexfunction nothing,gx_unicode_appendbin,void,text,int,value
  declarexfunction nothing,gx_unicode_appendlong,void,text,long,value
  declarexfunction nothing,gx_unicode_appendlonghex,void,text,long,value
  declarexfunction nothing,gx_unicode_appendlongbin,void,text,long,value
  declarexfunction nothing,gx_unicode_appendfloat,void,text,float,value
  declarexfunction nothing,gx_unicode_appendfloathex,void,text,float,value
  declarexfunction nothing,gx_unicode_getfiledirectory,void,dst,void,src
  declarexfunction nothing,gx_unicode_getfiledirectoryandname,void,dst,void,src
  declarexfunction nothing,gx_unicode_getfilename,void,dst,void,src
  declarexfunction nothing,gx_unicode_getfileextension,void,dst,void,src
  declarexfunction nothing,gx_unicode_getfilenameandextension,void,dst,void,src
  declarexfunction nothing,gx_unicode_duplicatedoublequote,void,text
  declarexfunction nothing,gx_unicode_converttoascii,void,text,int,mode,int,flag
  declarexfunction nothing,gx_unicode_updateenvvar,void,text
  declarexfunction int,gx_unicode_getfield,void,dst,void,src,int,numfield
  declarexfunction int,gx_unicode_getfieldstr,void,dst,string,src,int,numfield
  declarexfunction int,gx_unicode_getgenericfield,void,dst,void,src,void,separator,int,numfield,int,flag
  declarexfunction int,gx_unicode_getgenericfieldstr,void,dst,string,src,string,separator,int,numfield,int,flag
  declarexfunction int,gx_unicode_isinstring,void,text,int,index,int,flag
  declarexfunction int,gx_unicode_getblock,void,dst,void,src,int,index,int,mode
  declarexfunction nothing,gx_unicode_encrypt,void,text,string,password,int,type
  declarexfunction nothing,gx_unicode_decrypt,void,text,string,password,int,type
endgroup

resetlinecounter 0

/* ======================================================================== */
/* Antiryad Gx headers - Copyright (c) Arkham Development - Antoine Guillon */
/* ======================================================================== */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.       */
/* The contents of this file may not be disclosed to third parties,         */
/* copied or duplicated in any form, in whole or in part,                   */
/* without the prior written permission of Arkham Development.              */
/* ======================================================================== */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_twbtexteditor
endgroup

/* ------- */
/* gx_vcpu */
/* ------- */
group gx_vcpu
  typedef gx_tvcpu
  classtype gx_vcpu,gx_tvcpu

  define gx_vcpu_tracestepinto,0
  define gx_vcpu_tracestepover,-1
  define gx_vcpu_tracedisable,-2
  define gx_vcpu_traceterminate,-3

  enum 0
    dim gx_vcpu_importgph,1
    dim gx_vcpu_importinstall,1
  endenum

  define gx_vcpuargument_typeerror,-1
  define gx_vcpuargument_typeconst,0
  define gx_vcpuargument_typeint,1
  define gx_vcpuargument_typefloat,2
  define gx_vcpuargument_typelong,3
  define gx_vcpuargument_typemax,4

  enum 0
    dim gx_vcpuvar_typeint,1
    dim gx_vcpuvar_typefloat,1
    dim gx_vcpuvar_typelong,1
    dim gx_vcpuvar_typemax,1
  endenum

  declarexfunction int,gx_vcpu_ginstall,nothing
  declarexfunction nothing,gx_vcpu_install,nothing
  declarexfunction nothing,gx_vcpu_uninstall,nothing
  declarexfunction void,gx_vcpu_getparentclass,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_setparentclass,gx_tvcpu,ptr_tvcpu,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tvcpu,gx_vcpu_load,string,filename
  declarexfunction gx_tvcpu,gx_vcpu_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_vcpu_save,gx_tvcpu,ptr_tvcpu,string,filename
  declarexfunction int,gx_vcpu_savechunk,gx_tvcpu,ptr_tvcpu,int,filenum
  declarexfunction nothing,gx_vcpu_saveall,string,filename
  declarexfunction nothing,gx_vcpu_saveallchunk,int,filenum
  declarexfunction nothing,gx_vcpu_free,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_freelink,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_addref,gx_tvcpu,ptr_tvcpu
  declarexfunction int,gx_vcpu_getref,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_reimport,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_reimportlink,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_reimportall,nothing
  declarexfunction nothing,gx_vcpu_optimizememory,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_optimizememorylink,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_optimizememoryall,nothing
  declarexfunction int,gx_vcpu_getnbclass,nothing
  declarexfunction gx_tvcpu,gx_vcpu_getindexedclass,int,index
  declarexfunction gx_tvcpu,gx_vcpu_getnamedclass,string,classname
  declarexfunction string,gx_vcpu_getclassname,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_getcurrentclass,string,currentclass,gx_tvcpu,current_tvcpu,rint,currentadress,rint,currentline
  declarexfunction int,gx_vcpu_getnblink,gx_tvcpu,ptr_tvcpu
  declarexfunction gx_tvcpu,gx_vcpu_getlink,gx_tvcpu,ptr_tvcpu,int,index
  declarexfunction int,gx_vcpu_getnbadress,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_setuserbreakpoint,gx_tvcpu,ptr_tvcpu,int,address
  declarexfunction nothing,gx_vcpu_setbreakpoint,nothing
  declarexfunction nothing,gx_vcpu_resetnbexecutedinstruction,nothing
  declarexfunction int,gx_vcpu_getnbexecutedinstruction,nothing
  declarexfunction int,gx_vcpu_getlabeladress,gx_tvcpu,ptr_tvcpu,string,label
  declarexfunction int,gx_vcpu_registerintfunction,gx_tvcpu,ptr_tvcpu,string,instruction,void,callback
  declarexfunction int,gx_vcpu_registerfloatfunction,gx_tvcpu,ptr_tvcpu,string,instruction,void,callback
  declarexfunction int,gx_vcpu_registerlongfunction,gx_tvcpu,ptr_tvcpu,string,instruction,void,callback
  declarexfunction int,gx_vcpu_registervoidfunction,gx_tvcpu,ptr_tvcpu,string,instruction,void,callback
  declarexfunction int,gx_vcpu_modifyconstint,gx_tvcpu,ptr_tvcpu,string,constant,int,value
  declarexfunction int,gx_vcpu_modifyconstfloat,gx_tvcpu,ptr_tvcpu,string,constant,float,value
  declarexfunction int,gx_vcpu_modifyconstlong,gx_tvcpu,ptr_tvcpu,string,constant,long,value
  declarexfunction int,gx_vcpu_modifyconstvoid,gx_tvcpu,ptr_tvcpu,string,constant,void,value
  declarexfunction int,gx_vcpu_getnbvariable,nothing
  declarexfunction int,gx_vcpu_getnamedvariable,gx_tvcpu,ptr_tvcpu,string,variable
  declarexfunction string,gx_vcpu_getvariablename,int,index
  declarexfunction int,gx_vcpu_getvariabletype,gx_tvcpu,ptr_tvcpu,string,variable
  declarexfunction int,gx_vcpu_getindexedvariabletype,int,index
  declarexfunction int,gx_vcpu_getvariableint,int,index
  declarexfunction float,gx_vcpu_getvariablefloat,int,index
  declarexfunction long,gx_vcpu_getvariablelong,int,index
  declarexfunction void,gx_vcpu_getvariablevoid,int,index
  declarexfunction int,gx_vcpu_setvariableint,int,index,int,value
  declarexfunction int,gx_vcpu_setvariablefloat,int,index,float,value
  declarexfunction int,gx_vcpu_setvariablelong,int,index,long,value
  declarexfunction int,gx_vcpu_setvariablevoid,int,index,void,value
  declarexfunction int,gx_vcpu_getvariabledresult,nothing
  declarexfunction float,gx_vcpu_getvariablefresult,nothing
  declarexfunction long,gx_vcpu_getvariablelresult,nothing
  declarexfunction void,gx_vcpu_getvariablearesult,nothing
  declarexfunction int,gx_vcpu_getargumenttype,int,index
  declarexfunction int,gx_vcpu_getargumentstringonly,int,index,string,string
  declarexfunction int,gx_vcpu_getargumentstring,int,index,string,string
  declarexfunction int,gx_vcpu_getargumentint,int,index,rint,value
  declarexfunction int,gx_vcpu_getargumentfloat,int,index,rfloat,value
  declarexfunction int,gx_vcpu_getargumentlong,int,index,rlong,value
  declarexfunction int,gx_vcpu_getargumentvoid,int,index,rvoid,value
  declarexfunction int,gx_vcpu_setargumentint,int,index,int,value
  declarexfunction int,gx_vcpu_setargumentfloat,int,index,float,value
  declarexfunction int,gx_vcpu_setargumentlong,int,index,long,value
  declarexfunction int,gx_vcpu_setargumentvoid,int,index,void,value
  declarexfunction nothing,gx_vcpu_pluginargumentbegin,nothing
  declarexfunction nothing,gx_vcpu_pluginargumentend,nothing
  declarexfunction int,gx_vcpu_ispluginargument,nothing
  declarexfunction int,gx_vcpu_getsizeclonedvar,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_vcpu_restoreclonedvar,gx_tvcpu,ptr_tvcpu,void,buffer
  declarexfunction nothing,gx_vcpu_restorenovoidclonedvar,gx_tvcpu,ptr_tvcpu,void,buffer
  declarexfunction nothing,gx_vcpu_clonevar,gx_tvcpu,ptr_tvcpu,void,buffer
  declarexfunction int,gx_vcpu_getnbclonedvar,gx_tvcpu,ptr_tvcpu
  declarexfunction int,gx_vcpu_getnamedclonedvar,gx_tvcpu,ptr_tvcpu,string,name
  declarexfunction int,gx_vcpu_getclonedvarint,gx_tvcpu,ptr_tvcpu,void,buffer,int,index
  declarexfunction nothing,gx_vcpu_setclonedvarint,gx_tvcpu,ptr_tvcpu,void,buffer,int,index,int,value
  declarexfunction float,gx_vcpu_getclonedvarfloat,gx_tvcpu,ptr_tvcpu,void,buffer,int,index
  declarexfunction nothing,gx_vcpu_setclonedvarfloat,gx_tvcpu,ptr_tvcpu,void,buffer,int,index,float,value
  declarexfunction long,gx_vcpu_getclonedvarlong,gx_tvcpu,ptr_tvcpu,void,buffer,int,index
  declarexfunction nothing,gx_vcpu_setclonedvarlong,gx_tvcpu,ptr_tvcpu,void,buffer,int,index,long,value
  declarexfunction void,gx_vcpu_getclonedvarvoid,gx_tvcpu,ptr_tvcpu,void,buffer,int,index
  declarexfunction nothing,gx_vcpu_setclonedvarvoid,gx_tvcpu,ptr_tvcpu,void,buffer,int,index,void,value
  declarexfunction int,gx_vcpu_pushint,int,value
  declarexfunction int,gx_vcpu_pushfloat,float,value
  declarexfunction int,gx_vcpu_pushlong,long,value
  declarexfunction int,gx_vcpu_pushvoid,void,value
  declarexfunction int,gx_vcpu_popvar,int,nbvar
  declarexfunction int,gx_vcpu_popint,rint,value
  declarexfunction int,gx_vcpu_popfloat,rfloat,value
  declarexfunction int,gx_vcpu_poplong,rlong,value
  declarexfunction int,gx_vcpu_popvoid,rvoid,value
  declarexfunction nothing,gx_vcpu_displaystatus,nothing
  declarexfunction int,gx_vcpu_execute,gx_tvcpu,ptr_tvcpu,int,address,int,dresult,float,fresult,void,aresult
  declarexfunction nothing,gx_vcpu_linkgex,string,targetfilename,string,filename
  declarexfunction int,gx_vcpu_packgez,string,target,string,source
  declarexfunction int,gx_vcpu_packgec,string,target,string,source
  declarexfunction int,gx_vcpu_packgek,string,target,string,source
  declarexfunction nothing,gx_vcpu_error,string,filename,int,line
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tbitmap
  typedef gx_tsound
  typedef gx_twbwindow
  typedef gx_tvideostreamplayer
  typedef gx_tvideostreamencoder
endgroup

/* -------------- */
/* gx_videostream */
/* -------------- */
group gx_videostream
  typedef gx_tvideostream
  classtype gx_videostream,gx_tvideostream

  define gx_videostream_flagnone,0x0
  define gx_videostream_flaggxvd,0x1
  define gx_videostream_flagcomplex,0x2
  define gx_videostream_flagwdct,0x4
  define gx_videostream_flaghybrid,0x8
  define gx_videostream_flaggradientmode,0x10
  define gx_videostream_flagvectorquantization,0x20
  define gx_videostream_flaghnm,0x40
  define gx_videostream_flagultracompression,0x80
  define gx_videostream_flagnodeltaframe,0x100
  define gx_videostream_flagthreepass,0x200
  define gx_videostream_flagdithering,0x400
  define gx_videostream_flagprefilter,0x800

  define gx_videostreamplayerflag_none,0x0
  define gx_videostreamplayerflag_loop,0x1
  define gx_videostreamplayerflag_display,0x2
  define gx_videostreamplayerflag_audio,0x4
  define gx_videostreamplayerflag_zoom,0x8
  define gx_videostreamplayerflag_noskip,0x10
  define gx_videostreamplayerflag_waitskip,0x20
  define gx_videostreamplayerflag_materialdisplay,0x40
  define gx_videostreamplayerflag_nodoublebuffer,0x80
  define gx_videostreamplayerflag_controlinterface,0x100
  define gx_videostreamplayerflag_forcedraw,0x200
  define gx_videostreamplayerflag_noinit,0x400

  declarexfunction int,gx_videostream_ginstall,nothing
  declarexfunction void,gx_videostream_getparentclass,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_setparentclass,gx_tvideostream,ptr_tvideostream,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tvideostream,gx_videostream_new,nothing
  declarexfunction nothing,gx_videostream_free,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_addref,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getref,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_open,gx_tvideostream,ptr_tvideostream,string,filename,string,filesnd,int,mode
  declarexfunction nothing,gx_videostream_close,gx_tvideostream,ptr_tvideostream
  declarexfunction string,gx_videostream_getname,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getnbframe,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getframepersecond,gx_tvideostream,ptr_tvideostream
  declarexfunction gx_tbitmap,gx_videostream_getbitmap,gx_tvideostream,ptr_tvideostream
  declarexfunction gx_tsound,gx_videostream_getsound,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getsizex,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getsizey,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getvideocrunch,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getquantization,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getmaxquantization,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_setmaxquantization,gx_tvideostream,ptr_tvideostream,int,quantization 
  declarexfunction int,gx_videostream_getsoundfrequency,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getsoundstereo,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getcurrentframe,gx_tvideostream,ptr_tvideostream
  declarexfunction void,gx_videostream_getvideopointer,gx_tvideostream,ptr_tvideostream
  declarexfunction void,gx_videostream_getsoundpointer,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getsoundcrunch,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getsampleperframe,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getfilemode,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getmaxsizeperframe,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_read,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_seek,gx_tvideostream,ptr_tvideostream,int,frame
  declarexfunction nothing,gx_videostream_setname,gx_tvideostream,ptr_tvideostream,string,name
  declarexfunction nothing,gx_videostream_setsizex,gx_tvideostream,ptr_tvideostream,int,sizex
  declarexfunction nothing,gx_videostream_setsizey,gx_tvideostream,ptr_tvideostream,int,sizey
  declarexfunction nothing,gx_videostream_setvideocrunch,gx_tvideostream,ptr_tvideostream,int,crunch
  declarexfunction nothing,gx_videostream_setquantization,gx_tvideostream,ptr_tvideostream,int,quantization
  declarexfunction nothing,gx_videostream_setmaxsizeperframe,gx_tvideostream,ptr_tvideostream,int,size
  declarexfunction nothing,gx_videostream_setframepersecond,gx_tvideostream,ptr_tvideostream,int,framepersecond
  declarexfunction nothing,gx_videostream_setsoundfrequency,gx_tvideostream,ptr_tvideostream,int,frequency
  declarexfunction nothing,gx_videostream_setsoundstereo,gx_tvideostream,ptr_tvideostream,int,stereo
  declarexfunction nothing,gx_videostream_setbitmap,gx_tvideostream,ptr_tvideostream,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_videostream_setsound,gx_tvideostream,ptr_tvideostream,gx_tsound,ptr_tsound
  declarexfunction nothing,gx_videostream_setcurrentframe,gx_tvideostream,ptr_tvideostream,int,frame
  declarexfunction nothing,gx_videostream_setvideopointer,gx_tvideostream,ptr_tvideostream,void,pointer
  declarexfunction nothing,gx_videostream_setsoundpointer,gx_tvideostream,ptr_tvideostream,void,pointer
  declarexfunction nothing,gx_videostream_setsoundcrunch,gx_tvideostream,ptr_tvideostream,int,crunch
  declarexfunction nothing,gx_videostream_setsampleperframe,gx_tvideostream,ptr_tvideostream,int,nbsample
  declarexfunction nothing,gx_videostream_setnbframe,gx_tvideostream,ptr_tvideostream,int,frame
  declarexfunction int,gx_videostream_write,gx_tvideostream,ptr_tvideostream
  declarexfunction int,gx_videostream_getflag,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_setflag,gx_tvideostream,ptr_tvideostream,int,flag
  declarexfunction gx_twbwindow,gx_videostream_getprogressbar,gx_tvideostream,ptr_tvideostream
  declarexfunction nothing,gx_videostream_setprogressbar,gx_tvideostream,ptr_tvideostream,gx_twbwindow,ptr_twbwindow
  declarexfunction gx_tvideostreamplayer,gx_videostream_newplayer,gx_tvideostream,ptr_tvideostream,int,flag
  declarexfunction gx_tvideostream,gx_videostream_getplayervideostream,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction nothing,gx_videostream_setplayeraudiostream,gx_tvideostreamplayer,ptr_tvideostreamplayer,string,filename
  declarexfunction int,gx_videostream_streamplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction int,gx_videostream_getplayermaterial,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction nothing,gx_videostream_setplayermaterial,gx_tvideostreamplayer,ptr_tvideostreamplayer,int,material
  declarexfunction nothing,gx_videostream_startplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction int,gx_videostream_manageplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction nothing,gx_videostream_stopplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction int,gx_videostream_runplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction nothing,gx_videostream_freeplayer,gx_tvideostreamplayer,ptr_tvideostreamplayer
  declarexfunction gx_tvideostreamencoder,gx_videostream_encodernew,nothing
  declarexfunction nothing,gx_videostream_encoderfree,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction string,gx_videostream_encodergetfilesrc,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetfilesrc,gx_tvideostreamencoder,ptr_tvideostreamencoder,string,filename
  declarexfunction string,gx_videostream_encodergetfilesnd,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetfilesnd,gx_tvideostreamencoder,ptr_tvideostreamencoder,string,filename
  declarexfunction string,gx_videostream_encodergetfiledst,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetfiledst,gx_tvideostreamencoder,ptr_tvideostreamencoder,string,filename
  declarexfunction int,gx_videostream_encodergetcrunch,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetcrunch,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,crunch
  declarexfunction int,gx_videostream_encodergetflag,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetflag,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,flag
  declarexfunction int,gx_videostream_encodergetquantization,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetquantization,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,quantization
  declarexfunction int,gx_videostream_encodergetmaxquantization,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetmaxquantization,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,quantization
  declarexfunction int,gx_videostream_encodergetframepersecond,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetframepersecond,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,framepersecond
  declarexfunction int,gx_videostream_encodergetsizemax,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetsizemax,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,sizemax
  declarexfunction int,gx_videostream_encodergetsizex,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetsizex,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,sizex
  declarexfunction int,gx_videostream_encodergetsizey,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetsizey,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,sizey
  declarexfunction int,gx_videostream_encodergetsoundfrequency,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetsoundfrequency,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,frequency
  declarexfunction int,gx_videostream_encodergetsoundcrunch,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetsoundcrunch,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,soundcrunch
  declarexfunction int,gx_videostream_encodergetstartframe,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetstartframe,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,startframe
  declarexfunction int,gx_videostream_encodergetendframe,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetendframe,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,endframe
  declarexfunction int,gx_videostream_encodergetnbnetworkframe,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encodersetnbnetworkframe,gx_tvideostreamencoder,ptr_tvideostreamencoder,int,nbnetworkframe
  declarexfunction nothing,gx_videostream_encodergenerate,gx_tvideostreamencoder,ptr_tvideostreamencoder
  declarexfunction nothing,gx_videostream_encoderserver,gx_tvideostreamencoder,ptr_tvideostreamencoder,string,address
  declarexfunction nothing,gx_videostream_encoderclient,gx_tvideostreamencoder,ptr_tvideostreamencoder,string,address
  declarexfunction int,gx_videostream_appendvid,string,filedst,string,filesrc
  declarexfunction gx_tsound,gx_videostream_extractsound,string,filename
  declarexfunction nothing,gx_videostream_viewvideo,string,filename,string,soundname,int,flag
  declarexfunction nothing,gx_videostream_effectgenerator,nothing
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tvirtualmemblock
endgroup

/* ------------- */
/* gx_virtualmem */
/* ------------- */
group gx_virtualmem
  typedef gx_tvirtualmem
  classtype gx_virtualmem,gx_tvirtualmem

  declarexfunction int,gx_virtualmem_ginstall,nothing
  declarexfunction void,gx_virtualmem_getparentclass,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction nothing,gx_virtualmem_setparentclass,gx_tvirtualmem,ptr_tvirtualmem,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tvirtualmem,gx_virtualmem_new,void,startadress,int,sizemax,int,nbblockarray
  declarexfunction nothing,gx_virtualmem_free,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction nothing,gx_virtualmem_addref,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getref,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction void,gx_virtualmem_alloc,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,new_tvirtualmemblock,int,size
  declarexfunction void,gx_virtualmem_allocdebug,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,new_tvirtualmemblock,int,size,string,file,int,line
  declarexfunction void,gx_virtualmem_allocalign,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,new_tvirtualmemblock,int,size,int,align
  declarexfunction void,gx_virtualmem_allocaligndebug,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,new_tvirtualmemblock,int,size,int,align,string,file,int,line
  declarexfunction nothing,gx_virtualmem_dealloc,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock
  declarexfunction nothing,gx_virtualmem_deallocdebug,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock,string,file,int,line
  declarexfunction nothing,gx_virtualmem_deallocalign,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock
  declarexfunction nothing,gx_virtualmem_deallocaligndebug,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock,string,file,int,line
  declarexfunction void,gx_virtualmem_getpointer,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock
  declarexfunction int,gx_virtualmem_getsize,gx_tvirtualmem,ptr_tvirtualmem,gx_tvirtualmemblock,ptr_tvirtualmemblock
  declarexfunction gx_tvirtualmemblock,gx_virtualmem_getblockfrompointer,gx_tvirtualmem,ptr_tvirtualmem,void,pointer
  declarexfunction int,gx_virtualmem_gettotal,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getmaxused,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getfree,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getlargest,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getused,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getnbusedblock,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction int,gx_virtualmem_getnbfreeblock,gx_tvirtualmem,ptr_tvirtualmem
  declarexfunction gx_tvirtualmemblock,gx_virtualmem_getindexedblock,gx_tvirtualmem,ptr_tvirtualmem,int,numblock
  declarexfunction int,gx_virtualmem_getid,gx_tvirtualmem,ptr_tvirtualmem,int,numblock
  declarexfunction int,gx_virtualmem_getfile,gx_tvirtualmem,ptr_tvirtualmem,string,file,int,numblock
  declarexfunction int,gx_virtualmem_getline,gx_tvirtualmem,ptr_tvirtualmem,int,numblock
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tvcpu
  typedef gx_tactor
endgroup

/* --------- */
/* gx_weapon */
/* --------- */
group gx_weapon
  typedef gx_tweapon
  classtype gx_weapon,gx_tweapon

  enum 0
    dim gx_weapon_firetypenone,1
    dim gx_weapon_firetypewait,1
    dim gx_weapon_firetypeempty,1
    dim gx_weapon_firetypeproj,1
  endenum

  declarexfunction int,gx_weapon_ginstall,nothing
  declarexfunction void,gx_weapon_getparentclass,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setparentclass,gx_tweapon,ptr_tweapon,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tweapon,gx_weapon_new,nothing
  declarexfunction nothing,gx_weapon_free,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_addref,gx_tweapon,ptr_tweapon
  declarexfunction int,gx_weapon_getref,gx_tweapon,ptr_tweapon
  declarexfunction string,gx_weapon_getname,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setname,gx_tweapon,ptr_tweapon,string,name
  declarexfunction int,gx_weapon_getid,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setid,gx_tweapon,ptr_tweapon,int,id
  declarexfunction void,gx_weapon_getuserpointer,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setuserpointer,gx_tweapon,ptr_tweapon,void,pointer
  declarexfunction gx_tactor,gx_weapon_getptractor,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setptractor,gx_tweapon,ptr_tweapon,gx_tactor,ptr_tactor
  declarexfunction void,gx_weapon_getptrautomat,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setptrautomat,gx_tweapon,ptr_tweapon,void,ptr_tautomat
  declarexfunction gx_tactor,gx_weapon_getactorlink,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setactorlink,gx_tweapon,ptr_tweapon,gx_tactor,ptr_tactor
  declarexfunction int,gx_weapon_getnbfirstproj,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setnbfirstproj,gx_tweapon,ptr_tweapon,int,nbfirstproj
  declarexfunction int,gx_weapon_getnbproj,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setnbproj,gx_tweapon,ptr_tweapon,int,nbproj
  declarexfunction nothing,gx_weapon_install,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_uninstall,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_fire,gx_tweapon,ptr_tweapon,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction nothing,gx_weapon_enable,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_disable,gx_tweapon,ptr_tweapon
  declarexfunction int,gx_weapon_isenabled,gx_tweapon,ptr_tweapon
  declarexfunction int,gx_weapon_getfrequency,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setfrequency,gx_tweapon,ptr_tweapon,int,frequency
  declarexfunction float,gx_weapon_getpower,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setpower,gx_tweapon,ptr_tweapon,float,power
  declarexfunction int,gx_weapon_getlastfiretype,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setlastfiretype,gx_tweapon,ptr_tweapon,int,value
  declarexfunction float,gx_weapon_getsounddistance,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsounddistance,gx_tweapon,ptr_tweapon,float,distance
  declarexfunction string,gx_weapon_getsoundfire,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsoundfire,gx_tweapon,ptr_tweapon,string,name
  declarexfunction string,gx_weapon_getsoundempty,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsoundempty,gx_tweapon,ptr_tweapon,string,name
  declarexfunction string,gx_weapon_getsoundrebound,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsoundrebound,gx_tweapon,ptr_tweapon,string,name
  declarexfunction string,gx_weapon_getsoundimpact,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsoundimpact,gx_tweapon,ptr_tweapon,string,name
  declarexfunction string,gx_weapon_getsoundhit,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setsoundhit,gx_tweapon,ptr_tweapon,string,name
  declarexfunction int,gx_weapon_getprojectilemodel,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilemodel,gx_tweapon,ptr_tweapon,int,index
  declarexfunction gx_tvcpu,gx_weapon_getprojectileclass,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectileclass,gx_tweapon,ptr_tweapon,gx_tvcpu,ptr_tvcpu
  declarexfunction nothing,gx_weapon_getprojectilepos,gx_tweapon,ptr_tweapon,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction nothing,gx_weapon_setprojectilepos,gx_tweapon,ptr_tweapon,float,posx,float,posy,float,posz
  declarexfunction int,gx_weapon_getprojectiledisplay,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectiledisplay,gx_tweapon,ptr_tweapon,int,flag
  declarexfunction int,gx_weapon_getprojectilelife,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilelife,gx_tweapon,ptr_tweapon,int,value
  declarexfunction float,gx_weapon_getprojectilespeed,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilespeed,gx_tweapon,ptr_tweapon,float,value
  declarexfunction float,gx_weapon_getprojectilespeedenergylost,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilespeedenergylost,gx_tweapon,ptr_tweapon,float,value
  declarexfunction float,gx_weapon_getprojectilegravityspeed,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilegravityspeed,gx_tweapon,ptr_tweapon,float,value
  declarexfunction float,gx_weapon_getprojectilegravityfactor,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilegravityfactor,gx_tweapon,ptr_tweapon,float,value
  declarexfunction float,gx_weapon_getprojectilegravityenergylost,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectilegravityenergylost,gx_tweapon,ptr_tweapon,float,value
  declarexfunction float,gx_weapon_getprojectiledamagedistance,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectiledamagedistance,gx_tweapon,ptr_tweapon,float,distance
  declarexfunction int,gx_weapon_getprojectileparticlehit,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectileparticlehit,gx_tweapon,ptr_tweapon,int,index
  declarexfunction int,gx_weapon_getprojectileparticleimpact,gx_tweapon,ptr_tweapon
  declarexfunction nothing,gx_weapon_setprojectileparticleimpact,gx_tweapon,ptr_tweapon,int,index
  declarexfunction nothing,gx_weapon_manage,gx_tweapon,ptr_tweapon
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tbitmap
  typedef gx_tfield
  typedef gx_tstringarray
  typedef gx_txarray
endgroup

/* --------- */
/* gx_winbox */
/* --------- */
group gx_winbox
  typedef gx_twinbox
  classtype gx_winbox,gx_twinbox
  typedef gx_twinboxmenu
  classtype gx_winbox,gx_twinboxmenu
  typedef gx_twinboxsubmenu
  typedef gx_twbtree
  classtype gx_winbox,gx_twbtree
  typedef gx_twbwindow
  classtype gx_winbox,gx_twbwindow
  typedef gx_twbtexteditor
  classtype gx_winbox,gx_twbtexteditor

  enum 0
    dim gx_winboxfont_mini0,1
    dim gx_winboxfont_medium0,1
    dim gx_winboxfont_proportional0,1
  endenum

  enum 0
    dim gx_winboxfont_typemonospaced,1
    dim gx_winboxfont_typeproportional,1
  endenum

  define gx_winbox_flagfontnone,0x0
  define gx_winbox_flagfontunderlined,0x1
  define gx_winbox_flagfontoutlined,0x2
  define gx_winbox_flagfontshadowed,0x4
  define gx_winbox_flagfontencrusted,0x8

  define gx_wbwindow_flagnone,0x0
  define gx_wbwindow_flagnoheader,0x1
  define gx_wbwindow_flaglockposx,0x2
  define gx_wbwindow_flaglockposy,0x4

  enum 0
    dim gx_wbresourcesymbol_arrowup,1
    dim gx_wbresourcesymbol_arrowdown,1
    dim gx_wbresourcesymbol_arrowleft,1
    dim gx_wbresourcesymbol_arrowright,1
    dim gx_wbresourcesymbol_drive,1
    dim gx_wbresourcesymbol_folder,1
    dim gx_wbresourcesymbol_file,1
    dim gx_wbresourcesymbol_material,1
    dim gx_wbresourcesymbol_axis,1
    dim gx_wbresourcesymbol_load,1
    dim gx_wbresourcesymbol_save,1
    dim gx_wbresourcesymbol_close,1
    dim gx_wbresourcesymbol_quit,1
    dim gx_wbresourcesymbol_info,1
    dim gx_wbresourcesymbol_property,1
    dim gx_wbresourcesymbol_insert,1
    dim gx_wbresourcesymbol_delete,1
    dim gx_wbresourcesymbol_compile,1
    dim gx_wbresourcesymbol_launch,1
    dim gx_wbresourcesymbol_key,1
    dim gx_wbresourcesymbol_edit,1
    dim gx_wbresourcesymbol_container,1
    dim gx_wbresourcesymbol_text,1
    dim gx_wbresourcesymbol_mesh,1
    dim gx_wbresourcesymbol_new,1
    dim gx_wbresourcesymbol_light,1
    dim gx_wbresourcesymbol_tree,1
    dim gx_wbresourcesymbol_path,1
    dim gx_wbresourcesymbol_number,1
  endenum

  define gx_winbox_select_flagsort,0x1

  define gx_winbox_texteditor_flagreadonly,0x1
  define gx_winbox_texteditor_flagselectonly,0x2
  define gx_winbox_texteditor_flagnomenu,0x4
  define gx_winbox_texteditor_flagdarkmode,0x8

  enum 0
    dim gx_winboxicon_getpoint,1
    dim gx_winboxicon_drawpoint,1
    dim gx_winboxicon_drawline,1
    dim gx_winboxicon_drawsquare,1
    dim gx_winboxicon_drawbox,1
    dim gx_winboxicon_drawcurve,1
    dim gx_winboxicon_drawcircle,1
    dim gx_winboxicon_drawelipse,1
    dim gx_winboxicon_fill,1
    dim gx_winboxicon_fillh,1
    dim gx_winboxicon_fillv,1
    dim gx_winboxicon_drawtext,1
    dim gx_winboxicon_cameraimport,1
    dim gx_winboxicon_cameraexport,1
    dim gx_winboxicon_cameraplay,1
    dim gx_winboxicon_camerainfo,1
    dim gx_winboxicon_load,1
    dim gx_winboxicon_save,1
    dim gx_winboxicon_new,1
    dim gx_winboxicon_changesize,1
    dim gx_winboxicon_setsize,1
    dim gx_winboxicon_color,1
    dim gx_winboxicon_blockcopy,1
    dim gx_winboxicon_blockmove,1
    dim gx_winboxicon_blockmirrorh,1
    dim gx_winboxicon_blockmirrorv,1
    dim gx_winboxicon_blockrotate,1
    dim gx_winboxicon_option,1
    dim gx_winboxicon_view,1
    dim gx_winboxicon_colorcopy,1
    dim gx_winboxicon_gradient,1
    dim gx_winboxicon_colorscan,1
    dim gx_winboxicon_monochrome,1
    dim gx_winboxicon_colorlight,1
    dim gx_winboxicon_colorcopyblock,1
    dim gx_winboxicon_colorreduce,1
    dim gx_winboxicon_colororganize,1
    dim gx_winboxicon_smooth,1
    dim gx_winboxicon_cloud,1
    dim gx_winboxicon_undo,1
    dim gx_winboxicon_compile,1
    dim gx_winboxicon_compileandrun,1
    dim gx_winboxicon_recompileall,1
    dim gx_winboxicon_changerender,1
    dim gx_winboxicon_changeview,1
    dim gx_winboxicon_key,1
    dim gx_winboxicon_screen,1
    dim gx_winboxicon_disk,1
    dim gx_winboxicon_move,1
    dim gx_winboxicon_pan,1
    dim gx_winboxicon_center,1
    dim gx_winboxicon_rotate,1
    dim gx_winboxicon_viewfront,1
    dim gx_winboxicon_viewleft,1
    dim gx_winboxicon_viewtop,1
    dim gx_winboxicon_fit,1
    dim gx_winboxicon_quit,1
    dim gx_winboxicon_close,1
    dim gx_winboxicon_install,1
    dim gx_winboxicon_run,1
    dim gx_winboxicon_mdraw,1
    dim gx_winboxicon_tool,1
    dim gx_winboxicon_videofilm,1
    dim gx_winboxicon_empty1,1
    dim gx_winboxicon_camera,1
    dim gx_winboxicon_texteditor,1
    dim gx_winboxicon_particle,1
    dim gx_winboxicon_windoweditor,1
    dim gx_winboxicon_help,1
    dim gx_winboxicon_console,1
    dim gx_winboxicon_system,1
    dim gx_winboxicon_script,1
    dim gx_winboxicon_sound,1
    dim gx_winboxicon_grapheditor,1
    dim gx_winboxicon_fieldeditor,1
    dim gx_winboxicon_benckmark,1
    dim gx_winboxicon_crunch,1
    dim gx_winboxicon_groundgenerator,1
    dim gx_winboxicon_hexedit,1
    dim gx_winboxicon_stringkey,1
    dim gx_winboxicon_photo,1
    dim gx_winboxicon_soundconvert,1
    dim gx_winboxicon_componenteditor,1
    dim gx_winboxicon_sequencer,1
    dim gx_winboxicon_moveview,1
    dim gx_winboxicon_scale,1
    dim gx_winboxicon_fontedit,1
    dim gx_winboxicon_free,1
  endenum

  declarexfunction int,gx_winbox_ginstall,nothing
  declarexfunction int,gx_winbox_install,nothing
  declarexfunction nothing,gx_winbox_uninstall,nothing
  declarexfunction int,gx_winbox_getcolor0,nothing
  declarexfunction int,gx_winbox_getcolor1,nothing
  declarexfunction int,gx_winbox_getcolor2,nothing
  declarexfunction int,gx_winbox_getcolor3,nothing
  declarexfunction int,gx_winbox_getcolor4,nothing
  declarexfunction nothing,gx_winbox_displaywaitcursor,nothing
  declarexfunction int,gx_winbox_insertfont,gx_tbitmap,ptr_tbitmap,int,sizex,int,sizey,int,type
  declarexfunction nothing,gx_winbox_freefont,nothing
  declarexfunction int,gx_winbox_getnamedfont,string,name
  declarexfunction string,gx_winbox_getfontname,int,index
  declarexfunction nothing,gx_winbox_replacefont,gx_tbitmap,ptr_tbitmap,int,sizex,int,sizey,int,font,int,type
  declarexfunction int,gx_winbox_getfontsizex,int,font
  declarexfunction int,gx_winbox_getfontsizey,int,font
  declarexfunction int,gx_winbox_getfonttype,int,index
  declarexfunction int,gx_winbox_getfontcellsize,int,index,int,symbolindex
  declarexfunction int,gx_winbox_getfonttextsize,int,index,string,text
  declarexfunction string,gx_winbox_getcurrenttheme,nothing
  declarexfunction nothing,gx_winbox_setcurrenttheme,string,name
  declarexfunction gx_tbitmap,gx_winbox_getsymbol,int,index
  declarexfunction int,gx_winbox_getsymbolfromextension,string,filename
  declarexfunction gx_tbitmap,gx_winbox_createicon,int,id
  declarexfunction int,gx_winbox_getsyntaxcolorfont,string,string,int,index
  declarexfunction nothing,gx_winbox_printfont,string,text,int,xpos,int,ypos,int,font,int,color
  declarexfunction nothing,gx_winbox_printfontextended,string,text,int,xpos,int,ypos,int,font,int,fontcolor,int,lowcolor,int,highcolor,int,flag
  declarexfunction nothing,gx_winbox_inputfont,void,text,int,maxchar,int,posx,int,posy,int,backcolor,int,font,int,color
  declarexfunction int,gx_winbox_inputfontdynamic,void,text,int,maxchar,int,posx,int,posy,int,backcolor,int,font,int,color
  declarexfunction nothing,gx_winbox_printpasswordfont,string,text,int,xpos,int,ypos,int,font,int,color
  declarexfunction nothing,gx_winbox_inputpasswordfont,string,text,int,maxchar,int,posx,int,posy,int,backcolor,int,font,int,color
  declarexfunction gx_twinboxmenu,gx_winbox_createmenu,nothing
  declarexfunction nothing,gx_winbox_freemenu,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction nothing,gx_winbox_addmenu,gx_twinboxmenu,ptr_twinboxmenu,string,menu,string,submenu,int,symbol
  declarexfunction int,gx_winbox_getmenu,gx_twinboxmenu,ptr_twinboxmenu,string,menu,string,submenu
  declarexfunction int,gx_winbox_getnbsubmenu,gx_twinboxmenu,ptr_twinboxmenu,string,menu
  declarexfunction string,gx_winbox_getsubmenu,gx_twinboxmenu,ptr_twinboxmenu,string,menu,int,index
  declarexfunction nothing,gx_winbox_drawmenu,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction int,gx_winbox_rollchildmenuopen,gx_twinboxmenu,ptr_twinboxmenu,int,numsubmenu
  declarexfunction int,gx_winbox_rollmenuopen,gx_twinboxmenu,ptr_twinboxmenu,int,numsubmenu,int,x,int,y
  declarexfunction nothing,gx_winbox_rollmenuclose,nothing
  declarexfunction gx_twinboxsubmenu,gx_winbox_getnamedsubmenu,gx_twinboxmenu,ptr_twinboxmenu,string,menu
  declarexfunction gx_twinboxsubmenu,gx_winbox_getopenedsubmenu,nothing
  declarexfunction gx_twinboxmenu,gx_winbox_getopenedmenu,nothing
  declarexfunction int,gx_winbox_menu,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction int,gx_winbox_menudynamic,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction int,gx_winbox_testmenu,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction int,gx_winbox_testmenudynamic,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction nothing,gx_winbox_system,nothing
  declarexfunction int,gx_winbox_request,string,text,int,posx,int,posy
  declarexfunction gx_twbwindow,gx_winbox_installprogress,int,posx,int,posy,int,flag
  declarexfunction nothing,gx_winbox_progress,gx_twbwindow,ptr_twbwindow,string,text,int,font,int,progress
  declarexfunction nothing,gx_winbox_uninstallprogress,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_getglobalprogress,nothing
  declarexfunction nothing,gx_winbox_setglobalprogress,int,value
  declarexfunction int,gx_winbox_screenselect,int,posx,int,posy
  declarexfunction nothing,gx_winbox_printcolor,string,string,int,color
  declarexfunction nothing,gx_winbox_print,string,text
  declarexfunction nothing,gx_winbox_printint,string,text,int,value
  declarexfunction nothing,gx_winbox_printhex,string,text,int,value
  declarexfunction nothing,gx_winbox_printfloat,string,text,float,value
  declarexfunction nothing,gx_winbox_printlong,string,text,long,value
  declarexfunction nothing,gx_winbox_printlonghex,string,text,long,value
  declarexfunction nothing,gx_winbox_printstr,string,text,string,value
  declarexfunction nothing,gx_winbox_printunicode,string,text,void,value
  declarexfunction nothing,gx_winbox_printwarning,string,text
  declarexfunction nothing,gx_winbox_printerror,string,text
  declarexfunction int,gx_winbox_getconsolnbline,nothing
  declarexfunction nothing,gx_winbox_getconsolline,int,line,string,linestring,rint,color
  declarexfunction nothing,gx_winbox_setconsolline,int,line,string,linestring,int,color
  declarexfunction nothing,gx_winbox_clearconsol,nothing
  declarexfunction nothing,gx_winbox_consol,int,posx,int,posy
  declarexfunction nothing,gx_winbox_showconsol,int,posx,int,posy
  declarexfunction nothing,gx_winbox_flushconsol,int,posx,int,posy
  declarexfunction nothing,gx_winbox_showdirectconsol,nothing
  declarexfunction nothing,gx_winbox_directconsol,nothing
  declarexfunction nothing,gx_winbox_squareeditordisplay,int,posx,int,posy,int,sizex,int,sizey,int,color
  declarexfunction nothing,gx_winbox_squareeditormanage,rint,posx,rint,posy,rint,sizex,rint,sizey,rint,flag
  declarexfunction nothing,gx_winbox_hseparatordisplay,int,posx,int,posy,int,sizex,int,sizey,int,color
  declarexfunction nothing,gx_winbox_hseparatormanage,int,posx,rint,posy,int,sizex,int,sizey,rint,flag
  declarexfunction nothing,gx_winbox_vseparatordisplay,int,posx,int,posy,int,sizex,int,sizey,int,color
  declarexfunction nothing,gx_winbox_vseparatormanage,rint,posx,int,posy,int,sizex,int,sizey,rint,flag
  declarexfunction nothing,gx_winbox_addselect,int,index,string,text,int,color,int,symbol
  declarexfunction int,gx_winbox_getnbselect,nothing
  declarexfunction nothing,gx_winbox_getselect,int,numselect,rint,index,string,text,rint,color
  declarexfunction int,gx_winbox_select,string,title,rint,index,string,result,int,posx,int,posy,int,flag
  declarexfunction int,gx_winbox_listselect,rint,index,string,result,int,posx,int,posy,int,flag
  declarexfunction nothing,gx_winbox_freeselect,nothing
  declarexfunction gx_twbtree,gx_winbox_newtree,nothing
  declarexfunction int,gx_winbox_treeinsertnode,gx_twbtree,ptr_twbtree,int,userindex,string,text,int,parentindex,int,symbol
  declarexfunction nothing,gx_winbox_treedeletenode,gx_twbtree,ptr_twbtree,int,index
  declarexfunction int,gx_winbox_treeupdatenode,gx_twbtree,ptr_twbtree,int,index,int,userindex,string,text,int,level,int,symbol
  declarexfunction int,gx_winbox_treegetnbnode,gx_twbtree,ptr_twbtree
  declarexfunction int,gx_winbox_treegetnbline,gx_twbtree,ptr_twbtree
  declarexfunction int,gx_winbox_treegetnodeuserindex,gx_twbtree,ptr_twbtree,int,numselect
  declarexfunction nothing,gx_winbox_treesetnodeuserindex,gx_twbtree,ptr_twbtree,int,index,int,userindex
  declarexfunction string,gx_winbox_treegetnodetext,gx_twbtree,ptr_twbtree,int,numselect
  declarexfunction nothing,gx_winbox_treesetnodetext,gx_twbtree,ptr_twbtree,int,index,string,text
  declarexfunction int,gx_winbox_treegetnodelevel,gx_twbtree,ptr_twbtree,int,numselect
  declarexfunction nothing,gx_winbox_treesetnodelevel,gx_twbtree,ptr_twbtree,int,index,int,level
  declarexfunction int,gx_winbox_treegetnodestate,gx_twbtree,ptr_twbtree,int,index
  declarexfunction nothing,gx_winbox_treesetnodestate,gx_twbtree,ptr_twbtree,int,index,int,state
  declarexfunction int,gx_winbox_treegetnodecolor,gx_twbtree,ptr_twbtree,int,index
  declarexfunction nothing,gx_winbox_treesetnodecolor,gx_twbtree,ptr_twbtree,int,index,int,color
  declarexfunction int,gx_winbox_treegetnodesymbol,gx_twbtree,ptr_twbtree,int,index
  declarexfunction nothing,gx_winbox_treesetnodesymbol,gx_twbtree,ptr_twbtree,int,index,int,symbol
  declarexfunction int,gx_winbox_treegetnodeid,gx_twbtree,ptr_twbtree,int,index
  declarexfunction nothing,gx_winbox_treesetnodeid,gx_twbtree,ptr_twbtree,int,index,int,id
  declarexfunction int,gx_winbox_treeselect,gx_twbtree,ptr_twbtree,string,title,string,result,int,posx,int,posy
  declarexfunction nothing,gx_winbox_freetree,gx_twbtree,ptr_twbtree
  declarexfunction nothing,gx_winbox_fileselect,string,text,string,select,string,filename,int,flag
  declarexfunction nothing,gx_winbox_selectcolor,rint,alpha,rint,red,rint,green,rint,blue
  declarexfunction gx_twbwindow,gx_winbox_windowcreate,string,name,gx_tbitmap,ptr_tbitmap,gx_twinboxmenu,ptr_twinboxmenu,int,flag,int,posx,int,posy
  declarexfunction gx_tbitmap,gx_winbox_windowgetbitmap,gx_twbwindow,ptr_twbwindow
  declarexfunction nothing,gx_winbox_windowdisplay,gx_twbwindow,ptr_twbwindow
  declarexfunction nothing,gx_winbox_windowrefresh,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowtest,gx_twbwindow,ptr_twbwindow,rint,x,rint,y
  declarexfunction nothing,gx_winbox_windowgetpixel,gx_twbwindow,ptr_twbwindow,int,x,int,y,rint,red,rint,green,rint,blue
  declarexfunction nothing,gx_winbox_windowdrawpixel,gx_twbwindow,ptr_twbwindow,int,x,int,y,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawline,gx_twbwindow,ptr_twbwindow,int,x1,int,y1,int,x2,int,y2,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawsquare,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawbox,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,int,sizex,int,sizey,int,alpha,int,red,int,green,int,blue,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawbitmap,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawbitmapblock,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawbitmapzoom,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowdrawbitmaprotozoom,gx_twbwindow,ptr_twbwindow,int,startx,int,starty,int,sizex,int,sizey,int,blockstartx,int,blockstarty,int,blocksizex,int,blocksizey,int,angle,gx_tbitmap,ptr_tbitmap,int,drawtype,int,drawalpha,int,drawred,int,drawgreen,int,drawblue
  declarexfunction nothing,gx_winbox_windowprint,gx_twbwindow,ptr_twbwindow,string,text,int,posx,int,posy,int,font,int,color
  declarexfunction nothing,gx_winbox_windowinput,gx_twbwindow,ptr_twbwindow,string,text,int,maxchar,int,posx,int,posy,int,backcolor,int,font,int,color
  declarexfunction nothing,gx_winbox_windowprintpassword,gx_twbwindow,ptr_twbwindow,string,text,int,posx,int,posy,int,font,int,color
  declarexfunction nothing,gx_winbox_windowinputpassword,gx_twbwindow,ptr_twbwindow,string,text,int,maxchar,int,posx,int,posy,int,backcolor,int,font,int,color
  declarexfunction nothing,gx_winbox_windowkill,gx_twbwindow,ptr_twbwindow
  declarexfunction gx_tbitmap,gx_winbox_windowcreatebitmap,string,name,int,sizex,int,sizey,gx_twinboxmenu,ptr_twinboxmenu
  declarexfunction nothing,gx_winbox_windowcreatetextressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatecheckboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,mask,int,comp,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateinvcheckboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,mask,int,comp,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatebuttonressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,gx_tbitmap,ptr_tbitmap,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateinvisiblebuttonressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,gx_tbitmap,ptr_tbitmap,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateintinputressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,min,int,max,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatecharinputressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,string,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatelineressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatecolorressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,rint,alpha,rint,red,rint,green,rint,blue,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateblackboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatewhiteboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatecolorboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,color,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreategroupboxressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatehscrollerressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,rint,min,rint,max,int,fast,rint,cursor,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatevscrollerressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizey,rint,min,rint,max,int,fast,rint,cursor,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatesimplebuttonressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,sizey,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatecharpasswordinputressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,string,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatetogglebuttonressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,mask,int,comp,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreateinvtogglebuttonressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,mask,int,comp,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatesliderressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,min,int,max,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatespinnerressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,min,int,max,rint,value,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatedroplistressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,void,listname,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatesymbolressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,index,int,shortcut
  declarexfunction nothing,gx_winbox_windowcreatelonginputressource,gx_twbwindow,ptr_twbwindow,string,name,string,text,int,posx,int,posy,int,sizex,int,min,int,max,rlong,value,int,shortcut
  declarexfunction int,gx_winbox_windowgetposxressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetposyressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetsizexressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetsizeyressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetrealposxressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetrealposyressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowisresourceexist,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction nothing,gx_winbox_windowsetresourceused,gx_twbwindow,ptr_twbwindow,string,name,int,value
  declarexfunction int,gx_winbox_windowtestressource,gx_twbwindow,ptr_twbwindow,string,name
  declarexfunction int,gx_winbox_windowgetsizex,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetsizey,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetposx,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetposy,gx_twbwindow,ptr_twbwindow
  declarexfunction nothing,gx_winbox_windowsetpos,gx_twbwindow,ptr_twbwindow,int,posx,int,posy
  declarexfunction int,gx_winbox_windowgetheadsizex,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetheadsizey,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetuserposx,gx_twbwindow,ptr_twbwindow
  declarexfunction int,gx_winbox_windowgetuserposy,gx_twbwindow,ptr_twbwindow
  declarexfunction nothing,gx_winbox_windowdisplaytextlist,gx_twbwindow,ptr_twbwindow,string,resourcename,gx_tstringarray,ptr_tstringarray,int,scrollx,int,scrolly
  declarexfunction int,gx_winbox_windowmanagetextlist,gx_twbwindow,ptr_twbwindow,string,resourcename,gx_tstringarray,ptr_tstringarray,int,scrollx,int,scrolly
  declarexfunction nothing,gx_winbox_windowdisplaytree,gx_twbwindow,ptr_twbwindow,string,resourcename,gx_twbtree,ptr_twbtree,gx_tstringarray,ptr_tstringarray,int,scrollx,int,scrolly
  declarexfunction int,gx_winbox_windowmanagetree,gx_twbwindow,ptr_twbwindow,string,resourcename,gx_twbtree,ptr_twbtree,gx_tstringarray,ptr_tstringarray,int,scrollx,int,scrolly
  declarexfunction nothing,gx_winbox_windowdisplaytexteditor,gx_twbwindow,ptr_twbwindow,string,resourcename,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_modify,string,title,rint,value,int,min,int,max,int,posx,int,posy
  declarexfunction nothing,gx_winbox_longmodify,string,title,rlong,value,long,min,long,max,int,posx,int,posy
  declarexfunction nothing,gx_winbox_floatmodify,string,title,rfloat,value,float,min,float,max,int,posx,int,posy
  declarexfunction nothing,gx_winbox_stringmodify,string,title,string,text,int,posx,int,posy
  declarexfunction nothing,gx_winbox_idmodify,string,title,rint,id,int,posx,int,posy
  declarexfunction nothing,gx_winbox_passwordmodify,string,title,string,text,int,posx,int,posy
  declarexfunction gx_twbtexteditor,gx_winbox_texteditornew,nothing
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorload,string,filename
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorloadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_winbox_texteditorsave,gx_twbtexteditor,ptr_twbtexteditor,string,filename
  declarexfunction int,gx_winbox_texteditorsavechunk,gx_twbtexteditor,ptr_twbtexteditor,int,filenum
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorloadgxml,string,filename
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorloadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_winbox_texteditorsavegxml,gx_twbtexteditor,ptr_twbtexteditor,string,filename
  declarexfunction int,gx_winbox_texteditorsavegxmlchunk,gx_twbtexteditor,ptr_twbtexteditor,int,filenum
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorloadtxt,string,filename
  declarexfunction nothing,gx_winbox_texteditorsavetxt,gx_twbtexteditor,ptr_twbtexteditor,string,filename
  declarexfunction nothing,gx_winbox_texteditorsavehtm,gx_twbtexteditor,ptr_twbtexteditor,string,filename
  declarexfunction nothing,gx_winbox_texteditorfree,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_winbox_texteditoraddref,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_winbox_texteditorgetref,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorcreatefrombuffer,void,buffer,int,size
  declarexfunction nothing,gx_winbox_texteditorcrunch,gx_twbtexteditor,ptr_twbtexteditor,int,level
  declarexfunction nothing,gx_winbox_texteditorencrypt,gx_twbtexteditor,ptr_twbtexteditor,string,password
  declarexfunction nothing,gx_winbox_texteditordecrypt,gx_twbtexteditor,ptr_twbtexteditor,string,password
  declarexfunction gx_twbtexteditor,gx_winbox_texteditorcopy,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_winbox_texteditorcmp,gx_twbtexteditor,ptr_twbtexteditor1,gx_twbtexteditor,ptr_twbtexteditor2
  declarexfunction int,gx_winbox_texteditorcmpcase,gx_twbtexteditor,ptr_twbtexteditor1,gx_twbtexteditor,ptr_twbtexteditor2
  declarexfunction int,gx_winbox_texteditorgetcrc,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction string,gx_winbox_texteditorgetname,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_texteditorsetname,gx_twbtexteditor,ptr_twbtexteditor,string,name
  declarexfunction nothing,gx_winbox_texteditorinsertline,gx_twbtexteditor,ptr_twbtexteditor,string,text,int,color,int,numbitmap,int,line
  declarexfunction nothing,gx_winbox_texteditordeleteline,gx_twbtexteditor,ptr_twbtexteditor,int,line
  declarexfunction nothing,gx_winbox_texteditorinsertblock,gx_twbtexteditor,ptr_twbtexteditor,int,line,int,nbblock
  declarexfunction nothing,gx_winbox_texteditordeleteblock,gx_twbtexteditor,ptr_twbtexteditor,int,line,int,nbblock
  declarexfunction nothing,gx_winbox_texteditorinserttext,gx_twbtexteditor,ptr_twbtexteditor,int,line,gx_twbtexteditor,src_twbtexteditor
  declarexfunction int,gx_winbox_texteditorreadbuffer,gx_twbtexteditor,ptr_twbtexteditor,void,buffer,int,size,int,line
  declarexfunction nothing,gx_winbox_texteditorwritebuffer,gx_twbtexteditor,ptr_twbtexteditor,void,buffer,int,size
  declarexfunction int,gx_winbox_texteditorreadpackedbuffer,gx_twbtexteditor,ptr_twbtexteditor,void,buffer,int,size,int,pack,int,line
  declarexfunction nothing,gx_winbox_texteditorwritepackedbuffer,gx_twbtexteditor,ptr_twbtexteditor,void,buffer,int,size,int,pack
  declarexfunction int,gx_winbox_texteditorinsertbitmap,gx_twbtexteditor,ptr_twbtexteditor,gx_tbitmap,ptr_tbitmap
  declarexfunction nothing,gx_winbox_texteditordeletebitmap,gx_twbtexteditor,ptr_twbtexteditor,int,numbitmap
  declarexfunction int,gx_winbox_texteditorgetnbbitmap,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_tbitmap,gx_winbox_texteditorgetptrbitmap,gx_twbtexteditor,ptr_twbtexteditor,int,numbitmap
  declarexfunction string,gx_winbox_texteditorgetlinetext,gx_twbtexteditor,ptr_twbtexteditor,int,line
  declarexfunction int,gx_winbox_texteditorgetlinecolor,gx_twbtexteditor,ptr_twbtexteditor,int,line
  declarexfunction int,gx_winbox_texteditorgetlinebitmap,gx_twbtexteditor,ptr_twbtexteditor,int,line
  declarexfunction nothing,gx_winbox_texteditorgetline,gx_twbtexteditor,ptr_twbtexteditor,rvoid,text,rint,color,rint,numbitmap,int,line
  declarexfunction nothing,gx_winbox_texteditorsetlinetext,gx_twbtexteditor,ptr_twbtexteditor,int,line,string,text
  declarexfunction nothing,gx_winbox_texteditorsetlinecolor,gx_twbtexteditor,ptr_twbtexteditor,int,line,int,color
  declarexfunction nothing,gx_winbox_texteditorsetlinebitmap,gx_twbtexteditor,ptr_twbtexteditor,int,line,int,index
  declarexfunction nothing,gx_winbox_texteditorsetline,gx_twbtexteditor,ptr_twbtexteditor,string,text,int,color,int,numbitmap,int,line
  declarexfunction int,gx_winbox_texteditorgetnbline,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_texteditordeleteallline,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_texteditorreplaceall,gx_twbtexteditor,ptr_twbtexteditor,string,dst,string,src,int,mode
  declarexfunction nothing,gx_winbox_texteditorconverttobuffer,gx_twbtexteditor,ptr_twbtexteditor,rvoid,buffer,rint,size
  declarexfunction nothing,gx_winbox_texteditorgetstartupcursor,rint,cursorx,rint,cursory
  declarexfunction nothing,gx_winbox_texteditorsetstartupcursor,int,cursorx,int,cursory
  declarexfunction gx_twbtree,gx_winbox_texteditorcreatetree,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction gx_twbtree,gx_winbox_texteditornewtree,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_winbox_texteditor,string,title,rvoid,ptr_twbtexteditor,int,posx,int,posy,int,nbcharx,int,nbchary,int,flag,int,windowflag
  declarexfunction nothing,gx_winbox_texteditorcreate,string,title,rvoid,ptr_twbtexteditor,int,posx,int,posy,int,nbcharx,int,nbchary,int,flag,int,windowflag
  declarexfunction nothing,gx_winbox_texteditorrelease,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction int,gx_winbox_texteditormanage,rvoid,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_texteditordisplay,gx_twbtexteditor,ptr_twbtexteditor
  declarexfunction nothing,gx_winbox_texteditorview,gx_twbtexteditor,ptr_twbtexteditor,string,title
  declarexfunction nothing,gx_winbox_windoweditor,nothing
  declarexfunction nothing,gx_winbox_memoryedit,void,address
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_tscene
  typedef gx_tmaterial
  typedef gx_tskin
  typedef gx_tmatrix
  typedef gx_tnavmesh
  typedef gx_tworldsector
endgroup

/* -------- */
/* gx_world */
/* -------- */
group gx_world
  typedef gx_tworld
  classtype gx_world,gx_tworld

  enum 0
    dim gx_worldoccludertype_sphere,1
    dim gx_worldoccludertype_antiportal,1
  endenum

  declarexfunction int,gx_world_ginstall,nothing
  declarexfunction void,gx_world_getparentclass,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setparentclass,gx_tworld,ptr_tworld,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_tworld,gx_world_new,string,name
  declarexfunction gx_tworld,gx_world_load,string,filename
  declarexfunction gx_tworld,gx_world_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_world_save,gx_tworld,ptr_tworld,string,filename
  declarexfunction int,gx_world_savechunk,gx_tworld,ptr_tworld,int,filenum
  declarexfunction gx_tworld,gx_world_loadgxml,string,filename
  declarexfunction gx_tworld,gx_world_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_world_savegxml,gx_tworld,ptr_tworld,string,filename
  declarexfunction int,gx_world_savegxmlchunk,gx_tworld,ptr_tworld,int,filenum
  declarexfunction gx_tworld,gx_world_loadall,string,filename
  declarexfunction nothing,gx_world_saveall,gx_tworld,ptr_tworld,string,filename
  declarexfunction nothing,gx_world_free,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_addref,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_getref,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_insertoctree,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_deleteoctree,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_generategeom,gx_tworld,ptr_tworld,int,type
  declarexfunction gx_tworld,gx_world_createemptyworld,nothing
  declarexfunction nothing,gx_world_registerscene,gx_tworld,ptr_tworld,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_world_updatescene,gx_tworld,ptr_tworld,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_world_insertsector,gx_tworld,ptr_tworld,gx_tscene,ptr_tscene
  declarexfunction nothing,gx_world_deletesector,gx_tworld,ptr_tworld,int,numsector
  declarexfunction int,gx_world_getnbsector,gx_tworld,ptr_tworld
  declarexfunction void,gx_world_getindexedsector,gx_tworld,ptr_tworld,int,numsector
  declarexfunction gx_tscene,gx_world_getindexedsectorscene,gx_tworld,ptr_tworld,int,index
  declarexfunction void,gx_world_getnamedsector,gx_tworld,ptr_tworld,string,sectorname
  declarexfunction int,gx_world_getsectorindex,gx_tworld,ptr_tworld,gx_tworldsector,ptr_tworldsector
  declarexfunction nothing,gx_world_linksector,gx_tworldsector,ptr_tworldsector,int,numsector,int,nummesh
  declarexfunction nothing,gx_world_unlinksector,gx_tworldsector,ptr_tworldsector,int,numsector
  declarexfunction gx_tscene,gx_world_getsectorscene,gx_tworldsector,ptr_tworldsector
  declarexfunction int,gx_world_testsector,gx_tworld,ptr_tworld,int,lastsector,float,posx,float,posy,float,posz
  declarexfunction int,gx_world_getcurrentsector,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setcurrentsector,gx_tworld,ptr_tworld,int,index
  declarexfunction int,gx_world_issectorrendered,gx_tworld,ptr_tworld,int,numsector
  declarexfunction int,gx_world_issectorlinked,gx_tworld,ptr_tworld,int,sectorsrc,int,sectordst
  declarexfunction int,gx_world_issphereboxvisible,gx_tworld,ptr_tworld,int,sector,float,sphere_x,float,sphere_y,float,sphere_z,float,sphere_radius,float,box_sizex,float,box_sizey,float,box_sizez
  declarexfunction int,gx_world_issphereboxsectorvisible,gx_tworld,ptr_tworld,int,sector,float,sphere_x,float,sphere_y,float,sphere_z,float,sphere_radius,float,box_sizex,float,box_sizey,float,box_sizez
  declarexfunction int,gx_world_issphereboxoccludervisible,gx_tworld,ptr_tworld,int,sector,float,sphere_x,float,sphere_y,float,sphere_z,float,sphere_radius,float,box_sizex,float,box_sizey,float,box_sizez
  declarexfunction nothing,gx_world_check,gx_tworld,ptr_tworld
  declarexfunction gx_tworld,gx_world_build,string,name,gx_tscene,ptr_tscene
  declarexfunction gx_tscene,gx_world_converttoscene,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_getflagstaticgeom,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setflagstaticgeom,gx_tworld,ptr_tworld,int,flag
  declarexfunction int,gx_world_getflagdynamicgeom,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setflagdynamicgeom,gx_tworld,ptr_tworld,int,flag
  declarexfunction int,gx_world_getflagnosubsector,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setflagnosubsector,gx_tworld,ptr_tworld,int,flag
  declarexfunction int,gx_world_ismaterialsortenabled,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_enablematerialsort,gx_tworld,ptr_tworld,int,flag
  declarexfunction nothing,gx_world_install,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_uninstall,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_sortmaterial,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_installmaterial,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_uninstallmaterial,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_ismaterialinstalled,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_isinstalled,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_installskin,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin,int,level
  declarexfunction nothing,gx_world_uninstallskin,gx_tworld,ptr_tworld,gx_tskin,ptr_tskin,int,level
  declarexfunction nothing,gx_world_startdisplay,gx_tworld,ptr_tworld,int,counter
  declarexfunction nothing,gx_world_enddisplay,gx_tworld,ptr_tworld,int,flagdisplay
  declarexfunction int,gx_world_isdisplaying,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_addambient,gx_tworld,ptr_tworld,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction nothing,gx_world_addomni,gx_tworld,ptr_tworld,int,lightred,int,lightgreen,int,lightblue,float,lightx,float,lighty,float,lightz,float,radius
  declarexfunction int,gx_world_getnbpoint,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_getnbface,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_getnbtriangle,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_printstatus,gx_tworld,ptr_tworld
  declarexfunction gx_tnavmesh,gx_world_getnavmesh,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setnavmesh,gx_tworld,ptr_tworld,gx_tnavmesh,ptr_tnavmesh
  declarexfunction int,gx_world_testcol3dcylinder,gx_tworld,ptr_tworld,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction int,gx_world_testcol3dsphere,gx_tworld,ptr_tworld,int,id,float,startx,float,starty,float,startz,float,radius,rfloat,endx,rfloat,endy,rfloat,endz,rfloat,normx,rfloat,normy,rfloat,normz
  declarexfunction string,gx_world_getname,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_setname,gx_tworld,ptr_tworld,string,name
  declarexfunction nothing,gx_world_getcamera,gx_tworld,ptr_tworld,rfloat,posx,rfloat,posy,rfloat,posz,rint,angx,rint,angy,rint,angz
  declarexfunction nothing,gx_world_setcamera,gx_tworld,ptr_tworld,float,posx,float,posy,float,posz,int,angx,int,angy,int,angz
  declarexfunction gx_tmatrix,gx_world_getmatrix,gx_tworld,ptr_tworld
  declarexfunction nothing,gx_world_purgematerial,gx_tworld,ptr_tworld
  declarexfunction int,gx_world_registermaterial,gx_tworld,ptr_tworld,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_world_updatematerial,gx_tworld,ptr_tworld,gx_tmaterial,ptr_tmaterial
  declarexfunction int,gx_world_getnbmaterial,gx_tworld,ptr_tworld
  declarexfunction gx_tmaterial,gx_world_getindexedmaterial,gx_tworld,ptr_tworld,int,nummaterial
  declarexfunction gx_tmaterial,gx_world_getnamedmaterial,gx_tworld,ptr_tworld,string,materialname
  declarexfunction int,gx_world_getnamedmaterialindex,gx_tworld,ptr_tworld,string,materialname
  declarexfunction int,gx_world_getmaterialindex,gx_tworld,ptr_tworld,gx_tmaterial,ptr_tmaterial
  declarexfunction nothing,gx_world_getsectorlastportalparam,gx_tworld,ptr_tworld,int,numsector,rfloat,posx,rfloat,posy,rfloat,posz,rfloat,radius
  declarexfunction int,gx_world_getnbportal,gx_tworld,ptr_tworld,int,numsector
  declarexfunction int,gx_world_getnamedportal,gx_tworld,ptr_tworld,int,numsector,string,portalname
  declarexfunction string,gx_world_getportalname,gx_tworld,ptr_tworld,int,numsector,int,numportal
  declarexfunction int,gx_world_getportallink,gx_tworld,ptr_tworld,int,numsector,int,numportal
  declarexfunction nothing,gx_world_lockportal,gx_tworld,ptr_tworld,int,numsector,int,numportal
  declarexfunction nothing,gx_world_unlockportal,gx_tworld,ptr_tworld,int,numsector,int,numportal
  declarexfunction int,gx_world_isportallocked,gx_tworld,ptr_tworld,int,numsector,int,numportal
  declarexfunction int,gx_world_getnboccluder,gx_tworld,ptr_tworld,int,numsector
  declarexfunction int,gx_world_getoccludertype,gx_tworld,ptr_tworld,int,numsector,int,numoccluder
  declarexfunction nothing,gx_world_getoccluderpos,gx_tworld,ptr_tworld,int,numsector,int,numoccluder,rfloat,posx,rfloat,posy,rfloat,posz
  declarexfunction float,gx_world_getoccluderradius,gx_tworld,ptr_tworld,int,numsector,int,numoccluder
  declarexfunction nothing,gx_world_getoccludersize,gx_tworld,ptr_tworld,int,numsector,int,numoccluder,rfloat,sizex,rfloat,sizey,rfloat,sizez
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* --------- */
/* gx_xarray */
/* --------- */
group gx_xarray
  typedef gx_txarray
  classtype gx_xarray,gx_txarray

  enum 0
    dim gx_xarray_typearray,1
    dim gx_xarray_typefastarray,1
    dim gx_xarray_typefreelist,1
    dim gx_xarray_typedynamicfreelist,1
  endenum

  declarexfunction int,gx_xarray_ginstall,nothing
  declarexfunction void,gx_xarray_getparentclass,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_setparentclass,gx_txarray,ptr_txarray,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_txarray,gx_xarray_newarray,int,size
  declarexfunction gx_txarray,gx_xarray_newfastarray,int,size
  declarexfunction gx_txarray,gx_xarray_newfreelist,int,size
  declarexfunction gx_txarray,gx_xarray_newdynamicfreelist,int,size
  declarexfunction gx_txarray,gx_xarray_aquire,int,nbcell,void,pointer,int,size,int,type
  declarexfunction int,gx_xarray_getnbcell,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_setnbcell,gx_txarray,ptr_txarray,int,nbblock
  declarexfunction nothing,gx_xarray_setnbcellnz,gx_txarray,ptr_txarray,int,nbblock
  declarexfunction void,gx_xarray_getptrcell,gx_txarray,ptr_txarray
  declarexfunction int,gx_xarray_getsize,gx_txarray,ptr_txarray
  declarexfunction int,gx_xarray_gettype,gx_txarray,ptr_txarray
  declarexfunction int,gx_xarray_addref,gx_txarray,ptr_txarray
  declarexfunction int,gx_xarray_getref,gx_txarray,ptr_txarray
  declarexfunction int,gx_xarray_purge,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_purgeall,nothing
  declarexfunction nothing,gx_xarray_deleteall,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_insertblock,gx_txarray,ptr_txarray,int,numcell,int,nbblock
  declarexfunction void,gx_xarray_insertblocknz,gx_txarray,ptr_txarray,int,numcell,int,nbblock
  declarexfunction void,gx_xarray_insertcell,gx_txarray,ptr_txarray,int,numcell
  declarexfunction void,gx_xarray_insertcellnz,gx_txarray,ptr_txarray,int,numcell
  declarexfunction void,gx_xarray_pushfront,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_pushfrontnz,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_push,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_pushnz,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_insertlastcurrentcell,gx_txarray,ptr_txarray,void,pointer
  declarexfunction void,gx_xarray_insertlastcurrentcellnz,gx_txarray,ptr_txarray,void,pointer
  declarexfunction void,gx_xarray_insertnextcurrentcell,gx_txarray,ptr_txarray,void,pointer
  declarexfunction void,gx_xarray_insertnextcurrentcellnz,gx_txarray,ptr_txarray,void,pointer
  declarexfunction void,gx_xarray_insertxarray,gx_txarray,ptr_txarray,int,numcell,gx_txarray,src_txarray
  declarexfunction nothing,gx_xarray_deleteblock,gx_txarray,ptr_txarray,int,numcell,int,nbblock
  declarexfunction nothing,gx_xarray_deletecell,gx_txarray,ptr_txarray,int,numcell
  declarexfunction nothing,gx_xarray_fastdeletecell,gx_txarray,ptr_txarray,int,numcell
  declarexfunction nothing,gx_xarray_popfront,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_pop,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_deletecurrentcell,gx_txarray,ptr_txarray,void,pointer
  declarexfunction gx_txarray,gx_xarray_copy,gx_txarray,ptr_txarray
  declarexfunction nothing,gx_xarray_sort,gx_txarray,ptr_txarray,void,ptr_tarraysort,void,buffertmp,void,userpointer
  declarexfunction nothing,gx_xarray_stdsort,gx_txarray,ptr_txarray,int,type,void,buffertmp
  declarexfunction nothing,gx_xarray_bubblesort,gx_txarray,ptr_txarray,void,ptr_tarraysort,void,buffertmp,void,userpointer
  declarexfunction nothing,gx_xarray_stdbubblesort,gx_txarray,ptr_txarray,int,type,void,buffertmp
  declarexfunction void,gx_xarray_sortedsearch,gx_txarray,ptr_txarray,void,cmpcell,void,ptr_tarraysort,void,userpointer,rint,index
  declarexfunction void,gx_xarray_stdsortedsearch,gx_txarray,ptr_txarray,void,cmpcell,int,type,rint,index
  declarexfunction nothing,gx_xarray_free,gx_txarray,ptr_txarray
  declarexfunction void,gx_xarray_getcell,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction void,gx_xarray_dynamicgetcell,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction void,gx_xarray_getcellfirst,gx_txarray,ptr_txarray,int,offset
  declarexfunction void,gx_xarray_getcellend,gx_txarray,ptr_txarray,int,offset
  declarexfunction int,gx_xarray_getcellindex,gx_txarray,ptr_txarray,void,cell
  declarexfunction void,gx_xarray_getlastcell,gx_txarray,ptr_txarray,void,pointer
  declarexfunction void,gx_xarray_getnextcell,gx_txarray,ptr_txarray,void,pointer
  declarexfunction int,gx_xarray_currentcelladdref,gx_txarray,ptr_txarray,void,pointer
  declarexfunction int,gx_xarray_currentcellgetref,gx_txarray,ptr_txarray,void,pointer
  declarexfunction int,gx_xarray_getcellbyte,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcellbyte,gx_txarray,ptr_txarray,int,numcell,int,offset,int,value
  declarexfunction int,gx_xarray_getcellubyte,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction int,gx_xarray_getcellshort,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcellshort,gx_txarray,ptr_txarray,int,numcell,int,offset,int,value
  declarexfunction int,gx_xarray_getcellushort,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction int,gx_xarray_getcellint,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcellint,gx_txarray,ptr_txarray,int,numcell,int,offset,int,value
  declarexfunction float,gx_xarray_getcellfloat,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcellfloat,gx_txarray,ptr_txarray,int,numcell,int,offset,float,value
  declarexfunction long,gx_xarray_getcelllong,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcelllong,gx_txarray,ptr_txarray,int,numcell,int,offset,long,value
  declarexfunction void,gx_xarray_getcellvoid,gx_txarray,ptr_txarray,int,numcell,int,offset
  declarexfunction nothing,gx_xarray_setcellvoid,gx_txarray,ptr_txarray,int,numcell,int,offset,void,value
endgroup

resetlinecounter 0

/* ======================================================================= */
/* Antiryad Gx - Copyright (c) Antoine Guillon - http://www.arkhamdev.net/ */
/* ======================================================================= */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.      */
/* The contents of this file may not be disclosed to third parties,        */
/* copied or duplicated in any form, in whole or in part,                  */
/* without the prior written permission of Arkham Development.             */
/* ======================================================================= */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
endgroup

/* --------------- */
/* gx_xstring_type */
/* --------------- */
enum 0
  dim gx_xstring_typestr,1
  dim gx_xstring_typeunicode,1
endenum

/* ---------- */
/* gx_xstring */
/* ---------- */
group gx_xstring
  typedef gx_txstring
  classtype gx_xstring,gx_txstring

  declarexfunction int,gx_xstring_ginstall,nothing
  declarexfunction void,gx_xstring_getparentclass,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_setparentclass,gx_txstring,ptr_txstring,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_txstring,gx_xstring_new,int,type
  declarexfunction nothing,gx_xstring_free,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_addref,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_getref,gx_txstring,ptr_txstring
  declarexfunction void,gx_xstring_getbuffer,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_getstr,gx_txstring,ptr_txstring,string,ptr_string
  declarexfunction nothing,gx_xstring_getunicode,gx_txstring,ptr_txstring,void,ptr_unicode
  declarexfunction int,gx_xstring_getchar,gx_txstring,ptr_txstring,int,index
  declarexfunction nothing,gx_xstring_setchar,gx_txstring,ptr_txstring,int,index,int,value
  declarexfunction nothing,gx_xstring_clear,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_fullclear,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_copy,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_copystr,gx_txstring,ptr_txstring,string,ptr_string
  declarexfunction nothing,gx_xstring_copyunicode,gx_txstring,ptr_txstring,void,ptr_unicode
  declarexfunction int,gx_xstring_getsize,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_setsize,gx_txstring,ptr_txstring,int,size
  declarexfunction int,gx_xstring_getsimplecrc,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_getsimplecrccase,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_getcrc,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_getcrccase,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_append,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_appendstr,gx_txstring,ptr_txstring,string,ptr_string
  declarexfunction nothing,gx_xstring_appendunicode,gx_txstring,ptr_txstring,void,ptr_unicode
  declarexfunction nothing,gx_xstring_appendcr,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_appendtab,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_appendchar,gx_txstring,ptr_txstring,int,value
  declarexfunction nothing,gx_xstring_appenddirseparator,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_cmp,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction int,gx_xstring_cmpcase,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction int,gx_xstring_cmpstr,gx_txstring,ptr_txstring,string,src_string
  declarexfunction int,gx_xstring_cmpcasestr,gx_txstring,ptr_txstring,string,src_string
  declarexfunction int,gx_xstring_cmpunicode,gx_txstring,ptr_txstring,void,src_unicode
  declarexfunction int,gx_xstring_cmpcaseunicode,gx_txstring,ptr_txstring,void,src_unicode
  declarexfunction int,gx_xstring_find,gx_txstring,ptr_txstring,gx_txstring,src_txstring,int,offset,int,flag
  declarexfunction int,gx_xstring_findstr,gx_txstring,ptr_txstring,string,src_string,int,offset,int,flag
  declarexfunction int,gx_xstring_findunicode,gx_txstring,ptr_txstring,void,src_unicode,int,offset,int,flag
  declarexfunction int,gx_xstring_replace,gx_txstring,ptr_txstring,gx_txstring,src_txstring,gx_txstring,replace_txstring,int,offset,int,flag
  declarexfunction int,gx_xstring_replacestr,gx_txstring,ptr_txstring,string,src_string,string,replace_string,int,offset,int,flag
  declarexfunction int,gx_xstring_replaceunicode,gx_txstring,ptr_txstring,void,src_unicode,void,replace_unicode,int,offset,int,flag
  declarexfunction int,gx_xstring_middle,gx_txstring,ptr_txstring,gx_txstring,src_txstring,int,start,int,longu
  declarexfunction int,gx_xstring_middlestr,gx_txstring,ptr_txstring,string,src_string,int,start,int,longu
  declarexfunction int,gx_xstring_middleunicode,gx_txstring,ptr_txstring,void,src_unicode,int,start,int,longu
  declarexfunction nothing,gx_xstring_ucase,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_lcase,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_ltrim,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_rtrim,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_dectoint,gx_txstring,ptr_txstring
  declarexfunction long,gx_xstring_dectolong,gx_txstring,ptr_txstring
  declarexfunction float,gx_xstring_dectofloat,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_inttodec,gx_txstring,ptr_txstring,int,number
  declarexfunction nothing,gx_xstring_inttohex,gx_txstring,ptr_txstring,int,number
  declarexfunction nothing,gx_xstring_inttobin,gx_txstring,ptr_txstring,int,number
  declarexfunction nothing,gx_xstring_longtodec,gx_txstring,ptr_txstring,long,number
  declarexfunction nothing,gx_xstring_longtohex,gx_txstring,ptr_txstring,long,number
  declarexfunction nothing,gx_xstring_longtobin,gx_txstring,ptr_txstring,long,number
  declarexfunction nothing,gx_xstring_floattodec,gx_txstring,ptr_txstring,float,number
  declarexfunction nothing,gx_xstring_floattohex,gx_txstring,ptr_txstring,float,number
  declarexfunction nothing,gx_xstring_appenddec,gx_txstring,ptr_txstring,int,value
  declarexfunction nothing,gx_xstring_appendhex,gx_txstring,ptr_txstring,int,value
  declarexfunction nothing,gx_xstring_appendbin,gx_txstring,ptr_txstring,int,value
  declarexfunction nothing,gx_xstring_appendlong,gx_txstring,ptr_txstring,long,value
  declarexfunction nothing,gx_xstring_appendlonghex,gx_txstring,ptr_txstring,long,value
  declarexfunction nothing,gx_xstring_appendlongbin,gx_txstring,ptr_txstring,long,value
  declarexfunction nothing,gx_xstring_appendfloat,gx_txstring,ptr_txstring,float,value
  declarexfunction nothing,gx_xstring_appendfloathex,gx_txstring,ptr_txstring,float,value
  declarexfunction nothing,gx_xstring_getfiledirectory,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_getfiledirectoryandname,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_getfilename,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_getfileextension,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_getfilenameandextension,gx_txstring,ptr_txstring,gx_txstring,src_txstring
  declarexfunction nothing,gx_xstring_duplicatedoublequote,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstring_converttoascii,gx_txstring,ptr_txstring,int,mode,int,flag
  declarexfunction nothing,gx_xstring_updateenvvar,gx_txstring,ptr_txstring
  declarexfunction int,gx_xstring_getfield,gx_txstring,dst_txstring,gx_txstring,src_txstring,int,numfield
  declarexfunction int,gx_xstring_getfieldstr,gx_txstring,dst_txstring,string,src_string,int,numfield
  declarexfunction int,gx_xstring_getfieldunicode,gx_txstring,dst_txstring,void,src_unicode,int,numfield
  declarexfunction int,gx_xstring_getgenericfield,gx_txstring,dst_txstring,gx_txstring,src_txstring,gx_txstring,separator_txstring,int,numfield,int,flag
  declarexfunction int,gx_xstring_getgenericfieldstr,gx_txstring,dst_txstring,string,src_string,string,separator_string,int,numfield,int,flag
  declarexfunction int,gx_xstring_getgenericfieldunicode,gx_txstring,dst_txstring,void,src_unicode,void,separator_unicode,int,numfield,int,flag
  declarexfunction int,gx_xstring_isinstring,gx_txstring,ptr_txstring,int,index,int,flag
  declarexfunction int,gx_xstring_getblock,gx_txstring,ptr_txstring,gx_txstring,src_txstring,int,index,int,mode
  declarexfunction nothing,gx_xstring_encrypt,gx_txstring,ptr_txstring,gx_txstring,passwd_txstring,int,type
  declarexfunction nothing,gx_xstring_decrypt,gx_txstring,ptr_txstring,gx_txstring,passwd_txstring,int,type
endgroup

/* ======================================================================== */
/* Antiryad Gx headers - Copyright (c) Arkham Development - Antoine Guillon */
/* ======================================================================== */
/* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Arkham Development.       */
/* The contents of this file may not be disclosed to third parties,         */
/* copied or duplicated in any form, in whole or in part,                   */
/* without the prior written permission of Arkham Development.              */
/* ======================================================================== */

/* --------- */
/* gx_global */
/* --------- */
group gx_global
  typedef gx_tdeleteparentclass
  typedef gx_txstring
endgroup

/* -------------- */
/* gx_xstringtext */
/* -------------- */
group gx_xstringtext
  typedef gx_txstringtext
  classtype gx_xstringtext,gx_txstringtext

  declarexfunction int,gx_xstringtext_ginstall,nothing
  declarexfunction void,gx_xstringtext_getparentclass,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_setparentclass,gx_txstringtext,ptr_txstringtext,void,parentclass,gx_tdeleteparentclass,deleteparentclass
  declarexfunction gx_txstringtext,gx_xstringtext_new,nothing
  declarexfunction gx_txstringtext,gx_xstringtext_load,string,filename
  declarexfunction gx_txstringtext,gx_xstringtext_loadchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_xstringtext_save,gx_txstringtext,ptr_txstringtext,string,filename
  declarexfunction int,gx_xstringtext_savechunk,gx_txstringtext,ptr_txstringtext,int,filenum
  declarexfunction gx_txstringtext,gx_xstringtext_loadgxml,string,filename
  declarexfunction gx_txstringtext,gx_xstringtext_loadgxmlchunk,int,filenum,int,filelen,int,offset
  declarexfunction nothing,gx_xstringtext_savegxml,gx_txstringtext,ptr_txstringtext,string,filename
  declarexfunction int,gx_xstringtext_savegxmlchunk,gx_txstringtext,ptr_txstringtext,int,filenum
  declarexfunction gx_txstringtext,gx_xstringtext_loadtxt,string,filename
  declarexfunction nothing,gx_xstringtext_savetxt,gx_txstringtext,ptr_txstringtext,string,filename
  declarexfunction gx_txstringtext,gx_xstringtext_loadall,string,filename
  declarexfunction nothing,gx_xstringtext_saveall,gx_txstringtext,ptr_txstringtext,string,filename
  declarexfunction nothing,gx_xstringtext_free,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_addref,gx_txstringtext,ptr_txstringtext
  declarexfunction int,gx_xstringtext_getref,gx_txstringtext,ptr_txstringtext
  declarexfunction gx_txstringtext,gx_xstringtext_copy,gx_txstringtext,ptr_txstringtext
  declarexfunction string,gx_xstringtext_getname,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_setname,gx_txstringtext,ptr_txstringtext,string,name
  declarexfunction gx_txstringtext,gx_xstringtext_createfrombuffer,void,buffer,int,size
  declarexfunction nothing,gx_xstringtext_converttobuffer,gx_txstringtext,ptr_txstringtext,rvoid,buffer,rint,size
  declarexfunction int,gx_xstringtext_cmp,gx_txstringtext,ptr_txstringtext,gx_txstringtext,cmp_txstringtext
  declarexfunction int,gx_xstringtext_cmpcase,gx_txstringtext,ptr_txstringtext,gx_txstringtext,cmp_txstringtext
  declarexfunction int,gx_xstringtext_getcrc,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_insertline,gx_txstringtext,ptr_txstringtext,int,line,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstringtext_insertlinestr,gx_txstringtext,ptr_txstringtext,int,line,string,text
  declarexfunction nothing,gx_xstringtext_insertlineunicode,gx_txstringtext,ptr_txstringtext,int,line,void,text
  declarexfunction nothing,gx_xstringtext_deleteline,gx_txstringtext,ptr_txstringtext,int,line
  declarexfunction nothing,gx_xstringtext_insertblock,gx_txstringtext,ptr_txstringtext,int,line,int,nbblock
  declarexfunction nothing,gx_xstringtext_deleteblock,gx_txstringtext,ptr_txstringtext,int,line,int,nbblock
  declarexfunction nothing,gx_xstringtext_inserttext,gx_txstringtext,ptr_txstringtext,int,line,gx_txstringtext,src_txstringtext
  declarexfunction gx_txstring,gx_xstringtext_getline,gx_txstringtext,ptr_txstringtext,int,line
  declarexfunction nothing,gx_xstringtext_getlinestr,gx_txstringtext,ptr_txstringtext,int,line,string,text
  declarexfunction nothing,gx_xstringtext_getlineunicode,gx_txstringtext,ptr_txstringtext,int,line,void,text
  declarexfunction nothing,gx_xstringtext_setline,gx_txstringtext,ptr_txstringtext,int,line,gx_txstring,ptr_txstring
  declarexfunction nothing,gx_xstringtext_setlinestr,gx_txstringtext,ptr_txstringtext,int,line,string,text
  declarexfunction nothing,gx_xstringtext_setlineunicode,gx_txstringtext,ptr_txstringtext,int,line,void,text
  declarexfunction int,gx_xstringtext_getnbline,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_deleteallline,gx_txstringtext,ptr_txstringtext
  declarexfunction nothing,gx_xstringtext_replaceall,gx_txstringtext,ptr_txstringtext,gx_txstring,dst_txstring,gx_txstring,src_txstring,int,mode
endgroup
