diff --git a/RE2REmakeSRT/GameMemory.cs b/RE2REmakeSRT/GameMemory.cs index 4465cb5..70e401c 100644 --- a/RE2REmakeSRT/GameMemory.cs +++ b/RE2REmakeSRT/GameMemory.cs @@ -167,291 +167,6 @@ public void Refresh() public const int INV_SLOT_WIDTH = 112; public const int INV_SLOT_HEIGHT = 112; - //private static int itemColumnInc = -1; - //private static int itemRowInc = -1; - //public static IReadOnlyDictionary ItemToImageTranslation = new Dictionary() - //{ - // { ItemEnumeration.None, Program.blankInvImage }, - - // // Row 0. - // { ItemEnumeration.FirstAidSpray, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Green1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Red1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Blue1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GG, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GR, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GB, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GGB, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GGG, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_GRB, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Mixed_RB, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Green2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Red2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Herb_Blue2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 1. - // { ItemEnumeration.HandgunBullets, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.ShotgunShells, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SubmachineGunAmmo, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MAGAmmo, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.HandgunLargeCaliberAmmo, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SLS60HighPoweredRounds, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GrenadeAcidRounds, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GrenadeFlameRounds, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.NeedleCartridges, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Fuel, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.InkRibbon, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.WoodenBoard, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Gunpowder, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GunpowderLarge, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GunpowderHighGradeYellow, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GunpowderHighGradeWhite, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.HipPouch, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 2. - // { ItemEnumeration.MatildaHighCapacityMagazine, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MatildaMuzzleBrake, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MatildaGunStock, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SLS60SpeedLoader, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.JMBHp3LaserSight, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SLS60ReinforcedFrame, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.JMBHp3HighCapacityMagazine, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.W870ShotgunStock, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.W870LongBarrel, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MQ11HighCapacityMagazine, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MQ11Suppressor, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.LightningHawkRedDotSight, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.LightningHawkLongBarrel, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GM79ShoulderStock, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.FlamethrowerRegulator, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SparkShotHighVoltageCondenser, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // //Row 3. - // { ItemEnumeration.Film_HidingPlace, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 9), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Film_RisingRookie, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Film_Commemorative, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Film_3FLocker, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Film_LionStatue, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PortableSafe, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.TinStorageBox1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.TinStorageBox2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 4. - // { ItemEnumeration.Detonator, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.ElectronicGadget, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Battery9Volt, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyStorageRoom, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 4), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.JackHandle, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 6), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SquareCrank, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MedallionUnicorn, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeySpade, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyCardParkingGarage, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyCardWeaponsLocker, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.ValveHandle, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 13), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.STARSBadge, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Scepter, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.RedJewel, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.BejeweledBox, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 5. - // { ItemEnumeration.PlugBishop, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 1), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PlugRook, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PlugKing, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PictureBlock, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.USBDongleKey, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SpareKey, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.RedBook, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 8), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.StatuesLeftArm, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.StatuesLeftArmWithRedBook, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MedallionLion, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyDiamond, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyCar, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.MedallionMaiden, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 15), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PowerPanelPart1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PowerPanelPart2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 6. - // { ItemEnumeration.LoversRelief, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyOrphanage, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyClub, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyHeart, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.USSDigitalVideoCassette, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.TBarValveHandle, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.SignalModulator, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeySewers, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 8), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandVisitor1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandGeneralStaff1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandSeniorStaff1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.UpgradeChipGeneralStaff, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.UpgradeChipSeniorStaff, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.FuseMainHall, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 15), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Scissors, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.BoltCutter, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 7. - // { ItemEnumeration.StuffedDoll, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandVisitor2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 2), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandGeneralStaff2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandSeniorStaff2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.LabDigitalVideoCassette, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.DispersalCartridgeEmpty, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.DispersalCartridgeSolution, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.DispersalCartridgeHerbicide, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.JointPlug, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 10), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Trophy1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 12), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.Trophy2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GearSmall, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GearLarge, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 14), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PlugKnight, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 16), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.PlugPawn, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 8. - // { ItemEnumeration.PlugQueen, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 0), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.BoxedElectronicPart1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 2), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.BoxedElectronicPart2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.UpgradeChipAdministrator, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 5), INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.IDWristbandAdministrator, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.KeyCourtyard, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.FuseBreakRoom, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.JointPlug2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.GearLarge2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 9. - // // No items. - - // // Row 10. - // // No items. - - // // Row 11. - // // No items. - - // // Row 12. - // // No items. - - // // Row 13. - // // No items. - - // // Row 14. - // { ItemEnumeration.WoodenBox1, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (itemColumnInc = 9), INV_SLOT_HEIGHT * ++itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { ItemEnumeration.WoodenBox2, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++itemColumnInc, INV_SLOT_HEIGHT * itemRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - //}; - - //private static int weaponColumnInc = -1; - //private static int weaponRowInc = 8; - //public static IReadOnlyDictionary WeaponToImageTranslation = new Dictionary() - //{ - // { new Weapon() { WeaponID = WeaponEnumeration.None, Attachments = AttachmentsFlag.None }, Program.blankInvImage }, - - // // Row 1. - // // No weapons. - - // // Row 2. - // // No weapons. - - // // Row 3. - // // No weapons. - - // // Row 4. - // // No weapons. - - // // Row 5. - // // No weapons. - - // // Row 6. - // // No weapons. - - // // Row 7. - // // No weapons. - - // // Row 8. - // // No weapons. - - // // Row 9. - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 3), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.First | AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.First | AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 7), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.Second | AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 9), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Matilda, Attachments = AttachmentsFlag.First | AttachmentsFlag.Second | AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_JMB_Hp3, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 12), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_JMB_Hp3, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_JMB_Hp3, Attachments = AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_JMB_Hp3, Attachments = AttachmentsFlag.Second | AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_MUP, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_BroomHc, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 10. - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SLS60, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SLS60, Attachments = AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_M19, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SLS60, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SLS60, Attachments = AttachmentsFlag.Second | AttachmentsFlag.Third }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Shotgun_W870, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 6), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Shotgun_W870, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Shotgun_W870, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 9), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Shotgun_W870, Attachments = AttachmentsFlag.First | AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH* 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_MQ11, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 12), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_MQ11, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH* 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_MQ11, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 15), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_MQ11, Attachments = AttachmentsFlag.First | AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH* 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 11. - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_LE5_Infinite2, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_LightningHawk, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_LightningHawk, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_LightningHawk, Attachments = AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 4), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_LightningHawk, Attachments = AttachmentsFlag.First | AttachmentsFlag.Second }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.GrenadeLauncher_GM79, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 7), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.GrenadeLauncher_GM79, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ChemicalFlamethrower, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 10), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ChemicalFlamethrower, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 12), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SparkShot, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 14), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SparkShot, Attachments = AttachmentsFlag.First }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 16), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 12. - // { new Weapon() { WeaponID = WeaponEnumeration.ATM4, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ATM4_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.AntiTankRocketLauncher, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 2), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.AntiTankRocketLauncher_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 2), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Minigun, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 4), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Minigun_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 4), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.EMF_Visualizer, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 6), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_Quickdraw_Army, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SMG_LE5_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 9), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SamuraiEdge_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 11), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SamuraiEdge_AlbertWesker, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 11), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SamuraiEdge_ChrisRedfield, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 11), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Handgun_SamuraiEdge_JillValentine, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 11), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ATM42, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 14), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.AntiTankRocketLauncher2, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 16), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - - // // Row 13. - // { new Weapon() { WeaponID = WeaponEnumeration.CombatKnife, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 0), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.CombatKnife_Infinite, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Minigun2, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 2), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH * 2, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ChemicalFlamethrower2, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 4), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.SparkShot2, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ATM43, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.AntiTankRocketLauncher3, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.Minigun3, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.HandGrenade, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.FlashGrenade, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.ATM44, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 16), INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - // { new Weapon() { WeaponID = WeaponEnumeration.AntiTankRocketLauncher4, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * ++weaponColumnInc, INV_SLOT_HEIGHT * weaponRowInc, INV_SLOT_WIDTH , INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - - // // Row 14. - // { new Weapon() { WeaponID = WeaponEnumeration.Minigun4, Attachments = AttachmentsFlag.None }, Properties.Resources.ui0100_iam_texout.Clone(new Rectangle(INV_SLOT_WIDTH * (weaponColumnInc = 4), INV_SLOT_HEIGHT * ++weaponRowInc, INV_SLOT_WIDTH, INV_SLOT_HEIGHT), System.Drawing.Imaging.PixelFormat.Format32bppArgb) }, - //}; - - - - - - - private static int itemColumnInc = -1; private static int itemRowInc = -1; public static IReadOnlyDictionary ItemToImageTranslation = new Dictionary() diff --git a/RE2REmakeSRT/InventoryEntry.cs b/RE2REmakeSRT/InventoryEntry.cs index 86d4957..ee2960e 100644 --- a/RE2REmakeSRT/InventoryEntry.cs +++ b/RE2REmakeSRT/InventoryEntry.cs @@ -33,7 +33,7 @@ public string _DebuggerDisplay public AttachmentsFlag Attachments => (AttachmentsFlag)ProcessMemory.HighPerfBitConverter.ToInt32(data, 0xA8); public int Quantity => ProcessMemory.HighPerfBitConverter.ToInt32(data, 0xB0); - public bool IsEmptySlot => ItemID == ItemEnumeration.None && WeaponID == WeaponEnumeration.None; + public bool IsEmptySlot => ItemID == ItemEnumeration.None && (WeaponID == WeaponEnumeration.None || WeaponID == 0); public bool IsItem => ItemID != ItemEnumeration.None && WeaponID == WeaponEnumeration.None; public bool IsWeapon => ItemID == ItemEnumeration.None && WeaponID != WeaponEnumeration.None; diff --git a/RE2REmakeSRT/ItemEnumeration.cs b/RE2REmakeSRT/ItemEnumeration.cs index 5db3968..284525c 100644 --- a/RE2REmakeSRT/ItemEnumeration.cs +++ b/RE2REmakeSRT/ItemEnumeration.cs @@ -202,6 +202,5 @@ public struct Weapon : IEquatable public AttachmentsFlag Attachments; public bool Equals(Weapon other) => (int)this.WeaponID == (int)other.WeaponID && (int)this.Attachments == (int)other.Attachments; - public Rectangle GetRect() => GameMemory.WeaponToImageTranslation[this]; } } diff --git a/RE2REmakeSRT/Properties/AssemblyInfo.cs b/RE2REmakeSRT/Properties/AssemblyInfo.cs index f2027a1..4d79b03 100644 --- a/RE2REmakeSRT/Properties/AssemblyInfo.cs +++ b/RE2REmakeSRT/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.1.1.0")] +[assembly: AssemblyFileVersion("1.1.1.0")]