X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=prvm_cmds.h;h=b9d16bdb8ca8ae5dce0f03953ff16a824cdc72a6;hp=8be51b6b47cf5807020ab5ba169041d9eb44e4e0;hb=52346e02f29e08dd01f1b723245d06a214700a26;hpb=cb16a7014e2bf0080ea13bd228e09a7e9e7e611e diff --git a/prvm_cmds.h b/prvm_cmds.h index 8be51b6b..b9d16bdb 100644 --- a/prvm_cmds.h +++ b/prvm_cmds.h @@ -126,7 +126,7 @@ perhaps only : Menu : WriteMsg WriteString(string data, float dest, float desto) WriteEntity(entity data, float dest, float desto) -Client & Menu : draw functions & video functions +Client & Menu : draw functions & video functions (& gecko functions) =================================================== float iscachedpic(string pic) @@ -149,6 +149,14 @@ void cin_setstate(string name, float type) float cin_getstate(string name) void cin_restart(string name) +#ifdef SUPPORT_GECKO +float[bool] gecko_create( string name ) +void gecko_destroy( string name ) +void gecko_navigate( string name, string URI ) +float[bool] gecko_keyevent( string name, float key, float eventtype ) +void gecko_mousemove( string name, float x, float y ) +#endif + ============================================================================== menu cmd list: =============== @@ -187,6 +195,9 @@ float getserverlistindexforkey(string key) #include "mprogdefs.h" #include "cl_video.h" +#ifdef SUPPORT_GECKO +#include "cl_gecko.h" +#endif //============================================================================ // nice helper macros @@ -347,6 +358,14 @@ void VM_cin_setstate( void ); void VM_cin_getstate( void ); void VM_cin_restart( void ); +#ifdef SUPPORT_GECKO +void VM_gecko_create( void ); +void VM_gecko_destroy( void ); +void VM_gecko_navigate( void ); +void VM_gecko_keyevent( void ); +void VM_gecko_movemouse( void ); +#endif + void VM_drawline (void); void VM_bitshift (void);