From aa06ba0e8c818aaa1da5337a39820f2cc91d4075 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Sun, 11 Nov 2018 22:07:39 +0100 Subject: [PATCH] list all engine stuff that uses the globals --- qcsrc/lib/deglobalization.qh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qcsrc/lib/deglobalization.qh b/qcsrc/lib/deglobalization.qh index a84413d0e..37fd7e101 100644 --- a/qcsrc/lib/deglobalization.qh +++ b/qcsrc/lib/deglobalization.qh @@ -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 -- 2.39.2