]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.h
Gecko: load OffscreenGecko dynamically
[xonotic/darkplaces.git] / prvm_cmds.h
index 8be51b6b47cf5807020ab5ba169041d9eb44e4e0..85f8e8763bbda113c7b492ef59b2aea960b96d52 100644 (file)
@@ -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,12 @@ void       cin_setstate(string name, float type)
 float  cin_getstate(string name)
 void   cin_restart(string name)
 
+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 )
+
 ==============================================================================
 menu cmd list:
 ===============
@@ -187,6 +193,7 @@ float       getserverlistindexforkey(string key)
 #include "mprogdefs.h"
 
 #include "cl_video.h"
+#include "cl_gecko.h"
 
 //============================================================================
 // nice helper macros
@@ -347,6 +354,14 @@ void VM_cin_setstate( void );
 void VM_cin_getstate( void );
 void VM_cin_restart( void );
 
+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 );
+void VM_gecko_resize( void );
+void VM_gecko_get_texture_extent( void );
+
 void VM_drawline (void);
 
 void VM_bitshift (void);