summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-09-30 20:48:40 +0000
committerTim Angus <tim@ngus.net>2003-09-30 20:48:40 +0000
commit1aea8082acf2155ec10a090389e7c9147a47edbb (patch)
tree65bab0a20a00eae6500a7de43721461cd9eb130d /src/cgame/cg_local.h
parent2d1387dc2f7efef0f7162477c02a76b176d90fc0 (diff)
* Particles are now depth sorted
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index b5b35a43..e6b2d7d4 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -344,6 +344,8 @@ typedef struct particle_s
pLerpValues_t rotation;
qboolean valid;
+
+ int sortKey;
} particle_t;
@@ -1396,7 +1398,7 @@ extern vmCvar_t cg_drawSurfNormal;
extern vmCvar_t cg_debugAlloc;
extern vmCvar_t cg_wwSmoothTime;
extern vmCvar_t cg_wwFollow;
-extern vmCvar_t cg_zsortLEs;
+extern vmCvar_t cg_depthSortParticles;
extern vmCvar_t cg_consoleLatency;
extern vmCvar_t cg_lightFlare;
extern vmCvar_t cg_debugParticles;