public IndestructableWall( BombermanStyle style, bool blocklos ) : base( BombermanSettings.GetIndestructableWallID( style ), "Wall", blocklos ) { if( style == BombermanStyle.Default ) { Hue = 0x3E4; } }
public BombermanFloorTile( BombermanStyle style ) : base( BombermanSettings.GetFloorTileID( style ), "Floor" ) { if( style == BombermanStyle.Default ) { Hue = 0x237; } }
public BombermanFloorTile(BombermanStyle style) : base(BombermanSettings.GetFloorTileID(style), "Floor") { if (style == BombermanStyle.Default) { Hue = 0x237; } }
public DestructableWall( BombermanStyle style ) : base( BombermanSettings.GetDestructableWallID( style ), "Bombable Wall" ) { if( style == BombermanStyle.Default ) { Hue = 0x3BB; } }
public DestructableWall(BombermanStyle style) : base(BombermanSettings.GetDestructableWallID(style), "Bombable Wall") { if (style == BombermanStyle.Default) { Hue = 0x3BB; } }
public static int GetDestructableWallID(BombermanStyle style) { switch (style) { default: case BombermanStyle.Default: { return 1900; } case BombermanStyle.Rocky: { return Utility.RandomMinMax(0x1363, 0x136D); } case BombermanStyle.Woodland: { return Utility.RandomMinMax(0xCC8, 0xCC9); } case BombermanStyle.Warehouse: { return Utility.RandomMinMax(0xE3C, 0xE3F); } case BombermanStyle.Ruins: { return Utility.RandomMinMax(0x3B7, 0x3BD); } case BombermanStyle.Graveyard: { return Utility.RandomMinMax(0x1AD8, 0x1ADC); } case BombermanStyle.Crystal: { return Utility.RandomMinMax(0x2224, 0x222C); } } }
public IndestructableWall(BombermanStyle style, bool blocklos) : base(BombermanSettings.GetIndestructableWallID(style), "Wall", blocklos) { if (style == BombermanStyle.Default) { Hue = 0x3E4; } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); _Style = (BombermanStyle)reader.ReadInt(); _DefaultMaxBombs = reader.ReadInt(); _DefaultBombStrength = reader.ReadInt(); _DefaultDetonatorMode = reader.ReadBool(); _DefaultBaddaBoom = reader.ReadBool(); int count = reader.ReadInt(); for (int i = 0; i < count; i++) { BombBags.Add((BombBag)reader.ReadItem()); } }
public static int GetIndestructableWallID(BombermanStyle style) { switch (style) { default: case BombermanStyle.Default: { return(1801); } case BombermanStyle.Rocky: { return(0x177A); } case BombermanStyle.Woodland: { return(Utility.RandomList(new int[] { 0xE57, 0xE59 })); } case BombermanStyle.Warehouse: { return(Utility.RandomList(new int[] { 0x720, 0x721 })); } case BombermanStyle.Ruins: { return(Utility.RandomMinMax(0x3BE, 0x3C1)); } case BombermanStyle.Graveyard: { return(Utility.RandomMinMax(0x1165, 0x1184)); } case BombermanStyle.Crystal: { return(Utility.RandomList(new int[] { 0x35EB, 0x35EC, 0x35EF, 0x35F6, 0x35F7 })); } } }
public static int GetDestructableWallID(BombermanStyle style) { switch (style) { default: case BombermanStyle.Default: { return(1900); } case BombermanStyle.Rocky: { return(Utility.RandomMinMax(0x1363, 0x136D)); } case BombermanStyle.Woodland: { return(Utility.RandomMinMax(0xCC8, 0xCC9)); } case BombermanStyle.Warehouse: { return(Utility.RandomMinMax(0xE3C, 0xE3F)); } case BombermanStyle.Ruins: { return(Utility.RandomMinMax(0x3B7, 0x3BD)); } case BombermanStyle.Graveyard: { return(Utility.RandomMinMax(0x1AD8, 0x1ADC)); } case BombermanStyle.Crystal: { return(Utility.RandomMinMax(0x2224, 0x222C)); } } }
public static int GetFloorTileID(BombermanStyle style) { switch (style) { default: case BombermanStyle.Default: { return(0x496); } case BombermanStyle.Rocky: { return(Utility.RandomMinMax(0x53B, 0x53F)); } case BombermanStyle.Woodland: { return(Utility.RandomMinMax(0x177D, 0x1781)); } case BombermanStyle.Warehouse: { return(Utility.RandomMinMax(0x4A9, 0x4AC)); } case BombermanStyle.Ruins: { return(Utility.RandomMinMax(0x525, 0x528)); } case BombermanStyle.Graveyard: { return(Utility.RandomMinMax(0x515, 0x518)); } case BombermanStyle.Crystal: { return(Utility.RandomMinMax(0x579, 0x57E)); } } }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); _Style = (BombermanStyle)reader.ReadInt(); _DefaultMaxBombs = reader.ReadInt(); _DefaultBombStrength = reader.ReadInt(); _DefaultDetonatorMode = reader.ReadBool(); _DefaultBaddaBoom = reader.ReadBool(); int count = reader.ReadInt(); for( int i = 0; i < count; i++ ) { BombBags.Add( (BombBag)reader.ReadItem() ); } }
public static int GetIndestructableWallID( BombermanStyle style ) { switch( style ) { default: case BombermanStyle.Default: { return 1801; } case BombermanStyle.Rocky: { return 0x177A; } case BombermanStyle.Woodland: { return Utility.RandomList( new int[]{ 0xE57, 0xE59 } ); } case BombermanStyle.Warehouse: { return Utility.RandomList( new int[]{ 0x720, 0x721 } ); } case BombermanStyle.Ruins: { return Utility.RandomMinMax( 0x3BE, 0x3C1 ); } case BombermanStyle.Graveyard: { return Utility.RandomMinMax( 0x1165, 0x1184 ); } case BombermanStyle.Crystal: { return Utility.RandomList( new int[]{ 0x35EB, 0x35EC, 0x35EF, 0x35F6, 0x35F7 } ); } } }
public static int GetFloorTileID( BombermanStyle style ) { switch( style ) { default: case BombermanStyle.Default: { return 0x496; } case BombermanStyle.Rocky: { return Utility.RandomMinMax( 0x53B, 0x53F ); } case BombermanStyle.Woodland: { return Utility.RandomMinMax( 0x177D, 0x1781 ); } case BombermanStyle.Warehouse: { return Utility.RandomMinMax( 0x4A9, 0x4AC ); } case BombermanStyle.Ruins: { return Utility.RandomMinMax( 0x525, 0x528 ); } case BombermanStyle.Graveyard: { return Utility.RandomMinMax( 0x515, 0x518 ); } case BombermanStyle.Crystal: { return Utility.RandomMinMax( 0x579, 0x57E ); } } }