]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mvm_cmds.c
Gecko: load OffscreenGecko dynamically
[xonotic/darkplaces.git] / mvm_cmds.c
index fda7feae551fa84ca2d4e4ddae4cc2a59736c811..71e59ab20e1e72918542a0bda2d678decf1540b7 100644 (file)
@@ -21,9 +21,7 @@ char *vm_m_extensions =
 "DP_QC_STRREPLACE "
 "DP_FONT_VARIABLEWIDTH "
 // FIXME: rename this extension maybe? [12/5/2007 Black]
-#ifdef SUPPORT_GECKO
 "DP_GECKO_SUPPORT "
-#endif
 "DP_QC_RENDER_SCENE"
 ;
 
@@ -1272,7 +1270,6 @@ NULL,                                                                     // #483
 VM_strreplace,                                         // #484 string(string search, string replace, string subject) strreplace (DP_QC_STRREPLACE)
 VM_strireplace,                                        // #485 string(string search, string replace, string subject) strireplace (DP_QC_STRREPLACE)
 NULL,                                                                  // #486
-#ifdef SUPPORT_GECKO
 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 )
@@ -1280,15 +1277,6 @@ VM_gecko_keyevent,                               // #490 float gecko_keyevent( string name, float key, floa
 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,                                                                  // #494
 NULL,                                                                  // #495
 NULL,                                                                  // #496