]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/deglobalization.qh
list all engine stuff that uses the globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / deglobalization.qh
index a84413d0e57e503112952e5797ce5c98851947e2..37fd7e101e2c4d48fa3c2afcf95861fe11a6a185 100644 (file)
@@ -6,6 +6,17 @@
 // Functions for which all usages are replaced with these macros can be hidden inside our `*defs.qh` files
 // to prevent anyone from using them accidentally.
 
+// TODO stuff in the engine that uses the v_forward/v_right/v_up globals and is not wrapped:
+//  - RF_USEAXIS, addentities, predraw,
+//    CL_GetEntityMatrix (in engine but is called from other functions so transitively any of them can use the globals - e.g. V_CalcRefdef, maybe others)
+//  - e.camera_transform / CL_VM_TransformView (in engine)
+//  - adddynamiclight
+//  - makestatic
+//  - gettaginfo
+//  - getentity
+//  - skel_get_bonerel, skel_get_boneabs, skel_set_bone, skel_mul_bone, skel_mul_bones
+//  - aim
+
 #ifdef GAMEQC
 STATIC_INIT(globals) {
        // set to NaN to more easily detect uninitialized use