]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'master' into terencehill/glowmod_color_fix
authorterencehill <piuntn@gmail.com>
Mon, 8 Jun 2020 16:20:23 +0000 (18:20 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 8 Jun 2020 16:20:23 +0000 (18:20 +0200)
19 files changed:
qcsrc/client/csqcmodel_hooks.qc
qcsrc/client/weapons/projectile.qc
qcsrc/common/turrets/cl_turrets.qc
qcsrc/common/weapons/all.qh
textures/erebusfullbright_glow.tga
textures/gakarmorfb_glow.tga
textures/gakarmorfb_shirt.tga
textures/gakfullbright_shirt.tga
textures/ignis_glow.tga
textures/ignisfullbright_glow.tga
textures/ignisfullbright_shirt.tga
textures/ignishead_glow.tga
textures/nyxfullbright_glow.tga
textures/pyria_glow.tga
textures/pyriafullbright_glow.tga
textures/pyriafullbright_shirt.tga
textures/umbra_glow.tga
textures/umbrafullbright_glow.tga
textures/umbrafullbright_shirt.tga

index 99456bd3ed03d129d2fb2ffc741e380e612f66ec..41217ca4cc5e233425a4c50e730d859a137339e4 100644 (file)
@@ -291,7 +291,7 @@ void CSQCPlayer_ModelAppearance_Apply(entity this, bool islocalplayer)
 
        // GLOWMOD AND DEATH FADING
        if(this.colormap > 0)
-               this.glowmod = colormapPaletteColor(((this.colormap >= 1024) ? this.colormap : entcs_GetClientColors(this.colormap - 1)) & 0x0F, true) * 2;
+               this.glowmod = colormapPaletteColor(((this.colormap >= 1024) ? this.colormap : entcs_GetClientColors(this.colormap - 1)) & 0x0F, true);
        else
                this.glowmod = '1 1 1';
 
index fcdac111e401aedbbd01c54a14a82bf294179385..c16e7b809fbb869b58de3fdc6a5e1423a063033b 100644 (file)
@@ -282,7 +282,7 @@ NET_HANDLE(ENT_CLIENT_PROJECTILE, bool isnew)
                // TODO: projectiles use glowmaps for their color, not teams
                #if 0
                if(this.colormap > 0)
-                       this.glowmod = colormapPaletteColor(this.colormap & 0x0F, true) * 2;
+                       this.glowmod = colormapPaletteColor(this.colormap & 0x0F, true);
                else
                        this.glowmod = '1 1 1';
                #endif
index df20e1ad2f2d8371638de205f191a458be3db41e..da67dd7a7ced2cf356a64772edde3cc8e3a64230 100644 (file)
@@ -9,7 +9,7 @@ void turret_remove(entity this)
 .vector glowmod;
 void turret_changeteam(entity this)
 {
-       this.glowmod = Team_ColorRGB(this.team - 1) * 2;
+       this.glowmod = Team_ColorRGB(this.team - 1);
        this.teamradar_color = Team_ColorRGB(this.team - 1);
 
        if(this.team)
index bcd4d51a4af4cf9f7937bb36668b745d3ecabe90..c980dc64f568441b1ad46bbca62b1fcbae7dc1df 100644 (file)
@@ -345,7 +345,7 @@ STATIC_INIT(register_weapons_done)
 vector weaponentity_glowmod(Weapon wep, entity actor, int c, entity wepent)
 {
     vector g;
-    if (!(g = wep.wr_glow(wep, actor, wepent))) g = colormapPaletteColor(c & 0x0F, true) * 2;
+    if (!(g = wep.wr_glow(wep, actor, wepent))) g = colormapPaletteColor(c & 0x0F, true);
     return g;
 }
 
index a91959d3663f7d20ae2a3d6c6bdccc43ea360eff..588569f6dd418f009dfeffd34f8960d764aa52ec 100644 (file)
Binary files a/textures/erebusfullbright_glow.tga and b/textures/erebusfullbright_glow.tga differ
index e506ce05fd994bbf6242ced5a9fb56485eff5a46..dd873f7d87f0b2c8c3ec186f12ab650c47a13ba8 100644 (file)
Binary files a/textures/gakarmorfb_glow.tga and b/textures/gakarmorfb_glow.tga differ
index ce4b6d6d3fb4f847b8e4fd65e178b8df5ad4d6bf..6bd287d143cfc0f63ef3be5c3e6e3ced0bb2218a 100644 (file)
Binary files a/textures/gakarmorfb_shirt.tga and b/textures/gakarmorfb_shirt.tga differ
index 4f9d05336f56564c68ea9dbdd9fc81851589a681..9aee3c18ac244bb629958d4c4e6d988606c2533a 100644 (file)
Binary files a/textures/gakfullbright_shirt.tga and b/textures/gakfullbright_shirt.tga differ
index c9eee49600fb3e8a403aa773ab9675f1ca2efe6e..7bcace5b80249d7e4f6fe4d740ed6c6db8ef64ff 100644 (file)
Binary files a/textures/ignis_glow.tga and b/textures/ignis_glow.tga differ
index a010bdf3e9e855f320b8703d909b0b104155eb79..c97fb7f4d404e20d00fe9c274e654ef691fc1869 100644 (file)
Binary files a/textures/ignisfullbright_glow.tga and b/textures/ignisfullbright_glow.tga differ
index 0a2f7fac551e42f2556242104537618e7191b8bd..9aee3c18ac244bb629958d4c4e6d988606c2533a 100644 (file)
Binary files a/textures/ignisfullbright_shirt.tga and b/textures/ignisfullbright_shirt.tga differ
index d23f7315bb107dc69a7c90f9ccbb045c08dea950..27aec27140a1fa4db45660b87cbff7695f79b072 100644 (file)
Binary files a/textures/ignishead_glow.tga and b/textures/ignishead_glow.tga differ
index ec01e22847e408a3db8cefe5abc7d45eca128010..033e27402ab3b425d57807648dd7ad467d2edf49 100644 (file)
Binary files a/textures/nyxfullbright_glow.tga and b/textures/nyxfullbright_glow.tga differ
index 53a46f3a807f13aa61450a36161a6b68b243ccb9..d1073950277c4a18a6a4fdfb68ed805be320ae3a 100644 (file)
Binary files a/textures/pyria_glow.tga and b/textures/pyria_glow.tga differ
index ef6f686c6c15fc3250370ecee4e60a719a14906c..c3f1e781cc12d1518587693952ba80b523bdafba 100644 (file)
Binary files a/textures/pyriafullbright_glow.tga and b/textures/pyriafullbright_glow.tga differ
index 62ca44604f4d9736719c222be9223426f44df80c..9aee3c18ac244bb629958d4c4e6d988606c2533a 100644 (file)
Binary files a/textures/pyriafullbright_shirt.tga and b/textures/pyriafullbright_shirt.tga differ
index ee222f67a02bb8c47d95945abce97afe51782947..dc6031ef11d64fdf0c2d08e200b07474ce8e17e0 100644 (file)
Binary files a/textures/umbra_glow.tga and b/textures/umbra_glow.tga differ
index 4924c2a988ecf3e60d0f3d0d6df80f5c003e069d..adc75ee3fa786a475d9d1f643db87b8be5473a3c 100644 (file)
Binary files a/textures/umbrafullbright_glow.tga and b/textures/umbrafullbright_glow.tga differ
index 8d04c364cc12551c79bb65cbf9d313e6150eeae1..9aee3c18ac244bb629958d4c4e6d988606c2533a 100644 (file)
Binary files a/textures/umbrafullbright_shirt.tga and b/textures/umbrafullbright_shirt.tga differ