From: black Date: Mon, 7 Jan 2008 16:49:50 +0000 (+0000) Subject: Add some builtin definitions to the builtin list (necessary for automated builtin... X-Git-Tag: xonotic-v0.1.0preview~2575 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3e1e4cc843cd3586b54956ac09932b42654f6abe;p=xonotic%2Fdarkplaces.git Add some builtin definitions to the builtin list (necessary for automated builtin qc creation). git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7931 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index 1c4bffe3..cb960f58 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -3358,20 +3358,22 @@ VM_strreplace, // #484 string(string search, string replace, string subject) VM_strireplace, // #485 string(string search, string replace, string subject) strireplace (DP_QC_STRREPLACE) VM_CL_getsurfacepointattribute,// #486 vector(entity e, float s, float n, float a) getsurfacepointattribute = #486; #ifdef SUPPORT_GECKO -VM_gecko_create, // #487 -VM_gecko_destroy, // #488 -VM_gecko_navigate, // #489 -VM_gecko_keyevent, // #490 -VM_gecko_movemouse, // #491 +VM_gecko_create, // #487 float gecko_create( string name ) +VM_gecko_destroy, // #488 void gecko_destroy( string name ) +VM_gecko_navigate, // #489 void gecko_navigate( string name, string URI ) +VM_gecko_keyevent, // #490 float gecko_keyevent( string name, float key, float eventtype ) +VM_gecko_movemouse, // #491 void gecko_mousemove( string name, float x, float y ) +VM_gecko_resize, // #492 void gecko_resize( string name, float w, float h ) +VM_gecko_get_texture_extent, // #493 vector gecko_get_texture_extent( string name ) #else NULL, // #487 NULL, // #488 NULL, // #489 NULL, // #490 NULL, // #491 +NULL, // #492 +NULL, // #493 #endif -NULL, // #492 -NULL, // #493 NULL, // #494 NULL, // #495 NULL, // #496 diff --git a/mvm_cmds.c b/mvm_cmds.c index 26bcce77..fda7feae 100644 --- a/mvm_cmds.c +++ b/mvm_cmds.c @@ -1273,13 +1273,13 @@ VM_strreplace, // #484 string(string search, string replace, string subject VM_strireplace, // #485 string(string search, string replace, string subject) strireplace (DP_QC_STRREPLACE) NULL, // #486 #ifdef SUPPORT_GECKO -VM_gecko_create, // #487 -VM_gecko_destroy, // #488 -VM_gecko_navigate, // #489 -VM_gecko_keyevent, // #490 -VM_gecko_movemouse, // #491 -VM_gecko_resize, // #492 -VM_gecko_get_texture_extent, // #493 +VM_gecko_create, // #487 float gecko_create( string name ) +VM_gecko_destroy, // #488 void gecko_destroy( string name ) +VM_gecko_navigate, // #489 void gecko_navigate( string name, string URI ) +VM_gecko_keyevent, // #490 float gecko_keyevent( string name, float key, float eventtype ) +VM_gecko_movemouse, // #491 void gecko_mousemove( string name, float x, float y ) +VM_gecko_resize, // #492 void gecko_resize( string name, float w, float h ) +VM_gecko_get_texture_extent, // #493 vector gecko_get_texture_extent( string name ) #else NULL, // #487 NULL, // #488 @@ -1396,30 +1396,30 @@ NULL, // #597 NULL, // #598 NULL, // #599 NULL, // #600 -VM_M_setkeydest, // #601 menu functions... -VM_M_getkeydest, // #602 -VM_M_setmousetarget, // #603 -VM_M_getmousetarget, // #604 -VM_M_callfunction, // #605 -VM_writetofile, // #606 -VM_M_isfunction, // #607 -VM_M_getresolution, // #608 -VM_keynumtostring, // #609 -VM_M_findkeysforcommand, // #610 -VM_M_getserverliststat, // #611 -VM_M_getserverliststring, // #612 -VM_parseentitydata, // #613 -VM_stringtokeynum, // #614 -VM_M_resetserverlistmasks, // #615 -VM_M_setserverlistmaskstring, // #616 -VM_M_setserverlistmasknumber, // #617 -VM_M_resortserverlist, // #618 -VM_M_setserverlistsort, // #619 -VM_M_refreshserverlist, // #620 -VM_M_getserverlistnumber, // #621 -VM_M_getserverlistindexforkey,// #622 -VM_M_addwantedserverlistkey, // #623 -VM_M_getextresponse // #624 +VM_M_setkeydest, // #601 void setkeydest(float dest) +VM_M_getkeydest, // #602 float getkeydest(void) +VM_M_setmousetarget, // #603 void setmousetarget(float trg) +VM_M_getmousetarget, // #604 float getmousetarget(void) +VM_M_callfunction, // #605 void callfunction(...) +VM_writetofile, // #606 void writetofile(float fhandle, entity ent) +VM_M_isfunction, // #607 float isfunction(string function_name) +VM_M_getresolution, // #608 vector getresolution(float number) +VM_keynumtostring, // #609 string keynumtostring(float keynum) +VM_M_findkeysforcommand, // #610 string findkeysforcommand(string command) +VM_M_getserverliststat, // #611 float gethostcachevalue(float type) +VM_M_getserverliststring, // #612 string gethostcachestring(float type, float hostnr) +VM_parseentitydata, // #613 void parseentitydata(entity ent, string data) +VM_stringtokeynum, // #614 float stringtokeynum(string key) +VM_M_resetserverlistmasks, // #615 void resethostcachemasks(void) +VM_M_setserverlistmaskstring, // #616 void sethostcachemaskstring(float mask, float fld, string str, float op) +VM_M_setserverlistmasknumber, // #617 void sethostcachemasknumber(float mask, float fld, float num, float op) +VM_M_resortserverlist, // #618 void resorthostcache(void) +VM_M_setserverlistsort, // #619 void sethostcachesort(float fld, float descending) +VM_M_refreshserverlist, // #620 void refreshhostcache(void) +VM_M_getserverlistnumber, // #621 float gethostcachenumber(float fld, float hostnr) +VM_M_getserverlistindexforkey,// #622 float gethostcacheindexforkey(string key) +VM_M_addwantedserverlistkey, // #623 void addwantedhostcachekey(string key) +VM_M_getextresponse // #624 string getextresponse(void) }; const int vm_m_numbuiltins = sizeof(vm_m_builtins) / sizeof(prvm_builtin_t);