]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.h
disable joystick by default, and make joy_enable saved;
[xonotic/darkplaces.git] / prvm_cmds.h
index 8be51b6b47cf5807020ab5ba169041d9eb44e4e0..fdabb68db5e0e667dfa2e7391a0193df9726784e 100644 (file)
@@ -88,6 +88,7 @@ float gettime()
                parseentitydata(entity ent, string data)
 float  mod(float val, float m)
 const string   cvar_string (string)
+float  cvar_type (string)
                crash()
                stackdump()
 
@@ -126,7 +127,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 +150,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 +194,7 @@ float       getserverlistindexforkey(string key)
 #include "mprogdefs.h"
 
 #include "cl_video.h"
+#include "cl_gecko.h"
 
 //============================================================================
 // nice helper macros
@@ -225,6 +233,7 @@ void VM_break (void);
 void VM_localcmd (void);
 void VM_cvar (void);
 void VM_cvar_string(void);
+void VM_cvar_type (void);
 void VM_cvar_defstring (void);
 void VM_cvar_set (void);
 void VM_dprint (void);
@@ -347,6 +356,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);
@@ -389,6 +406,8 @@ void VM_wasfreed (void);
 void VM_strreplace (void);
 void VM_strireplace (void);
 
+void VM_crc16(void);
+
 void VM_SetTraceGlobals(const trace_t *trace);
 
 void VM_Cmd_Init(void);