mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
ref: make sprite and studio global variables static
This commit is contained in:
+5
-5
@@ -21,11 +21,11 @@ GNU General Public License for more details.
|
||||
|
||||
#define GLARE_FALLOFF 19000.0f
|
||||
|
||||
char sprite_name[MAX_QPATH];
|
||||
char group_suffix[8];
|
||||
static uint r_texFlags = 0;
|
||||
static int sprite_version;
|
||||
float sprite_radius;
|
||||
static char sprite_name[MAX_QPATH];
|
||||
static char group_suffix[8];
|
||||
static uint r_texFlags = 0;
|
||||
static int sprite_version;
|
||||
static float sprite_radius;
|
||||
|
||||
/*
|
||||
====================
|
||||
|
||||
+8
-8
@@ -128,14 +128,14 @@ static r_studio_interface_t *pStudioDraw;
|
||||
static studio_draw_state_t g_studio; // global studio state
|
||||
|
||||
// global variables
|
||||
static qboolean m_fDoRemap;
|
||||
mstudiomodel_t *m_pSubModel;
|
||||
mstudiobodyparts_t *m_pBodyPart;
|
||||
player_info_t *m_pPlayerInfo;
|
||||
studiohdr_t *m_pStudioHeader;
|
||||
float m_flGaitMovement;
|
||||
int g_nTopColor, g_nBottomColor; // remap colors
|
||||
int g_nFaceFlags, g_nForceFaceFlags;
|
||||
static qboolean m_fDoRemap;
|
||||
static mstudiomodel_t *m_pSubModel;
|
||||
static mstudiobodyparts_t *m_pBodyPart;
|
||||
static player_info_t *m_pPlayerInfo;
|
||||
static studiohdr_t *m_pStudioHeader;
|
||||
static float m_flGaitMovement;
|
||||
static int g_nTopColor, g_nBottomColor; // remap colors
|
||||
static int g_nFaceFlags, g_nForceFaceFlags;
|
||||
|
||||
/*
|
||||
====================
|
||||
|
||||
+5
-5
@@ -21,11 +21,11 @@ GNU General Public License for more details.
|
||||
|
||||
#define GLARE_FALLOFF 19000.0f
|
||||
|
||||
char sprite_name[MAX_QPATH];
|
||||
char group_suffix[8];
|
||||
static uint r_texFlags = 0;
|
||||
static int sprite_version;
|
||||
float sprite_radius;
|
||||
static char sprite_name[MAX_QPATH];
|
||||
static char group_suffix[8];
|
||||
static uint r_texFlags = 0;
|
||||
static int sprite_version;
|
||||
static float sprite_radius;
|
||||
|
||||
/*
|
||||
====================
|
||||
|
||||
+8
-8
@@ -123,14 +123,14 @@ static r_studio_interface_t *pStudioDraw;
|
||||
static studio_draw_state_t g_studio; // global studio state
|
||||
|
||||
// global variables
|
||||
static qboolean m_fDoRemap;
|
||||
mstudiomodel_t *m_pSubModel;
|
||||
mstudiobodyparts_t *m_pBodyPart;
|
||||
player_info_t *m_pPlayerInfo;
|
||||
studiohdr_t *m_pStudioHeader;
|
||||
float m_flGaitMovement;
|
||||
int g_nTopColor, g_nBottomColor; // remap colors
|
||||
int g_nFaceFlags, g_nForceFaceFlags;
|
||||
static qboolean m_fDoRemap;
|
||||
static mstudiomodel_t *m_pSubModel;
|
||||
static mstudiobodyparts_t *m_pBodyPart;
|
||||
static player_info_t *m_pPlayerInfo;
|
||||
static studiohdr_t *m_pStudioHeader;
|
||||
static float m_flGaitMovement;
|
||||
static int g_nTopColor, g_nBottomColor; // remap colors
|
||||
static int g_nFaceFlags, g_nForceFaceFlags;
|
||||
|
||||
/*
|
||||
====================
|
||||
|
||||
Reference in New Issue
Block a user