From 2d5c4fd294349c1f334c359f56eaceef421fb6c1 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 28 Mar 2003 16:45:23 +0000 Subject: [PATCH] corrected the misspelled name GAME_NEXIUZ (and related things) to GAME_NEXUIZ (and related things) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2875 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 2 +- cl_particles.c | 2 +- common.c | 12 ++++++------ common.h | 2 +- gl_rmain.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cl_main.c b/cl_main.c index 6b6a4f79..d3972a6a 100644 --- a/cl_main.c +++ b/cl_main.c @@ -625,7 +625,7 @@ static void CL_RelinkNetworkEntities(void) { if (effects & EF_BRIGHTFIELD) { - if (gamemode == GAME_NEXIUZ) + if (gamemode == GAME_NEXUIZ) { dlightcolor[0] += 100.0f; dlightcolor[1] += 200.0f; diff --git a/cl_particles.c b/cl_particles.c index 2dbe39dc..e778e9ee 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1075,7 +1075,7 @@ void CL_RocketTrail (vec3_t start, vec3_t end, int type, entity_t *ent) particle(pt_static, PARTICLE_BILLBOARD, 0x303030, 0x606060, tex_smoke[rand()&7], true, PBLEND_ALPHA, dec, dec, 64, 320, 9999, 0, 0, pos[0], pos[1], pos[2], lhrandom(-4, 4), lhrandom(-4, 4), lhrandom(0, 16), 0, 0, 0, 0, 0, 0); } break; - case 8: // Nexiuz plasma trail + case 8: // Nexuiz plasma trail dec = 4; if (smoke) { diff --git a/common.c b/common.c index 6363ad1e..4d9c9d55 100644 --- a/common.c +++ b/common.c @@ -670,8 +670,8 @@ void COM_InitGameType (void) if (strstr(name, "transfusion")) gamemode = GAME_TRANSFUSION; - else if (strstr(name, "nexiuz")) - gamemode = GAME_NEXIUZ; + else if (strstr(name, "nexuiz")) + gamemode = GAME_NEXUIZ; else if (strstr(name, "nehahra")) gamemode = GAME_NEHAHRA; else if (strstr(name, "hipnotic")) @@ -683,8 +683,8 @@ void COM_InitGameType (void) if (COM_CheckParm ("-transfusion")) gamemode = GAME_TRANSFUSION; - else if (COM_CheckParm ("-nexiuz")) - gamemode = GAME_NEXIUZ; + else if (COM_CheckParm ("-nexuiz")) + gamemode = GAME_NEXUIZ; else if (COM_CheckParm ("-nehahra")) gamemode = GAME_NEHAHRA; else if (COM_CheckParm ("-hipnotic")) @@ -712,8 +712,8 @@ void COM_InitGameType (void) gamename = "DarkPlaces-Nehahra"; gamedirname = "nehahra"; break; - case GAME_NEXIUZ: - gamename = "Nexiuz"; + case GAME_NEXUIZ: + gamename = "Nexuiz"; gamedirname = "data"; break; case GAME_TRANSFUSION: diff --git a/common.h b/common.h index 7058d0b3..80e7c17c 100644 --- a/common.h +++ b/common.h @@ -166,7 +166,7 @@ extern struct cvar_s registered; #define GAME_HIPNOTIC 1 #define GAME_ROGUE 2 #define GAME_NEHAHRA 3 -#define GAME_NEXIUZ 4 +#define GAME_NEXUIZ 4 #define GAME_TRANSFUSION 5 extern int gamemode; diff --git a/gl_rmain.c b/gl_rmain.c index 91fba30b..fc8a8d1f 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -230,7 +230,7 @@ void GL_Main_Init(void) Cvar_RegisterVariable (&r_fullbright); Cvar_RegisterVariable (&r_textureunits); Cvar_RegisterVariable (&r_shadow_cull); - if (gamemode == GAME_NEHAHRA || gamemode == GAME_NEXIUZ) + if (gamemode == GAME_NEHAHRA || gamemode == GAME_NEXUIZ) Cvar_SetValue("r_fullbrights", 0); R_RegisterModule("GL_Main", gl_main_start, gl_main_shutdown, gl_main_newmap); } -- 2.39.2