Mercurial > mm7
comparison Indoor.cpp @ 1479:59d1da1863df
Rename DECORATION_FLAGS to DECORATION_DESC_FLAGS.
author | yoctozepto |
---|---|
date | Wed, 28 Aug 2013 22:02:03 +0200 |
parents | 7ef4b64f6329 |
children | a27cdb3d753e |
comparison
equal
deleted
inserted
replaced
1478:251111bac49f | 1479:59d1da1863df |
---|---|
4987 if (v2->field_2 & 0x20) | 4987 if (v2->field_2 & 0x20) |
4988 return; | 4988 return; |
4989 | 4989 |
4990 v3 = &pDecorationList->pDecorations[v2->uDecorationDescID]; | 4990 v3 = &pDecorationList->pDecorations[v2->uDecorationDescID]; |
4991 v4 = v3->uFlags; | 4991 v4 = v3->uFlags; |
4992 if (v3->uFlags & DECORATION_EMITS_FIRE) | 4992 if (v3->uFlags & DECORATION_DESC_EMITS_FIRE) |
4993 { | 4993 { |
4994 memset(&local_0, 0, 0x68u); // fire, like at the Pit's tavern | 4994 memset(&local_0, 0, 0x68u); // fire, like at the Pit's tavern |
4995 v5 = (double)v2->vPosition.x; | 4995 v5 = (double)v2->vPosition.x; |
4996 local_0.type = ParticleType_Bitmap | ParticleType_Rotating | ParticleType_8; | 4996 local_0.type = ParticleType_Bitmap | ParticleType_Rotating | ParticleType_8; |
4997 local_0.uDiffuse = 0xFF3C1E; | 4997 local_0.uDiffuse = 0xFF3C1E; |
5007 pGame->pParticleEngine->AddParticle(&local_0); | 5007 pGame->pParticleEngine->AddParticle(&local_0); |
5008 return; | 5008 return; |
5009 } | 5009 } |
5010 | 5010 |
5011 | 5011 |
5012 if (v4 & DECORATION_DONT_DRAW) | 5012 if (v4 & DECORATION_DESC_DONT_DRAW) |
5013 return; | 5013 return; |
5014 | 5014 |
5015 v6 = v2->vPosition.x; | 5015 v6 = v2->vPosition.x; |
5016 v7 = v2->vPosition.z; | 5016 v7 = v2->vPosition.z; |
5017 a2 = v2->vPosition.y; | 5017 a2 = v2->vPosition.y; |