This commit is contained in:
parent
d9d7005122
commit
42b33334a4
7 changed files with 26 additions and 43 deletions
|
@ -40,6 +40,15 @@
|
|||
#endif
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcSmallJellyfishEnemy::postInit()
|
||||
{
|
||||
CNpcEnemy::postInit();
|
||||
|
||||
m_RGB = 255 + ( 128 << 8 ) + ( 255 << 16 );
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcSmallJellyfishEnemy::render()
|
||||
|
@ -376,19 +385,3 @@ void CNpcSmallJellyfishEnemy::fireAsProjectile( s16 heading )
|
|||
projectile->setHasRGB( true );
|
||||
projectile->setRGB( 255, 128, 255 );
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
u32 CNpcSmallJellyfishEnemy::getRGB()
|
||||
{
|
||||
CVECTOR rgb;
|
||||
|
||||
rgb.r = 255;
|
||||
rgb.g = 128;
|
||||
rgb.b = 255;
|
||||
|
||||
u32 rgbVal;
|
||||
|
||||
rgbVal = rgb.r + ( rgb.g << 8 ) + ( rgb.b << 16 );
|
||||
return( rgbVal );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue