]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Add the gecko builtins to csqc, too. (#ifdefed again)
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 5 Dec 2007 22:02:42 +0000 (22:02 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 5 Dec 2007 22:02:42 +0000 (22:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7763 d7cf8633-e32d-0410-b094-e92efae38249

clvm_cmds.c

index 11178bfa0fb0a416760625ab3d2759275b3014df..478bcabe9b042e7e3b8a97df3b445f85a062bb5b 100644 (file)
@@ -3239,11 +3239,19 @@ VM_CL_pointsound,                               // #483 void(vector origin, string sample, float volume, fl
 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
-NULL,                                                  // #487
-NULL,                                                  // #488
-NULL,                                                  // #489
-NULL,                                                  // #490
-NULL,                                                  // #491
+#ifdef SUPPORT_GECKO
+VM_gecko_create,                                       // #487
+VM_gecko_destroy,                                      // #488
+VM_gecko_navigate,                             // #489
+VM_gecko_keyevent,                             // #490
+VM_gecko_movemouse,                            // #491
+#else
+NULL,                                                                  // #487
+NULL,                                                                  // #488
+NULL,                                                                  // #489
+NULL,                                                                  // #490
+NULL,                                                                  // #491
+#endif
 NULL,                                                  // #492
 NULL,                                                  // #493
 NULL,                                                  // #494