Merge branch 'master' of https://github.com/raa-eruanna/qzdoom into qzdoom

This commit is contained in:
Magnus Norddahl 2017-01-03 04:29:15 +01:00
commit ac7992a2a1
3 changed files with 180 additions and 110 deletions

View file

@ -195,7 +195,7 @@ void GLWall::RenderWall(int textured)
gl_RenderState.ApplyLightIndex(dynlightindex); gl_RenderState.ApplyLightIndex(dynlightindex);
if (gl.buffermethod != BM_DEFERRED) if (gl.buffermethod != BM_DEFERRED)
{ {
MakeVertices(!(textured&RWF_NOSPLIT)); MakeVertices(!!(textured&RWF_NOSPLIT));
} }
else if (vertcount == 0) else if (vertcount == 0)
{ {

View file

@ -253,7 +253,7 @@ extend class Actor
} }
else else
{ {
spit.special2 = int((targ.pos.x - pos.x) / spit.Vel.y); spit.special2 = int((targ.pos.x - pos.x) / spit.Vel.x);
} }
// [GZ] Calculates when the projectile will have reached destination // [GZ] Calculates when the projectile will have reached destination
spit.special2 += level.maptime; spit.special2 += level.maptime;

View file

@ -10,25 +10,29 @@
pointlight WANDPUFF1 pointlight WANDPUFF1
{ {
color 0.9 0.9 0.5 color 0.9 0.9 0.5
size 32 size 48
attenuate 1
} }
pointlight WANDPUFF2 pointlight WANDPUFF2
{ {
color 0.6 0.6 0.35 color 0.6 0.6 0.35
size 24 size 36
attenuate 1
} }
pointlight WANDPUFF3 pointlight WANDPUFF3
{ {
color 0.3 0.3 0.2 color 0.3 0.3 0.2
size 16 size 24
attenuate 1
} }
pointlight WANDPUFF4 pointlight WANDPUFF4
{ {
color 0.15 0.15 0.1 color 0.15 0.15 0.1
size 8 size 12
attenuate 1
} }
object GoldWandPuff1 object GoldWandPuff1
@ -49,31 +53,36 @@ object GoldWandPuff2
pointlight WANDBALL pointlight WANDBALL
{ {
color 0.9 0.9 0.5 color 0.9 0.9 0.5
size 24 size 36
attenuate 1
} }
pointlight WANDBALL_X1 pointlight WANDBALL_X1
{ {
color 0.72 0.72 0.4 color 0.72 0.72 0.4
size 32 size 48
attenuate 1
} }
pointlight WANDBALL_X2 pointlight WANDBALL_X2
{ {
color 0.54 0.54 0.3 color 0.54 0.54 0.3
size 34 size 51
attenuate 1
} }
pointlight WANDBALL_X3 pointlight WANDBALL_X3
{ {
color 0.36 0.36 0.2 color 0.36 0.36 0.2
size 36 size 54
attenuate 1
} }
pointlight WANDBALL_X4 pointlight WANDBALL_X4
{ {
color 0.18 0.18 0.1 color 0.18 0.18 0.1
size 38 size 57
attenuate 1
} }
object GoldWandFX2 object GoldWandFX2
@ -91,31 +100,35 @@ object GoldWandFX2
pointlight SMALLBOWBOLT pointlight SMALLBOWBOLT
{ {
color 0.5 1.0 0.5 color 0.5 1.0 0.5
size 40 size 60
attenuate 1
} }
flickerlight SMALLBOWBOLT_X1 flickerlight SMALLBOWBOLT_X1
{ {
color 0.35 0.7 0.35 color 0.35 0.7 0.35
size 48 size 72
secondarySize 52 secondarySize 78
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight SMALLBOWBOLT_X2 flickerlight SMALLBOWBOLT_X2
{ {
color 0.2 0.4 0.2 color 0.2 0.4 0.2
size 40 size 60
secondarySize 44 secondarySize 66
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight SMALLBOWBOLT_X3 flickerlight SMALLBOWBOLT_X3
{ {
color 0.1 0.2 0.1 color 0.1 0.2 0.1
size 32 size 48
secondarySize 36 secondarySize 54
chance 0.3 chance 0.3
attenuate 1
} }
object CrossbowFX3 object CrossbowFX3
@ -131,31 +144,35 @@ object CrossbowFX3
pointlight BIGBOWBOLT pointlight BIGBOWBOLT
{ {
color 0.8 1.0 0.5 color 0.8 1.0 0.5
size 64 size 96
attenuate 1
} }
flickerlight BIGBOWBOLT_X1 flickerlight BIGBOWBOLT_X1
{ {
color 0.48 0.8 0.4 color 0.48 0.8 0.4
size 72 size 108
secondarySize 74 secondarySize 110
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight BIGBOWBOLT_X2 flickerlight BIGBOWBOLT_X2
{ {
color 0.44 0.6 0.3 color 0.44 0.6 0.3
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight BIGBOWBOLT_X3 flickerlight BIGBOWBOLT_X3
{ {
color 0.22 0.4 0.2 color 0.22 0.4 0.2
size 32 size 48
secondarySize 40 secondarySize 60
chance 0.3 chance 0.3
attenuate 1
} }
object CrossbowFX1 object CrossbowFX1
@ -181,13 +198,15 @@ object CrossbowFX2
pointlight BOWTRAIL1 pointlight BOWTRAIL1
{ {
color 0.0 1.0 0.0 color 0.0 1.0 0.0
size 24 size 36
attenuate 1
} }
pointlight BOWTRAIL2 pointlight BOWTRAIL2
{ {
color 0.0 0.7 0.0 color 0.0 0.7 0.0
size 16 size 24
attenuate 1
} }
//object CrossbowFX4 //object CrossbowFX4
@ -200,25 +219,29 @@ pointlight BOWTRAIL2
pointlight CLAWPUFF1 pointlight CLAWPUFF1
{ {
color 0.4 0.4 1.0 color 0.4 0.4 1.0
size 32 size 48
attenuate 1
} }
pointlight CLAWPUFF2 pointlight CLAWPUFF2
{ {
color 0.3 0.3 0.8 color 0.3 0.3 0.8
size 24 size 36
attenuate 1
} }
pointlight CLAWPUFF3 pointlight CLAWPUFF3
{ {
color 0.2 0.2 0.6 color 0.2 0.2 0.6
size 16 size 24
attenuate 1
} }
pointlight CLAWPUFF4 pointlight CLAWPUFF4
{ {
color 0.1 0.1 0.4 color 0.1 0.1 0.4
size 8 size 12
attenuate 1
} }
object BlasterPuff object BlasterPuff
@ -237,31 +260,36 @@ object BlasterPuff
pointlight BIGCLAWPUFF1 pointlight BIGCLAWPUFF1
{ {
color 0.4 0.4 1.0 color 0.4 0.4 1.0
size 56 size 84
attenuate 1
} }
pointlight BIGCLAWPUFF2 pointlight BIGCLAWPUFF2
{ {
color 0.3 0.3 0.8 color 0.3 0.3 0.8
size 48 size 72
attenuate 1
} }
pointlight BIGCLAWPUFF3 pointlight BIGCLAWPUFF3
{ {
color 0.2 0.2 0.6 color 0.2 0.2 0.6
size 40 size 60
attenuate 1
} }
pointlight BIGCLAWPUFF4 pointlight BIGCLAWPUFF4
{ {
color 0.1 0.1 0.4 color 0.1 0.1 0.4
size 32 size 48
attenuate 1
} }
pointlight BIGCLAWPUFF5 pointlight BIGCLAWPUFF5
{ {
color 0.0 0.0 0.2 color 0.0 0.0 0.2
size 24 size 36
attenuate 1
} }
object BlasterFX1 object BlasterFX1
@ -277,47 +305,53 @@ object BlasterFX1
pointlight HELLSTAFFBALL pointlight HELLSTAFFBALL
{ {
color 1.0 0.5 0.5 color 1.0 0.5 0.5
size 56 size 84
attenuate 1
} }
flickerlight HELLSTAFFBALL_X1 flickerlight HELLSTAFFBALL_X1
{ {
color 1.0 0.7 0.7 color 1.0 0.7 0.7
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HELLSTAFFBALL_X2 flickerlight HELLSTAFFBALL_X2
{ {
color 0.8 0.5 0.5 color 0.8 0.5 0.5
size 64 size 96
secondarySize 72 secondarySize 108
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HELLSTAFFBALL_X3 flickerlight HELLSTAFFBALL_X3
{ {
color 0.6 0.3 0.3 color 0.6 0.3 0.3
size 80 size 120
secondarySize 88 secondarySize 130
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HELLSTAFFBALL_X4 flickerlight HELLSTAFFBALL_X4
{ {
color 0.4 0.2 0.2 color 0.4 0.2 0.2
size 88 size 132
secondarySize 96 secondarySize 144
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HELLSTAFFBALL_X5 flickerlight HELLSTAFFBALL_X5
{ {
color 0.2 0.1 0.1 color 0.2 0.1 0.1
size 96 size 144
secondarySize 104 secondarySize 156
chance 0.3 chance 0.3
attenuate 1
} }
object HornRodFX1 object HornRodFX1
@ -350,31 +384,36 @@ object HornRodFX2
pointlight REDRAIN pointlight REDRAIN
{ {
color 1.0 0.0 0.0 color 1.0 0.0 0.0
size 32 size 48
attenuate 1
} }
pointlight REDRAIN_X1 pointlight REDRAIN_X1
{ {
color 1.0 0.4 0.4 color 1.0 0.4 0.4
size 48 size 72
attenuate 1
} }
pointlight REDRAIN_X2 pointlight REDRAIN_X2
{ {
color 0.8 0.3 0.3 color 0.8 0.3 0.3
size 40 size 60
attenuate 1
} }
pointlight REDRAIN_X3 pointlight REDRAIN_X3
{ {
color 0.5 0.1 0.1 color 0.5 0.1 0.1
size 32 size 48
attenuate 1
} }
pointlight REDRAIN_X4 pointlight REDRAIN_X4
{ {
color 0.3 0.0 0.0 color 0.3 0.0 0.0
size 24 size 36
attenuate 1
} }
object RainPillar object RainPillar
@ -392,55 +431,62 @@ object RainPillar
pointlight PHOENIXSHOT pointlight PHOENIXSHOT
{ {
color 1.0 0.6 0.4 color 1.0 0.6 0.4
size 64 size 96
attenuate 1
} }
flickerlight PHOENIX_X1 flickerlight PHOENIX_X1
{ {
color 1.0 0.8 0.4 color 1.0 0.8 0.4
size 104 size 156
secondarySize 112 secondarySize 168
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight PHOENIX_X2 flickerlight PHOENIX_X2
{ {
color 1.0 0.6 0.3 color 1.0 0.6 0.3
size 88 size 132
secondarySize 96 secondarySize 144
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight PHOENIX_X3 flickerlight PHOENIX_X3
{ {
color 0.8 0.6 0.25 color 0.8 0.6 0.25
size 72 size 108
secondarySize 80 secondarySize 120
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight PHOENIX_X4 flickerlight PHOENIX_X4
{ {
color 0.6 0.4 0.2 color 0.6 0.4 0.2
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight PHOENIX_X5 flickerlight PHOENIX_X5
{ {
color 0.4 0.2 0.1 color 0.4 0.2 0.1
size 40 size 60
secondarySize 48 secondarySize 72
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight PHOENIX_X6 flickerlight PHOENIX_X6
{ {
color 0.2 0.1 0.0 color 0.2 0.1 0.0
size 24 size 36
secondarySize 32 secondarySize 48
chance 0.3 chance 0.3
attenuate 1
} }
object PhoenixFX1 object PhoenixFX1
@ -461,25 +507,28 @@ object PhoenixFX1
flickerlight PHOENIXFLAME flickerlight PHOENIXFLAME
{ {
color 0.7 0.4 0.2 color 0.7 0.4 0.2
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.5 chance 0.5
attenuate 1
} }
flickerlight PHOENIXFLAME2 flickerlight PHOENIXFLAME2
{ {
color 0.5 0.2 0.1 color 0.5 0.2 0.1
size 24 size 36
secondarySize 32 secondarySize 48
chance 0.5 chance 0.5
attenuate 1
} }
flickerlight PHOENIXFLAME3 flickerlight PHOENIXFLAME3
{ {
color 0.3 0.1 0.0 color 0.3 0.1 0.0
size 16 size 24
secondarySize 24 secondarySize 36
chance 0.5 chance 0.5
attenuate 1
} }
object PhoenixFX2 object PhoenixFX2
@ -495,33 +544,37 @@ object PhoenixFX2
flickerlight MACEBALL_X1 flickerlight MACEBALL_X1
{ {
color 0.8 0.8 0.4 color 0.8 0.8 0.4
size 64 size 96
secondarySize 72 secondarySize 108
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight MACEBALL_X2 flickerlight MACEBALL_X2
{ {
color 0.6 0.6 0.3 color 0.6 0.6 0.3
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight MACEBALL_X3 flickerlight MACEBALL_X3
{ {
color 0.4 0.4 0.2 color 0.4 0.4 0.2
size 32 size 48
secondarySize 40 secondarySize 60
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight MACEBALL_X4 flickerlight MACEBALL_X4
{ {
color 0.2 0.2 0.1 color 0.2 0.2 0.1
size 16 size 24
secondarySize 24 secondarySize 36
chance 0.3 chance 0.3
attenuate 1
} }
object MaceFX1 object MaceFX1
@ -564,31 +617,35 @@ object MaceFX4
pointlight HIMPBALL pointlight HIMPBALL
{ {
color 1.0 0.8 0.4 color 1.0 0.8 0.4
size 32 size 48
attenuate 1
} }
flickerlight HIMPBALL_X1 flickerlight HIMPBALL_X1
{ {
color 0.8 0.5 0.33 color 0.8 0.5 0.33
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HIMPBALL_X2 flickerlight HIMPBALL_X2
{ {
color 0.6 0.4 0.27 color 0.6 0.4 0.27
size 40 size 60
secondarySize 48 secondarySize 72
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight HIMPBALL_X3 flickerlight HIMPBALL_X3
{ {
color 0.3 0.1 0.0 color 0.3 0.1 0.0
size 32 size 48
secondarySize 40 secondarySize 60
chance 0.3 chance 0.3
attenuate 1
} }
object HereticImpBall object HereticImpBall
@ -607,9 +664,10 @@ object HereticImpBall
flickerlight MUMMYATK flickerlight MUMMYATK
{ {
color 1.0 1.0 0.5 color 1.0 1.0 0.5
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.4 chance 0.4
attenuate 1
} }
object MummyLeader object MummyLeader
@ -626,33 +684,37 @@ object MummyLeaderGhost
flickerlight MUMMYBALL flickerlight MUMMYBALL
{ {
color 1.0 1.0 0.5 color 1.0 1.0 0.5
size 40 size 60
secondarySize 48 secondarySize 72
chance 0.4 chance 0.4
attenuate 1
} }
flickerlight MUMMYBALL_X1 flickerlight MUMMYBALL_X1
{ {
color 0.7 0.7 0.35 color 0.7 0.7 0.35
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.4 chance 0.4
attenuate 1
} }
flickerlight MUMMYBALL_X2 flickerlight MUMMYBALL_X2
{ {
color 0.4 0.4 0.2 color 0.4 0.4 0.2
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.4 chance 0.4
attenuate 1
} }
flickerlight MUMMYBALL_X3 flickerlight MUMMYBALL_X3
{ {
color 0.2 0.2 0.1 color 0.2 0.2 0.1
size 64 size 96
secondarySize 72 secondarySize 108
chance 0.4 chance 0.4
attenuate 1
} }
object MummyFX1 object MummyFX1
@ -670,31 +732,35 @@ object MummyFX1
pointlight GREENAXE pointlight GREENAXE
{ {
color 0.4 1.0 0.4 color 0.4 1.0 0.4
size 32 size 48
attenuate 1
} }
flickerlight GREENAXE_X1 flickerlight GREENAXE_X1
{ {
color 0.3 0.7 0.3 color 0.3 0.7 0.3
size 32 size 49
secondarySize 48 secondarySize 72
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight GREENAXE_X2 flickerlight GREENAXE_X2
{ {
color 0.2 0.4 0.2 color 0.2 0.4 0.2
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight GREENAXE_X3 flickerlight GREENAXE_X3
{ {
color 0.0 0.2 0.0 color 0.0 0.2 0.0
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.3 chance 0.3
attenuate 1
} }
object KnightAxe object KnightAxe
@ -712,31 +778,35 @@ object KnightAxe
pointlight REDAXE pointlight REDAXE
{ {
color 1.0 0.5 0.5 color 1.0 0.5 0.5
size 32 size 48
attenuate 1
} }
flickerlight REDAXE_X1 flickerlight REDAXE_X1
{ {
color 0.7 0.3 0.3 color 0.7 0.3 0.3
size 32 size 48
secondarySize 48 secondarySize 72
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight REDAXE_X2 flickerlight REDAXE_X2
{ {
color 0.4 0.2 0.2 color 0.4 0.2 0.2
size 48 size 72
secondarySize 56 secondarySize 84
chance 0.3 chance 0.3
attenuate 1
} }
flickerlight REDAXE_X3 flickerlight REDAXE_X3
{ {
color 0.2 0.1 0.1 color 0.2 0.1 0.1
size 56 size 84
secondarySize 64 secondarySize 96
chance 0.3 chance 0.3
attenuate 1
} }
object RedAxe object RedAxe